Provision controller and workers
Change-Id: I44d542c5b2db08921e275fcd0e2a93b77e8a7f46
This commit is contained in:
parent
4398405a64
commit
3854ac006d
|
@ -389,11 +389,18 @@ class Orchestrator(object):
|
|||
"""
|
||||
deploy OpenStack controller(s) via misc cookbooks
|
||||
"""
|
||||
self._add_run_list([self._controller_name], "role[os-dev-mode]")
|
||||
self._add_run_list([self._controller_name],
|
||||
"role[os-controller-combined]")
|
||||
self._run_chef_client([self._controller_ip])
|
||||
|
||||
def _setup_workers(self):
|
||||
"""
|
||||
deploy workers via misc cookbooks
|
||||
"""
|
||||
self._add_run_list(self._worker_names, "role[os-dev-mode]")
|
||||
self._add_run_list(self._worker_names, "role[os-worker-combined]")
|
||||
self._run_chef_client(self._worker_ips)
|
||||
|
||||
def cleanup(self):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue