Bug 1805478 - [OSP14->15] Upgrade prepare failing due to ceph-ansible: module 'tripleo_common.update' has no attribute 'check_rhcs4_beta_enabled'
Summary: [OSP14->15] Upgrade prepare failing due to ceph-ansible: module 'tripleo_comm...
Keywords:
Status: CLOSED DUPLICATE of bug 1790906
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: ceph-ansible
Version: 15.0 (Stein)
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Guillaume Abrioux
QA Contact: Yogev Rabl
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-20 21:05 UTC by Jose Luis Franco
Modified: 2020-02-24 14:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-24 14:16:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jose Luis Franco 2020-02-20 21:05:11 UTC
Description of problem:

The upgrade job from OSP14 to OSP15 is failing during the upgrade prepare step with the following error:

2020-02-20 12:20:34 | 2020-02-20 12:20:34.235 24878 INFO tripleoclient.v1.overcloud_upgrade.MajorUpgradePrepare [-] Stack found, will be doing a stack update[00m
2020-02-20 12:22:33 | Removing the current plan files
2020-02-20 12:22:33 | Uploading new plan files
2020-02-20 12:22:33 | Temporary Swift GET/PUT URL parameters have successfully been updated.
2020-02-20 12:22:33 | Temporary Swift GET/PUT URL parameters have successfully been updated.
2020-02-20 12:22:33 | The backup of the ceph-ansible fetch directory did not need to be renamed
2020-02-20 12:22:33 | Plan updated.
2020-02-20 12:22:33 | Processing templates in the directory /tmp/tripleoclient-sq9af9dl/tripleo-heat-templates
2020-02-20 12:22:33 | 2020-02-20 12:22:33.973 24878 ERROR tripleoclient.v1.overcloud_upgrade.MajorUpgradePrepare [-] Exception occured while running the command: AttributeError: module 'tripleo_common.update' has no attribute 'check_rhcs4_beta_enabled'
2020-02-20 12:22:33 | 2020-02-20 12:22:33.973 24878 ERROR tripleoclient.v1.overcloud_upgrade.MajorUpgradePrepare Traceback (most recent call last):
2020-02-20 12:22:33 | 2020-02-20 12:22:33.973 24878 ERROR tripleoclient.v1.overcloud_upgrade.MajorUpgradePrepare   File "/usr/lib/python3.6/site-packages/tripleoclient/command.py", line 32, in run
2020-02-20 12:22:33 | 2020-02-20 12:22:33.973 24878 ERROR tripleoclient.v1.overcloud_upgrade.MajorUpgradePrepare     super(Command, self).run(parsed_args)
2020-02-20 12:22:33 | 2020-02-20 12:22:33.973 24878 ERROR tripleoclient.v1.overcloud_upgrade.MajorUpgradePrepare   File "/usr/lib/python3.6/site-packages/osc_lib/command/command.py", line 41, in run
2020-02-20 12:22:33 | 2020-02-20 12:22:33.973 24878 ERROR tripleoclient.v1.overcloud_upgrade.MajorUpgradePrepare     return super(Command, self).run(parsed_args)
2020-02-20 12:22:33 | 2020-02-20 12:22:33.973 24878 ERROR tripleoclient.v1.overcloud_upgrade.MajorUpgradePrepare   File "/usr/lib/python3.6/site-packages/cliff/command.py", line 184, in run
2020-02-20 12:22:33 | 2020-02-20 12:22:33.973 24878 ERROR tripleoclient.v1.overcloud_upgrade.MajorUpgradePrepare     return_code = self.take_action(parsed_args) or 0
2020-02-20 12:22:33 | 2020-02-20 12:22:33.973 24878 ERROR tripleoclient.v1.overcloud_upgrade.MajorUpgradePrepare   File "/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_upgrade.py", line 82, in take_action
2020-02-20 12:22:33 | 2020-02-20 12:22:33.973 24878 ERROR tripleoclient.v1.overcloud_upgrade.MajorUpgradePrepare     super(UpgradePrepare, self).take_action(parsed_args)
2020-02-20 12:22:33 | 2020-02-20 12:22:33.973 24878 ERROR tripleoclient.v1.overcloud_upgrade.MajorUpgradePrepare   File "/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_deploy.py", line 955, in take_action
2020-02-20 12:22:33 | 2020-02-20 12:22:33.973 24878 ERROR tripleoclient.v1.overcloud_upgrade.MajorUpgradePrepare     self._deploy_tripleo_heat_templates_tmpdir(stack, parsed_args)
2020-02-20 12:22:33 | 2020-02-20 12:22:33.973 24878 ERROR tripleoclient.v1.overcloud_upgrade.MajorUpgradePrepare   File "/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_deploy.py", line 378, in _deploy_tripleo_heat_templates_tmpdir
2020-02-20 12:22:33 | 2020-02-20 12:22:33.973 24878 ERROR tripleoclient.v1.overcloud_upgrade.MajorUpgradePrepare     new_tht_root, tht_root)
2020-02-20 12:22:33 | 2020-02-20 12:22:33.973 24878 ERROR tripleoclient.v1.overcloud_upgrade.MajorUpgradePrepare   File "/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_deploy.py", line 481, in _deploy_tripleo_heat_templates
2020-02-20 12:22:33 | 2020-02-20 12:22:33.973 24878 ERROR tripleoclient.v1.overcloud_upgrade.MajorUpgradePrepare     deployment_options=deployment_options)
2020-02-20 12:22:33 | 2020-02-20 12:22:33.973 24878 ERROR tripleoclient.v1.overcloud_upgrade.MajorUpgradePrepare   File "/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_deploy.py", line 498, in _try_overcloud_deploy_with_compat_yaml
2020-02-20 12:22:33 | 2020-02-20 12:22:33.973 24878 ERROR tripleoclient.v1.overcloud_upgrade.MajorUpgradePrepare     deployment_options=deployment_options)
2020-02-20 12:22:33 | 2020-02-20 12:22:33.973 24878 ERROR tripleoclient.v1.overcloud_upgrade.MajorUpgradePrepare   File "/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_deploy.py", line 206, in _heat_deploy
2020-02-20 12:22:33 | 2020-02-20 12:22:33.973 24878 ERROR tripleoclient.v1.overcloud_upgrade.MajorUpgradePrepare     msg = update.check_rhcs4_beta_enabled(env)
2020-02-20 12:22:33 | 2020-02-20 12:22:33.973 24878 ERROR tripleoclient.v1.overcloud_upgrade.MajorUpgradePrepare AttributeError: module 'tripleo_common.update' has no attribute 'check_rhcs4_beta_enabled'
2020-02-20 12:22:33 | 2020-02-20 12:22:33.973 24878 ERROR tripleoclient.v1.overcloud_upgrade.MajorUpgradePrepare [00m
2020-02-20 12:22:33 | 2020-02-20 12:22:33.975 24878 ERROR openstack [-] module 'tripleo_common.update' has no attribute 'check_rhcs4_beta_enabled'[00m
2020-02-20 12:22:33 | 2020-02-20 12:22:33.979 24878 INFO osc_lib.shell [-] END return value: 1[00m
2020-02-20 12:22:34 | sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=6, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.24.2', 34616), raddr=('192.168.24.2', 13808)>
2020-02-20 12:22:34 | sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.24.2', 54522), raddr=('192.168.24.2', 13000)>
2020-02-20 12:22:34 | sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=7, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.24.2', 38470), raddr=('192.168.24.2', 13989)>
2020-02-20 12:22:34 | sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.24.2', 43868), raddr=('192.168.24.2', 13004)>


Log: http://cougar11.scl.lab.tlv.redhat.com/DFG-upgrades-upgrade-upgrade-14-15_director-rhel-virthost-3cont_2comp_3ceph-ipv4-vxlan-ha/4/undercloud-0.tar.gz?undercloud-0/home/stack/overcloud_upgrade_prepare.log


Version-Release number of selected component (if applicable):


How reproducible:

Run the job: https://rhos-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/DFG/view/upgrades/view/upgrade/job/DFG-upgrades-upgrade-upgrade-14-15_director-rhel-virthost-3cont_2comp_3ceph-ipv4-vxlan-ha/

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 John Fulton 2020-02-24 14:16:52 UTC

*** This bug has been marked as a duplicate of bug 1790906 ***


Note You need to log in before you can comment on or make changes to this bug.