On Wed, Mar 20, 2019 at 11:52 AM Nir Soffer <nsoffer@redhat.com> wrote:
Did you install ovirt-release-master on the host?

Yes

 

Can you install vdsm and vdsm-client manually on the host?
No, 
I've got dependency issue:
Error: 
 Problem: conflicting requests
  - package vdsm-4.40.0-95.git85286fae1.fc28.s390x does not have a compatible architecture
  - package vdsm-4.40.0-96.gite2910145e.fc28.s390x does not have a compatible architecture
  - nothing provides python-netaddr needed by vdsm-4.40.0-95.git85286fae1.fc28.x86_64
  - nothing provides python-netaddr needed by vdsm-4.40.0-96.gite2910145e.fc28.x86_64

 

Try to add the host after that.

On Wed, Mar 20, 2019, 10:53 Eyal Shenitzky <eshenitz@redhat.com wrote:
Managed to passed this issue by running 'dnf install ovirt-engine'.

Now I face the following problem:

Error:  
Problem: conflicting requests
 - package vdsm-4.40.0-95.git85286fae1.fc28.s390x does not have a compatible architecture
 - package vdsm-4.40.0-96.gite2910145e.fc28.s390x does not have a compatible architecture
 - nothing provides python-netaddr needed by vdsm-4.40.0-95.git85286fae1.fc28.x86_64
 - nothing provides python-netaddr needed by vdsm-4.40.0-96.gite2910145e.fc28.x86_64


Error from the engine logs:
 An error has occurred during installation of Host 10.35.1.234: Failed to execute stage 'Package installation':   Problem 1: conflicting requests   - nothing provides python3-configobj needed by tuned-2.10.0-6.fc28.noarch  Problem 2: conflicting requests   - package ovirt-host-4.4.0-0.0.master.20190308163232.git4c2aa13.fc28.s390x does not have a compatible architecture   - nothing provides aide needed by ovirt-host-4.4.0-0.0.master.20190308163136.git4c2aa13.fc28.x86_64  Problem 3: package ovirt-vmconsole-host-1.0.7-2.fc28.noarch requires policycoreutils-python, but none of the providers can be installed   - conflicting requests   - nothing provides python2-IPy needed by python2-policycoreutils-2.8-1.fc28.noarch.


On Wed, Mar 20, 2019 at 10:14 AM Eyal Shenitzky <eshenitz@redhat.com> wrote:
After updating otopi and python2-ovirt-host-deploy
I've got the following exception:

" 0; tar --warning=no-timestamp -C "${MYTMP}" -x &&  "${MYTMP}"/ovirt-host-deploy DIALOG/dialect=str:machine DIALOG/customization=bool:True': RuntimeException: Unexpected e
rror during execution: Traceback (most recent call last):
 File "/tmp/ovirt-slDSfzTs57/pythonlib/otopi/main.py", line 141, in execute
   self.context.loadPlugins()
 File "/tmp/ovirt-slDSfzTs57/pythonlib/otopi/context.py", line 769, in loadPlugins
   self._loadPluginGroups(plugindir, needgroups, loadedgroups)
 File "/tmp/ovirt-slDSfzTs57/pythonlib/otopi/context.py", line 112, in _loadPluginGroups
   self._loadPlugins(path, path, groupname)
 File "/tmp/ovirt-slDSfzTs57/pythonlib/otopi/context.py", line 69, in _loadPlugins
   self._loadPlugins(base, d, groupname)
 File "/tmp/ovirt-slDSfzTs57/pythonlib/otopi/context.py", line 100, in _loadPlugins
   os.path.basename(path),
 File "/tmp/ovirt-slDSfzTs57/pythonlib/otopi/util.py", line 109, in loadModule
   spec.loader.exec_module(module)
 File "<frozen importlib._bootstrap_external>", line 678, in exec_module
 File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
 File "/tmp/ovirt-slDSfzTs57/otopi-plugins/ovirt-host-deploy/kdump/__init__.py", line 27, in <module>
   from . import packages
 File "/tmp/ovirt-slDSfzTs57/otopi-plugins/ovirt-host-deploy/kdump/packages.py", line 36, in <module>
   from ovirt_host_deploy import constants as odeploycons
ModuleNotFoundError: No module named 'ovirt_host_deploy'


On Wed, Mar 20, 2019 at 9:24 AM Eyal Shenitzky <eshenitz@redhat.com> wrote:
Added devel

On Wed, Mar 20, 2019 at 9:05 AM Yedidyah Bar David <didi@redhat.com> wrote:
On Tue, Mar 19, 2019 at 3:49 PM Eyal Shenitzky <eshenitz@redhat.com> wrote:
>
> Hi,
>
> I tried to add Fedora 28 host to ovirt and failed due to missing ovirt-host-deploy:
>
> 2019-03-19 14:27:34,795+02 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [1ce188c7] EVENT_ID: VDS_INSTALL_IN_PROGRESS_ERROR(511), An error has occurred during installation of Host 10.35.1.234: Internal error: No module named ovirt_host_deploy.
> 2019-03-19 14:27:34,823+02 ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog] (EE-ManagedThreadFactory-engine-Thread-2355) [1ce188c7] SSH error running command root@10.35.1.234:'umask 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XXXXXXXXXX)"; trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; tar --warning=no-timestamp -C "${MYTMP}" -x &&  "${MYTMP}"/ovirt-host-deploy DIALOG/dialect=str:machine DIALOG/customization=bool:True': IOException: Command returned failure code 2 during SSH session 'root@10.35.1.234'
> 2019-03-19 14:27:34,824+02 ERROR [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [1ce188c7] Error during deploy dialog
> 2019-03-19 14:27:34,838+02 ERROR [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (EE-ManagedThreadFactory-engine-Thread-2355) [1ce188c7] Error during host 10.35.1.234 install
>
> When I tried to install ovirt-host-deploy on the Fedora 28 machine I failed because otopi was missing.
>
> Do we have a known issue for Fedora 28 host?

Nothing that I can currently recall, although it's been some time since I tried.

The missing ovirt_host_deploy/otopi are not something you should
install on the host. They are included in the bundle.

Where is the engine (OS)? Is it current master? dev-env or RPM? Which
otopi/ovirt-host-deploy you have there? Current master, both?

The engine is also on Fedora 28, this is the current master (dev-env)

host-deploy:
python2-ovirt-host-deploy-1.8.0-0.0.master.20181016080559.gitff6ea7d.fc28.noarch
ovirt-host-deploy-common-1.8.0-0.0.master.20181016080559.gitff6ea7d.fc28.noarch

otopi:
python2-otopi-1.8.0-0.0.master.20181017100341.git487c83a.fc28.noarch
python3-otopi-1.8.0-0.0.master.20181017100341.git487c83a.fc28.noarch
otopi-common-1.8.0-0.0.master.20181017100341.git487c83a.fc28.noarch
 

Please check/share content of the bundle. After you try 'Add host', it
should be in /var/cache/ovirt-engine/ovirt-host-deploy.tar/var/cache/ovirt-engine/ovirt-host-deploy.tar . It's
auto-generated, so you can remove it and try again.

What should I look for there?


Also, IMO you can open such threads on devel@ovirt.org.il.

Best regards,
--
Didi


--
Regards,
Eyal Shenitzky


--
Regards,
Eyal Shenitzky


--
Regards,
Eyal Shenitzky


--
Regards,
Eyal Shenitzky