AttributeError are not caught when creating a vim

Bug #1587216 reported by Haiwei Xu
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tacker
Fix Released
Low
Haiwei Xu

Bug Description

When creating a vim using a config file, but in the command using the '--config' option instead,
will get AttributeError

$ tacker vim-register --config vim_config.yaml --name vim3
'str' object has no attribute 'pop'

Haiwei Xu (xu-haiwei)
Changed in tacker:
assignee: nobody → Haiwei Xu (xu-haiwei)
Revision history for this message
Sridhar Ramaswamy (srics-r) wrote :

Good catch! I think we should only offer "--config-file" option in the CLI. The API and Horizon can support both but it doesn't make sense to me in the CLI.

@Sripripya - what do you think ?

Changed in tacker:
importance: Undecided → Low
milestone: none → newton-2
Revision history for this message
Sripriya (sseetha) wrote :

Agree, we can remove the CLI support. Makes sense. In Horizon, we specify through form data. We do not have direct input/ file support on Horizon. Should we support that?

Revision history for this message
Sridhar Ramaswamy (srics-r) wrote :

Yes, it is worth offering a direct input option in Horizon.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-tackerclient 0.6.0

This issue was fixed in the openstack/python-tackerclient 0.6.0 release.

Changed in tacker:
status: New → Confirmed
status: Confirmed → Fix Released
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.