'PXE' object has no attribute 'get_pxe_config_file_path'

Bug #1218779 reported by Lucas Alvares Gomes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Lucas Alvares Gomes

Bug Description

The baremetal driver's throwing the following error:

ERROR nova.virt.baremetal.driver [req-aa418c3f-a45b-40a2-b0b3-dff16886a8ab 94242353fea44662973dbe7ce3dc980c 93e2f6898a394052a6c1b7b22aedcf1f] Exception no pxe bootfile-name path: 'PXE' object has no attribute 'get_pxe_config_file_path'

The error happens because of this line in the baremetal/driver.py file.

nova/virt/baremetal/driver.py:511: bootfile_path = self.driver.get_pxe_config_file_path(instance)

Looking at the baremetal/pxe.py you'll see that the `get_pxe_config_file` method is not part of the PXE class, but that method exist in the file.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
assignee: nobody → Lucas Alvares Gomes (lucasagomes)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/44425
Committed: http://github.com/openstack/nova/commit/281e2a10628eb394b6b905286070c4f25ce9f134
Submitter: Jenkins
Branch: master

commit 281e2a10628eb394b6b905286070c4f25ce9f134
Author: Lucas Alvares Gomes <email address hidden>
Date: Fri Aug 30 09:45:50 2013 +0100

    Fix wrong method call in baremetal

    The `get_pxe_config_file` method is not part of the PXE class.

    Change-Id: Ife4f5332af05fd82a865ecdbddf7c5431eb29c1d
    Closes-Bug: #1218779

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → havana-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-3 → 2013.2
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.