Description of problem:
During an OSP12 to OSP13 upgrade the following prevalidation check fails:
- name: "PreUpgrade step0,validation: Check if nova_wsgi is running"
shell: systemctl status 'httpd' | grep -q 'nova'
when: httpd_enabled.rc == 0 and httpd_running.rc == 0
But on OSP12 nova_api is already containerized.
# systemctl status httpd | grep -q nova
# echo $?
The controller's Apache is running but just not handling that vhost anymore.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. On a OSP12 environment run 'systemctl status httpd | grep -q nova' && echo $?
Upgrade should continue
For what I can see, you are running THT from Pike instead of Queens.
When you run an upgrade from 12 to 13 you must have THT from 13 instead 12, thus the validation should work.
Please, can you confirm you are following the documentation correctly?
I'm sorry I don't know why I put the wrong version the client is using:
It should be openstack-tripleo-heat-templates-8.0.7-4.el7ost
[ggrimaux@collab-shell undercloud]$ grep openstack-tripleo-heat-templates installed-rpms
openstack-tripleo-heat-templates-8.0.7-4.el7ost.noarch Fri Dec 7 10:33:21 2018
So it's for OSP13 as it should.
Please feel free to reopen this in the future if you have issues upgrading THT.
Can you double confirm that this deployment was never upgraded before?
This was done on a new OSP12 installation. Not upgraded from OSP11 to OSP12 previously.
I confirmed it with the client.
After checking the templates I'm not able to spot why the deployment failed in this way, eve if its working it should be in that way.
So after checking that the services are actually running under apache `httpd -t -D DUMP_VHOSTS | grep -q 'nova'` and `systemctl is-active --quiet openstack-nova-api`
We should proceed to disable them `sudo systemctl stop openstack-nova-api` and `sudo systemctl disable openstack-nova-api`. This will make the service still run from the container and the validation should pass.
In my opinion, when running the Overcloud upgrade for going to 12->13 we should not skip the pre-upgrade validations.
Closing this BZ as it is not reproducible with latest THT templates.
Please feel free to reopen this in the future if you have face this issue again.