My lack of Linux proficiency is going to show here, but..
I guess I'm a bit confused on how to correctly configure my network
interface(s) for oVirt.
I currently have two network interfaces:
enp0s25 -
This is my Ethernet interface, but it is unused. It currently is set to
DHCP and has no IP address. However, it is the only interface that oVirt
suggests I use when configuring which nic to set the bridge on.
wlo1 -
My wireless interface, and IS how i'm connecting to the internet. This is
the IP address that I was using in my /etc/hosts file.
Is it it not possible have a system that can run oVirt as well as maintain
an internet connection?
On Thu, Jun 15, 2017 at 9:02 AM, Simone Tiraboschi <stirabos(a)redhat.com>
wrote:
On Thu, Jun 15, 2017 at 2:55 PM, Jon Bornstein <
bornstein.jonathan(a)gmail.com> wrote:
> Hi Marton,
>
> Here is the log:
https://gist.github.com/anonymous/ac777a70b8e8fc23016c0
> b6731f24706
>
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(a)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(a)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@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.cor
>>> e.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.hum
>>> an.Plugin._terminate
>>> 2017-06-14 16:32:22 DEBUG otopi.context context._executeMethod:128
>>> Stage terminate METHOD otopi.plugins.otopi.dialog.mac
>>> hine.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(a)ovirt.org
>>>
http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>
>
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/users
>
>