[OpenStack-Infra] [devstack] image create mysql ERROR, other image create successful

liuxinguo 295988511 at qq.com
Sat Nov 29 22:19:54 UTC 2014


This error always occurs when our CI run devstack. Log with this error is  pasted as following:


22167 2014-11-29 21:11:47.997 | 426600K .......... .......... .......... .......... .......... 99%  341K 1s
  22168 2014-11-29 21:11:48.236 | 426650K .......... .......... .......... .......... .......... 99%  209K 0s
  22169 2014-11-29 21:11:48.477 | 426700K .......... .......... .......... .......... .         100%  172K=80m1s
  22170 2014-11-29 21:11:48.478 |
  22171 2014-11-29 21:11:48.578 | 2014-11-29 13:11:48 (88.9 KB/s) - `/opt/stack/new/devstack/files/mysql.qcow2' saved [436983296/436983296]
  22172 2014-11-29 21:11:48.578 |
  22173 2014-11-29 21:11:48.600 | + [[ 0 -ne 0 ]]
  22174 2014-11-29 21:11:48.601 | + image=/opt/stack/new/devstack/files/mysql.qcow2
  22175 2014-11-29 21:11:48.601 | + [[ http://tarballs.openstack.org/trove/images/ubuntu/mysql.qcow2 =~ openvz ]]
  22176 2014-11-29 21:11:48.603 | + [[ http://tarballs.openstack.org/trove/images/ubuntu/mysql.qcow2 =~ \.vmdk ]]
  22177 2014-11-29 21:11:48.603 | + [[ http://tarballs.openstack.org/trove/images/ubuntu/mysql.qcow2 =~ \.vhd\.tgz ]]
  22178 2014-11-29 21:11:48.603 | + [[ http://tarballs.openstack.org/trove/images/ubuntu/mysql.qcow2 =~ \.xen-raw\.tgz ]]
  22179 2014-11-29 21:11:48.603 | + local kernel=
  22180 2014-11-29 21:11:48.604 | + local ramdisk=
  22181 2014-11-29 21:11:48.604 | + local disk_format=
  22182 2014-11-29 21:11:48.605 | + local container_format=
  22183 2014-11-29 21:11:48.605 | + local unpack=
  22184 2014-11-29 21:11:48.605 | + local img_property=
  22185 2014-11-29 21:11:48.605 | + case "$image_fname" in
  22186 2014-11-29 21:11:48.611 | ++ basename /opt/stack/new/devstack/files/mysql.qcow2 .qcow2
  22187 2014-11-29 21:11:48.623 | + image_name=mysql
  22188 2014-11-29 21:11:48.624 | + disk_format=qcow2
  22189 2014-11-29 21:11:48.624 | + container_format=bare
  22190 2014-11-29 21:11:48.624 | + is_arch ppc64
  22191 2014-11-29 21:11:48.628 | ++ uname -m
  22192 2014-11-29 21:11:48.710 | + [[ i686 == \p\p\c\6\4 ]]
  22193 2014-11-29 21:11:48.710 | + '[' bare = bare ']'
  22194 2014-11-29 21:11:48.710 | + '[' '' = zcat ']'
  22195 2014-11-29 21:11:48.710 | + openstack --os-token 5387fe9c6f6d4182b09461fe232501db --os-url http://127.0.0.1:9292 image create mysql --public --container-format=bare --disk-format qcow2
  22196 2014-11-29 21:11:57.275 | ERROR: openstack <html>
  22197 2014-11-29 21:11:57.275 |  <head>
  22198 2014-11-29 21:11:57.275 |   <title>401 Unauthorized</title>
  22199 2014-11-29 21:11:57.275 |  </head>
  22200 2014-11-29 21:11:57.275 |  <body>
  22201 2014-11-29 21:11:57.275 |   <h1>401 Unauthorized</h1>
  22202 2014-11-29 21:11:57.275 |   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.<br /><br />
  22203 2014-11-29 21:11:57.275 |
  22204 2014-11-29 21:11:57.276 |  </body>
  22205 2014-11-29 21:11:57.276 | </html> (HTTP 401)
  22206 2014-11-29 21:11:57.344 | + exit_trap
  22207 2014-11-29 21:11:57.344 | + local r=1
  22208 2014-11-29 21:11:57.346 | ++ jobs -p
  22209 2014-11-29 21:11:57.352 | + jobs='1511
  22210 2014-11-29 21:11:57.352 | 6556'
  22211 2014-11-29 21:11:57.352 | + [[ -n 1511
  22212 2014-11-29 21:11:57.352 | 6556 ]]  22213 2014-11-29 21:11:57.353 | + [[ -n /opt/stack/new/devstacklog.txt.2014-11-29-112019 ]]
  22214 2014-11-29 21:11:57.353 | + [[ True == \T\r\u\e ]]
  22215 2014-11-29 21:11:57.353 | + echo 'exit_trap: cleaning up child processes'
  22216 2014-11-29 21:11:57.353 | exit_trap: cleaning up child processes

‍
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-infra/attachments/20141130/87216322/attachment.html>


More information about the OpenStack-Infra mailing list