openstack overcloud delete fails with Error occurred during stack delete 'Client' object has no attribute 'workflow_engine'

Bug #1663416 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Alex Schultz

Bug Description

[centos@undercloud ~]$ source stackrc
[centos@undercloud ~]$ openstack overcloud delete overcloud
Are you sure you want to delete this overcloud [y/N]? y
Deleting stack overcloud...
Error occurred during stack delete 'Client' object has no attribute 'workflow_engine'

Running in debug gets you...

Error occurred during stack delete 'Client' object has no attribute 'workflow_engine'
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/command.py", line 90, in run
    return self.take_action(parsed_args) or 0
  File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_delete.py", line 95, in take_action
    self._stack_delete(clients, parsed_args.stack)
  File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_delete.py", line 67, in _stack_delete
    format(e))
CommandError: Error occurred during stack delete 'Client' object has no attribute 'workflow_engine'
clean_up DeleteOvercloud: Error occurred during stack delete 'Client' object has no attribute 'workflow_engine'
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 135, in run
    ret_val = super(OpenStackShell, self).run(argv)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 279, in run
    result = self.run_subcommand(remainder)
  File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 180, in run_subcommand
    ret_value = super(OpenStackShell, self).run_subcommand(argv)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/command.py", line 90, in run
    return self.take_action(parsed_args) or 0
  File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_delete.py", line 95, in take_action
    self._stack_delete(clients, parsed_args.stack)
  File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_delete.py", line 67, in _stack_delete
    format(e))
CommandError: Error occurred during stack delete 'Client' object has no attribute 'workflow_engine'

END return value: 1

Versions:
puppet-tripleo-6.1.0-0.20170127040716.d427c2a.el7.centos.noarch
openstack-tripleo-validations-5.3.1-0.20170125194508.6b928f1.el7.centos.noarch
python-tripleoclient-6.0.1-0.20170127055753.8ea289c.el7.centos.noarch
openstack-tripleo-common-5.7.1-0.20170126235054.c75d3c6.el7.centos.noarch
openstack-tripleo-0.0.1-0.20161201152040.887a1e6.el7.centos.noarch
openstack-tripleo-ui-2.0.1-0.20170126144317.f3bd97e.el7.centos.noarch
openstack-tripleo-heat-templates-6.0.0-0.20170127041112.ce54697.el7.centos.noarch
openstack-tripleo-puppet-elements-6.0.0-0.20170126053436.688584c.el7.centos.noarch
openstack-tripleo-image-elements-6.0.0-0.20170126135810.00b9869.el7.centos.noarch

summary: - openstack overcloud delete fails with CommandError:
+ openstack overcloud delete fails with Error occurred during stack delete
+ 'Client' object has no attribute 'workflow_engine'
Changed in tripleo:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/431776

Changed in tripleo:
assignee: nobody → Alex Schultz (alex-schultz)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (master)

Reviewed: https://review.openstack.org/431776
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=339782e1b869969a1af2dc6011dafb478528b03f
Submitter: Jenkins
Branch: master

commit 339782e1b869969a1af2dc6011dafb478528b03f
Author: Alex Schultz <email address hidden>
Date: Thu Feb 9 16:36:04 2017 -0700

    Fix stack delete client

    The stack_management.delete_stack class requires a client_manager not
    the workflow engine client.

    Change-Id: Ib6c72ef84a058a7d6e12a2359f3daa73e2e2fb13
    Closes-Bug: #1663416

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/432507

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (stable/ocata)

Reviewed: https://review.openstack.org/432507
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=f51f3913e52b3553ec7cdec80ac33eae7f0ad426
Submitter: Jenkins
Branch: stable/ocata

commit f51f3913e52b3553ec7cdec80ac33eae7f0ad426
Author: Alex Schultz <email address hidden>
Date: Thu Feb 9 16:36:04 2017 -0700

    Fix stack delete client

    The stack_management.delete_stack class requires a client_manager not
    the workflow engine client.

    Change-Id: Ib6c72ef84a058a7d6e12a2359f3daa73e2e2fb13
    Closes-Bug: #1663416
    (cherry picked from commit 339782e1b869969a1af2dc6011dafb478528b03f)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 6.1.0

This issue was fixed in the openstack/python-tripleoclient 6.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 7.0.0

This issue was fixed in the openstack/python-tripleoclient 7.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.