[openstack-dev] Fwd: Image Upload error while installing devstack on CI slave machine.

Abhishek Shrivastava abhishek at cloudbyte.com
Mon Feb 2 09:35:10 UTC 2015


Hi all,

For the past few days I have been facing the problem of getting the image
upload error while installation of devstack in my CI. The devstack
installation is triggered in CI when someone does the checkin, and the
failure cause comes out to be the same.

Below is the log for the error:

*2015-01-30 11:48:46.204 | + [[ 0 -ne 0 ]]*
*2015-01-30 11:48:46.205 | +
image=/opt/stack/new/devstack/files/mysql.qcow2*
*2015-01-30 11:48:46.205 | + [[
http://tarballs.openstack.org/trove/images/ubuntu/mysql.qcow2
<http://tarballs.openstack.org/trove/images/ubuntu/mysql.qcow2> =~ openvz
]]*
*2015-01-30 11:48:46.205 | + [[
http://tarballs.openstack.org/trove/images/ubuntu/mysql.qcow2
<http://tarballs.openstack.org/trove/images/ubuntu/mysql.qcow2> =~ \.vmdk
]]*
*2015-01-30 11:48:46.205 | + [[
http://tarballs.openstack.org/trove/images/ubuntu/mysql.qcow2
<http://tarballs.openstack.org/trove/images/ubuntu/mysql.qcow2> =~
\.vhd\.tgz ]]*
*2015-01-30 11:48:46.205 | + [[
http://tarballs.openstack.org/trove/images/ubuntu/mysql.qcow2
<http://tarballs.openstack.org/trove/images/ubuntu/mysql.qcow2> =~
\.xen-raw\.tgz ]]*
*2015-01-30 11:48:46.205 | + local kernel=*
*2015-01-30 11:48:46.205 | + local ramdisk=*
*2015-01-30 11:48:46.206 | + local disk_format=*
*2015-01-30 11:48:46.206 | + local container_format=*
*2015-01-30 11:48:46.206 | + local unpack=*
*2015-01-30 11:48:46.206 | + local img_property=*
*2015-01-30 11:48:46.206 | + case "$image_fname" in*
*2015-01-30 11:48:46.210 | ++ basename
/opt/stack/new/devstack/files/mysql.qcow2 .qcow2*
*2015-01-30 11:48:46.212 | + image_name=mysql*
*2015-01-30 11:48:46.212 | + disk_format=qcow2*
*2015-01-30 11:48:46.212 | + container_format=bare*
*2015-01-30 11:48:46.212 | + is_arch ppc64*
*2015-01-30 11:48:46.215 | ++ uname -m*
*2015-01-30 11:48:46.219 | + [[ x86_64 == \p\p\c\6\4 ]]*
*2015-01-30 11:48:46.219 | + '[' bare = bare ']'*
*2015-01-30 11:48:46.219 | + '[' '' = zcat ']'*
*2015-01-30 11:48:46.219 | + openstack --os-token
ae76e3eb602749f4b2f1428fba21431e --os-url http://127.0.0.1:9292
<http://127.0.0.1:9292> image create mysql --public --container-format=bare
--disk-format qcow2*

*2015-01-30 11:48:47.342 | ERROR: openstack <html>*
*2015-01-30 11:48:47.342 |  <head>*
*2015-01-30 11:48:47.342 |   <title>401 Unauthorized</title>*
*2015-01-30 11:48:47.342 |  </head>*
*2015-01-30 11:48:47.342 |  <body>*
*2015-01-30 11:48:47.342 |   <h1>401 Unauthorized</h1>*
*2015-01-30 11:48:47.343 |   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 />*
*2015-01-30 11:48:47.343 |*
*2015-01-30 11:48:47.343 |  </body>*
*2015-01-30 11:48:47.343 | </html> (HTTP 401)*
*2015-01-30 11:48:47.381 | + exit_trap*
*2015-01-30 11:48:47.381 | + local r=1*
*2015-01-30 11:48:47.382 | ++ jobs -p*
*2015-01-30 11:48:47.398 | + jobs='29629*
*2015-01-30 11:48:47.398 | 956'*
*2015-01-30 11:48:47.398 | + [[ -n 29629*
*2015-01-30 11:48:47.398 | 956 ]]*
*2015-01-30 11:48:47.398 | + [[ -n
/opt/stack/new/devstacklog.txt.2015-01-30-155739 ]]*
*2015-01-30 11:48:47.398 | + [[ True == \T\r\u\e ]]*
*2015-01-30 11:48:47.399 | + echo 'exit_trap: cleaning up child processes'*
*2015-01-30 11:48:47.399 | exit_trap: cleaning up child processes*
*2015-01-30 11:48:47.399 | + kill 29629 956*
*2015-01-30 11:48:47.399 | ./stack.sh: line 434: kill: (956) - No such
process*
*2015-01-30 11:48:47.399 | + kill_spinner*
*2015-01-30 11:48:47.399 | + '[' '!' -z '' ']'*
*2015-01-30 11:48:47.399 | + [[ 1 -ne 0 ]]*
*2015-01-30 11:48:47.399 | + echo 'Error on exit'*
*2015-01-30 11:48:47.399 | Error on exit*
*2015-01-30 11:48:47.400 | + [[ -z /opt/stack/new ]]*
*2015-01-30 11:48:47.400 | + /opt/stack/new/devstack/tools/worlddump.py -d
/opt/stack/new*
*2015-01-30 11:48:47.438 | World dumping... see
/opt/stack/new/worlddump-2015-01-30-114847.txt for details*
*2015-01-30 11:48:47.440 | df: '/run/user/112/gvfs': Permission denied*
*2015-01-30 11:48:47.468 | ./stack.sh: line 427: 29629 Terminated
   _old_run_process "$service" "$command"*
*2015-01-30 11:48:47.469 | + exit 1*

So, if anyone knows the solution for this problem please do reply.

-- 


*Thanks & Regards,*
*Abhishek*
*Cloudbyte Inc. <http://www.cloudbyte.com>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150202/698dff7f/attachment.html>


More information about the OpenStack-dev mailing list