Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Why does Devstack install fail on new Ubuntu 18.04 LTS?

I am trying to bring up Openstack in a VirtualBox VM, with a brand-new installation of Ubuntu 18.04 LTS, using https://docs.openstack.org/devstack/latest/ as my guide. The install runs for the predicted 20 minutes or so, then terminates with this on the screen:

+++functions-common:oscwrap:2365             command openstack --os-cloud devstack-admin --os-region RegionOne network create --project 5c84712a44ab41ef8507d95835c03ba2 private
+++functions-common:oscwrap:2365             openstack --os-cloud devstack-admin --os-region RegionOne network create --project 5c84712a44ab41ef8507d95835c03ba2 private
Internal Server Error (HTTP 500)
++functions-common:oscwrap:2365             out=
++functions-common:oscwrap:2366             rc=1
+++functions-common:oscwrap:2367             date +%s%3N
++functions-common:oscwrap:2367             end=1567010032759
++functions-common:oscwrap:2368             echo 4250
++functions-common:oscwrap:2370             echo ''
++functions-common:oscwrap:2371             return 1
+lib/neutron_plugins/services/l3:create_neutron_initial_network:215  NET_ID=
+lib/neutron_plugins/services/l3:create_neutron_initial_network:216  die_if_not_set 216 NET_ID 'Failure creating NET_ID for private 5c84712a44ab41ef8507d95835c03ba2'
+++functions-common:oscwrap:2365             command openstack --os-cloud devstack-admin --os-region RegionOne network create --project 5c84712a44ab41ef8507d95835c03ba2 private
+++functions-common:oscwrap:2365             openstack --os-cloud devstack-admin --os-region RegionOne network create --project 5c84712a44ab41ef8507d95835c03ba2 private
Internal Server Error (HTTP 500)
++functions-common:oscwrap:2365             out=
++functions-common:oscwrap:2366             rc=1
+++functions-common:oscwrap:2367             date +%s%3N
++functions-common:oscwrap:2367             end=1567010032759
++functions-common:oscwrap:2368             echo 4250
++functions-common:oscwrap:2370             echo ''
++functions-common:oscwrap:2371             return 1
+lib/neutron_plugins/services/l3:create_neutron_initial_network:215  NET_ID=
+lib/neutron_plugins/services/l3:create_neutron_initial_network:216  die_if_not_set 216 NET_ID 'Failure creating NET_ID for private 5c84712a44ab41ef8507d95835c03ba2'
+functions-common:die_if_not_set:213       local exitcode=0
[Call Trace]
./stack.sh:1357:create_neutron_initial_network
/opt/stack/devstack/lib/neutron_plugins/services/l3:216:die_if_not_set
/opt/stack/devstack/functions-common:220:die
[ERROR] /opt/stack/devstack/functions-common:216 Failure creating NET_ID for private 5c84712a44ab41ef8507d95835c03ba2
Error on exit
neutron-dhcp-agent: no process found
neutron-l3-agent: no process found
neutron-metadata-agent: no process found
neutron-openvswitch-agent: no process found

I ran "ps -ax" and saw a huge number of OpenStack-related processes, so I thought I might have a working install anyway.

$ source openrc
$ openstack service list
Internal Server Error (HTTP 500)

Is this a known error with a known solution? I am struggling to get an installation of Openstack running and any help would be appreciated.