← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1751984] [NEW] Update tags for QoS policy failed

 

Public bug reported:

$ openstack network qos policy create test
+-------------+--------------------------------------+
| Field       | Value                                |
+-------------+--------------------------------------+
| description |                                      |
| id          | 16088664-18c8-4722-981e-0d852fd37343 |
| is_default  | False                                |
| name        | test                                 |
| project_id  | 67f5a69dc9ac4983bd5072d2ee302ec3     |
| rules       | []                                   |
| shared      | False                                |
+-------------+--------------------------------------+

$ curl -g -i -X PUT http://20.30.40.5:9696/v2.0/qos/policies/16088664-18c8-4722-981e-0d852fd37343/tags -H "User-Agent: osc-lib/1.9.0 keystoneauth1/3.4.0 python-requests/2.18.4 CPython/2.7.12" -H "Content-Type: application/json" -H "X-Auth-Token: gAAAAABalNw0b6n88tsaJfUwB33PXMDJmHAcNRYB5Vomf0Q3-d5NQ2esV3bELJWXhM2basoVK7VQ-hAVqBV4cLZ1mmVstY6eD3BZ2gEOycm1sJo5QqvBy3u0-sUBQw1lBeL67eRkeVrgB5JrcCp2sRxLMN65cwtm6Aha8_JuFqIBRoNt-n_gxLg" -d '{"tags": ["test1"]}'
HTTP/1.1 400 Bad Request
Content-Type: application/json
Content-Length: 118
X-Openstack-Request-Id: req-9f011921-3321-4d65-a3a4-cc04a9f87bdb
Date: Tue, 27 Feb 2018 04:21:21 GMT

{"NeutronError": {"message": "Invalid input for operation: Invalid tags
body.", "type": "InvalidInput", "detail": ""}}

** Affects: python-openstackclient
     Importance: Undecided
     Assignee: Dongcan Ye (hellochosen)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Dongcan Ye (hellochosen)

** Description changed:

- $ openstack floating ip create public
- +---------------------+--------------------------------------+
- | Field               | Value                                |
- +---------------------+--------------------------------------+
- | created_at          | 2018-02-27T04:31:48Z                 |
- | description         |                                      |
- | fixed_ip_address    | None                                 |
- | floating_ip_address | 172.24.4.7                           |
- | floating_network_id | 1164bec7-b79a-4fa1-8498-6839fe6b0b0e |
- | id                  | 400cf656-4670-4dee-b44b-b8fffb98afae |
- | name                | 172.24.4.7                           |
- | port_id             | None                                 |
- | project_id          | 67f5a69dc9ac4983bd5072d2ee302ec3     |
- | qos_policy_id       | None                                 |
- | revision_number     | 0                                    |
- | router_id           | None                                 |
- | status              | DOWN                                 |
- | subnet_id           | None                                 |
- | updated_at          | 2018-02-27T04:31:48Z                 |
- +---------------------+--------------------------------------+
+ $ openstack network qos policy create test
+ +-------------+--------------------------------------+
+ | Field       | Value                                |
+ +-------------+--------------------------------------+
+ | description |                                      |
+ | id          | 16088664-18c8-4722-981e-0d852fd37343 |
+ | is_default  | False                                |
+ | name        | test                                 |
+ | project_id  | 67f5a69dc9ac4983bd5072d2ee302ec3     |
+ | rules       | []                                   |
+ | shared      | False                                |
+ +-------------+--------------------------------------+
  
  $ curl -g -i -X PUT http://20.30.40.5:9696/v2.0/qos/policies/16088664-18c8-4722-981e-0d852fd37343/tags -H "User-Agent: osc-lib/1.9.0 keystoneauth1/3.4.0 python-requests/2.18.4 CPython/2.7.12" -H "Content-Type: application/json" -H "X-Auth-Token: gAAAAABalNw0b6n88tsaJfUwB33PXMDJmHAcNRYB5Vomf0Q3-d5NQ2esV3bELJWXhM2basoVK7VQ-hAVqBV4cLZ1mmVstY6eD3BZ2gEOycm1sJo5QqvBy3u0-sUBQw1lBeL67eRkeVrgB5JrcCp2sRxLMN65cwtm6Aha8_JuFqIBRoNt-n_gxLg" -d '{"tags": ["test1"]}'
  HTTP/1.1 400 Bad Request
  Content-Type: application/json
  Content-Length: 118
  X-Openstack-Request-Id: req-9f011921-3321-4d65-a3a4-cc04a9f87bdb
  Date: Tue, 27 Feb 2018 04:21:21 GMT
  
  {"NeutronError": {"message": "Invalid input for operation: Invalid tags
  body.", "type": "InvalidInput", "detail": ""}}

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

Title:
  Update tags for QoS policy failed

Status in python-openstackclient:
  New

Bug description:
  $ openstack network qos policy create test
  +-------------+--------------------------------------+
  | Field       | Value                                |
  +-------------+--------------------------------------+
  | description |                                      |
  | id          | 16088664-18c8-4722-981e-0d852fd37343 |
  | is_default  | False                                |
  | name        | test                                 |
  | project_id  | 67f5a69dc9ac4983bd5072d2ee302ec3     |
  | rules       | []                                   |
  | shared      | False                                |
  +-------------+--------------------------------------+

  $ curl -g -i -X PUT http://20.30.40.5:9696/v2.0/qos/policies/16088664-18c8-4722-981e-0d852fd37343/tags -H "User-Agent: osc-lib/1.9.0 keystoneauth1/3.4.0 python-requests/2.18.4 CPython/2.7.12" -H "Content-Type: application/json" -H "X-Auth-Token: gAAAAABalNw0b6n88tsaJfUwB33PXMDJmHAcNRYB5Vomf0Q3-d5NQ2esV3bELJWXhM2basoVK7VQ-hAVqBV4cLZ1mmVstY6eD3BZ2gEOycm1sJo5QqvBy3u0-sUBQw1lBeL67eRkeVrgB5JrcCp2sRxLMN65cwtm6Aha8_JuFqIBRoNt-n_gxLg" -d '{"tags": ["test1"]}'
  HTTP/1.1 400 Bad Request
  Content-Type: application/json
  Content-Length: 118
  X-Openstack-Request-Id: req-9f011921-3321-4d65-a3a4-cc04a9f87bdb
  Date: Tue, 27 Feb 2018 04:21:21 GMT

  {"NeutronError": {"message": "Invalid input for operation: Invalid
  tags body.", "type": "InvalidInput", "detail": ""}}

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-openstackclient/+bug/1751984/+subscriptions


Follow ups