exercise.sh fails all three exercises
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Invalid
|
Undecided
|
Dean Troyer |
Bug Description
Brand new, fresh install of devstack.
stack.sh completed successfully. I then ran ./exercise.sh:
stack@uberbox:
=======
Running euca
=======
+++ dirname ./exercises/euca.sh
++ cd ./exercises/..
++ pwd
+ pushd /home/stack/
~/devstack ~/devstack
+ source ./openrc
++ source ./stackrc
+++ NOVA_REPO=https:/
+++ NOVA_BRANCH=master
+++ SWIFT_REPO=https:/
+++ SWIFT_BRANCH=master
+++ SWIFT_KEYSTONE_
+++ SWIFT_KEYSTONE_
+++ GLANCE_REPO=https:/
+++ GLANCE_
+++ KEYSTONE_REPO=https:/
+++ KEYSTONE_
+++ NOVNC_REPO=https:/
+++ NOVNC_BRANCH=master
+++ HORIZON_REPO=https:/
+++ HORIZON_
+++ NOVACLIENT_REPO=https:/
+++ NOVACLIENT_
+++ OPENSTACKX_REPO=https:/
+++ OPENSTACKX_
+++ QUANTUM_REPO=https:/
+++ QUANTUM_
+++ CITEST_REPO=https:/
+++ CITEST_
+++ IMAGE_URLS=http://
+++ '[' -f ./localrc ']'
+++ source ./localrc
++++ MYSQL_PASSWORD=
++++ RABBIT_
++++ SERVICE_
++++ ADMIN_PASSWORD=
++ HOST_IP=127.0.0.1
++ export NOVA_PROJECT_
++ NOVA_PROJECT_
++ export NOVA_USERNAME=stack
++ NOVA_USERNAME=stack
++ export NOVA_PASSWORD=
++ NOVA_PASSWORD=
++ export NOVA_URL=http://
++ NOVA_URL=http://
++ export NOVA_VERSION=1.1
++ NOVA_VERSION=1.1
++ export NOVA_REGION_
++ NOVA_REGION_
++ export EC2_URL=http://
++ EC2_URL=http://
++ export EC2_ACCESS_
++ EC2_ACCESS_
++ export EC2_SECRET_
++ EC2_SECRET_
++ export BOOT_TIMEOUT=15
++ BOOT_TIMEOUT=15
++ export ACTIVE_TIMEOUT=10
++ ACTIVE_TIMEOUT=10
++ export RUNNING_TIMEOUT=25
++ RUNNING_TIMEOUT=25
++ export ASSOCIATE_
++ ASSOCIATE_
+ popd
~/devstack
++ euca-describe-
++ grep machine
++ cut -f2
++ head -n1
+ IMAGE=
++ euca-run-instances
++ grep INSTANCE
++ cut -f2
+ INSTANCE=
+ timeout 25 sh -c 'while euca-describe-
+ euca-terminate-
Terminates the specified instances.
euca-terminate-
REQUIRED PARAMETERS
instance_id unique identifier for instance to terminate
OPTIONAL PARAMETERS
-a,--access-key User's Access Key ID.
-s,--secret-key User's Secret Key.
--config Read credentials and cloud settings
--debug Turn on debugging output.
--debugger Enable interactive debugger on error
-h,--help Display this help message.
--region region to direct requests to
-U,--url URL of the Cloud to connect to.
--version Display the version of this tool.
--euca-auth Use NC authentication mode
Argument (instance_id) was not provided
=======
Running floating_ips
=======
+++ dirname ./exercises/
++ cd ./exercises/..
++ pwd
+ pushd /home/stack/
~/devstack ~/devstack
+ source ./openrc
++ source ./stackrc
+++ NOVA_REPO=https:/
+++ NOVA_BRANCH=master
+++ SWIFT_REPO=https:/
+++ SWIFT_BRANCH=master
+++ SWIFT_KEYSTONE_
+++ SWIFT_KEYSTONE_
+++ GLANCE_REPO=https:/
+++ GLANCE_
+++ KEYSTONE_REPO=https:/
+++ KEYSTONE_
+++ NOVNC_REPO=https:/
+++ NOVNC_BRANCH=master
+++ HORIZON_REPO=https:/
+++ HORIZON_
+++ NOVACLIENT_REPO=https:/
+++ NOVACLIENT_
+++ OPENSTACKX_REPO=https:/
+++ OPENSTACKX_
+++ QUANTUM_REPO=https:/
+++ QUANTUM_
+++ CITEST_REPO=https:/
+++ CITEST_
+++ IMAGE_URLS=http://
+++ '[' -f ./localrc ']'
+++ source ./localrc
++++ MYSQL_PASSWORD=
++++ RABBIT_
++++ SERVICE_
++++ ADMIN_PASSWORD=
++ HOST_IP=127.0.0.1
++ export NOVA_PROJECT_
++ NOVA_PROJECT_
++ export NOVA_USERNAME=stack
++ NOVA_USERNAME=stack
++ export NOVA_PASSWORD=
++ NOVA_PASSWORD=
++ export NOVA_URL=http://
++ NOVA_URL=http://
++ export NOVA_VERSION=1.1
++ NOVA_VERSION=1.1
++ export NOVA_REGION_
++ NOVA_REGION_
++ export EC2_URL=http://
++ EC2_URL=http://
++ export EC2_ACCESS_
++ EC2_ACCESS_
++ export EC2_SECRET_
++ EC2_SECRET_
++ export BOOT_TIMEOUT=15
++ BOOT_TIMEOUT=15
++ export ACTIVE_TIMEOUT=10
++ ACTIVE_TIMEOUT=10
++ export RUNNING_TIMEOUT=25
++ RUNNING_TIMEOUT=25
++ export ASSOCIATE_
++ ASSOCIATE_
+ popd
~/devstack
++ curl -s -d '{"auth"
++ python -c 'import sys; import json; tok = json.loads(
Traceback (most recent call last):
File "<string>", line 1, in <module>
KeyError: 'access'
+ TOKEN=
=======
Running swift
=======
+++ dirname ./exercises/
++ cd ./exercises/..
++ pwd
+ pushd /home/stack/
~/devstack ~/devstack
+ source ./openrc
++ source ./stackrc
+++ NOVA_REPO=https:/
+++ NOVA_BRANCH=master
+++ SWIFT_REPO=https:/
+++ SWIFT_BRANCH=master
+++ SWIFT_KEYSTONE_
+++ SWIFT_KEYSTONE_
+++ GLANCE_REPO=https:/
+++ GLANCE_
+++ KEYSTONE_REPO=https:/
+++ KEYSTONE_
+++ NOVNC_REPO=https:/
+++ NOVNC_BRANCH=master
+++ HORIZON_REPO=https:/
+++ HORIZON_
+++ NOVACLIENT_REPO=https:/
+++ NOVACLIENT_
+++ OPENSTACKX_REPO=https:/
+++ OPENSTACKX_
+++ QUANTUM_REPO=https:/
+++ QUANTUM_
+++ CITEST_REPO=https:/
+++ CITEST_
+++ IMAGE_URLS=http://
+++ '[' -f ./localrc ']'
+++ source ./localrc
++++ MYSQL_PASSWORD=
++++ RABBIT_
++++ SERVICE_
++++ ADMIN_PASSWORD=
++ HOST_IP=127.0.0.1
++ export NOVA_PROJECT_
++ NOVA_PROJECT_
++ export NOVA_USERNAME=stack
++ NOVA_USERNAME=stack
++ export NOVA_PASSWORD=
++ NOVA_PASSWORD=
++ export NOVA_URL=http://
++ NOVA_URL=http://
++ export NOVA_VERSION=1.1
++ NOVA_VERSION=1.1
++ export NOVA_REGION_
++ NOVA_REGION_
++ export EC2_URL=http://
++ EC2_URL=http://
++ export EC2_ACCESS_
++ EC2_ACCESS_
++ export EC2_SECRET_
++ EC2_SECRET_
++ export BOOT_TIMEOUT=15
++ BOOT_TIMEOUT=15
++ export ACTIVE_TIMEOUT=10
++ ACTIVE_TIMEOUT=10
++ export RUNNING_TIMEOUT=25
++ RUNNING_TIMEOUT=25
++ export ASSOCIATE_
++ ASSOCIATE_
+ popd
~/devstack
+ swift --auth-version 2 -A http://
./exercises/
=======
=======
FAILED euca
FAILED floating_ips
FAILED swift
Am I missing something?
-jay
Changed in devstack: | |
status: | New → In Progress |
assignee: | nobody → Dean Troyer (dtroyer) |
Changed in devstack: | |
status: | Incomplete → Invalid |
A good bit has changed since this was logged, I'll try to address these:
euca: failed because no images were found, likely a devstack issue getting glance populated. That has changed in the last month and defaults to the cirros images now.
floating_ips: looks like keystone didn't return the correct json. Again, much has been improved in the keystone intgegration.
swift: was 'swift' in the ENABLED_SERVICES? It isn't there by default; to skip the swift test, set SKIP_EXERCISES= swift in localrc or add 'swift' to ENABLED_SERVICES.
Does this sufficiently address the issues?