[ovirt-users] Error while installing oVirt Self Hosted Engine
Simone Tiraboschi
stirabos at redhat.com
Thu Jun 15 13:02:29 UTC 2017
On Thu, Jun 15, 2017 at 2:55 PM, Jon Bornstein <bornstein.jonathan at gmail.com
> wrote:
> Hi Marton,
>
> Here is the log: https://gist.github.com/anonymous/
> ac777a70b8e8fc23016c0b6731f24706
>
You tried to create the management bridge over enp0s25 but it wasn't
configured with an IP address for your host.
Could you please configure it or choose a correctly configured interface?
2017-06-14 16:32:22 DEBUG otopi.plugins.gr_he_common.vm.cloud_init
cloud_init._getMyIPAddress:115 Acquiring 'enp0s25' address
2017-06-14 16:32:22 DEBUG otopi.plugins.gr_he_common.vm.cloud_init
plugin.executeRaw:813 execute: ('/sbin/ip', 'addr', 'show', 'enp0s25'),
executable='None', cwd='None', env=None
2017-06-14 16:32:22 DEBUG otopi.plugins.gr_he_common.vm.cloud_init
plugin.executeRaw:863 execute-result: ('/sbin/ip', 'addr', 'show',
'enp0s25'), rc=0
2017-06-14 16:32:22 DEBUG otopi.plugins.gr_he_common.vm.cloud_init
plugin.execute:921 execute-output: ('/sbin/ip', 'addr', 'show', 'enp0s25')
stdout:
2: enp0s25: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast
state DOWN qlen 1000
link/ether c4:34:6b:26:6a:d1 brd ff:ff:ff:ff:ff:ff
2017-06-14 16:32:22 DEBUG otopi.plugins.gr_he_common.vm.cloud_init
plugin.execute:926 execute-output: ('/sbin/ip', 'addr', 'show', 'enp0s25')
stderr:
2017-06-14 16:32:22 DEBUG otopi.plugins.gr_he_common.vm.cloud_init
cloud_init._getMyIPAddress:132 address: None
2017-06-14 16:32:22 DEBUG otopi.context context._executeMethod:142 method
exception
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in
_executeMethod
method['method']()
File
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-common/vm/cloud_init.py",
line 781, in _customize_vm_networking
self._customize_vm_addressing()
File
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-common/vm/cloud_init.py",
line 215, in _customize_vm_addressing
my_ip = self._getMyIPAddress()
File
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-common/vm/cloud_init.py",
line 136, in _getMyIPAddress
_('Cannot acquire nic/bridge address')
RuntimeError: Cannot acquire nic/bridge address
>
> On Thu, Jun 15, 2017 at 4:13 AM, Maton, Brett <matonb at ltresources.co.uk>
> wrote:
>
>> Hi Jon,
>>
>> There will be people on this list far more able to help you than I can,
>> but the contents of the engine setup log (/var/log/ovirt-hosted-engine-
>> setup/ovirt-hosted-engine-setup-20170614160653-2vuu7h.log) would help
>>
>> On 14 June 2017 at 21:56, Jon Bornstein <bornstein.jonathan at gmail.com>
>> wrote:
>>
>>> This is roughly my 10th attempt at installing some version of oVirt and
>>> I think where I get stuck every time is with the networking aspect.
>>>
>>> I'm simply trying to test out oVirt on an old laptop wiht 16GB RAM and
>>> an external HDD. I'm connected via WiFi.
>>>
>>> After failing 100 times with the regular ovirt engine, It was
>>> recommended I try the self-hosted engine.
>>>
>>> **
>>>
>>> Anyway, here are the contents of my /etc/hosts file:
>>> 127.0.0.1 localhost localhost.localdomain localhost4
>>> localhost4.localdomain4
>>> ::1 localhost localhost.localdomain localhost6
>>> localhost6.localdomain6
>>> 10.114.13.144 host.example.rocks host
>>> 10.114.13.145 engine.example.rocks engine
>>>
>>> **
>>>
>>> After running hosted-engine --deploy, I get to the prompt below in which
>>> the installer fails afterwards:
>>>
>>> You may specify a unicast MAC address for the VM or accept a randomly
>>> generated default [00:16:3e:5b:3a:73]:
>>>
>>> [ ERROR ] Failed to execute stage 'Environment customization': Cannot
>>> acquire nic/bridge address
>>> [ INFO ] Stage: Clean up
>>> [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-
>>> setup/answers/answers-20170614163222.conf'
>>> [ INFO ] Stage: Pre-termination
>>> [ INFO ] Stage: Termination
>>> [ ERROR ] Hosted Engine deployment failed
>>> Log file is located at /var/log/ovirt-hosted-engine-s
>>> etup/ovirt-hosted-engine-setup-20170614160653-2vuu7h.log
>>>
>>> **
>>>
>>> Here is a tail of the log:
>>>
>>> [root at engine /]# tail /var/log/ovirt-hosted-engine-s
>>> etup/ovirt-hosted-engine-setup-20170614160653-2vuu7h.log
>>> 2017-06-14 16:32:22 DEBUG otopi.context context._executeMethod:134
>>> condition False
>>> 2017-06-14 16:32:22 INFO otopi.context context.runSequence:687 Stage:
>>> Termination
>>> 2017-06-14 16:32:22 DEBUG otopi.context context.runSequence:691 STAGE
>>> terminate
>>> 2017-06-14 16:32:22 DEBUG otopi.context context._executeMethod:128 Stage
>>> terminate METHOD otopi.plugins.gr_he_common.core.misc.Plugin._terminate
>>> 2017-06-14 16:32:22 ERROR otopi.plugins.gr_he_common.core.misc
>>> misc._terminate:178 Hosted Engine deployment failed
>>> 2017-06-14 16:32:22 DEBUG otopi.plugins.otopi.dialog.human
>>> dialog.__logString:204 DIALOG:SEND Log file is located at
>>> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup
>>> -20170614160653-2vuu7h.log
>>> 2017-06-14 16:32:22 DEBUG otopi.context context._executeMethod:128 Stage
>>> terminate METHOD otopi.plugins.otopi.dialog.human.Plugin._terminate
>>> 2017-06-14 16:32:22 DEBUG otopi.context context._executeMethod:128 Stage
>>> terminate METHOD otopi.plugins.otopi.dialog.machine.Plugin._terminate
>>> 2017-06-14 16:32:22 DEBUG otopi.context context._executeMethod:134
>>> condition False
>>> 2017-06-14 16:32:22 DEBUG otopi.context context._executeMethod:128 Stage
>>> terminate METHOD otopi.plugins.otopi.core.log.Plugin._terminate
>>>
>>> **
>>>
>>> This is my first time writing to this list, so hopefully I'm doing it
>>> right. Thanks in advance - this is driving me crazy!
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170615/826e2610/attachment.html>
More information about the Users
mailing list