| Summary: | VM nodes fail to deploy when instance_info field is not provided | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Alexandru Dan <adan> |
| Component: | openstack-ironic | Assignee: | Lucas Alvares Gomes <lmartins> |
| Status: | CLOSED NOTABUG | QA Contact: | Toure Dunnon <tdunnon> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 (Kilo) | CC: | dtantsur, mburns, rhel-osp-director-maint, srevivo |
| Target Milestone: | --- | Keywords: | ZStream |
| Target Release: | 8.0 (Liberty) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-09-06 15:41:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Alexandru Dan
2016-03-03 08:00:55 UTC
(In reply to Alexandru Dan from comment #0) > Description of problem: > VM nodes fail to deploy when instance_info is not provided. > That's expected. Are you using Ironic in standalone mode ? Otherwise the ironic nova driver should populate the instance_info attribute as part of the deployment process. No, I was using OSP7 Director node and was trying to deploy an environment. Since then I have moved to OSP8 which no longer exhibits this issue. (In reply to Alexandru Dan from comment #3) > No, I was using OSP7 Director node and was trying to deploy an environment. With fake_pxe ? Maybe I'm missing the context, because the fake_pxe driver is a testing driver only and the interface that deploys the node is mocked (fake). AFAIK the fake_pxe driver can be used when there is no automation regarding powering on or off of a machine. Since there is no vmware_driver that can turn on and off a vmware machine I am using the fake_pxe driver in ironic and I am turning on and off the VM by hand. It's really not such a complicated mechanism and it works. At least after inserting the correct properties into ironic I managed to finally deploy openstack platform 7 on some vm's using fake_pxe and basic overcloud deployment. It's not a problem of what driver was used but a problem of what images get pushed or not pushed into pxe root to be booted up by the machines (vms). So yes it's fake but it should not matter when we are in a deployment, user already acknowledges that he has to turn on and off the machines manually and that's it. (In reply to Alexandru Dan from comment #5) > AFAIK the fake_pxe driver can be used when there is no automation regarding > powering on or off of a machine. Since there is no vmware_driver that can > turn on and off a vmware machine I am using the fake_pxe driver in ironic > and I am turning on and off the VM by hand. > > It's really not such a complicated mechanism and it works. At least after > inserting the correct properties into ironic I managed to finally deploy > openstack platform 7 on some vm's using fake_pxe and basic overcloud > deployment. > > It's not a problem of what driver was used but a problem of what images get > pushed or not pushed into pxe root to be booted up by the machines (vms). > > So yes it's fake but it should not matter when we are in a deployment, user > already acknowledges that he has to turn on and off the machines manually > and that's it. Fair enough, yeah it should work... I just found it a little strange because upstream we only use the fake_* drivers for unittests purpose. As a note, you could automate the Vmware power control by using the pxe_ssh driver [0]. Or, you can also use the pxe_ipmitool driver + VirtualBMC [1] (see the usage [2]), VirtualBMC uses libvirt internally to power control the VMs and it does support Vmware [3]. [0] https://review.openstack.org/#/c/64542/ [1] https://github.com/openstack/virtualbmc [2] https://raw.githubusercontent.com/umago/virtualbmc/master/images/demo.gif [3] http://libvirt.org/ |