[sdk] openstacksdk 0.99.0 breaks swift object header setting

Jeremy Stanley fungi at yuggoth.org
Thu Jun 2 19:45:12 UTC 2022


On 2022-06-02 21:12:33 +0200 (+0200), Artem Goncharov wrote:
[...]
> I listen to complains carefully, and that is the reason for R1.0
> not to exist as of now.
[...]

It's probably also worth pointing out, from a user experience
perspective, that we anticipated backward-incompatible changes in
1.0.0 and so merged an openstacksdk<1 pin in nodepool's
requirements.txt file. Unfortunately, instead the
backward-incompatible changes were released as 0.99.0 so when the
container images for our launchers updated we started getting
another error back from all of the Rackspace regions we're using
(traceback attached).

I'm happy to file a bug report on that if nobody has beaten me to
it, but further diagnostics will probably have to wait until after
summit travel since we've rolled back to 0.61.0 for now.
-- 
Jeremy Stanley
-------------- next part --------------
Creating server with hostname ubuntu-bionic-rax-dfw-0029866297 in rax-dfw from image ubuntu-bionic
Clearing az, flavor and image caches due to 400 error from nova
Launch attempt 1/3 failed:
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/nodepool/driver/openstack/handler.py", line 247, in launch
    self._launchNode()
  File "/usr/local/lib/python3.9/site-packages/nodepool/driver/openstack/handler.py", line 127, in _launchNode
    server = self.handler.manager.createServer(
  File "/usr/local/lib/python3.9/site-packages/nodepool/driver/openstack/provider.py", line 290, in createServer
    return self._client.create_server(wait=False, **create_args)
  File "/usr/local/lib/python3.9/site-packages/decorator.py", line 232, in fun
    return caller(func, *(extras + args), **kw)
  File "/usr/local/lib/python3.9/site-packages/openstack/cloud/_utils.py", line 365, in func_wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/openstack/cloud/_compute.py", line 862, in create_server
    server = self.compute.create_server(**kwargs)
  File "/usr/local/lib/python3.9/site-packages/openstack/compute/v2/_proxy.py", line 629, in create_server
    return self._create(_server.Server, **attrs)
  File "/usr/local/lib/python3.9/site-packages/openstack/proxy.py", line 485, in _create
    return res.create(self, base_path=base_path)
  File "/usr/local/lib/python3.9/site-packages/openstack/resource.py", line 1388, in create
    self._translate_response(response, has_body=has_body)
  File "/usr/local/lib/python3.9/site-packages/openstack/resource.py", line 1200, in _translate_response
    exceptions.raise_from_response(response, error_message=error_message)
  File "/usr/local/lib/python3.9/site-packages/openstack/exceptions.py", line 233, in raise_from_response
    raise cls(
openstack.exceptions.BadRequestException: BadRequestException: 400: Client Error for url: https://dfw.servers.api.rackspacecloud.com/v2/REDACTED/servers, Bad networks format


More information about the openstack-discuss mailing list