Bug 1373968
Summary: | Deploying a host with an external Neutron network configured fails | ||||||
---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-host-deploy | Reporter: | Tony James <tony> | ||||
Component: | General | Assignee: | Sandro Bonazzola <sbonazzo> | ||||
Status: | CLOSED NEXTRELEASE | QA Contact: | Meni Yakove <myakove> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | --- | CC: | bazulay, bugs, danken, dougsland, gklein, hannsj_uhl, lsurette, lsvaty, melewis, myakove, oourfali, rbalakri, Rhev-m-bugs, srevivo, tony, ykaul, ylavi | ||||
Target Milestone: | ovirt-4.0.5 | Keywords: | Reopened, ZStream | ||||
Target Release: | 1.5.3 | Flags: | ylavi:
ovirt-4.0.z?
ylavi: Triaged+ ylavi: planning_ack+ danken: devel_ack+ rule-engine: testing_ack? |
||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
URL: | http://www.ovirt.org/documentation/how-to/networking/overlay-networks-with-neutron-integration/ | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Enhancement | |||||
Doc Text: |
Previously, with the release of OpenStack Liberty the Open vSwitch agent ini file location changed. This caused host deployment to fail when the latest releases of OpenStack were used. Now, support for Liberty and newer releases of OpenStack has been added and host deployment no longer fails.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-09-29 06:24:58 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Network | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1379992 | ||||||
Attachments: |
|
Description
Tony James
2016-09-07 14:50:39 UTC
We do not support deploying OSP on the host. You can either use manual agent configuration or use OSP methods we tested like packstack. We expect this to be done before adding the host to RHV. Would you please lay down the individual steps you are taking, and the error messages that you are seeing? What we support is for you to configure Neutron on a host, then add it to RHV-M, then import the external to the RHV DC (note: *not* to any specific hypervisor), attach that network to a VM, and then start it. I've configured a brand new RHV 4.0 environment and added an OSP 8 Neutron provider under "External Providers". I've attached a screenshot of the "New Host" dialog for reference. Once I click OK, the process of adding the new host fails with the following errors in the relevant log under /var/log/ovirt-engine/host-deploy on RHV-M: 2016-09-10 07:47:24 DEBUG otopi.plugins.ovirt_host_deploy.openstack.neutron_openvswitch plugin.execute:926 execute-output: ('/bin/openstack-config', '--set', '/etc/neutron/plugins /openvswitch/ovs_neutron_plugin.ini', 'OVS', 'bridge_mappings', 'vmnet:br-neutron') stderr: [Errno 2] No such file or directory: '/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini' This is due to the location of the openvswitch agent ini file changing in OSP 8. The new location is: /etc/neutron/plugins/ml2/openvswitch_agent.ini Adding the host succeeds if I run the following on the hypervisor: cd /etc/neutron/plugins mkdir openvswitch cp ml2/openvswitch_agent.ini openvswitch/ovs_neutron_plugin.ini The commit I've submitted upstream changes a variable in ovirt-host-deploy to use the new location of the Open vSwitch ini file as of OSP 8. Created attachment 1199788 [details]
RHV 4 - New host dialog
Thanks for trying out RHV4 and thanks for your patch. As it stands, it would break support for the older (but still supported) OSP. Maybe you can add some smarter logic to it? That's basically the reason we do not support configuration of the hosts' neutron installation. Would you be kind to try out manual installation, and then add a generic external network provider? I've pushed a new patch with additional logic to allow continued support for older versions of Red Hat OpenStack Platform: https://gerrit.ovirt.org/#/c/63707/ This patch has been tested on RHV 4.0 with both OSP 7 and 8. I will work on testing the generic external network provider and report back. Dan can you please review again this bug after comment #8 and re-target this bug? I'm not I understand your request, Sandro. You've raised valid questions on the patch, and we should wait for Tony to respond. Do you think I should drop my +1? If Tony verifies his path on both "old" and "new" OSP, I'm fine with his patch. The fix has been merged and will be available in 4.1 release Please backport to 4.0.z. |