to_oneview_dict() must be called with ServerProfile instance as first argument (got nothing instead)

Bug #1541945 reported by Thiago Paiva Brito
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python client for HP OneView
Fix Released
Critical
Unassigned

Bug Description

The call to the method to_oneview_dict() is not done with a instance of ServerProfile on the "self" argument. This is making set_boot_device to fail in every call.

Changed in python-oneviewclient:
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-oneviewclient (master)

Reviewed: https://review.openstack.org/276359
Committed: https://git.openstack.org/cgit/openstack/python-oneviewclient/commit/?id=9c64ca2b456d67462ad1a78a340c5608e4ab29db
Submitter: Jenkins
Branch: master

commit 9c64ca2b456d67462ad1a78a340c5608e4ab29db
Author: Thiago Paiva <email address hidden>
Date: Thu Feb 4 14:13:58 2016 -0300

    Remove custom method from_json of ServerProfile

    The implementation of the method from_json on the ServerProfile class was doing
    unecessary things and returning a class instead of an instance. This patch
    removes this method in favor of the one implemented in the parent class.

    Change-Id: I172a713acf024549d30b5cdc74c69b6e4deab901
    Closes-Bug: 1541945

Changed in python-oneviewclient:
status: New → 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.