Ask Your Question
0

Why does Devstack install fail on new Ubuntu 18.04 LTS?

asked 2019-08-28 11:52:59 -0600

Daryl gravatar image

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/ (https://docs.openstack.org/devstack/l...) 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.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2019-08-28 13:22:56 -0600

Daryl gravatar image

And the answer is:

The target was a "default" VirtualBox VM, with only 1GB of memory allocated to it. At some point, an out-of-memory error occurred causing MySQL to be killed. I rebuilt the VM with 4GB, started the install from scratch and all seems well.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2019-08-28 11:52:59 -0600

Seen: 78 times

Last updated: Aug 28