<div dir="ltr">Hello together,<div><br></div><div>Followed the nice guide here (upgrade from Mitaka to Newton):</div><div><br></div><div><a href="https://www.rdoproject.org/install/upgrading-rdo-1/">https://www.rdoproject.org/install/upgrading-rdo-1/</a><br></div><div><br></div><div>to upgrade a 4 node Mitaka QA environment deployed with packstack (1 controller, 3 compute) to <b>Ocata</b>.</div><div><br></div><div>The good news is that all VMs are running on the compute nodes and horizon can be reached with the new nice OpenStack logo :-), but I can't login to horizon anymore. After the package upgarde and following the steps on the mentioned guide above, the call:</div><div><br></div><div># systemctl isolate openstack-services.snapshot<br></div><div><p class="gmail-p1"><span class="gmail-s1">didn't work as expected (it got stuck for a long time and I'd to reboot the controller).</span></p><p class="gmail-p1"><span class="gmail-s1">One issue which I'd to deal with was the dependency with some Ceph packages:</span></p><p class="gmail-p1">Error: centos-release-ceph-jewel conflicts with centos-release-ceph-hammer-1.0-5.el7.centos.noarch<br></p><p class="gmail-p1">(I'd to erase the Mitaka rpm and disable the Ceph repo and first after that the <span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:menlo;font-size:11px">yum install -y centos-release-openstack-ocata worked</span>)</p>







</div><div>So, now after the upgrade if I call openstack-status, some services like nova-api are showing up in "activating" phase and keystone is disabled and there are some 500 internal server errors as provided below.<br></div><div><br></div><div>To be honest, I'm not sure if the direct upgrade from Mitaka to Ocata is the right way and most probably it'd be better to upgarde first to Newton and then to Ocata, right?.</div><div><br></div><div>On Mitaka Keystone v2 was activated and as I know in Newton Keystone v3 is the default version.</div><div><br></div><div>Now my questions are:</div><div><br></div><div>Does the guide above work for upgrading to Ocata at all, e.g. from Newton to Ocata?</div><div>Are there any additional steps which one needs to consider?</div><div>What happens if I create a new packstack answer-file and run a new deployment? (well, I know the answer might be, try it yourself :-))</div><div>Do I need to adjust the nova.conf, keystone.conf files?</div><div><br></div><div><br></div><div>Thanks for any hints in advance!</div><div>-Arash</div><div><br></div><div><br></div><div>







<p class="gmail-p1"><span class="gmail-s1">[root@controller~(keystone_admin)]# openstack-status </span></p>
<p class="gmail-p1"><span class="gmail-s1">== Nova services ==</span></p>
<p class="gmail-p1"><span class="gmail-s1">openstack-nova-api:                     activating</span></p>
<p class="gmail-p1"><span class="gmail-s1">openstack-nova-compute:                 inactive  (disabled on boot)</span></p>
<p class="gmail-p1"><span class="gmail-s1">openstack-nova-network:                 inactive  (disabled on boot)</span></p>
<p class="gmail-p1"><span class="gmail-s1">openstack-nova-scheduler:               activating</span></p>
<p class="gmail-p1"><span class="gmail-s1">openstack-nova-cert:                    activating</span></p>
<p class="gmail-p1"><span class="gmail-s1">openstack-nova-conductor:               activating</span></p>
<p class="gmail-p1"><span class="gmail-s1">openstack-nova-console:                 inactive  (disabled on boot)</span></p>
<p class="gmail-p1"><span class="gmail-s1">openstack-nova-consoleauth:             activating</span></p>
<p class="gmail-p1"><span class="gmail-s1">openstack-nova-xvpvncproxy:             inactive  (disabled on boot)</span></p>
<p class="gmail-p1"><span class="gmail-s1">== Glance services ==</span></p>
<p class="gmail-p1"><span class="gmail-s1">openstack-glance-api:                   active</span></p>
<p class="gmail-p1"><span class="gmail-s1">openstack-glance-registry:              active</span></p>
<p class="gmail-p1"><span class="gmail-s1">== Keystone service ==</span></p>
<p class="gmail-p1"><span class="gmail-s1">openstack-keystone:                     inactive  (disabled on boot)</span></p>
<p class="gmail-p1"><span class="gmail-s1">== Horizon service ==</span></p>
<p class="gmail-p1"><span class="gmail-s1">openstack-dashboard:                    301</span></p>
<p class="gmail-p1"><span class="gmail-s1">== neutron services ==</span></p>
<p class="gmail-p1"><span class="gmail-s1">neutron-server:                         active</span></p>
<p class="gmail-p1"><span class="gmail-s1">neutron-dhcp-agent:                     active</span></p>
<p class="gmail-p1"><span class="gmail-s1">neutron-l3-agent:                       active</span></p>
<p class="gmail-p1"><span class="gmail-s1">neutron-metadata-agent:                 active</span></p>
<p class="gmail-p1"><span class="gmail-s1">neutron-openvswitch-agent:              active</span></p>
<p class="gmail-p1"><span class="gmail-s1">neutron-metering-agent:                 active</span></p>
<p class="gmail-p1"><span class="gmail-s1">== Cinder services ==</span></p>
<p class="gmail-p1"><span class="gmail-s1">openstack-cinder-api:                   active</span></p>
<p class="gmail-p1"><span class="gmail-s1">openstack-cinder-scheduler:             inactive</span></p>
<p class="gmail-p1"><span class="gmail-s1">openstack-cinder-volume:                active</span></p>
<p class="gmail-p1"><span class="gmail-s1">openstack-cinder-backup:                active</span></p>
<p class="gmail-p1"><span class="gmail-s1">== Ceilometer services ==</span></p>
<p class="gmail-p1"><span class="gmail-s1">openstack-ceilometer-api:               inactive  (disabled on boot)</span></p>
<p class="gmail-p1"><span class="gmail-s1">openstack-ceilometer-central:           active</span></p>
<p class="gmail-p1"><span class="gmail-s1">openstack-ceilometer-compute:           inactive  (disabled on boot)</span></p>
<p class="gmail-p1"><span class="gmail-s1">openstack-ceilometer-collector:         active</span></p>
<p class="gmail-p1"><span class="gmail-s1">openstack-ceilometer-notification:      active</span></p>
<p class="gmail-p1"><span class="gmail-s1">== Heat services ==</span></p>
<p class="gmail-p1"><span class="gmail-s1">openstack-heat-api:                     active</span></p>
<p class="gmail-p1"><span class="gmail-s1">openstack-heat-api-cfn:                 inactive  (disabled on boot)</span></p>
<p class="gmail-p1"><span class="gmail-s1">openstack-heat-api-cloudwatch:          inactive  (disabled on boot)</span></p>
<p class="gmail-p1"><span class="gmail-s1">openstack-heat-engine:                  inactive</span></p>
<p class="gmail-p1"><span class="gmail-s1">== Support services ==</span></p>
<p class="gmail-p1"><span class="gmail-s1">mariadb:                                active</span></p>
<p class="gmail-p1"><span class="gmail-s1">openvswitch:                            active</span></p>
<p class="gmail-p1"><span class="gmail-s1">dbus:                                   active</span></p>
<p class="gmail-p1"><span class="gmail-s1">target:                                 active</span></p>
<p class="gmail-p1"><span class="gmail-s1">rabbitmq-server:                        active</span></p>
<p class="gmail-p1"><span class="gmail-s1">memcached:                              active</span></p>
<p class="gmail-p1"><span class="gmail-s1">== Keystone users ==</span></p>
<p class="gmail-p1"><span class="gmail-s1">Traceback (most recent call last):</span></p>
<p class="gmail-p1"><span class="gmail-s1">  File "/usr/bin/keystone", line 6, in <module></span></p>
<p class="gmail-p1"><span class="gmail-s1">    from keystoneclient.shell import main</span></p>
<p class="gmail-p1"><span class="gmail-s1">  File "/usr/lib/python2.7/site-packages/keystoneclient/shell.py", line 32, in <module></span></p>
<p class="gmail-p1"><span class="gmail-s1">    from keystoneclient.contrib.bootstrap import shell as shell_bootstrap</span></p>
<p class="gmail-p1"><span class="gmail-s1">  File "/usr/lib/python2.7/site-packages/keystoneclient/contrib/bootstrap/shell.py", line 17, in <module></span></p>
<p class="gmail-p1"><span class="gmail-s1">    @utils.arg('--user-name', metavar='<user-name>', default='admin', dest='user',</span></p>
<p class="gmail-p1"><span class="gmail-s1">AttributeError: 'module' object has no attribute 'arg'</span></p>
<p class="gmail-p1"><span class="gmail-s1">== Glance images ==</span></p>
<p class="gmail-p1"><span class="gmail-s1">Internal Server Error (HTTP 500)</span></p>
<p class="gmail-p1"><span class="gmail-s1">== Nova managed services ==</span></p>
<p class="gmail-p1"><span class="gmail-s1">No handlers could be found for logger "keystoneauth.identity.generic.base"</span></p>
<p class="gmail-p1"><span class="gmail-s1">ERROR (InternalServerError): Internal Server Error (HTTP 500)</span></p>
<p class="gmail-p1"><span class="gmail-s1">== Nova networks ==</span></p>
<p class="gmail-p1"><span class="gmail-s1">No handlers could be found for logger "keystoneauth.identity.generic.base"</span></p>
<p class="gmail-p1"><span class="gmail-s1">ERROR (InternalServerError): Internal Server Error (HTTP 500)</span></p>
<p class="gmail-p1"><span class="gmail-s1">== Nova instance flavors ==</span></p>
<p class="gmail-p1"><span class="gmail-s1">No handlers could be found for logger "keystoneauth.identity.generic.base"</span></p>
<p class="gmail-p1"><span class="gmail-s1">ERROR (InternalServerError): Internal Server Error (HTTP 500)</span></p>
<p class="gmail-p1"><span class="gmail-s1">== Nova instances ==</span></p>
<p class="gmail-p1"><span class="gmail-s1">No handlers could be found for logger "keystoneauth.identity.generic.base"</span></p>
<p class="gmail-p1"><span class="gmail-s1">ERROR (InternalServerError): Internal Server Error (HTTP 500)</span></p></div></div>