overcloud node delete does not work after swift disabled on undercloud

Bug #1915780 reported by Rabi Mishra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
In Progress
High
Rabi Mishra

Bug Description

After removal of swift this is broken.

Overcloud configuration completed for stack: overcloud-0
Running scale down
Exception occured while running the command
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/tripleoclient/command.py", line 34, in run
    super(Command, self).run(parsed_args)
  File "/usr/lib/python3.6/site-packages/osc_lib/command/command.py", line 39, in run
    return super(Command, self).run(parsed_args)
  File "/usr/lib/python3.6/site-packages/cliff/command.py", line 185, in run
    return_code = self.take_action(parsed_args) or 0
  File "/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_node.py", line 176, in take_action
    verbosity=oooutils.playbook_verbosity(self=self)
  File "/usr/lib/python3.6/site-packages/tripleoclient/workflows/scale.py", line 88, in scale_down
    scale_down_action.run(context=context)
  File "/usr/lib/python3.6/site-packages/tripleo_common/actions/scale.py", line 176, in run
    return self._update_stack(parameters=stack_params, context=context)
  File "/usr/lib/python3.6/site-packages/tripleo_common/actions/scale.py", line 70, in _update_stack
    swift = self.get_object_client(context)
  File "/usr/lib/python3.6/site-packages/tripleo_common/actions/base.py", line 49, in get_object_client
    'swift'
  File "/usr/lib/python3.6/site-packages/tripleo_common/utils/keystone.py", line 252, in get_endpoint_for_project
    % (service_name, service_type, region)
RuntimeError: No endpoints found [service_name=swift, service_type=None, region_name=None]
No endpoints found [service_name=swift, service_type=None, region_name=None]

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

This issue was fixed in the openstack/python-tripleoclient 16.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.