Description of problem: Hello all, I'm trying to add a new host selecting an external neutron network provider. The host ( RHEL 7.3 standard ) has those repositories enabled: jb-eap-7-for-rhel-7-server-rpms rhel-7-server-extras-rpms rhel-7-server-openstack-10-devtools-rpms rhel-7-server-openstack-10-rpms rhel-7-server-rhv-4-mgmt-agent-rpms rhel-7-server-rhv-4.0-rpms rhel-7-server-rpms rhel-7-server-supplementary-rpms If the host does not have the package openstack-utils already installed this task will fail with error: Failed to execute stage 'Misc configuration': Command 'openstack-config' is required but missing I think the package should be installed during the deploy as for the others new missing packages. Manually installing openstack-utils package will solve this issue. Version-Release number of selected component (if applicable): RHEV 4.0.7 RHOSP 10 How reproducible: 100% Steps to Reproduce: 1. Install RHEV 4.0.7 and an external RHOSP 10 2. Configure RHOSP10 repositories on the hypervisor will be added 3. Add a new hypervisor without the package openstack-utils installed. Actual results: The host deploy fails. Expected results: The host deploy finish succesfully Additional info: A short extract from the log: 2017-04-04 14:39:37 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_host_common.vmconsole.pki.Plugin._misc 2017-04-04 14:39:37 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_host_deploy.gluster.nrpe.Plugin._misc 2017-04-04 14:39:37 DEBUG otopi.context context._executeMethod:134 condition False 2017-04-04 14:39:37 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_host_deploy.hosted-engine.configureha.Plugin._clear_ha_conf 2017-04-04 14:39:37 DEBUG otopi.context context._executeMethod:134 condition False 2017-04-04 14:39:37 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_host_deploy.hosted-engine.configureha.Plugin._set_ha_conf 2017-04-04 14:39:37 INFO otopi.plugins.ovirt_host_deploy.hosted-engine.configureha configureha._set_ha_conf:123 Updating hosted-engine configuration 2017-04-04 14:39:37 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-hosted-engine/hosted-engine.conf'' 2017-04-04 14:39:37 DEBUG otopi.filetransaction filetransaction.prepare:183 file '/etc/ovirt-hosted-engine/hosted-engine.conf' missing 2017-04-04 14:39:37 ERROR otopi.plugins.ovirt_host_deploy.hosted-engine.configureha configureha._set_ha_conf:155 HA client was not imported 2017-04-04 14:39:37 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_host_deploy.kdump.packages.Plugin._misc 2017-04-04 14:39:37 DEBUG otopi.context context._executeMethod:134 condition False 2017-04-04 14:39:37 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_host_deploy.kernel.kernel.Plugin._misc 2017-04-04 14:39:37 DEBUG otopi.transaction transaction._prepare:61 preparing 'KernelSetup Transaction' 2017-04-04 14:39:37 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_host_deploy.openstack.neutron.Plugin._misc 2017-04-04 14:39:37 DEBUG otopi.context context._executeMethod:142 method exception Traceback (most recent call last): File "/tmp/ovirt-iTQij82skT/pythonlib/otopi/context.py", line 132, in _executeMethod method['method']() File "/tmp/ovirt-iTQij82skT/otopi-plugins/ovirt-host-deploy/openstack/neutron.py", line 112, in _misc self.command.get('openstack-config'), File "/tmp/ovirt-iTQij82skT/pythonlib/otopi/command.py", line 74, in get command=command RuntimeError: Command 'openstack-config' is required but missing 2017-04-04 14:39:37 ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Misc configuration': Command 'openstack-config' is required but missing 2017-04-04 14:39:37 DEBUG otopi.transaction transaction.abort:119 aborting 'Yum Transaction' 2017-04-04 14:39:37 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Performing yum transaction rollback
Moving to network for further investigation since they own the external neutron network provider feature. Changing component to ovirt-host-deploy. Looks like a regression due to changes in RHOSP10 but I let network team investigate.
We do not support the deployment of Neutron services on the hosts. In any case, you can try to install the needed OSP packages and try again. We only support manual configuration in 4.0 and in RHV 4.1 we added support of using director provisioned networker nodes.
Hello, we were trying to integrate RHEV with an external network provider, in this case RHOSP 10. Our neutron services are OVS and neutron agent. Are you saying what is described here is not supported? http://rhelblog.redhat.com/2016/09/19/integrating-red-hat-virtualization-and-red-hat-openstack-platform-with-neutron-networking/ " The actual steps to take advantage of the integration between RHV 4 and RHOSP 8 are straightforward. The steps are as follows: Install the OpenStack Neutron packages on the RHV hypervisor hosts Configure hosts (hypervisor nodes) – a very quick text edit Define OpenStack Neutron as an “External Network Provider” in RHV Manager Create one or more hosts in RHV that utilize the Neutron integration Import one or more networks from RHOSP into RHV Create one or more virtual machines that use the Neutron network(s) " Regards Alessio Dini