add keypair fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
New
|
Undecided
|
Chung Chih, Hung |
Bug Description
Add keypair fail in horizon.
But it still work at nova cli.
Following is keypair-add api request in log
2015-09-08 05:09:49.213635 REQ: curl -g -i 'http://
2015-09-08 05:09:49.223710 RESP: [400] {'content-length': '190', 'x-compute-
2015-09-08 05:09:49.223823 RESP BODY: null
2015-09-08 05:09:49.223882
2015-09-08 05:09:49.224676 Recoverable error: Invalid input for field/attribute keypair. Value: {u'type': u'ssh', u'name': u'd'}. Additional properties are not allowed (u'type' was unexpected) (HTTP 400) (Request-ID: req-25eab1e0-
Body's schema is supported by api version above 2.2.
However horizon mark this request as 2.1 version.
Type is not allowed properties at 2.1.
Therefore this exception will been raised.
Besides nova cli is send 2.11 version, so it will work.
Changed in horizon: | |
assignee: | nobody → Chung Chih, Hung (lyanchih) |