Revert "Added for support for generating overcloud clouds.yaml"
This has been replaced by Ansible. This reverts commit0a8fc376cd
. Change-Id: I286c71edf120e11d8e51c792e6078dc60147f026 (cherry picked from commitba95604678
)
This commit is contained in:
parent
629a35f00b
commit
df64912152
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
features:
|
||||
- |
|
||||
OpenStack overcloud services cli and api is currently accessed through
|
||||
overcloudrc and clouds.yaml.
|
||||
This adds support for overcloud clouds.yaml file generation after
|
||||
deployment. The file can be found at ~/.config/openstack/clouds.yaml
|
||||
and /etc/openstack/clouds.yaml.
|
|
@ -1,3 +0,0 @@
|
|||
def create_clouds_yaml(cloud=None, cloud_yaml_dir=None,
|
||||
user_id=None, group_id=None):
|
||||
pass
|
|
@ -135,28 +135,6 @@ def create_overcloudrc(clients, **workflow_input):
|
|||
payload.get('message')))
|
||||
|
||||
|
||||
def create_cloudsyaml(clients, **workflow_input):
|
||||
workflow_client = clients.workflow_engine
|
||||
tripleoclients = clients.tripleoclient
|
||||
|
||||
with tripleoclients.messaging_websocket() as ws:
|
||||
execution = base.start_workflow(
|
||||
workflow_client,
|
||||
'tripleo.deployment.v1.createcloudsyaml',
|
||||
workflow_input=workflow_input
|
||||
)
|
||||
|
||||
for payload in base.wait_for_messages(workflow_client, ws, execution):
|
||||
# the workflow will return the overcloud cloud yaml data, an error
|
||||
# message or blank.
|
||||
if payload.get('status') == 'SUCCESS':
|
||||
return payload.get('message')
|
||||
else:
|
||||
raise exceptions.WorkflowServiceError(
|
||||
'Exception creating overcloud clouds.yaml file: {}'.format(
|
||||
payload.get('message')))
|
||||
|
||||
|
||||
def get_overcloud_hosts(stack, ssh_network):
|
||||
ips = []
|
||||
role_net_ip_map = utils.get_role_net_ip_map(stack)
|
||||
|
|
Loading…
Reference in New Issue