'Namespace' object has no attribute 'ca_file'

Bug #1386454 reported by Arun S A G
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Jim Rollenhagen

Bug Description

Python-ironic client crashes with out --os-cert, --os-key and --os-cacert. Even if these args are made mandatory the python-ironic client shouldn't crash.

Because of this the quickstart guide doesn't work any more http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html

Attached patch works around this problem

Revision history for this message
Arun S A G (sagarun) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-ironicclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/131304

Changed in python-ironicclient:
assignee: nobody → Jim Rollenhagen (jim-rollenhagen)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/131307

Changed in python-ironicclient:
assignee: Jim Rollenhagen (jim-rollenhagen) → Arun S A G (sagarun)
Changed in python-ironicclient:
assignee: Arun S A G (sagarun) → Jim Rollenhagen (jim-rollenhagen)
Revision history for this message
aeva black (tenbrae) wrote :

Another error introduced by this patch -- if the supplied user does not have correct credentials to use Ironic, they get the following error message:

$ ironic node-list
'unicode' object has no attribute 'get'

aeva black (tenbrae)
Changed in python-ironicclient:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-ironicclient (master)

Reviewed: https://review.openstack.org/131307
Committed: https://git.openstack.org/cgit/openstack/python-ironicclient/commit/?id=108938c76975eb88862a3f75c36b1a0e09f39646
Submitter: Jenkins
Branch: master

commit 108938c76975eb88862a3f75c36b1a0e09f39646
Author: Arun S A G <email address hidden>
Date: Mon Oct 27 23:52:34 2014 +0000

    Fix python-ironicclient crash

    - ca_file, cert_file and key_file arguements were renamed part of
      e3d35647 but the commit e3d35647 never renamed the other place this
      variables were used.
    - This commit properly renames those variables back to sane values and
      fixes the crash

    Change-Id: I7b40b2e6a314abc734d28b76626f09f3d31c0d8b
    Closes-Bug: 1386454

Changed in python-ironicclient:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-ironicclient (master)

Change abandoned by Jim Rollenhagen (<email address hidden>) on branch: master
Review: https://review.openstack.org/131304
Reason: Pulled the trigger on this a bit early, bug is since fixed.

Changed in python-ironicclient:
milestone: none → 0.7.0
status: Fix Committed → 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.