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 <[email protected]> wrote:

> Added devel
>
> On Wed, Mar 20, 2019 at 9:05 AM Yedidyah Bar David <[email protected]>
> wrote:
>
>> On Tue, Mar 19, 2019 at 3:49 PM Eyal Shenitzky <[email protected]>
>> 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 [email protected]:'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 '[email protected]'
>> > 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 [email protected].
>>
>> Best regards,
>> --
>> Didi
>>
>
>
> --
> Regards,
> Eyal Shenitzky
>


-- 
Regards,
Eyal Shenitzky
_______________________________________________
Devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/EFG4EWJM4G7QZRUGOSQG55QFYOBKAKOK/

Reply via email to