Public bug reported:

Devstack installation is failing while uploading image. Below is the
exception which I am getting everytime. I also cherry-picked this fix -
https://review.openstack.org/#/c/151506/ , but of no use.


2016-08-29 09:39:34.219 | + '[' -n 
/home/stack/devstack/files/images/cirros-0.3.4-x86_64-uec/cirros-0.3.4-x86_64-vmlinuz
 ']'
2016-08-29 09:39:34.220 | ++ openstack --os-token 
749c7e1fa55042318ac987b906a19890 --os-url http://192.168.100.101:9292 image 
create cirros-0.3.4-x86_64-uec-kernel --public --container-format aki 
--disk-format aki
2016-08-29 09:39:34.220 | ++ grep ' id '
2016-08-29 09:39:34.220 | ++ get_field 2
2016-08-29 09:39:34.225 | ++ local data field
2016-08-29 09:39:34.225 | ++ read data
2016-08-29 09:39:38.678 | ERROR: openstack <html>
2016-08-29 09:39:38.679 |  <head>
2016-08-29 09:39:38.679 |   <title>401 Unauthorized</title>
2016-08-29 09:39:38.679 |  </head>
2016-08-29 09:39:38.679 |  <body>
2016-08-29 09:39:38.679 |   <h1>401 Unauthorized</h1>
2016-08-29 09:39:38.679 |   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 />
2016-08-29 09:39:38.679 | 
2016-08-29 09:39:38.679 |  </body>
2016-08-29 09:39:38.679 | </html> (HTTP 401)
2016-08-29 09:39:38.736 | + kernel_id=
2016-08-29 09:39:38.736 | + '[' -n 
/home/stack/devstack/files/images/cirros-0.3.4-x86_64-uec/cirros-0.3.4-x86_64-initrd
 ']'
2016-08-29 09:39:38.737 | ++ openstack --os-token 
749c7e1fa55042318ac987b906a19890 --os-url http://192.168.100.101:9292 image 
create cirros-0.3.4-x86_64-uec-ramdisk --public --container-format ari 
--disk-format ari
2016-08-29 09:39:38.737 | ++ grep ' id '
2016-08-29 09:39:38.737 | ++ get_field 2
2016-08-29 09:39:38.738 | ++ local data field
2016-08-29 09:39:38.738 | ++ read data
2016-08-29 09:39:41.687 | ERROR: openstack <html>
2016-08-29 09:39:41.687 |  <head>
2016-08-29 09:39:41.687 |   <title>401 Unauthorized</title>
2016-08-29 09:39:41.687 |  </head>
2016-08-29 09:39:41.687 |  <body>
2016-08-29 09:39:41.687 |   <h1>401 Unauthorized</h1>
2016-08-29 09:39:41.687 |   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 />
2016-08-29 09:39:41.687 | 
2016-08-29 09:39:41.687 |  </body>
2016-08-29 09:39:41.687 | </html> (HTTP 401)
2016-08-29 09:39:41.745 | + ramdisk_id=
2016-08-29 09:39:41.745 | + openstack --os-token 
749c7e1fa55042318ac987b906a19890 --os-url http://192.168.100.101:9292 image 
create cirros-0.3.4-x86_64-uec --public --container-format ami --disk-format ami
2016-08-29 09:39:44.906 | ERROR: openstack <html>
2016-08-29 09:39:44.906 |  <head>
2016-08-29 09:39:44.906 |   <title>401 Unauthorized</title>
2016-08-29 09:39:44.906 |  </head>
2016-08-29 09:39:44.906 |  <body>
2016-08-29 09:39:44.906 |   <h1>401 Unauthorized</h1>
2016-08-29 09:39:44.906 |   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 />
2016-08-29 09:39:44.906 | 
2016-08-29 09:39:44.906 |  </body>
2016-08-29 09:39:44.906 | </html> (HTTP 401)
2016-08-29 09:39:44.957 | + exit_trap
2016-08-29 09:39:44.957 | + local r=1
2016-08-29 09:39:44.958 | ++ jobs -p
2016-08-29 09:39:44.959 | + jobs=
2016-08-29 09:39:44.959 | + [[ -n '' ]]
2016-08-29 09:39:44.959 | + kill_spinner
2016-08-29 09:39:44.959 | + '[' '!' -z '' ']'
2016-08-29 09:39:44.959 | + [[ 1 -ne 0 ]]
2016-08-29 09:39:44.959 | + echo 'Error on exit'
2016-08-29 09:39:44.959 | Error on exit
2016-08-29 09:39:44.959 | + [[ -z /opt/stack/logs ]]
2016-08-29 09:39:44.959 | + /home/stack/devstack/tools/worlddump.py -d 
/opt/stack/logs
2016-08-29 09:39:45.024 | + exit 1

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1617952

Title:
  Juno Devstack installation failure while uploading image

Status in Glance:
  New

Bug description:
  Devstack installation is failing while uploading image. Below is the
  exception which I am getting everytime. I also cherry-picked this fix
  - https://review.openstack.org/#/c/151506/ , but of no use.

  
  2016-08-29 09:39:34.219 | + '[' -n 
/home/stack/devstack/files/images/cirros-0.3.4-x86_64-uec/cirros-0.3.4-x86_64-vmlinuz
 ']'
  2016-08-29 09:39:34.220 | ++ openstack --os-token 
749c7e1fa55042318ac987b906a19890 --os-url http://192.168.100.101:9292 image 
create cirros-0.3.4-x86_64-uec-kernel --public --container-format aki 
--disk-format aki
  2016-08-29 09:39:34.220 | ++ grep ' id '
  2016-08-29 09:39:34.220 | ++ get_field 2
  2016-08-29 09:39:34.225 | ++ local data field
  2016-08-29 09:39:34.225 | ++ read data
  2016-08-29 09:39:38.678 | ERROR: openstack <html>
  2016-08-29 09:39:38.679 |  <head>
  2016-08-29 09:39:38.679 |   <title>401 Unauthorized</title>
  2016-08-29 09:39:38.679 |  </head>
  2016-08-29 09:39:38.679 |  <body>
  2016-08-29 09:39:38.679 |   <h1>401 Unauthorized</h1>
  2016-08-29 09:39:38.679 |   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 />
  2016-08-29 09:39:38.679 | 
  2016-08-29 09:39:38.679 |  </body>
  2016-08-29 09:39:38.679 | </html> (HTTP 401)
  2016-08-29 09:39:38.736 | + kernel_id=
  2016-08-29 09:39:38.736 | + '[' -n 
/home/stack/devstack/files/images/cirros-0.3.4-x86_64-uec/cirros-0.3.4-x86_64-initrd
 ']'
  2016-08-29 09:39:38.737 | ++ openstack --os-token 
749c7e1fa55042318ac987b906a19890 --os-url http://192.168.100.101:9292 image 
create cirros-0.3.4-x86_64-uec-ramdisk --public --container-format ari 
--disk-format ari
  2016-08-29 09:39:38.737 | ++ grep ' id '
  2016-08-29 09:39:38.737 | ++ get_field 2
  2016-08-29 09:39:38.738 | ++ local data field
  2016-08-29 09:39:38.738 | ++ read data
  2016-08-29 09:39:41.687 | ERROR: openstack <html>
  2016-08-29 09:39:41.687 |  <head>
  2016-08-29 09:39:41.687 |   <title>401 Unauthorized</title>
  2016-08-29 09:39:41.687 |  </head>
  2016-08-29 09:39:41.687 |  <body>
  2016-08-29 09:39:41.687 |   <h1>401 Unauthorized</h1>
  2016-08-29 09:39:41.687 |   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 />
  2016-08-29 09:39:41.687 | 
  2016-08-29 09:39:41.687 |  </body>
  2016-08-29 09:39:41.687 | </html> (HTTP 401)
  2016-08-29 09:39:41.745 | + ramdisk_id=
  2016-08-29 09:39:41.745 | + openstack --os-token 
749c7e1fa55042318ac987b906a19890 --os-url http://192.168.100.101:9292 image 
create cirros-0.3.4-x86_64-uec --public --container-format ami --disk-format ami
  2016-08-29 09:39:44.906 | ERROR: openstack <html>
  2016-08-29 09:39:44.906 |  <head>
  2016-08-29 09:39:44.906 |   <title>401 Unauthorized</title>
  2016-08-29 09:39:44.906 |  </head>
  2016-08-29 09:39:44.906 |  <body>
  2016-08-29 09:39:44.906 |   <h1>401 Unauthorized</h1>
  2016-08-29 09:39:44.906 |   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 />
  2016-08-29 09:39:44.906 | 
  2016-08-29 09:39:44.906 |  </body>
  2016-08-29 09:39:44.906 | </html> (HTTP 401)
  2016-08-29 09:39:44.957 | + exit_trap
  2016-08-29 09:39:44.957 | + local r=1
  2016-08-29 09:39:44.958 | ++ jobs -p
  2016-08-29 09:39:44.959 | + jobs=
  2016-08-29 09:39:44.959 | + [[ -n '' ]]
  2016-08-29 09:39:44.959 | + kill_spinner
  2016-08-29 09:39:44.959 | + '[' '!' -z '' ']'
  2016-08-29 09:39:44.959 | + [[ 1 -ne 0 ]]
  2016-08-29 09:39:44.959 | + echo 'Error on exit'
  2016-08-29 09:39:44.959 | Error on exit
  2016-08-29 09:39:44.959 | + [[ -z /opt/stack/logs ]]
  2016-08-29 09:39:44.959 | + /home/stack/devstack/tools/worlddump.py -d 
/opt/stack/logs
  2016-08-29 09:39:45.024 | + exit 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1617952/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to