AttributeError: 'Client' object has no attribute 'tripleoclient'

Bug #1864862 reported by Harald Jensås
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Rabi Mishra

Bug Description

Overcloud deployment fail's after deleting previous overcloud by running: openstack overcloud delete overcloud

python2-tripleoclient-13.1.1-0.20200220011105.475ace8.el7.noarch

openstack overcloud deploy \
  --stack-only \
  --templates /home/centos/tripleo-heat-templates \
  -r /home/centos/overcloud/ipv6_roles_data.yaml \
  -n /home/centos/overcloud/ipv6_network_data.yaml \
  -e /home/centos/tripleo-heat-templates/environments/enable-swap.yaml \
  -e /home/centos/overcloud/environment/node_data.yaml \
  -e /home/centos/tripleo-heat-templates/environments/network-isolation.yaml \
  -e /home/centos/tripleo-heat-templates/environments/network-environment.yaml \
  -e /home/centos/tripleo-heat-templates/environments/net-multiple-nics.yaml \
  -e /home/centos/overcloud/environment/network-environment-overrides.yaml

Creating Swift container to store the plan
Exception occured while running the command
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/tripleoclient/command.py", line 34, in run
    super(Command, self).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 187, in run
    return_code = self.take_action(parsed_args) or 0
  File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 933, in take_action
    self._deploy_tripleo_heat_templates_tmpdir(stack, parsed_args)
  File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 363, in _deploy_tripleo_heat_templates_tmpdir
    new_tht_root, tht_root)
  File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 390, in _deploy_tripleo_heat_templates
    validate_stack=False)
  File "/usr/lib/python2.7/site-packages/tripleoclient/workflows/plan_management.py", line 156, in create_plan_from_templates
    result = create_container(workflow_client, container=name)
  File "/usr/lib/python2.7/site-packages/tripleoclient/workflows/plan_management.py", line 143, in create_container
    mistral_context = clients.tripleoclient.create_mistral_context()
AttributeError: 'Client' object has no attribute 'tripleoclient'
'Client' object has no attribute 'tripleoclient'

description: updated
Revision history for this message
Harald Jensås (harald-jensas) wrote :

Re-running the undercloud installer helps.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (master)

Fix proposed to branch: master
Review: https://review.opendev.org/710171

Changed in tripleo:
assignee: nobody → Rabi Mishra (rabi)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (master)

Reviewed: https://review.opendev.org/710171
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=0eb3573c21f2ed66cebe2895ea21d3861c1d6af2
Submitter: Zuul
Branch: master

commit 0eb3573c21f2ed66cebe2895ea21d3861c1d6af2
Author: Rabi Mishra <email address hidden>
Date: Thu Feb 27 07:32:50 2020 +0530

    Fix create_container regression

    This is a regression from https://review.opendev.org/#/c/708279/

    Change-Id: I3819008275f6a5288ec074c860ff2746f589193e
    Closes-Bug: #1864862

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

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