Error while installing devstack

asked 2015-05-18 08:28:04 -0500

joshua gravatar image

updated 2015-05-18 08:57:34 -0500

dbaxps gravatar image

I am trying to install using devstack.

I am getting the below error

I am using the default local.conf which in the samples directory

015-05-18 13:11:32.352 | + [[ x86_64 == \a\a\r\c\h\6\4 ]]
2015-05-18 13:11:32.352 | + '[' '' = bare ']'
2015-05-18 13:11:32.352 | + local kernel_id= ramdisk_id=
2015-05-18 13:11:32.352 | + '[' -n /opt/devstack/files/images/cirros-0.3.4-x86_64-uec/cirros-0.3.4-x86_64-vmlinuz ']'
2015-05-18 13:11:32.353 | ++ openstack --os-token 0b2682de7a91418ba79bbed7e12916ef --os-url http://192.168.195.252:9292 image create cirros-0.3.4-x86_64-uec-kernel --public --container-format aki --disk-format aki
2015-05-18 13:11:32.353 | ++ grep ' id '
2015-05-18 13:11:32.354 | ++ get_field 2
2015-05-18 13:11:32.354 | ++ local data field
2015-05-18 13:11:32.354 | ++ read data
2015-05-18 13:11:33.331 | ERROR: openstack 401 Unauthorized: This server could not verify that you are authorized to access the document you requested. Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required. (HTTP 401)
2015-05-18 13:11:33.366 | + kernel_id=
2015-05-18 13:11:33.366 | + '[' -n /opt/devstack/files/images/cirros-0.3.4-x86_64-uec/cirros-0.3.4-x86_64-initrd ']'
2015-05-18 13:11:33.368 | ++ openstack --os-token 0b2682de7a91418ba79bbed7e12916ef --os-url http://192.168.195.252:9292 image create cirros-0.3.4-x86_64-uec-ramdisk --public --container-format ari --disk-format ari
2015-05-18 13:11:33.368 | ++ grep ' id '
2015-05-18 13:11:33.370 | ++ get_field 2
2015-05-18 13:11:33.370 | ++ local data field
2015-05-18 13:11:33.370 | ++ read data
2015-05-18 13:11:34.281 | ERROR: openstack 401 Unauthorized: This server could not verify that you are authorized to access the document you requested. Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required. (HTTP 401)
2015-05-18 13:11:34.313 | + ramdisk_id=
2015-05-18 13:11:34.313 | + openstack --os-token 0b2682de7a91418ba79bbed7e12916ef --os-url http://192.168.195.252:9292 image create cirros-0.3.4-x86_64-uec --public --container-format ami --disk-format ami
2015-05-18 13:11:35.011 | ERROR: openstack 401 Unauthorized: This server could not verify that you are authorized to access the document you requested. Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required. (HTTP 401)
2015-05-18 13:11:35.046 | + exit_trap
2015-05-18 13:11:35.046 | + local r=1
2015-05-18 13:11:35.047 | ++ jobs -p
2015-05-18 13:11:35.047 | + jobs=
2015-05-18 13:11:35.047 | + [[ -n '' ]]
2015-05-18 13:11:35.047 | + kill_spinner
2015-05-18 13:11:35.048 | + '[' '!' -z '' ']'
2015-05-18 13:11:35.048 | + [[ 1 -ne 0 ]]
2015-05-18 13:11:35.048 | + echo 'Error on exit'
2015-05-18 13:11:35.048 | Error on exit
2015-05-18 13:11:35.048 | + [[ -z /opt/stack/logs ]]
2015-05-18 13:11:35.048 | + /opt/devstack/tools/worlddump.py -d /opt/stack/logs
2015-05-18 13:11:35.103 | df: '/run/user/1000/gvfs': Permission denied
edit retag flag offensive close merge delete

Comments

1

Are you running ./stack.sh from a sudo user?

uts9 gravatar imageuts9 ( 2015-05-18 12:20:43 -0500 )edit

Yes. I am running as stack user

joshua gravatar imagejoshua ( 2015-05-19 00:28:59 -0500 )edit

Can you please check the logs in /opt/stack/logs ?

uts9 gravatar imageuts9 ( 2015-05-19 00:55:45 -0500 )edit

I have the same problem, but I reruning ./stack.sh, and do it.

Stiven05 gravatar imageStiven05 ( 2015-05-19 05:28:39 -0500 )edit

I already had this error. This is a problem with the authentification service. Try to access simply curl http://192.168.195.252:9292 and tell us what do you get. If you don't get anything back, it is because your server can't reply the query.

GLaupre gravatar imageGLaupre ( 2015-05-19 19:12:33 -0500 )edit