Failed to power on node in devstack environment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Low
|
Eric Xie |
Bug Description
Description
===========
I setup one environment with devstack. After it finished, i found
baremetal nodes were 'power off'. When power on them, this error
was hit.
Steps to reproduce
==================
* Setup environment with devstack, followed by
https:/
* Check node's status with `openstack baremetal node list`
* Power on node with `openstack baremetal node power on node-0`
Expected result
===============
Power on node successfully.
Actual result
=============
Node's 'Power State' was also 'power off'.
Environment
===========
1. OS
# cat /etc/centos-release
CentOS Linux release 7.2.1511 (Core)
2. libvirt && qemu-kvm
libvirt-
qemu-kvm-
qemu-kvm-
3. devstack version
# git log
commit 6523d6e09789076
Merge: 73a3e2d afef8bf
Author: Jenkins <email address hidden>
Date: Wed Mar 8 13:31:57 2017 +0000
Merge "Make declared variables global"
4. ironic version
# git log
commit 748e93009afc050
Merge: 732c2a5 1e560b1
Author: Jenkins <email address hidden>
Date: Wed Mar 8 22:07:54 2017 +0000
Merge "devstack: Make sentry _IRONIC_
Logs
=============
2017-03-09 05:51:51.848 | libvirt: QEMU Driver error : internal error: process exited while connecting to monitor: 2017-03-
2017-03-09 05:51:51.848 | Use -machine help to list supported machines
Changed in ironic: | |
status: | In Progress → New |
assignee: | Eric Xie (eric-xie) → nobody |
Changed in ironic: | |
assignee: | nobody → Eric Xie (eric-xie) |
Changed in ironic: | |
status: | Triaged → Fix Released |
I found 'machine' type in template file 'pc-1.0' >hvm</type>
<type arch='{{ arch }}' machine=
But 'pc-1.0' is not there. qemu-kvm -machine help rhel7.3. 0)
# /usr/libexec/
Supported machines are:
pc RHEL 7.3.0 PC (i440FX + PIIX, 1996) (alias of pc-i440fx-
pc-i440fx-rhel7.3.0 RHEL 7.3.0 PC (i440FX + PIIX, 1996) (default)
pc-i440fx-rhel7.2.0 RHEL 7.2.0 PC (i440FX + PIIX, 1996)
pc-i440fx-rhel7.1.0 RHEL 7.1.0 PC (i440FX + PIIX, 1996)
pc-i440fx-rhel7.0.0 RHEL 7.0.0 PC (i440FX + PIIX, 1996)
rhel6.6.0 RHEL 6.6.0 PC
rhel6.5.0 RHEL 6.5.0 PC
rhel6.4.0 RHEL 6.4.0 PC
rhel6.3.0 RHEL 6.3.0 PC
rhel6.2.0 RHEL 6.2.0 PC
rhel6.1.0 RHEL 6.1.0 PC
rhel6.0.0 RHEL 6.0.0 PC
q35 RHEL-7.3.0 PC (Q35 + ICH9, 2009) (alias of pc-q35-rhel7.3.0)
pc-q35-rhel7.3.0 RHEL-7.3.0 PC (Q35 + ICH9, 2009)
none empty machine
After modifying 'pc-1.0' to 'pc' in node-0's XML file, node-0 can be power on successfully.
So i think it's necessary to correct the template file.