Rocky -> Stein overcloud upgrade prepare: Unable to switch from openvswitch to ovn neutron mechanism drivers on upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Won't Fix
|
Medium
|
Jose Luis Franco |
Bug Description
Description:
I'm trying to upgrade RDO from Rocky to Stein following this documentation:
https:/
But, the "openstack overcloud upgrade prepare" step fails with "Unable to switch from openvswitch to ovn neutron mechanism drivers on upgrade. Please consult the documentation." error.
I haven't wanted to switch from openswitch to OVN and I have no idea what documentation I should consult accordingly to the error message.
Step to reproduce:
I'm running "openstack overcloud update prepare" with the same parameters I used for "openstack overcloud deploy" command when my Rocky RDO was deployed and with the new container image parameter (containers-
```
openstack overcloud update prepare --templates \
-e ~/vxrdo/
-e /usr/share/
-n ~/vxrdo/
-e ~/vxrdo/
-e ~/vxrdo/
-e ~/vxrdo/
-e ~/vxrdo/
-e ~/vxrdo/
-e /usr/share/
-e /usr/share/
-e ~/vxrdo/
--ntp-server 10.35.10.2 \
-e ~/vxrdo/
-e ~/vxrdo/
2>&1 | tee prepare.log
```
Expected results:
Upgrade prepare operation has successfully completed
Actual results:
```
2019-09-06 16:45:59.099 80663 INFO osc_lib.shell [-] command: overcloud update prepare -> tripleoclient.
2019-09-06 16:45:59.100 80663 INFO osc_lib.
2019-09-06 16:45:59.101 80663 DEBUG osc_lib.
2019-09-06 16:45:59.105 80663 DEBUG osc_lib.
2019-09-06 16:46:03.480 80663 INFO tripleoclient.
Removing the current plan files
Uploading new plan files
Temporary Swift GET/PUT URL parameters have successfully been updated.
Temporary Swift GET/PUT URL parameters have successfully been updated.
The backup of the ceph-ansible fetch directory did not need to be renamed
Plan updated.
Processing templates in the directory /tmp/tripleocli
2019-09-06 16:49:09.533 80663 ERROR openstack [-] Unable to switch from openvswitch to ovn neutron mechanism drivers on upgrade. Please consult the documentation.: CommandError: Unable to switch from openvswitch to ovn neutron mechanism drivers on upgrade. Please consult the documentation.
2019-09-06 16:49:09.544 80663 INFO osc_lib.shell [-] END return value: 1
```
Environment:
```
[stack@undercloud ~]$ rpm -qa|grep tripleo
openstack-
python2-
ansible-
python2-
ansible-
openstack-
python2-
puppet-
openstack-
openstack-
openstack-
python2-
openstack-
```
summary: |
- Unable to switch from openvswi tch to ovn neutron mechanism drivers on - upgrade + Rocky -> Stein overcloud upgrade prepare: Unable to switch from + openvswitch to ovn neutron mechanism drivers on upgrade |
Changed in tripleo: | |
assignee: | nobody → Jose Luis Franco (jfrancoa) |
So you would need to specify the non-ovn environment files for the upgrade. Currently ml2 -> ovn requires some sort of migration which is not performed automatically. This error pops up because the default for Stein is OVN and you did not specify the ml2 environment file It looks like it's THT/updates/ update- from-ml2- ovs-from- rocky.yaml