yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #81160
[Bug 1858091] Re: Nova compute api v2.1/servers in train
The main change I can see in stable/train is the inclusion of API
microversion 2.75, which made the API stricter and means you will now
get a "400 error response for an unknown parameter in the querystring or
request body" [1]. This is correct behavior from nova's perspective and
it's rancher than needs to be fixed. You can get more information by
looking at the body for the 4xx responses and the logs for the nova-api
services.
[1] https://docs.openstack.org/nova/latest/reference/api-microversion-
history.html#id68
** Changed in: nova
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1858091
Title:
Nova compute api v2.1/servers in train
Status in kolla-ansible:
New
Status in OpenStack Compute (nova):
Invalid
Bug description:
**Environment**:
* OS (e.g. from /etc/os-release): Ubuntu
* Kernel (e.g. `uname -a`): Linux host 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
* Docker version if applicable (e.g. `docker version`): 19.03.2
* Kolla-Ansible version (e.g. `git head or tag or stable branch` or pip package version if using release): 9.0.0
* Docker image Install type (source/binary): source
* Docker image distribution: train
* Are you using official images from Docker Hub or self built? official
* If self built - Kolla version and environment used to build:
* Share your inventory file, globals.yml and other configuration files if relevant
-------------------------
I have updated kolla-ansible(to 9.0.0) and openstack images(to train)
recently. Thus, I was using Rancher node driver to provision openstack
instances and use it to deploy k8s cluster. With Stein everything was
working smoothly. However, after I updated to Train version, Rancher
started getting 400-403 error codes:
```
Error creating machine: Error in driver during machine creation: Expected HTTP response code [200] when accessing [POST http://10.0.225.254:8774/v2.1/os-keypairs], but got 403 instead
or
Error creating machine: Error in driver during machine creation: Expected HTTP response code [200] when accessing [POST http://10.0.225.254:8774/v2.1/servers], but got 400 instead
```
Thus, I am wondering if anything was changed to nova compute api's in
Train version and what action can be done in order to fix that issue?
I have reported that bug on Rancher github as well:
https://github.com/rancher/rancher/issues/24813 cause I am not sure if
its fully openstack-version related issue.
Regards
To manage notifications about this bug go to:
https://bugs.launchpad.net/kolla-ansible/+bug/1858091/+subscriptions