'--request-format xml' in tacker show commands Erroring

Bug #1608676 reported by Santosh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tacker
Incomplete
Low
Rudresh

Bug Description

"--request-format xml " in tacker show commands need to be handled correctly.
If xml is not supported, it should be removed from help or handled correctly in show commands.

vyatta@os-dev-06:/opt/stack/tacker$ tacker vnf-list 73441c69-50dd-4eb1-9264-107cbe7c41ea --request-format xml
Invalid values_specs 73441c69-50dd-4eb1-9264-107cbe7c41ea
vyatta@os-dev-06:/opt/stack/tacker$ tacker vnf-show 73441c69-50dd-4eb1-9264-107cbe7c41ea --request-format xml
'str' object has no attribute 'get'
vyatta@os-dev-06:/opt/stack/tacker$

vyatta@os-dev-06:/opt/stack/tacker$ tacker vnfd-template-show --request-format xml 8e371971-55e5-46e6-9978-fc940d38384c
'str' object has no attribute 'keys'
vyatta@os-dev-06:/opt/stack/tacker$

Changed in tacker:
assignee: nobody → Manikantha Srinivas Tadi (manikantha-tadi)
Changed in tacker:
importance: Undecided → Low
Revision history for this message
yong sheng gong (gongysh) wrote :

I think it is the cliff builtin.

Changed in tacker:
assignee: Manikantha Srinivas Tadi (manikantha-tadi) → nobody
Rudresh (rudrii)
Changed in tacker:
assignee: nobody → Rudresh (rudrii)
Revision history for this message
yong sheng gong (gongysh) wrote :

ubuntu@testtacker:/opt/stack/tacker$ tacker --help
usage: tacker [--version] [-v] [-q] [-h] [-r NUM]
              [--os-service-type <os-service-type>]
              [--os-endpoint-type <os-endpoint-type>]
              [--service-type <service-type>]
              [--endpoint-type <endpoint-type>]
              [--os-auth-strategy <auth-strategy>] [--os-auth-url <auth-url>]
              [--os-tenant-name <auth-tenant-name> | --os-project-name <auth-project-name>]
              [--os-tenant-id <auth-tenant-id> | --os-project-id <auth-project-id>]
              [--os-username <auth-username>] [--os-user-id <auth-user-id>]
              [--os-user-domain-id <auth-user-domain-id>]
              [--os-user-domain-name <auth-user-domain-name>]
              [--os-project-domain-id <auth-project-domain-id>]
              [--os-project-domain-name <auth-project-domain-name>]
              [--os-cert <certificate>] [--os-cacert <ca-certificate>]
              [--os-key <key>] [--os-password <auth-password>]
              [--os-region-name <auth-region-name>] [--os-token <token>]
              [--http-timeout <seconds>] [--os-url <url>] [--insecure]

Revision history for this message
yong sheng gong (gongysh) wrote :

It seems with latest cliff, it does not have the request-format argument.

Changed in tacker:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.