Devstack development environment not working

Bug #1653966 reported by Devdatta Kulkarni
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Solum
New
Undecided
Unassigned

Bug Description

When following Devstack setup steps outlined on

https://wiki.openstack.org/wiki/Solum/solum-development-setup#2.29_Devstack

the process does not complete. It seems to be stuck and the output on the screen is:

2017-01-04 13:08:12.525 | ++functions:upload_image:352 openstack --os-cloud=devstack-admin --os-region-name=RegionOne image create cirros-0.3.4-x86_64-uec-kernel --public --container-format aki --disk-format aki
2017-01-04 13:08:12.531 | ++functions-common:get_field:699 local data field
2017-01-04 13:08:12.539 | ++functions-common:get_field:700 read data
2017-01-04 13:08:14.035 | WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils. This warning is caused by an out-of-date import in /usr/local/lib/python2.7/dist-packages/senlinclient/plugin.py

Revision history for this message
Devdatta Kulkarni (devdatta-kulkarni) wrote :

Got this error on a re-run

2017-01-04 13:39:52.492 | Policy doesn't allow os_compute_api:os-flavor-manage to be performed. (HTTP 403) (Request-ID: req-b6823de4-733d-45d5-970a-22c0fba8741e)
2017-01-04 13:39:52.543 | +lib/nova:create_flavors:1 exit_trap
2017-01-04 13:39:52.548 | +./stack.sh:exit_trap:487 local r=1
2017-01-04 13:39:52.555 | ++./stack.sh:exit_trap:488 jobs -p
2017-01-04 13:39:52.562 | +./stack.sh:exit_trap:488 jobs=
2017-01-04 13:39:52.566 | +./stack.sh:exit_trap:491 [[ -n '' ]]
2017-01-04 13:39:52.570 | +./stack.sh:exit_trap:497 kill_spinner
2017-01-04 13:39:52.574 | +./stack.sh:kill_spinner:383 '[' '!' -z '' ']'
2017-01-04 13:39:52.578 | +./stack.sh:exit_trap:499 [[ 1 -ne 0 ]]
2017-01-04 13:39:52.582 | +./stack.sh:exit_trap:500 echo 'Error on exit'
2017-01-04 13:39:52.582 | Error on exit
2017-01-04 13:39:52.589 | +./stack.sh:exit_trap:501 generate-subunit 1483536191 1001 fail
2017-01-04 13:39:53.110 | +./stack.sh:exit_trap:502 [[ -z /opt/stack/logs ]]
2017-01-04 13:39:53.116 | +./stack.sh:exit_trap:505 /home/devdatta/devstack/tools/worlddump.py -d /opt/stack/logs
2017-01-04 13:39:54.107 | +./stack.sh:exit_trap:511 exit 1

Revision history for this message
Devdatta Kulkarni (devdatta-kulkarni) wrote :

More log lines (couple of them were missing from above trace):

2017-01-04 13:39:47.139 | +lib/nova:create_flavors:927 openstack --os-region-name=RegionOne flavor list
2017-01-04 13:39:47.139 | +lib/nova:create_flavors:927 grep -q ds512M
2017-01-04 13:39:49.221 | WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils. This warning is caused by an out-of-date import in /usr/local/lib/python2.7/dist-packages/senlinclient/plugin.py
2017-01-04 13:39:50.629 | +lib/nova:create_flavors:929 openstack --os-region-name=RegionOne flavor create --id c1 --ram 256 --disk 0 --vcpus 1 cirros256
2017-01-04 13:39:52.161 | WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils. This warning is caused by an out-of-date import in /usr/local/lib/python2.7/dist-packages/senlinclient/plugin.py
2017-01-04 13:39:52.492 | Policy doesn't allow os_compute_api:os-flavor-manage to be performed. (HTTP 403) (Request-ID: req-b6823de4-733d-45d5-970a-22c0fba8741e)
2017-01-04 13:39:52.543 | +lib/nova:create_flavors:1 exit_trap
2017-01-04 13:39:52.548 | +./stack.sh:exit_trap:487 local r=1
2017-01-04 13:39:52.555 | ++./stack.sh:exit_trap:488 jobs -p
2017-01-04 13:39:52.562 | +./stack.sh:exit_trap:488 jobs=
2017-01-04 13:39:52.566 | +./stack.sh:exit_trap:491 [[ -n '' ]]
2017-01-04 13:39:52.570 | +./stack.sh:exit_trap:497 kill_spinner
2017-01-04 13:39:52.574 | +./stack.sh:kill_spinner:383 '[' '!' -z '' ']'
2017-01-04 13:39:52.578 | +./stack.sh:exit_trap:499 [[ 1 -ne 0 ]]
2017-01-04 13:39:52.582 | +./stack.sh:exit_trap:500 echo 'Error on exit'
2017-01-04 13:39:52.582 | Error on exit
2017-01-04 13:39:52.589 | +./stack.sh:exit_trap:501 generate-subunit 1483536191 1001 fail
2017-01-04 13:39:53.110 | +./stack.sh:exit_trap:502 [[ -z /opt/stack/logs ]]
2017-01-04 13:39:53.116 | +./stack.sh:exit_trap:505 /home/devdatta/devstack/tools/worlddump.py -d /opt/stack/logs
2017-01-04 13:39:54.107 | +./stack.sh:exit_trap:511 exit 1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.