hosted-engine deploy 4.2.1 fails when ovirtmgmt is defined on vlan subinterface
by Kuko Armas
I'm not sure if I should submit a bug report about this, so I ask around here first...
I've found a bug that "seems" related but I think it's not (https://bugzilla.redhat.com/show_bug.cgi?id=1523661)
This is the problem:
- I'm trying to do a clean HE deploy with oVirt 4.2.1 on a clean CentOS 7.4 host
- I have a LACP bond (bond0) and I need my management network to be on vlan 1005, si I have created interface bond0.1005 on the host and everything works
- I run hosted-engine deploy, and it always fails with
[ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 50, "changed": true, "cmd": "ip rule list | grep ovirtmgmt | sed s/\\\\[.*\\\\]\\ //g | awk '{ print $9 }'", "delta": "0:00:00.006473", "end": "2018-02-15 13:57:11.132359", "rc": 0, "start": "2018-02-15 13:57:11.125886", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
[ ERROR ] Failed to execute stage 'Closing up': Failed executing ansible-playbook
- Looking at the ansible playbook, I see it's trying to look for an ip rule using a custom routing table, but I have no such rule
[root@ovirt1 ~]# ip rule
0: from all lookup local
32766: from all lookup main
32767: from all lookup default
- I also find that I have no "ovirtmgmt" bridge
bridge name bridge id STP enabled interfaces
;vdsmdummy; 8000.000000000000 no
virbr0 8000.525400e6ca97 yes virbr0-nic
vnet0
- But I haven't found any reference in the ansible playbook to this network creation.
- The HE VM gets created and I can connect with SSH, so I tried to find out if the ovirtmgmt network is created via vdsm from the engine
- Looking at the engine.log I found this:
2018-02-15 13:49:26,850Z INFO [org.ovirt.engine.core.bll.host.HostConnectivityChecker] (EE-ManagedThreadFactory-engine-Thread-1) [15c7e33a] Engine managed to communicate wi
th VDSM agent on host 'ovirt1' with address 'ovirt1' ('06651b32-4ef8-4b5d-ab2d-c38e84c2d790')
2018-02-15 13:49:30,302Z ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-1) [15c7e33a] EVENT_ID: VLAN_ID_
MISMATCH_FOR_MANAGEMENT_NETWORK_CONFIGURATION(1,119), Failed to configure management network on host ovirt1. Host ovirt1 has an interface bond0.1005 for the management netwo
rk configuration with VLAN-ID (1005), which is different from data-center definition (none).
2018-02-15 13:49:30,302Z ERROR [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] (EE-ManagedThreadFactory-engine-Thread-1) [15c7e33a] Exception: org.ovirt.eng
ine.core.bll.network.NetworkConfigurator$NetworkConfiguratorException: Failed to configure management network
- So I guess that the engine tried to create the ovirtmgmt bridge on the host via vdsm, but it failed because "Host ovirt1 has an interface bond0.1005 for the management netwo
rk configuration with VLAN-ID (1005), which is different from data-center definition (none)"
- Of course I haven't had the opportunity to setup the management network's vlan in the datacenter yet, because I'm still trying to deploy the Hosted Engine
Is this a supported configuration? Is there a way I can tell the datacenter that the management network is on vlan 1005? Should I file a bug report?
Is there a workaround?
Salu2!
--
Miguel Armas
CanaryTek Consultoria y Sistemas SL
http://www.canarytek.com/
6 years, 10 months
hosted-engine 4.2.1-pre setup on a clean node..
by Thomas Davis
Is this supported?
I have a node, that centos 7.4 minimal is installed on, with an interface
setup for an IP address.
I've yum installed nothing else except the ovirt-4.2.1-pre rpm, run screen,
and then do the 'hosted-engine --deploy' command.
It hangs on:
[ INFO ] changed: [localhost]
[ INFO ] TASK [Get ovirtmgmt route table id]
[ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 50, "changed": true,
"cmd": "ip rule list | grep ovirtmgmt | sed s/\\\\[.*\\\\]\\ //g | awk '{
print $9 }'", "delta": "0:00:00.004845", "end": "2018-02-02
12:03:30.794860", "rc": 0, "start": "2018-02-02 12:03:30.790015", "stderr":
"", "stderr_lines": [], "stdout": "", "stdout_lines": []}
[ ERROR ] Failed to execute stage 'Closing up': Failed executing
ansible-playbook
[ INFO ] Stage: Clean up
[ INFO ] Cleaning temporary resources
[ INFO ] TASK [Gathering Facts]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Remove local vm dir]
[ INFO ] ok: [localhost]
[ INFO ] Generating answer file
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20180202120333.conf'
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
[ ERROR ] Hosted Engine deployment failed: please check the logs for the
issue, fix accordingly or re-deploy from scratch.
Log file is located at
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20180202115038-r11nh1.log
but the VM is up and running, just attached to the 192.168.122.0/24 subnet
[root@d8-r13-c2-n1 ~]# ssh root(a)192.168.122.37
root(a)192.168.122.37's password:
Last login: Fri Feb 2 11:54:47 2018 from 192.168.122.1
[root@ovirt ~]# systemctl status ovirt-engine
● ovirt-engine.service - oVirt Engine
Loaded: loaded (/usr/lib/systemd/system/ovirt-engine.service; enabled;
vendor preset: disabled)
Active: active (running) since Fri 2018-02-02 11:54:42 PST; 11min ago
Main PID: 24724 (ovirt-engine.py)
CGroup: /system.slice/ovirt-engine.service
├─24724 /usr/bin/python
/usr/share/ovirt-engine/services/ovirt-engine/ovirt-engine.py
--redirect-output --systemd=notify start
└─24856 ovirt-engine -server -XX:+TieredCompilation -Xms3971M
-Xmx3971M -Djava.awt.headless=true -Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000 -Djsse...
Feb 02 11:54:41 ovirt.crt.nersc.gov systemd[1]: Starting oVirt Engine...
Feb 02 11:54:41 ovirt.crt.nersc.gov ovirt-engine.py[24724]: 2018-02-02
11:54:41,767-0800 ovirt-engine: INFO _detectJBossVersion:187 Detecting
JBoss version. Running: /usr/lib/jvm/jre/...600000', '-
Feb 02 11:54:42 ovirt.crt.nersc.gov ovirt-engine.py[24724]: 2018-02-02
11:54:42,394-0800 ovirt-engine: INFO _detectJBossVersion:207 Return code:
0, | stdout: '[u'WildFly Full 11.0.0....tderr: '[]'
Feb 02 11:54:42 ovirt.crt.nersc.gov systemd[1]: Started oVirt Engine.
Feb 02 11:55:25 ovirt.crt.nersc.gov python2[25640]: ansible-stat Invoked
with checksum_algorithm=sha1 get_checksum=True follow=False
path=/usr/share/ovirt-engine/playbooks/roles/ovir...ributes=True
Feb 02 11:55:29 ovirt.crt.nersc.gov python2[25698]: ansible-stat Invoked
with checksum_algorithm=sha1 get_checksum=True follow=False
path=/usr/share/ovirt-engine/playbooks/roles/ovir...ributes=True
Feb 02 11:55:30 ovirt.crt.nersc.gov python2[25741]: ansible-stat Invoked
with checksum_algorithm=sha1 get_checksum=True follow=False
path=/usr/share/ovirt-engine/playbooks/roles/ovir...ributes=True
Feb 02 11:55:30 ovirt.crt.nersc.gov python2[25767]: ansible-stat Invoked
with checksum_algorithm=sha1 get_checksum=True follow=False
path=/usr/share/ovirt-engine/playbooks/roles/ovir...ributes=True
Feb 02 11:55:31 ovirt.crt.nersc.gov python2[25795]: ansible-stat Invoked
with checksum_algorithm=sha1 get_checksum=True follow=False
path=/etc/ovirt-engine-metrics/config.yml get_md5...ributes=True
The 'ip rule list' never has an ovirtmgmt rule/table in it.. which means
the ansible script loops then dies; vdsmd has never configured the network
on the node.
[root@d8-r13-c2-n1 ~]# systemctl status vdsmd -l
● vdsmd.service - Virtual Desktop Server Manager
Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; vendor
preset: enabled)
Active: active (running) since Fri 2018-02-02 11:55:11 PST; 14min ago
Main PID: 7654 (vdsmd)
CGroup: /system.slice/vdsmd.service
└─7654 /usr/bin/python2 /usr/share/vdsm/vdsmd
Feb 02 11:55:11 d8-r13-c2-n1 vdsmd_init_common.sh[7551]: vdsm: Running
dummybr
Feb 02 11:55:11 d8-r13-c2-n1 vdsmd_init_common.sh[7551]: vdsm: Running
tune_system
Feb 02 11:55:11 d8-r13-c2-n1 vdsmd_init_common.sh[7551]: vdsm: Running
test_space
Feb 02 11:55:11 d8-r13-c2-n1 vdsmd_init_common.sh[7551]: vdsm: Running
test_lo
Feb 02 11:55:11 d8-r13-c2-n1 systemd[1]: Started Virtual Desktop Server
Manager.
Feb 02 11:55:12 d8-r13-c2-n1 vdsm[7654]: WARN File:
/var/run/vdsm/trackedInterfaces/vnet0 already removed
Feb 02 11:55:12 d8-r13-c2-n1 vdsm[7654]: WARN Not ready yet, ignoring event
'|virt|VM_status|ba56a114-efb0-45e0-b2ad-808805ae93e0'
args={'ba56a114-efb0-45e0-b2ad-808805ae93e0': {'status': 'Powering up',
'displayInfo': [{'tlsPort': '-1', 'ipAddress': '127.0.0.1', 'type': 'vnc',
'port': '5900'}], 'hash': '5328187475809024041', 'cpuUser': '0.00',
'monitorResponse': '0', 'elapsedTime': '0', 'cpuSys': '0.00', 'vcpuPeriod':
100000L, 'timeOffset': '0', 'clientIp': '', 'pauseCode': 'NOERR',
'vcpuQuota': '-1'}}
Feb 02 11:55:13 d8-r13-c2-n1 vdsm[7654]: WARN MOM not available.
Feb 02 11:55:13 d8-r13-c2-n1 vdsm[7654]: WARN MOM not available, KSM stats
will be missing.
Feb 02 11:55:17 d8-r13-c2-n1 vdsm[7654]: WARN ping was deprecated in favor
of ping2 and confirmConnectivity
Do I need to install a complete ovirt-engine on the node first, bring the
node into ovirt, then bring up hosted-engine? I'd like to avoid this and
just go straight to hosted-engine setup.
thomas
6 years, 10 months
issue on engine deployment on oVirt node
by Vincent Kwiatkowski
Hi Folks,
I tried a few time to configure a simple oVirt engine on oVirt node.
After the fresh install of the node, I connect cockpit and launch the
engine setup, then at the end I have the message that I need to connect to
the VM with "hosted-engine --console" or via VNC.
Via VNC, I can't do nothing, have no prompt
using the --console, I have the error:
:internal error: character device console0 is not using a PTY
What can I do to continue the setup?
Thx a lot in advance
--
Vincent Kwiatkowski | Production System Engineer |ULLINK | D: + 33 1
44 50 25 45 | T: +1 49 95 30 00
| 23/25 rue de Provence | 75009, Paris | vk(a)ullink.com
Please consider the environment before printing this email
--
*The information contained in or attached to this email is strictly
confidential. If you are not the intended recipient, please notify us
immediately by telephone and return the message to us.*
6 years, 10 months
Re: [ovirt-users] Manageiq ovn
by Alona Kaplan
On Thu, Feb 15, 2018 at 4:03 PM, Aliaksei Nazarenka <
aliaksei.nazarenka(a)gmail.com> wrote:
> and how i can change network in the created VM?
>
It is not possible via manageiq. Only via ovirt.
>
> Sorry for my intrusive questions)))
>
> 2018-02-15 16:51 GMT+03:00 Aliaksei Nazarenka <
> aliaksei.nazarenka(a)gmail.com>:
>
>> ovirt-provider-ovn-1.2.7-0.20180213232754.gitebd60ad.el7.centos.noarch
>> on hosted-engine
>> ovirt-provider-ovn-driver-1.2.5-1.el7.centos.noarch on ovirt hosts
>>
>> 2018-02-15 16:40 GMT+03:00 Alona Kaplan <alkaplan(a)redhat.com>:
>>
>>>
>>>
>>> On Thu, Feb 15, 2018 at 3:36 PM, Aliaksei Nazarenka <
>>> aliaksei.nazarenka(a)gmail.com> wrote:
>>>
>>>> when i try to create network router, i see this message: *Unable to
>>>> create Network Router "test_router": undefined method `[]' for nil:NilClass*
>>>>
>>>
>>> What ovn-provider version you're using? Can you please attach the ovn
>>> provider log ( /var/log/ovirt-provider-ovn.log)?
>>>
>>>
>>>>
>>>> 2018-02-15 16:20 GMT+03:00 Aliaksei Nazarenka <
>>>> aliaksei.nazarenka(a)gmail.com>:
>>>>
>>>>> Big Thank you! This work! But... Networks are created, but I do not
>>>>> see them in the ovirt manager, but through the ovn-nbctl command, I see all
>>>>> the networks. And maybe you can tell me how to assign a VM network from
>>>>> Manageiq?
>>>>>
>>>>> 2018-02-15 15:01 GMT+03:00 Alona Kaplan <alkaplan(a)redhat.com>:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Thu, Feb 15, 2018 at 1:54 PM, Aliaksei Nazarenka <
>>>>>> aliaksei.nazarenka(a)gmail.com> wrote:
>>>>>>
>>>>>>> Error - 1 Minute Ago
>>>>>>> undefined method `orchestration_stacks' for
>>>>>>> #<ManageIQ::Providers::Redhat::InfraManager:0x00000007bf9288> - I
>>>>>>> get this message if I try to create a network of overts and then try to
>>>>>>> check the status of the network manager.
>>>>>>>
>>>>>>
>>>>>> It is the same bug.
>>>>>> You need to apply the fixes in https://github.com/ManageIQ/ma
>>>>>> nageiq-providers-ovirt/pull/198/files to make it work.
>>>>>> The best option is to upgrade your version.
>>>>>>
>>>>>>
>>>>>>> 2018-02-15 14:28 GMT+03:00 Aliaksei Nazarenka <
>>>>>>> aliaksei.nazarenka(a)gmail.com>:
>>>>>>>
>>>>>>>> I tried to make changes to the file refresher_ovn_provider.yml -
>>>>>>>> changed the passwords, corrected the names of the names, but it was not
>>>>>>>> successful.
>>>>>>>>
>>>>>>>> 2018-02-15 14:26 GMT+03:00 Aliaksei Nazarenka <
>>>>>>>> aliaksei.nazarenka(a)gmail.com>:
>>>>>>>>
>>>>>>>>> Hi!
>>>>>>>>> I'm use oVirt 4.2.2 + Manageiq gaprindashvili-1.2018012514301
>>>>>>>>> 9_1450f27
>>>>>>>>> After i set this commits (upstream - https://bugzilla.redhat.com/
>>>>>>>>> 1542063) i no saw changes.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 2018-02-15 11:22 GMT+03:00 Alona Kaplan <alkaplan(a)redhat.com>:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> What version of manageiq you are using?
>>>>>>>>>> We had a bug https://bugzilla.redhat.com/1542152 (upstream -
>>>>>>>>>> https://bugzilla.redhat.com/1542063) that was fixed in version
>>>>>>>>>> 5.9.0.20
>>>>>>>>>>
>>>>>>>>>> Please let me know it upgrading the version helped you.
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>> Alona.
>>>>>>>>>>
>>>>>>>>>> On Wed, Feb 14, 2018 at 2:32 PM, Aliaksei Nazarenka <
>>>>>>>>>> aliaksei.nazarenka(a)gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Good afternoon!
>>>>>>>>>>> I read your article - https://www.ovirt.org/develop/
>>>>>>>>>>> release-management/features/network/manageiq_ovn/. I have only
>>>>>>>>>>> one question: how to create a network or subnet in Manageiq + ovirt 4.2.1.
>>>>>>>>>>> When I try to create a network, I need to select a tenant, but there is
>>>>>>>>>>> nothing that I could choose. How can it be?
>>>>>>>>>>>
>>>>>>>>>>> Sincerely. Alexey Nazarenko
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
6 years, 10 months
Re: [ovirt-users] Manageiq ovn
by Alona Kaplan
On Thu, Feb 15, 2018 at 3:36 PM, Aliaksei Nazarenka <
aliaksei.nazarenka(a)gmail.com> wrote:
> when i try to create network router, i see this message: *Unable to
> create Network Router "test_router": undefined method `[]' for nil:NilClass*
>
What ovn-provider version you're using? Can you please attach the ovn
provider log ( /var/log/ovirt-provider-ovn.log)?
>
> 2018-02-15 16:20 GMT+03:00 Aliaksei Nazarenka <
> aliaksei.nazarenka(a)gmail.com>:
>
>> Big Thank you! This work! But... Networks are created, but I do not see
>> them in the ovirt manager, but through the ovn-nbctl command, I see all the
>> networks. And maybe you can tell me how to assign a VM network from
>> Manageiq?
>>
>> 2018-02-15 15:01 GMT+03:00 Alona Kaplan <alkaplan(a)redhat.com>:
>>
>>>
>>>
>>> On Thu, Feb 15, 2018 at 1:54 PM, Aliaksei Nazarenka <
>>> aliaksei.nazarenka(a)gmail.com> wrote:
>>>
>>>> Error - 1 Minute Ago
>>>> undefined method `orchestration_stacks' for
>>>> #<ManageIQ::Providers::Redhat::InfraManager:0x00000007bf9288> - I get
>>>> this message if I try to create a network of overts and then try to check
>>>> the status of the network manager.
>>>>
>>>
>>> It is the same bug.
>>> You need to apply the fixes in https://github.com/ManageIQ/ma
>>> nageiq-providers-ovirt/pull/198/files to make it work.
>>> The best option is to upgrade your version.
>>>
>>>
>>>> 2018-02-15 14:28 GMT+03:00 Aliaksei Nazarenka <
>>>> aliaksei.nazarenka(a)gmail.com>:
>>>>
>>>>> I tried to make changes to the file refresher_ovn_provider.yml -
>>>>> changed the passwords, corrected the names of the names, but it was not
>>>>> successful.
>>>>>
>>>>> 2018-02-15 14:26 GMT+03:00 Aliaksei Nazarenka <
>>>>> aliaksei.nazarenka(a)gmail.com>:
>>>>>
>>>>>> Hi!
>>>>>> I'm use oVirt 4.2.2 + Manageiq gaprindashvili-1.2018012514301
>>>>>> 9_1450f27
>>>>>> After i set this commits (upstream - https://bugzilla.redhat.com/
>>>>>> 1542063) i no saw changes.
>>>>>>
>>>>>>
>>>>>> 2018-02-15 11:22 GMT+03:00 Alona Kaplan <alkaplan(a)redhat.com>:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> What version of manageiq you are using?
>>>>>>> We had a bug https://bugzilla.redhat.com/1542152 (upstream -
>>>>>>> https://bugzilla.redhat.com/1542063) that was fixed in version
>>>>>>> 5.9.0.20
>>>>>>>
>>>>>>> Please let me know it upgrading the version helped you.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Alona.
>>>>>>>
>>>>>>> On Wed, Feb 14, 2018 at 2:32 PM, Aliaksei Nazarenka <
>>>>>>> aliaksei.nazarenka(a)gmail.com> wrote:
>>>>>>>
>>>>>>>> Good afternoon!
>>>>>>>> I read your article - https://www.ovirt.org/develop/
>>>>>>>> release-management/features/network/manageiq_ovn/. I have only one
>>>>>>>> question: how to create a network or subnet in Manageiq + ovirt 4.2.1. When
>>>>>>>> I try to create a network, I need to select a tenant, but there is nothing
>>>>>>>> that I could choose. How can it be?
>>>>>>>>
>>>>>>>> Sincerely. Alexey Nazarenko
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
6 years, 10 months
Re: [ovirt-users] Manageiq ovn
by Alona Kaplan
Hi Alexey,
Please reply to the users list so all the user may enjoy the information.
Automatic sync of ovn networks to ovirt was added on version
ovirt-engine-4.2.1.3 (https://bugzilla.redhat.com/1511823).
If you use lower version you should import the network to ovirt manually
(networks tab -> import button).
Once the ovn network is imported to ovirt a vnic profile is automatically
created to it.
In manageiq, you can assign this profile to a vm you provision (provision
vm -> network tab -> vlan field).
Alona.
On Thu, Feb 15, 2018 at 3:20 PM, Aliaksei Nazarenka <
aliaksei.nazarenka(a)gmail.com> wrote:
> Big Thank you! This work! But... Networks are created, but I do not see
> them in the ovirt manager, but through the ovn-nbctl command, I see all the
> networks. And maybe you can tell me how to assign a VM network from
> Manageiq?
>
> 2018-02-15 15:01 GMT+03:00 Alona Kaplan <alkaplan(a)redhat.com>:
>
>>
>>
>> On Thu, Feb 15, 2018 at 1:54 PM, Aliaksei Nazarenka <
>> aliaksei.nazarenka(a)gmail.com> wrote:
>>
>>> Error - 1 Minute Ago
>>> undefined method `orchestration_stacks' for
>>> #<ManageIQ::Providers::Redhat::InfraManager:0x00000007bf9288> - I get
>>> this message if I try to create a network of overts and then try to check
>>> the status of the network manager.
>>>
>>
>> It is the same bug.
>> You need to apply the fixes in https://github.com/ManageIQ/ma
>> nageiq-providers-ovirt/pull/198/files to make it work.
>> The best option is to upgrade your version.
>>
>>
>>> 2018-02-15 14:28 GMT+03:00 Aliaksei Nazarenka <
>>> aliaksei.nazarenka(a)gmail.com>:
>>>
>>>> I tried to make changes to the file refresher_ovn_provider.yml -
>>>> changed the passwords, corrected the names of the names, but it was not
>>>> successful.
>>>>
>>>> 2018-02-15 14:26 GMT+03:00 Aliaksei Nazarenka <
>>>> aliaksei.nazarenka(a)gmail.com>:
>>>>
>>>>> Hi!
>>>>> I'm use oVirt 4.2.2 + Manageiq gaprindashvili-1.2018012514301
>>>>> 9_1450f27
>>>>> After i set this commits (upstream - https://bugzilla.redhat.com/
>>>>> 1542063) i no saw changes.
>>>>>
>>>>>
>>>>> 2018-02-15 11:22 GMT+03:00 Alona Kaplan <alkaplan(a)redhat.com>:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> What version of manageiq you are using?
>>>>>> We had a bug https://bugzilla.redhat.com/1542152 (upstream -
>>>>>> https://bugzilla.redhat.com/1542063) that was fixed in version
>>>>>> 5.9.0.20
>>>>>>
>>>>>> Please let me know it upgrading the version helped you.
>>>>>>
>>>>>> Thanks,
>>>>>> Alona.
>>>>>>
>>>>>> On Wed, Feb 14, 2018 at 2:32 PM, Aliaksei Nazarenka <
>>>>>> aliaksei.nazarenka(a)gmail.com> wrote:
>>>>>>
>>>>>>> Good afternoon!
>>>>>>> I read your article - https://www.ovirt.org/develop/
>>>>>>> release-management/features/network/manageiq_ovn/. I have only one
>>>>>>> question: how to create a network or subnet in Manageiq + ovirt 4.2.1. When
>>>>>>> I try to create a network, I need to select a tenant, but there is nothing
>>>>>>> that I could choose. How can it be?
>>>>>>>
>>>>>>> Sincerely. Alexey Nazarenko
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
6 years, 10 months
Re: [ovirt-users] Manageiq ovn
by Alona Kaplan
On Thu, Feb 15, 2018 at 1:54 PM, Aliaksei Nazarenka <
aliaksei.nazarenka(a)gmail.com> wrote:
> Error - 1 Minute Ago
> undefined method `orchestration_stacks' for #<ManageIQ::Providers::Redhat:
> :InfraManager:0x00000007bf9288> - I get this message if I try to create a
> network of overts and then try to check the status of the network manager.
>
It is the same bug.
You need to apply the fixes in
https://github.com/ManageIQ/manageiq-providers-ovirt/pull/198/files to make
it work.
The best option is to upgrade your version.
> 2018-02-15 14:28 GMT+03:00 Aliaksei Nazarenka <
> aliaksei.nazarenka(a)gmail.com>:
>
>> I tried to make changes to the file refresher_ovn_provider.yml - changed
>> the passwords, corrected the names of the names, but it was not successful.
>>
>> 2018-02-15 14:26 GMT+03:00 Aliaksei Nazarenka <
>> aliaksei.nazarenka(a)gmail.com>:
>>
>>> Hi!
>>> I'm use oVirt 4.2.2 + Manageiq gaprindashvili-1.20180125143019_1450f27
>>> After i set this commits (upstream - https://bugzilla.redhat.com/
>>> 1542063) i no saw changes.
>>>
>>>
>>> 2018-02-15 11:22 GMT+03:00 Alona Kaplan <alkaplan(a)redhat.com>:
>>>
>>>> Hi,
>>>>
>>>> What version of manageiq you are using?
>>>> We had a bug https://bugzilla.redhat.com/1542152 (upstream -
>>>> https://bugzilla.redhat.com/1542063) that was fixed in version 5.9.0.20
>>>>
>>>> Please let me know it upgrading the version helped you.
>>>>
>>>> Thanks,
>>>> Alona.
>>>>
>>>> On Wed, Feb 14, 2018 at 2:32 PM, Aliaksei Nazarenka <
>>>> aliaksei.nazarenka(a)gmail.com> wrote:
>>>>
>>>>> Good afternoon!
>>>>> I read your article - https://www.ovirt.org/develop/
>>>>> release-management/features/network/manageiq_ovn/. I have only one
>>>>> question: how to create a network or subnet in Manageiq + ovirt 4.2.1. When
>>>>> I try to create a network, I need to select a tenant, but there is nothing
>>>>> that I could choose. How can it be?
>>>>>
>>>>> Sincerely. Alexey Nazarenko
>>>>>
>>>>
>>>>
>>>
>>
>
6 years, 10 months
hosted engine install fails on useless DHCP lookup
by Jamie Lawrence
Hello,
I'm seeing the hosted engine install fail on an Ansible playbook step. Log below. I tried looking at the file specified for retry, below (/usr/share/ovirt-hosted-engine-setup/ansible/bootstrap_local_vm.retry); it contains the word, 'localhost'.
The log below didn't contain anything I could see that was actionable; given that it was an ansible error, I hunted down the config and enabled logging. On this run the error was different - the installer log was the same, but the reported error (from the installer changed).
The first time, the installer said:
[ INFO ] TASK [Wait for the host to become non operational]
[ ERROR ] fatal: [localhost]: FAILED! => {"ansible_facts": {"ovirt_hosts": []}, "attempts": 150, "changed": false}
[ ERROR ] Failed to execute stage 'Closing up': Failed executing ansible-playbook
[ INFO ] Stage: Clean up
Second:
[ INFO ] TASK [Get local vm ip]
[ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 50, "changed": true, "cmd": "virsh -r net-dhcp-leases default | grep -i 00:16:3e:11:e7:bd | awk '{ print $5 }' | cut -f1 -d'/'", "delta": "0:00:00.093840", "end": "2018-02-13 16:53:08.658556", "rc": 0, "start": "2018-02-13 16:53:08.564716", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
[ ERROR ] Failed to execute stage 'Closing up': Failed executing ansible-playbook
[ INFO ] Stage: Clean up
Ansible log below; as with that second snippet, it appears that it was trying to parse out a host name from virsh's list of DHCP leases, couldn't, and died.
Which makes sense: I gave it a static IP, and unless I'm missing something, setup should not have been doing that. I verified that the answer file has the IP:
OVEHOSTED_VM/cloudinitVMStaticCIDR=str:10.181.26.150/24
Anyone see what is wrong here?
-j
hosted-engine --deploy log:
2018-02-13 16:20:32,138-0800 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:100 TASK [Force host-deploy in offline mode]
2018-02-13 16:20:33,041-0800 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:100 changed: [localhost]
2018-02-13 16:20:33,342-0800 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:100 TASK [include_tasks]
2018-02-13 16:20:33,443-0800 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:100 ok: [localhost]
2018-02-13 16:20:33,744-0800 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:100 TASK [Obtain SSO token using username/password credentials]
2018-02-13 16:20:35,248-0800 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:100 ok: [localhost]
2018-02-13 16:20:35,550-0800 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:100 TASK [Add host]
2018-02-13 16:20:37,053-0800 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:100 changed: [localhost]
2018-02-13 16:20:37,355-0800 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:100 TASK [Wait for the host to become non operational]
2018-02-13 16:27:48,895-0800 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:94 {u'_ansible_parsed': True, u'_ansible_no_log': False, u'changed': False, u'attempts': 150, u'invocation': {u'module_args': {u'pattern': u'name=ovirt-1.squaretrade.com', u'fetch_nested': False, u'nested_attributes': []}}, u'ansible_facts': {u'ovirt_hosts': []}}
2018-02-13 16:27:48,995-0800 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:98 fatal: [localhost]: FAILED! => {"ansible_facts": {"ovirt_hosts": []}, "attempts": 150, "changed": false}
2018-02-13 16:27:49,297-0800 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:94 PLAY RECAP [localhost] : ok: 42 changed: 17 unreachable: 0 skipped: 2 failed: 1
2018-02-13 16:27:49,397-0800 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:94 PLAY RECAP [ovirt-engine-1.squaretrade.com] : ok: 15 changed: 8 unreachable: 0 skipped: 4 failed: 0
2018-02-13 16:27:49,498-0800 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:180 ansible-playbook rc: 2
2018-02-13 16:27:49,498-0800 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:187 ansible-playbook stdout:
2018-02-13 16:27:49,499-0800 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:189 to retry, use: --limit @/usr/share/ovirt-hosted-engine-setup/ansible/bootstrap_local_vm.retry
2018-02-13 16:27:49,499-0800 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:190 ansible-playbook stderr:
2018-02-13 16:27:49,500-0800 DEBUG otopi.context context._executeMethod:143 method exception
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/otopi/context.py", line 133, in _executeMethod
method['method']()
File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-ansiblesetup/core/misc.py", line 186, in _closeup
r = ah.run()
File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/ansible_utils.py", line 194, in run
raise RuntimeError(_('Failed executing ansible-playbook'))
RuntimeError: Failed executing ansible-playbook
2018-02-13 16:27:49,512-0800 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Closing up': Failed executing ansible-playbook
2018-02-13 16:27:49,513-0800 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN
- - - - - -
ansible log snip:
2018-02-13 16:52:47,548 ovirt-hosted-engine-setup-ansible ansible on_any args (<ansible.executor.task_result.TaskResult object at 0x7f00dc19f850>,) kwargs {}
2018-02-13 16:52:58,124 ovirt-hosted-engine-setup-ansible ansible on_any args (<ansible.executor.task_result.TaskResult object at 0x2a09310>,) kwargs {}
2018-02-13 16:53:08,954 ovirt-hosted-engine-setup-ansible var changed: host "localhost" var "local_vm_ip" type "<type 'dict'>" value: "{'stderr_lines': [], u'changed': True, u'end': u'2018-02-13 16:53:08.658556', u'stdout': u'', u'cmd': u"virsh -r net-dhcp-leases default | grep -i 00:16:3e:11:e7:bd | awk '{ print $5 }' | cut -f1 -d'/'", u'rc': 0, u'start': u'2018-02-13 16:53:08.564716', 'attempts': 50, u'stderr': u'', u'delta': u'0:00:00.093840', 'stdout_lines': [], 'failed': True}"
6 years, 10 months