[openstack-dev] [OpenStack][DevStack] Failed to install OpenStack with DevStack

Eli Qiao(Li Yong Qiao) taget at linux.vnet.ibm.com
Wed Jul 2 08:58:47 UTC 2014


? 2014/7/2 13:58, Jay Lau ??:
> Hi,
>
> Does any one encounter this error when install devstack? How did you 
> resolve this issue?
>
> + [[ 1 -ne 0 ]]
> + echo 'Error on exit'
> Error on exit
> + ./tools/worlddump.py -d
> usage: worlddump.py [-h] [-d DIR]
> worlddump.py: error: argument -d/--dir: expected one argument
> 317.292u 180.092s 14:40.93 56.4%        0+0k 195042+2987608io 1003pf+0w
>
> BTW: I was using ubuntu 12.04
>
>  gyliu at mesos014.eng.platformlab.ibm.com-84: cat  /etc/*release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=12.04
> DISTRIB_CODENAME=precise
> DISTRIB_DESCRIPTION="Ubuntu 12.04.1 LTS"
>
I got the same error , I am using the latest dev-stack branch, more logs:

+ EC2_URL=http://localhost:8773/services/Cloud
++ openstack endpoint show -f value -c publicurl s3
INFO: urllib3.connectionpool Starting new HTTP connection (1): 
cloudcontroller
usage: openstack endpoint show [-h] [-f {shell,table}] [-c COLUMN]
                                [--variable VARIABLE] [--prefix PREFIX]
                                [--type <endpoint-type>]
                                [--attr <endpoint-attribute>]
                                [--value <endpoint-value>] [--all]
                                <service>
openstack endpoint show: error: argument -f/--format: invalid choice: 
'value' (choose from 'shell', 'table')
++ true
+ S3_URL=
+ [[ -z '' ]]
+ S3_URL=http://localhost:3333
+ mkdir -p /home/taget/code/devstack/accrc
++ readlink -f /home/taget/code/devstack/accrc
+ ACCOUNT_DIR=/home/taget/code/devstack/accrc
+ EUCALYPTUS_CERT=/home/taget/code/devstack/accrc/cacert.pem
+ '[' -e /home/taget/code/devstack/accrc/cacert.pem ']'
+ mv /home/taget/code/devstack/accrc/cacert.pem 
/home/taget/code/devstack/accrc/cacert.pem.old
+ nova x509-get-root-cert /home/taget/code/devstack/accrc/cacert.pem
ERROR: Unauthorized (HTTP 401)
+ echo 'Failed to update the root certificate: 
/home/taget/code/devstack/accrc/cacert.pem'
Failed to update the root certificate: 
/home/taget/code/devstack/accrc/cacert.pem
+ '[' -e /home/taget/code/devstack/accrc/cacert.pem.old ']'
+ mv /home/taget/code/devstack/accrc/cacert.pem.old 
/home/taget/code/devstack/accrc/cacert.pem
+ '[' all '!=' create ']'
+ openstack project list --long --quote none -f csv
+ IFS=,
+ read tenant_id tenant_name desc enabled
+ grep -v service
+ grep ,True
INFO: urllib3.connectionpool Starting new HTTP connection (1): 
cloudcontroller
+ openstack user list --project 1eae3b82938945ab9000e54051fbdf0e --long 
--quote none -f csv
+ IFS=,
+ read user_id user_name project email enabled
+ grep ,True
INFO: urllib3.connectionpool Starting new HTTP connection (1): 
cloudcontroller
+ '[' all = one -a heat_domain_admin '!=' admin ']'
+ eval 'SPECIFIC_UPASSWORD=$ADMIN_PASSWORD'
++ SPECIFIC_UPASSWORD=
+ '[' -n '' ']'
+ add_entry 0eeceb08919c43eaaa2f40e1c5e2eaa4 heat_domain_admin 
1eae3b82938945ab9000e54051fbdf0e demo 123
+ local user_id=0eeceb08919c43eaaa2f40e1c5e2eaa4
+ local user_name=heat_domain_admin
+ local tenant_id=1eae3b82938945ab9000e54051fbdf0e
+ local tenant_name=demo
+ local user_passwd=123
++ grep ' 1eae3b82938945ab9000e54051fbdf0e '
++ openstack ec2 credentials list --user 0eeceb08919c43eaaa2f40e1c5e2eaa4
INFO: urllib3.connectionpool Starting new HTTP connection (1): 
cloudcontroller
+ local line=
+ '[' -z '' ']'
+ openstack ec2 credentials create --user 
0eeceb08919c43eaaa2f40e1c5e2eaa4 --project 1eae3b82938945ab9000e54051fbdf0e
INFO: urllib3.connectionpool Starting new HTTP connection (1): 
cloudcontroller
+-----------+----------------------------------+
| Field     | Value                            |
+-----------+----------------------------------+
| access    | 09dce26fc4924912947566d4ac5335af |
| secret    | e5947d632361457184d4e1e8862f58b7 |
| tenant_id | 1eae3b82938945ab9000e54051fbdf0e |
| trust_id  | None                             |
| user_id   | 0eeceb08919c43eaaa2f40e1c5e2eaa4 |
+-----------+----------------------------------+
++ openstack ec2 credentials list --user 0eeceb08919c43eaaa2f40e1c5e2eaa4
++ grep ' 1eae3b82938945ab9000e54051fbdf0e '
INFO: urllib3.connectionpool Starting new HTTP connection (1): 
cloudcontroller
+ line=
++ err_trap
++ local r=1
++ set +o xtrace
stack.sh failed
Error on exit
usage: worlddump.py [-h] [-d DIR]
worlddump.py: error: argument -d/--dir: expected one argument
> -- 
> Thanks,
>
> Jay
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


-- 
Thanks Eli Qiao(qiaoly at cn.ibm.com)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140702/0d202d21/attachment.html>


More information about the OpenStack-dev mailing list