Cloned from launchpad bug 1698811. Description: The plan export command fails both from command line and GUI. The reason seems to be a missing argument to the get_object_client() method: https://github.com/openstack/tripleo-common/blob/master/tripleo_common/actions/plan.py#L258 Specification URL (additional information): https://bugs.launchpad.net/tripleo/+bug/1698811
Fix upstream: https://review.openstack.org/#/c/475383/
Merged
openstack-tripleo-common-7.1.1-0.20170612015630.414f94b.el7ost.noarch (undercloud) [stack@undercloud-0 ~]$ openstack overcloud plan list +-----------+ | Plan Name | +-----------+ | overcloud | +-----------+ (undercloud) [stack@undercloud-0 ~]$ openstack overcloud plan export overcloud Exporting plan overcloud... Started Mistral Workflow tripleo.plan_management.v1.export_deployment_plan. Execution ID: 66a19a9b-f14d-482f-b6ce-e6ad950c6622 {u'body': {u'exception': u'(pymysql.err.OperationalError) (2006, "MySQL server has gone away (error(32, \'Broken pipe\'))") [SQL: u\'INSERT INTO `Queues` (project, name, metadata) VALUES (%(project)s, %(name)s, %(metadata)s)\'] [parameters: {\'project\': u\'ee49e60494e54bbea47685ee2d7da186\', \'name\': u\'35b24c00-fd03-41a5-a852-8bdefd280108\', \'metadata\': bytearray(b\'{}\')}]', u'error': u'Unexpected error.'}, u'headers': {u'status': 500}, u'request': {u'action': u'queue_create', u'body': {u'queue_name': u'35b24c00-fd03-41a5-a852-8bdefd280108'}, u'api': u'v2', u'headers': {u'Client-ID': u'7a4a42a9-9e54-4add-a0a1-34192aec3ad4', u'X-Project-ID': u'ee49e60494e54bbea47685ee2d7da186'}}} (undercloud) [stack@undercloud-0 ~]$ echo $? 1 (undercloud) [stack@undercloud-0 ~]$
The bits didn't land yet
FailedQA Environment: openstack-tripleo-common-7.1.1-0.20170616124957.93d87e0.el7ost.noarch (undercloud) [stack@undercloud-0 ~]$ openstack overcloud plan list +-----------+ | Plan Name | +-----------+ | overcloud | +-----------+ (undercloud) [stack@undercloud-0 ~]$ openstack overcloud plan export overcloud Exporting plan overcloud... Started Mistral Workflow tripleo.plan_management.v1.export_deployment_plan. Execution ID: 610959d6-3c96-4be4-bf3f-902e977a70ce Timed out waiting for messages from Execution (ID: 610959d6-3c96-4be4-bf3f-902e977a70ce, State: ERROR). The Workflow errored and no messages were received. (undercloud) [stack@undercloud-0 ~]$
I just tried this and it works fine for me using openstack-tripleo-common-7.1.1-0.20170623115707.4ba7d56.el7.centos.noarch
I confirm we've the change
Verified: Environment: openstack-tripleo-common-7.1.1-0.20170623115707.4ba7d56.el7ost.noarch (undercloud) [stack@undercloud-0 ~]$ openstack overcloud plan list +-----------+ | Plan Name | +-----------+ | overcloud | +-----------+ (undercloud) [stack@undercloud-0 ~]$ openstack overcloud plan export overcloud Exporting plan overcloud... Started Mistral Workflow tripleo.plan_management.v1.export_deployment_plan. Execution ID: 9cc0a5a5-11ad-4da6-9c49-16f79f9b1803 http://192.168.24.1:8080/v1/AUTH_d40585db50b24af0a03e298810d4ff29/plan-exports/overcloud.tar.gz?temp_url_sig=3c0cc0a37bd49aaa5c42865184eaed039e698af9&temp_url_expires=1498744970 (undercloud) [stack@undercloud-0 ~]$ echo $? 0 (undercloud) [stack@undercloud-0 ~]$ ls -l|grep overcloud.tar -rw-rw-r--. 1 stack stack 390948 Jun 29 09:02 overcloud.tar.gz
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:3462