output wrong message about configuring driver_info/deploy_kernel

Bug #1583941 reported by PanFengyun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
PanFengyun

Bug Description

output wrong message about configuring driver_info/deploy_kernel.

Node uuid=4973f7c4-5563-47ef-936f-6bde689be861 has an incorrectly configured driver_info/deploy_ramdisk. Expected "1056c670-a072-4c95-bc0b-e77a93b04855" but got "f9711a59-7b75-410f-a276-f426fc0f808c".
Node uuid=4973f7c4-5563-47ef-936f-6bde689be861 has an incorrectly configured driver_info/deploy_kernel. Expected "1056c670-a072-4c95-bc0b-e77a93b04855" but got "00b24154-bec6-4a40-af24-86c6d59675c2".

the reason:

if node.driver_info.get('deploy_kernel') != kernel_id:
            self.predeploy_errors += 1
            self.log.error(message.format(
                uuid=node.uuid,
                property='driver_info/deploy_kernel',
                expected=ramdisk_id,
                actual=node.driver_info.get('deploy_kernel')
            ))

should be

if node.driver_info.get('deploy_kernel') != kernel_id:
            self.predeploy_errors += 1
            self.log.error(message.format(
                uuid=node.uuid,
                property='driver_info/deploy_kernel',
                expected=kernel_id,
                actual=node.driver_info.get('deploy_kernel')
            ))

Changed in tripleo:
assignee: nobody → PanFengyun (pan-feng-yun)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (master)

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

Changed in tripleo:
status: New → In Progress
Changed in tripleo:
importance: Undecided → Medium
milestone: none → newton-1
Steven Hardy (shardy)
Changed in tripleo:
milestone: newton-1 → newton-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (master)

Reviewed: https://review.openstack.org/319123
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=15e09c7fbbff0c044e1112b0c06c0f3437e5efba
Submitter: Jenkins
Branch: master

commit 15e09c7fbbff0c044e1112b0c06c0f3437e5efba
Author: PanFengyun <pan_feng_yun@163.com>
Date: Fri May 20 04:31:41 2016 -0400

    fix the output message about 'driver_info/deploy_kernel'

    ramdisk_id replaced with kernel_id.

    Change-Id: I0ae6fa60b6ff9a15b7d30f76841b087c46603212
    Closes-Bug: #1583941

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-tripleoclient 5.0.0.0b2

This issue was fixed in the openstack/python-tripleoclient 5.0.0.0b2 development milestone.

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.