Getting an error connect failure

asked 2016-01-11 04:56:15 -0600

ankitchanna gravatar image

updated 2016-01-13 09:30:47 -0600

rbowen gravatar image

I am getting below error after running ./stack.sh. I have configured the ubuntu machine to be controller to run the openstack server. I have tried multiple time ./clean.sh and also the ./unstack.sh but stil the error persist. Below is the log of the same. I am not able to proceed further due to this error.

++ safe_chown -R maven /opt/stack/tempest/tempest.egg-info
++ _safe_permission_operation chown -R maven /opt/stack/tempest/tempest.egg-info
++ local xtrace
+++ set +o
+++ grep xtrace
++ xtrace='set -o xtrace'
++ set +o xtrace
++ sudo chown -R maven /opt/stack/tempest/tempest.egg-info
++ local image_lines
++ local images
++ local num_images
++ local image_uuid
++ local image_uuid_alt
++ local password
++ local line
++ local flavors
++ local available_flavors
++ local flavors_ref
++ local flavor_lines
++ local public_network_id
++ local public_router_id
++ local boto_instance_type=m1.tiny
++ local ssh_connect_method=fixed
++ ifs='    
'
++ declare -a images
++ is_service_enabled glance
++ local xtrace
+++ set +o
+++ grep xtrace
++ xtrace='set -o xtrace'
++ set +o xtrace
++ return 0
++ read -r IMAGE_NAME IMAGE_UUID
+++ openstack image list --property status=active
+++ awk '-F|' '!/^(+--)|ID|aki|ari/ { print $3,$2 }'
++ '[' cirros-0.3.4-x86_64-rootfs = cirros-0.3.4-x86_64-rootfs ']'
++ image_uuid=8491aeba-8ce3-4373-8948-fdbb3c33d524
++ image_uuid_alt=8491aeba-8ce3-4373-8948-fdbb3c33d524
++ images+=($IMAGE_UUID)
++ read -r IMAGE_NAME IMAGE_UUID
++ case "${#images[*]}" in
++ '[' -z 8491aeba-8ce3-4373-8948-fdbb3c33d524 ']'
++ sudo install -d -o maven /opt/stack/tempest/etc
++ rm -f /opt/stack/tempest/etc/tempest.conf
++ password=secrete
++ ADMIN_USERNAME=admin
++ ADMIN_TENANT_NAME=admin
++ ADMIN_DOMAIN_NAME=Default
++ TEMPEST_USERNAME=demo
++ TEMPEST_TENANT_NAME=demo
++ ALT_USERNAME=alt_demo
++ ALT_TENANT_NAME=alt_demo
+++ awk '/ admin / { print $2 }'
+++ openstack project list
++ ADMIN_TENANT_ID=f166364779e24ca186e0e2480a865495
++ is_service_enabled nova
++ local xtrace
+++ set +o
+++ grep xtrace
++ xtrace='set -o xtrace'
++ set +o xtrace
++ return 0
+++ nova flavor-list
ERROR (ConnectFailure): Unable to establish connection to http://192.168.1.77:8774/v2.1/f166364779e24ca186e0e2480a865495
++ available_flavors=
+ exit_trap
+ local r=1
++ jobs -p
+ jobs=
+ [[ -n '' ]]
+ kill_spinner
+ '[' '!' -z '' ']'
+ [[ 1 -ne 0 ]]
+ echo 'Error on exit'
Error on exit
+ [[ -z /opt/stack/logs ]]
+ /home/maven/nova/devstack/tools/worlddump.py -d /opt/stack/logs
World dumping... see /opt/stack/logs/worlddump-2016-01-11-095832.txt for details
/bin/sh: 1: kill: Operation not permitted

+ exit 1

Please suggest an answer. Thank you!

Regards, Ankit Channa

edit retag flag offensive close merge delete