[openstack-dev] Fwd: Image Upload error while installing devstack on CI slave machine.
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 | title401 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 | h1401 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* __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Fwd: Image Upload error while installing devstack on CI slave machine.
Hi Abhishek, This is bug https://launchpad.net/bugs/1415795 introduced by https://review.openstack.org/#/c/142967/ because Swift doesn't use olso.config. The fix is at https://review.openstack.org/#/c/151506/ which has not yet been approved, but if you can cherry-pick it for your CI it should get it working again. Thanks, Bob From: Abhishek Shrivastava [mailto:abhis...@cloudbyte.com] Sent: 02 February 2015 09:35 To: OpenStack Development Mailing List (not for usage questions) Subject: [openstack-dev] Fwd: Image Upload error while installing devstack on CI slave machine. 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 =~ openvz ]] 2015-01-30 11:48:46.205 | + [[ 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 =~ \.vhd\.tgz ]] 2015-01-30 11:48:46.205 | + [[ 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 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 | title401 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 | h1401 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. -- [https://docs.google.com/uc?export=downloadid=0Byq0j7ZjFlFKV3ZCWnlMRXBCcU0revid=0Byq0j7ZjFlFKa2V5VjdBSjIwUGx6bUROS2IrenNwc0kzd2IwPQ] Thanks Regards, Abhishek Cloudbyte Inc.http://www.cloudbyte.com __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Fwd: Image Upload error while installing devstack on CI slave machine.
Hi Bob, Thanks for the reply, this is really a great help for me. On Mon, Feb 2, 2015 at 3:11 PM, Bob Ball bob.b...@citrix.com wrote: Hi Abhishek, This is bug https://launchpad.net/bugs/1415795 introduced by https://review.openstack.org/#/c/142967/ because Swift doesn't use olso.config. The fix is at https://review.openstack.org/#/c/151506/ which has not yet been approved, but if you can cherry-pick it for your CI it should get it working again. Thanks, Bob *From:* Abhishek Shrivastava [mailto:abhis...@cloudbyte.com] *Sent:* 02 February 2015 09:35 *To:* OpenStack Development Mailing List (not for usage questions) *Subject:* [openstack-dev] Fwd: Image Upload error while installing devstack on CI slave machine. 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 | title401 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 | h1401 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