Liberty -> Mitaka Upgrade: Error: Unable to create the server. Unexpected API Error.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Expired
|
High
|
Unassigned |
Bug Description
Description
===========
After upgrading fresh OpenStack Liberty installation to Mitaka on Trusty with Juju, I am no longer able to create Nova instances.
Steps to reproduce
==================
* Install OpenStack Liberty with Juju from the attached "bundle.yaml" file.
* Upgrade OpenStack Liberty to Mitaka by executing the following commands:
juju upgrade-charm keystone
juju upgrade-charm ceilometer
juju upgrade-charm ceilometer-agent
juju upgrade-charm ceph
juju upgrade-charm ceph-osd
juju upgrade-charm cinder
juju upgrade-charm glance
juju upgrade-charm nova-cloud-
juju upgrade-charm nova-compute
juju upgrade-charm neutron-api
juju upgrade-charm neutron-gateway
juju upgrade-charm openstack-dashboard
juju set-config ceph source=
juju set-config ceph-osd source=
juju set-config keystone openstack-
juju ssh keystone/0 sudo keystone-manage db_sync
juju set-config ceilometer openstack-
juju set-config ceilometer-agent openstack-
juju set-config cinder openstack-
juju ssh cinder/0 sudo cinder-manage db sync
juju set-config glance openstack-
juju ssh glance/0 sudo glance-manage db_sync
juju set-config nova-cloud-
juju ssh nova-cloud-
juju set-config nova-compute openstack-
juju set-config neutron-api openstack-
juju ssh neutron-api/0 sudo neutron-db-manage upgrade heads
juju set-config neutron-gateway openstack-
juju set-config openstack-dashboard openstack-
juju ssh ceph/0 sudo reboot
juju ssh ceph/1 sudo reboot
juju ssh ceph/2 sudo reboot
juju ssh ceph-osd/0 sudo service ceph restart
juju ssh ceph-osd/1 sudo service ceph restart
juju ssh ceph-osd/2 sudo service ceph restart
juju ssh keystone/0 sudo reboot
juju ssh keystone/1 sudo reboot
juju ssh keystone/2 sudo reboot
juju ssh ceilometer/0 sudo reboot
juju ssh ceilometer/1 sudo reboot
juju ssh ceilometer/2 sudo reboot
juju ssh ceilometer-agent/0 sudo service ceilometer-
juju ssh ceilometer-agent/1 sudo service ceilometer-
juju ssh ceilometer-agent/2 sudo service ceilometer-
juju ssh cinder/0 sudo reboot
juju ssh cinder/1 sudo reboot
juju ssh cinder/2 sudo reboot
juju ssh glance/0 sudo reboot
juju ssh glance/1 sudo reboot
juju ssh glance/2 sudo reboot
juju ssh nova-cloud-
juju ssh nova-cloud-
juju ssh nova-cloud-
juju ssh nova-compute/0 sudo service nova-compute restart
juju ssh nova-compute/1 sudo service nova-compute restart
juju ssh nova-compute/2 sudo service nova-compute restart
juju ssh neutron-api/0 sudo reboot
juju ssh neutron-api/1 sudo reboot
juju ssh neutron-api/2 sudo reboot
juju ssh neutron-gateway/0 sudo service neutron-dhcp-agent restart
juju ssh neutron-gateway/0 sudo service neutron-lbaas-agent restart
juju ssh neutron-gateway/0 sudo service neutron-
juju ssh neutron-gateway/0 sudo service neutron-
juju ssh neutron-gateway/0 sudo service neutron-
juju ssh neutron-gateway/0 sudo service neutron-vpn-agent restart
juju ssh nova-compute/0 sudo service neutron-
juju ssh nova-compute/1 sudo service neutron-
juju ssh nova-compute/2 sudo service neutron-
juju ssh openstack-
juju ssh openstack-
juju ssh openstack-
* Attempt to create Nova instance.
Expected result
===============
Nova instance being created.
Actual result
=============
* Nova instance not being created.
* The following error messages being displayed:
** from GUI:
Error: Unable to create the server.
** from CLI:
Unexpected API Error. Please report this at http://
<type 'exceptions.
Environment
===========
1. Exact version of OpenStack you are running.
ubuntu@
ii nova-api-os-compute 2:13.1.
ii nova-cert 2:13.1.
ii nova-common 2:13.1.
ii nova-conductor 2:13.1.
ii nova-consoleauth 2:13.1.
ii nova-novncproxy 2:13.1.
ii nova-scheduler 2:13.1.
ii python-nova 2:13.1.
ii python-novaclient 2:3.3.1-2~cloud0 all client library for OpenStack Compute API - Python 2.7
Connection to 10.230.126.81 closed.
ubuntu@
ii nova-common 2:13.1.
ii nova-compute 2:13.1.
ii nova-compute-kvm 2:13.1.
ii nova-compute-
ii python-nova 2:13.1.
ii python-novaclient 2:3.3.1-2~cloud0 all client library for OpenStack Compute API - Python 2.7
Connection to 10.230.126.54 closed.
2. Which hypervisor did you use?
KVM
What's the version of that?
ubuntu@
ii nova-compute-kvm 2:13.1.
Connection to 10.230.126.54 closed.
3. Which storage type did you use?
Ceph
What's the version of that?
ubuntu@
ii ceph 10.2.2-
ii ceph-common 10.2.2-
ii libcephfs1 10.2.2-
ii python-ceph 10.2.2-
ii python-cephfs 10.2.2-
Connection to 10.230.126.65 closed.
ubuntu@
ii ceph 10.2.2-
ii ceph-common 10.2.2-
ii libcephfs1 10.2.2-
ii python-ceph 10.2.2-
ii python-cephfs 10.2.2-
Connection to 10.230.126.54 closed.
4. Which networking type did you use?
Neutron with Openvswitch
5. Additional information:
ubuntu@
python-
Connection to 10.230.126.81 closed.
ubuntu@
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii python-
Connection to 10.230.126.81 closed.
Logs & Configs
==============
Attached "/var/log/
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
2016-08-20 11:03:48.780 558458 ERROR nova.api.
You are going to need to unwind the juju bundle into something the dev team understands, or poke the juju folks.