← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1772651] Re: Glance image creation fails in openstack Queens

 

Queens and Python2 are no longer supported. The reporter also mentioned
that the issue was with their VLAN configuration, so I'm closing this.

** Changed in: glance
       Status: Incomplete => Won't Fix

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

Title:
  Glance image creation fails in openstack Queens

Status in Glance:
  Won't Fix

Bug description:
  Deployed bundle.yaml for openstack queens on 18.04
  Glance uses ha-proxy  I can ping IP and connect to 9292 port

  openstack image create --public --disk-format qcow2 --container-format
  bare --file cirros-0.4.0-x86_64-disk.qcow2  TEST --debug


  Output:
  POST call to image for http://10.202.0.38:9292/v2/images used request id req-818d8ff2-c178-4bd7-9010-352f5dc07679

  HTTP/1.1 201 Created
  Content-Length: 567
  Content-Type: application/json
  Location: http://10.202.0.38:9292/v2/images/0eed83eb-70bb-4df1-8169-f8b8dc907e18
  Openstack-Image-Import-Methods: glance-direct,web-download
  X-Openstack-Request-Id: req-818d8ff2-c178-4bd7-9010-352f5dc07679
  Date: Tue, 22 May 2018 12:31:09 GMT
  Connection: keep-alive

  {"status": "queued", "name": "TEST", "tags": [], "container_format":
  "bare", "created_at": "2018-05-22T12:31:08Z", "size": null,
  "disk_format": "qcow2", "updated_at": "2018-05-22T12:31:08Z",
  "visibility": "public", "locations": [], "self":
  "/v2/images/0eed83eb-70bb-4df1-8169-f8b8dc907e18", "min_disk": 0,
  "protected": false, "id": "0eed83eb-70bb-4df1-8169-f8b8dc907e18",
  "file": "/v2/images/0eed83eb-70bb-4df1-8169-f8b8dc907e18/file",
  "checksum": null, "owner": "15f585e6724745ac93f50088e04cb673",
  "virtual_size": null, "min_ram": 0, "schema": "/v2/schemas/image"}

  curl -g -i -X PUT -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*'
  -H 'User-Agent: python-glanceclient' -H 'Connection: keep-alive' -H
  'X-Auth-Token: {SHA1}f03f3183f8bab442662c56b30c6369f216bea8aa' -H
  'Content-Type: application/octet-stream'
  http://10.202.0.38:9292/v2/images/0eed83eb-70bb-4df1-8169-f8b8dc907e18/file

  
  curl -g -i -X DELETE -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent: python-glanceclient' -H 'Connection: keep-alive' -H 'X-Auth-Token: {SHA1}f03f3183f8bab442662c56b30c6369f216bea8aa' -H 'Content-Type: application/octet-stream' http://10.202.0.38:9292/v2/images/0eed83eb-70bb-4df1-8169-f8b8dc907e18

  Starting new HTTP connection (2): 10.202.0.38
  Error finding address for http://10.202.0.38:9292/v2/images/0eed83eb-70bb-4df1-8169-f8b8dc907e18: ('Connection aborted.', BadStatusLine("''",))
  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 400, in run_subcommand
      result = cmd.run(parsed_args)
    File "/usr/local/lib/python2.7/dist-packages/osc_lib/command/command.py", line 41, in run
      return super(Command, self).run(parsed_args)
    File "/usr/local/lib/python2.7/dist-packages/cliff/display.py", line 116, in run
      column_names, data = self.take_action(parsed_args)
    File "/usr/local/lib/python2.7/dist-packages/openstackclient/image/v2/image.py", line 371, in take_action
      image_client.images.delete(image.id)
    File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/utils.py", line 545, in inner
      return RequestIdProxy(wrapped(*args, **kwargs))
    File "/usr/local/lib/python2.7/dist-packages/glanceclient/v2/images.py", line 274, in delete
      resp, body = self.http_client.delete(url)
    File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 298, in delete
      return self._request('DELETE', url, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 253, in _request
      raise exc.CommunicationError(message=message)
  CommunicationError: Error finding address for http://10.202.0.38:9292/v2/images/0eed83eb-70bb-4df1-8169-f8b8dc907e18: ('Connection aborted.', BadStatusLine("''",))
  clean_up CreateImage: Error finding address for http://10.202.0.38:9292/v2/images/0eed83eb-70bb-4df1-8169-f8b8dc907e18: ('Connection aborted.', BadStatusLine("''",))
  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/osc_lib/shell.py", line 134, in run
      ret_val = super(OpenStackShell, self).run(argv)
    File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 279, in run
      result = self.run_subcommand(remainder)
    File "/usr/local/lib/python2.7/dist-packages/osc_lib/shell.py", line 169, in run_subcommand
      ret_value = super(OpenStackShell, self).run_subcommand(argv)
    File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 400, in run_subcommand
      result = cmd.run(parsed_args)
    File "/usr/local/lib/python2.7/dist-packages/osc_lib/command/command.py", line 41, in run
      return super(Command, self).run(parsed_args)
    File "/usr/local/lib/python2.7/dist-packages/cliff/display.py", line 116, in run
      column_names, data = self.take_action(parsed_args)
    File "/usr/local/lib/python2.7/dist-packages/openstackclient/image/v2/image.py", line 371, in take_action
      image_client.images.delete(image.id)
    File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/utils.py", line 545, in inner
      return RequestIdProxy(wrapped(*args, **kwargs))
    File "/usr/local/lib/python2.7/dist-packages/glanceclient/v2/images.py", line 274, in delete
      resp, body = self.http_client.delete(url)
    File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 298, in delete
      return self._request('DELETE', url, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 253, in _request
      raise exc.CommunicationError(message=message)
  CommunicationError: Error finding address for http://10.202.0.38:9292/v2/images/0eed83eb-70bb-4df1-8169-f8b8dc907e18: ('Connection aborted.', BadStatusLine("''",))

  
  openstack endpoint show  1d301487e4d142a79460a8a21ea0ad2d 
  +--------------+----------------------------------+
  | Field        | Value                            |
  +--------------+----------------------------------+
  | enabled      | True                             |
  | id           | 1d301487e4d142a79460a8a21ea0ad2d |
  | interface    | internal                         |
  | region       | RegionOne                        |
  | region_id    | RegionOne                        |
  | service_id   | 77675cbc4f2e48ec8cae13f2242301a1 |
  | service_name | glance                           |
  | service_type | image                            |
  | url          | http://10.202.0.38:9292          |
  +--------------+----------------------------------+

  
  This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes:

  - [ ] This doc is inaccurate in this way: ______
  - [ ] This is a doc addition request.
  - [ ] I have a fix to the document that I can paste below including example: input and output. 

  If you have a troubleshooting or support issue, use the following
  resources:

   - Ask OpenStack: http://ask.openstack.org
   - The mailing list: http://lists.openstack.org
   - IRC: 'openstack' channel on Freenode

  -----------------------------------
  Release:  on 2018-05-14 19:23
  SHA: cfaeb3daef4c94f1380f408c0a1bfee0e963aa79
  Source: https://git.openstack.org/cgit/openstack/glance/tree/doc/source/configuration/index.rst
  URL: https://docs.openstack.org/glance/latest/configuration/index.html

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



References