<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">于 2014/7/2 13:58, Jay Lau 写道:<br>
    </div>
    <blockquote
cite="mid:CAFyztAFoSF_NUfsfEMSGFhH=uMDgyDY_hbvpsJmvsapj8t5tHA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Hi,<br>
          <br>
          Does any one encounter this error when install devstack? How
          did you resolve this issue?<br>
          <br>
          + [[ 1 -ne 0 ]]<br>
          + echo 'Error on exit'<br>
          Error on exit<br>
          + ./tools/worlddump.py -d<br>
          usage: worlddump.py [-h] [-d DIR]<br>
          worlddump.py: error: argument -d/--dir: expected one argument<br>
          317.292u 180.092s 14:40.93 56.4%        0+0k 195042+2987608io
          1003pf+0w<br>
          <br>
        </div>
        BTW: I was using ubuntu 12.04<br>
        <br>
         <a class="moz-txt-link-abbreviated" href="mailto:gyliu@mesos014.eng.platformlab.ibm.com-84">gyliu@mesos014.eng.platformlab.ibm.com-84</a>: cat  /etc/*release<br>
        DISTRIB_ID=Ubuntu<br>
        DISTRIB_RELEASE=12.04<br>
        DISTRIB_CODENAME=precise<br>
        DISTRIB_DESCRIPTION="Ubuntu 12.04.1 LTS"<br clear="all">
        <div>
          <div>
            <div>
              <div><br>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    I got the same error , I am using the latest dev-stack branch, more
    logs:<br>
    <br>
    + EC2_URL=<a class="moz-txt-link-freetext" href="http://localhost:8773/services/Cloud">http://localhost:8773/services/Cloud</a><br>
    ++ openstack endpoint show -f value -c publicurl s3<br>
    INFO: urllib3.connectionpool Starting new HTTP connection (1):
    cloudcontroller<br>
    usage: openstack endpoint show [-h] [-f {shell,table}] [-c COLUMN]<br>
                                   [--variable VARIABLE] [--prefix
    PREFIX]<br>
                                   [--type <endpoint-type>]<br>
                                   [--attr <endpoint-attribute>]<br>
                                   [--value <endpoint-value>]
    [--all]<br>
                                   <service><br>
    openstack endpoint show: error: argument -f/--format: invalid
    choice: 'value' (choose from 'shell', 'table')<br>
    ++ true<br>
    + S3_URL=<br>
    + [[ -z '' ]]<br>
    + S3_URL=<a class="moz-txt-link-freetext" href="http://localhost:3333">http://localhost:3333</a><br>
    + mkdir -p /home/taget/code/devstack/accrc<br>
    ++ readlink -f /home/taget/code/devstack/accrc<br>
    + ACCOUNT_DIR=/home/taget/code/devstack/accrc<br>
    + EUCALYPTUS_CERT=/home/taget/code/devstack/accrc/cacert.pem<br>
    + '[' -e /home/taget/code/devstack/accrc/cacert.pem ']'<br>
    + mv /home/taget/code/devstack/accrc/cacert.pem
    /home/taget/code/devstack/accrc/cacert.pem.old<br>
    + nova x509-get-root-cert /home/taget/code/devstack/accrc/cacert.pem<br>
    ERROR: Unauthorized (HTTP 401)<br>
    + echo 'Failed to update the root certificate:
    /home/taget/code/devstack/accrc/cacert.pem'<br>
    Failed to update the root certificate:
    /home/taget/code/devstack/accrc/cacert.pem<br>
    + '[' -e /home/taget/code/devstack/accrc/cacert.pem.old ']'<br>
    + mv /home/taget/code/devstack/accrc/cacert.pem.old
    /home/taget/code/devstack/accrc/cacert.pem<br>
    + '[' all '!=' create ']'<br>
    + openstack project list --long --quote none -f csv<br>
    + IFS=,<br>
    + read tenant_id tenant_name desc enabled<br>
    + grep -v service<br>
    + grep ,True<br>
    INFO: urllib3.connectionpool Starting new HTTP connection (1):
    cloudcontroller<br>
    + openstack user list --project 1eae3b82938945ab9000e54051fbdf0e
    --long --quote none -f csv<br>
    + IFS=,<br>
    + read user_id user_name project email enabled<br>
    + grep ,True<br>
    INFO: urllib3.connectionpool Starting new HTTP connection (1):
    cloudcontroller<br>
    + '[' all = one -a heat_domain_admin '!=' admin ']'<br>
    + eval 'SPECIFIC_UPASSWORD=$ADMIN_PASSWORD'<br>
    ++ SPECIFIC_UPASSWORD=<br>
    + '[' -n '' ']'<br>
    + add_entry 0eeceb08919c43eaaa2f40e1c5e2eaa4 heat_domain_admin
    1eae3b82938945ab9000e54051fbdf0e demo 123<br>
    + local user_id=0eeceb08919c43eaaa2f40e1c5e2eaa4<br>
    + local user_name=heat_domain_admin<br>
    + local tenant_id=1eae3b82938945ab9000e54051fbdf0e<br>
    + local tenant_name=demo<br>
    + local user_passwd=123<br>
    ++ grep ' 1eae3b82938945ab9000e54051fbdf0e '<br>
    ++ openstack ec2 credentials list --user
    0eeceb08919c43eaaa2f40e1c5e2eaa4<br>
    INFO: urllib3.connectionpool Starting new HTTP connection (1):
    cloudcontroller<br>
    + local line=<br>
    + '[' -z '' ']'<br>
    + openstack ec2 credentials create --user
    0eeceb08919c43eaaa2f40e1c5e2eaa4 --project
    1eae3b82938945ab9000e54051fbdf0e<br>
    INFO: urllib3.connectionpool Starting new HTTP connection (1):
    cloudcontroller<br>
    +-----------+----------------------------------+<br>
    | Field     | Value                            |<br>
    +-----------+----------------------------------+<br>
    | access    | 09dce26fc4924912947566d4ac5335af |<br>
    | secret    | e5947d632361457184d4e1e8862f58b7 |<br>
    | tenant_id | 1eae3b82938945ab9000e54051fbdf0e |<br>
    | trust_id  | None                             |<br>
    | user_id   | 0eeceb08919c43eaaa2f40e1c5e2eaa4 |<br>
    +-----------+----------------------------------+<br>
    ++ openstack ec2 credentials list --user
    0eeceb08919c43eaaa2f40e1c5e2eaa4<br>
    ++ grep ' 1eae3b82938945ab9000e54051fbdf0e '<br>
    INFO: urllib3.connectionpool Starting new HTTP connection (1):
    cloudcontroller<br>
    + line=<br>
    ++ err_trap<br>
    ++ local r=1<br>
    ++ set +o xtrace<br>
    stack.sh failed<br>
    Error on exit<br>
    usage: worlddump.py [-h] [-d DIR]<br>
    worlddump.py: error: argument -d/--dir: expected one argument<br>
    <blockquote
cite="mid:CAFyztAFoSF_NUfsfEMSGFhH=uMDgyDY_hbvpsJmvsapj8t5tHA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>-- <br>
                <div dir="ltr">
                  <div>Thanks,<br>
                    <br>
                  </div>
                  Jay<br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
OpenStack-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Thanks Eli Qiao(<a class="moz-txt-link-abbreviated" href="mailto:qiaoly@cn.ibm.com">qiaoly@cn.ibm.com</a>)</pre>
  </body>
</html>