In BootStack, we also run the upgrade procedure via actions.
In my specific case,
1) deployed openstack-on-lxd's bundle-bionic-queens.yaml,
2) enabled action-managed-upgrade (True)
3) updated neutron-api's openstack-origin value from default (distro) to "cloud:bionic-stein"
Per code shared by jamespage, apt_install is run but add_source is not, so packages such as python3-neutron-fwaas can't be located.
"""
2019-08-02 08:41:22 DEBUG config-changed E: Unable to locate package python3-neutron-lbaas
2019-08-02 08:41:22 DEBUG config-changed E: Unable to locate package python3-neutron-fwaas
2019-08-02 08:41:22 DEBUG config-changed E: Unable to locate package python3-neutron-dynamic-routing
2019-08-02 08:41:22 DEBUG config-changed E: Unable to locate package python3-neutron
2019-08-02 08:41:22 DEBUG config-changed E: Unable to locate package python3-networking-hyperv
"""
Workaround is to:
2b) leave action-managed-upgrade disabled (False)
Note: rest of steps are the same
However, I now see a different error (jumping directly from Queens to Stein, as suggested in the official documentation [1]):
"""
root@juju-047355-17:~# apt-get install python3-neutron
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
python-ceilometerclient python-pika-pool python-positional python-retrying
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
python3-neutron
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
206 not fully installed or removed.
Need to get 0 B/1,606 kB of archives.
After this operation, 14.3 MB of additional disk space will be used.
(Reading database ... 54718 files and directories currently installed.)
Preparing to unpack .../python3-neutron_2%3a14.0.2-0ubuntu1~cloud0_all.deb ...
Unpacking python3-neutron (2:14.0.2-0ubuntu1~cloud0) ...
dpkg: error processing archive /var/cache/apt/archives/python3-neutron_2%3a14.0.2-0ubuntu1~cloud0_all.deb (--unpack):
trying to overwrite '/usr/bin/neutron-api', which is also in package python-neutron 2:12.0.6-0ubuntu3
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/python3-neutron_2%3a14.0.2-0ubuntu1~cloud0_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
"""
In BootStack, we also run the upgrade procedure via actions.
In my specific case, bionic- queens. yaml, managed- upgrade (True) bionic- stein"
1) deployed openstack-on-lxd's bundle-
2) enabled action-
3) updated neutron-api's openstack-origin value from default (distro) to "cloud:
Per code shared by jamespage, apt_install is run but add_source is not, so packages such as python3- neutron- fwaas can't be located. neutron- lbaas neutron- fwaas neutron- dynamic- routing networking- hyperv
"""
2019-08-02 08:41:22 DEBUG config-changed E: Unable to locate package python3-
2019-08-02 08:41:22 DEBUG config-changed E: Unable to locate package python3-
2019-08-02 08:41:22 DEBUG config-changed E: Unable to locate package python3-
2019-08-02 08:41:22 DEBUG config-changed E: Unable to locate package python3-neutron
2019-08-02 08:41:22 DEBUG config-changed E: Unable to locate package python3-
"""
Workaround is to: managed- upgrade disabled (False)
2b) leave action-
Note: rest of steps are the same
However, I now see a different error (jumping directly from Queens to Stein, as suggested in the official documentation [1]): 047355- 17:~# apt-get install python3-neutron ceilometerclien t python-pika-pool python-positional python-retrying neutron_ 2%3a14. 0.2-0ubuntu1~ cloud0_ all.deb ... 2-0ubuntu1~ cloud0) ... apt/archives/ python3- neutron_ 2%3a14. 0.2-0ubuntu1~ cloud0_ all.deb (--unpack): neutron- api', which is also in package python-neutron 2:12.0.6-0ubuntu3 apt/archives/ python3- neutron_ 2%3a14. 0.2-0ubuntu1~ cloud0_ all.deb
"""
root@juju-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
python-
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
python3-neutron
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
206 not fully installed or removed.
Need to get 0 B/1,606 kB of archives.
After this operation, 14.3 MB of additional disk space will be used.
(Reading database ... 54718 files and directories currently installed.)
Preparing to unpack .../python3-
Unpacking python3-neutron (2:14.0.
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/bin/
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
"""
1. https:/ /docs.openstack .org/charm- guide/latest/ 1904.html# upgrading- openstack