Container missing 'name' issues 2 calls for container get via CLI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Barbican |
Won't Fix
|
Low
|
Unassigned |
Bug Description
When I create a container without --name argument, then 'barbican container get' call results in duplicate GET container calls.
2 call is unnecessary if we can correct this logic related to reading 'name' property https:/
stack@padawan-
Creating Client object
found extension EntryPoint.
found extension EntryPoint.
found extension EntryPoint.
found extension EntryPoint.
found extension EntryPoint.
Getting container - Container href: http://
Making authentication request to http://{redacted}
Starting new HTTP connection (1): {redacted_
"POST /v3/auth/tokens HTTP/1.1" 201 1768
REQ: curl -g -i -X GET http://
Starting new HTTP connection (1): 192.168.245.9
"GET /v1/containers/
RESP: [200] Content-Length: 411 Content-Type: application/json; charset=UTF-8 x-openstack-
RESP BODY: {"status": "ACTIVE", "updated": "2016-02-
Response status 200
Getting secret - Secret href: http://
Getting container - Container href: http://
REQ: curl -g -i -X GET http://
"GET /v1/containers/
RESP: [200] Content-Length: 411 Content-Type: application/json; charset=UTF-8 x-openstack-
RESP BODY: {"status": "ACTIVE", "updated": "2016-02-
Response status 200
+------
| Field | Value |
+------
| Container href | http://
| Name | None |
| Created | 2016-02-02 00:36:45+00:00 |
| Status | ACTIVE |
| Type | generic |
| Secrets | name=http://
| Consumers | None |
+------
description: | updated |
Changed in barbican: | |
assignee: | nobody → Sharat Sharma (sharat-sharma) |
Changed in barbican: | |
assignee: | Sharat Sharma (sharat-sharma) → Douglas Mendizábal (dougmendizabal) |
I reported in python-barbican a month ago. /bugs.launchpad .net/python- barbicanclient/ +bug/1531403
please see: https:/
the same problem, right?