Upgrade from 10.1.15 to r11.0.0 Fails Due to oslo.utils Downgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-ansible |
Invalid
|
High
|
Jesse Pretorius | ||
Kilo |
Fix Released
|
High
|
Jesse Pretorius | ||
Trunk |
Invalid
|
High
|
Jesse Pretorius |
Bug Description
Hey Team,
It looks like upgrades may be broken when moving from 10.1.15 to r11.0.0. Once the upgrade script got to the setup-infrastru
root@617562-
Ignoring indexes: https:/
Requirement already up-to-date: python-novaclient in /usr/local/
Requirement already up-to-date: oslo.i18n<
Requirement already up-to-date: argparse in /usr/local/
Requirement already up-to-date: oslo.serializat
Requirement already up-to-date: requests!
Requirement already up-to-date: pbr!=0.7,<1.0,>=0.6 in /usr/local/
Requirement already up-to-date: oslo.utils<
Requirement already up-to-date: iso8601>=0.1.9 in /usr/local/
Requirement already up-to-date: python-
Requirement already up-to-date: Babel>=1.3 in /usr/local/
Requirement already up-to-date: six>=1.9.0 in /usr/local/
Requirement already up-to-date: PrettyTable<
Requirement already up-to-date: simplejson>=2.2.0 in /usr/local/
Requirement already up-to-date: msgpack-
Requirement already up-to-date: pytz>=2013.6 in /usr/local/
Requirement already up-to-date: pip in /usr/local/
Collecting netaddr<
Could not find a version that satisfies the requirement netaddr<
No matching distribution found for netaddr<
oslo.utils was upgraded to 1.4.1 in 10.1.15 and netaddr 0.7.13 is a requirement:
oslo.utils-
It looks like oslo.utils is downgraded back to 1.4.0 for r11.0.0:
http://
Since pip does not downgrade packages, it keeps oslo.utils at 1.4.1 instead of downgrading to 1.4.0, breaking the requirement for netaddr<
Steps to Reproduce:
* Install Greenfield 10.1.15
* Follow the upgrade guide found here: http://
Can we utilize the "--force-reinstall" flag for all pip install commands to prevent this in the future since the pip wheels keep changing?
Thanks,
Sean
summary: |
- Upgrade from 10.1.5 to r11.0.0 Fails Due to oslo.utils Downgrade + Upgrade from 10.1.15 to r11.0.0 Fails Due to oslo.utils Downgrade |
Pretty sure this needs to be filed against https:/ /github. com/rcbops/ rpc-openstack
r11.0.0 is not a tag or ref that exists in openstack-ansible. Want me to copy this over for you?