Miss the parameter in the method 'get_console_output' in the PowerVC dirver

Bug #1342042 reported by Zi Lian Ji
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
powervc-driver
Fix Committed
High
Zi Lian Ji

Bug Description

The parameter in the method 'get_console_output' needs three.

2014-07-15 09:09:23.341 10968 TRACE nova.api.openstack.wsgi File "/usr/lib/python2.6/site-packages/nova/exception.py", line 88, in wrapped
2014-07-15 09:09:23.341 10968 TRACE nova.api.openstack.wsgi payload)
2014-07-15 09:09:23.341 10968 TRACE nova.api.openstack.wsgi
2014-07-15 09:09:23.341 10968 TRACE nova.api.openstack.wsgi File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__
2014-07-15 09:09:23.341 10968 TRACE nova.api.openstack.wsgi six.reraise(self.type_, self.value, self.tb)
2014-07-15 09:09:23.341 10968 TRACE nova.api.openstack.wsgi
2014-07-15 09:09:23.341 10968 TRACE nova.api.openstack.wsgi File "/usr/lib/python2.6/site-packages/nova/exception.py", line 71, in wrapped
2014-07-15 09:09:23.341 10968 TRACE nova.api.openstack.wsgi return f(self, context, *args, **kw)
2014-07-15 09:09:23.341 10968 TRACE nova.api.openstack.wsgi
2014-07-15 09:09:23.341 10968 TRACE nova.api.openstack.wsgi File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 310, in decorated_function
2014-07-15 09:09:23.341 10968 TRACE nova.api.openstack.wsgi e, sys.exc_info())
2014-07-15 09:09:23.341 10968 TRACE nova.api.openstack.wsgi
2014-07-15 09:09:23.341 10968 TRACE nova.api.openstack.wsgi File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__
2014-07-15 09:09:23.341 10968 TRACE nova.api.openstack.wsgi six.reraise(self.type_, self.value, self.tb)
2014-07-15 09:09:23.341 10968 TRACE nova.api.openstack.wsgi
2014-07-15 09:09:23.341 10968 TRACE nova.api.openstack.wsgi File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 297, in decorated_function
2014-07-15 09:09:23.341 10968 TRACE nova.api.openstack.wsgi return function(self, context, *args, **kwargs)
2014-07-15 09:09:23.341 10968 TRACE nova.api.openstack.wsgi
2014-07-15 09:09:23.341 10968 TRACE nova.api.openstack.wsgi File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 3977, in get_console_output
2014-07-15 09:09:23.341 10968 TRACE nova.api.openstack.wsgi output = self.driver.get_console_output(context, instance)
2014-07-15 09:09:23.341 10968 TRACE nova.api.openstack.wsgi
2014-07-15 09:09:23.341 10968 TRACE nova.api.openstack.wsgi TypeError: get_console_output() takes exactly 2 arguments (3 given)
2014-07-15 09:09:23.341 10968 TRACE nova.api.openstack.wsgi
2014-07-15 09:09:23.341 10968 TRACE nova.api.openstack.wsgi

Zi Lian Ji (jizilian)
Changed in powervc-driver:
assignee: nobody → Zi Lian Ji (jizilian)
importance: Undecided → High
Zi Lian Ji (jizilian)
Changed in powervc-driver:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to powervc-driver (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to powervc-driver (master)

Reviewed: https://review.openstack.org/117437
Committed: https://git.openstack.org/cgit/stackforge/powervc-driver/commit/?id=7fa642f7f4bc80c38897173b0b1c5579cda8feed
Submitter: Jenkins
Branch: master

commit 7fa642f7f4bc80c38897173b0b1c5579cda8feed
Author: Zi Lian Ji <email address hidden>
Date: Wed Aug 27 22:39:35 2014 -0400

    Miss the parameter in the method 'get_console_output' in the PowerVC dirver

    The parameters in the method 'get_console_output' need to include
    'context'

    Change-Id: I6091ba54f65e309ca03f83e4402c7589556d2689
    Closes-Bug: 1342042

Changed in powervc-driver:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to powervc-driver (experimental)

Fix proposed to branch: experimental
Review: https://review.openstack.org/117737

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to powervc-driver (experimental)

Reviewed: https://review.openstack.org/117737
Committed: https://git.openstack.org/cgit/stackforge/powervc-driver/commit/?id=7f089214e5563a482affdf9697d895aa47bb2f94
Submitter: Jenkins
Branch: experimental

commit 7f089214e5563a482affdf9697d895aa47bb2f94
Author: Zi Lian Ji <email address hidden>
Date: Wed Aug 27 22:39:35 2014 -0400

    Miss the parameter in the method 'get_console_output' in the PowerVC dirver

    The parameters in the method 'get_console_output' need to include
    'context'

    Change-Id: I6091ba54f65e309ca03f83e4402c7589556d2689
    Closes-Bug: 1342042

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.