Several Errors when running stack.sh in devstack installation

asked 2019-07-03 12:03:42 -0500

cunuck32 gravatar image

Hello all,

I am trying to set up a multi-node lab with devstack using this documentation: https://docs.openstack.org/devstack/latest/guides/multinode-lab.html#download-devstack (https://docs.openstack.org/devstack/l...). Each machine is running Ubuntu 18.04.

However, when I try to run ./stack.sh on my controller node, it runs for 20 or so minutes, then fails. This is the end of the log with the errors:

2019-07-03 16:45:48.437 | +^[[3242m./stack.sh:main:1447                     ^[[m^O [[ -x /opt/stack/devstack/local.sh ]]
2019-07-03 16:45:48.440 | +^[[3242m./stack.sh:main:1448                     ^[[m^O echo 'Running user script /opt/stack/devstack/local.sh'
2019-07-03 16:45:48.442 | Running user script /opt/stack/devstack/local.sh
2019-07-03 16:45:48.443 | +^[[3242m./stack.sh:main:1449                     ^[[m^O /opt/stack/devstack/local.sh
2019-07-03 16:45:48.445 | /opt/stack/devstack/local.sh: line 12: /opt/stack/nova/bin/nova-manage: No such file or directory
2019-07-03 16:45:48.447 | /opt/stack/devstack/local.sh: line 12: /opt/stack/nova/bin/nova-manage: No such file or directory
2019-07-03 16:45:48.448 | /opt/stack/devstack/local.sh: line 12: /opt/stack/nova/bin/nova-manage: No such file or directory
2019-07-03 16:45:48.450 | /opt/stack/devstack/local.sh: line 12: /opt/stack/nova/bin/nova-manage: No such file or directory
2019-07-03 16:45:48.451 | /opt/stack/devstack/local.sh: line 12: /opt/stack/nova/bin/nova-manage: No such file or directory
2019-07-03 16:45:48.453 | /opt/stack/devstack/local.sh: line 12: /opt/stack/nova/bin/nova-manage: No such file or directory
2019-07-03 16:45:48.454 | /opt/stack/devstack/local.sh: line 12: /opt/stack/nova/bin/nova-manage: No such file or directory
2019-07-03 16:45:48.455 | /opt/stack/devstack/local.sh: line 12: /opt/stack/nova/bin/nova-manage: No such file or directory
2019-07-03 16:45:48.456 | /opt/stack/devstack/local.sh: line 12: /opt/stack/nova/bin/nova-manage: No such file or directory
2019-07-03 16:45:48.672 | WARNING: setting legacy OS_TENANT_NAME to support cli tools.
2019-07-03 16:45:48.683 | WARNING: setting legacy OS_TENANT_NAME to support cli tools.
2019-07-03 16:45:50.394 | +----------------------------+----------+
2019-07-03 16:45:50.395 | | Field                      | Value    |
2019-07-03 16:45:50.396 | +----------------------------+----------+
2019-07-03 16:45:50.396 | | OS-FLV-DISABLED:disabled   | False    |
2019-07-03 16:45:50.397 | | OS-FLV-EXT-DATA:ephemeral  | 0        |
2019-07-03 16:45:50.397 | | disk                       | 0        |
2019-07-03 16:45:50.398 | | id                         | 6        |
2019-07-03 16:45:50.398 | | name                       | m1.micro |
2019-07-03 16:45:50.399 | | os-flavor-access:is_public | True     |
2019-07-03 16:45:50.399 | | properties                 |          |
2019-07-03 16:45:50.400 | | ram                        | 128      |
2019-07-03 16:45:50.400 | | rxtx_factor                | 1.0      |
2019-07-03 16:45:50.401 | | swap                       |          |
2019-07-03 16:45:50.401 | | vcpus                      | 1        |
2019-07-03 16:45:50.402 | +----------------------------+----------+
2019-07-03 16:45:51.194 | More than one SecurityGroup exists with the name 'default'.
2019-07-03 16:45:51.999 | More than one SecurityGroup exists with the name 'default'.
2019-07-03 16:45:52.056 | ++^[[3242m./stack ...
(more)
edit retag flag offensive close merge delete

Comments

It looks like you are missing a lot of the OpenStack software. Are there errors further up in the log?

Also double-check if the stack user can use sudo without password.

unstack.sh and clean.sh are unlikely to work well. To reliably rebuild the cloud, start from scratch, i.e. install Ubuntu.

Bernd Bausch gravatar imageBernd Bausch ( 2019-07-04 00:38:12 -0500 )edit