Re: [ovirt-devel] [OST][HC] HE fails to deploy

2018-04-06 Thread Sahina Bose
On Fri, Apr 6, 2018 at 1:10 PM, Simone Tiraboschi 
wrote:

>
>
> On Fri, Apr 6, 2018 at 9:28 AM, Sahina Bose  wrote:
>
>> 2018-04-05 20:46:52,773-0400 INFO 
>> otopi.ovirt_hosted_engine_setup.ansible_utils 
>> ansible_utils._process_output:100 TASK [Get local VM IP]
>> 2018-04-05 20:55:28,217-0400 DEBUG 
>> otopi.ovirt_hosted_engine_setup.ansible_utils 
>> ansible_utils._process_output:94 {u'_ansible_parsed': True, u'stderr_lines': 
>> [], u'cmd': u"virsh -r net-dhcp-leases default | grep -i 00:16:3e:24:d3:63 | 
>> awk '{ print $5 }' | cut -f1 -d'/'", u'end': u'2018-04-05 20:55:28.046320', 
>> u'_ansible_no_log': False, u'stdout': u'', u'changed': True, u'invocation': 
>> {u'module_args': {u'warn': True, u'executable': None, u'_uses_shell': True, 
>> u'_raw_params': u"virsh -r net-dhcp-leases default | grep -i 
>> 00:16:3e:24:d3:63 | awk '{ print $5 }' | cut -f1 -d'/'", u'removes': None, 
>> u'creates': None, u'chdir': None, u'stdin': None}}, u'start': u'2018-04-05 
>> 20:55:28.000470', u'attempts': 50, u'stderr': u'', u'rc': 0, u'delta': 
>> u'0:00:00.045850', u'stdout_lines': []}
>> 2018-04-05 20:55:28,318-0400 ERROR 
>> otopi.ovirt_hosted_engine_setup.ansible_utils 
>> ansible_utils._process_output:98 fatal: [localhost]: FAILED! => {"attempts": 
>> 50, "changed": true, "cmd": "virsh -r net-dhcp-leases default | grep -i 
>> 00:16:3e:24:d3:63 | awk '{ print $5 }' | cut -f1 -d'/'", "delta": 
>> "0:00:00.045850", "end": "2018-04-05 20:55:28.046320", "rc": 0, "start": 
>> "2018-04-05 20:55:28.000470", "stderr": "", "stderr_lines": [], "stdout": 
>> "", "stdout_lines": []}
>>
>> Both the 4.2 and master suites are failing on getting local VM IP.
>> Any idea what changed or if I have to change the test?
>>
>> thanks!
>>
>
> Hi Sahina,
> 4.2 and master suite non HC are correctly running this morning.
> http://jenkins.ovirt.org/view/oVirt%20system%20tests/job/
> ovirt-system-tests_he-basic-ansible-suite-master/146/
> http://jenkins.ovirt.org/view/oVirt%20system%20tests/job/
> ovirt-system-tests_he-basic-ansible-suite-4.2/76/
>
> I'll try to check the difference with HC suites.
>
> Are you using more than one subnet in the HC suites?
>

No, I'm not. And we havent's changed anything related to network in the
test suite.
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

Re: [ovirt-devel] [ OST Failure Report ] [ oVirt 4.2 ] [ 2018-04-04 ] [006_migrations.prepare_migration_attachments_ipv6]

2018-04-06 Thread Dan Kenigsberg
No, I am afraid that we have not managed to understand why setting and
ipv6 address too the host off the grid. We shall continue researching
this next week.

Edy, https://gerrit.ovirt.org/#/c/88637/ is already 4 weeks old, but
could it possibly be related (I really doubt that)?

On Fri, Apr 6, 2018 at 2:20 PM, Dafna Ron  wrote:
> Dan, was there a fix for the issues?
> can I have a link to the fix if there was?
>
> Thanks,
> Dafna
>
>
> On Wed, Apr 4, 2018 at 5:01 PM, Gal Ben Haim  wrote:
>>
>> From lago's log, I see that lago collected the logs from the VMs using ssh
>> (after the test failed), which means
>> that the VM didn't crash.
>>
>> On Wed, Apr 4, 2018 at 5:27 PM, Dan Kenigsberg  wrote:
>>>
>>> On Wed, Apr 4, 2018 at 4:59 PM, Barak Korren  wrote:
>>> > Test failed: [ 006_migrations.prepare_migration_attachments_ipv6 ]
>>> >
>>> > Link to suspected patches:
>>> > (Probably unrelated)
>>> > https://gerrit.ovirt.org/#/c/89812/1 (ovirt-engine-sdk) - examples:
>>> > export template to an export domain
>>> >
>>> > This seems to happen multiple times sporadically, I thought this would
>>> > be solved by
>>> > https://gerrit.ovirt.org/#/c/89781/ but it isn't.
>>>
>>> right, it is a completely unrelated issue there (with external networks).
>>> here, however, the host dies while setting setupNetworks of an ipv6
>>> address. Setup network waits for Engine's confirmation at 08:33:00,711
>>>
>>> http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/1537/artifact/exported-artifacts/basic-suit-4.2-el7/test_logs/basic-suite-4.2/post-006_migrations.py/lago-basic-suite-4-2-host-0/_var_log/vdsm/supervdsm.log
>>> but kernel messages stop at 08:33:23
>>>
>>> http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/1537/artifact/exported-artifacts/basic-suit-4.2-el7/test_logs/basic-suite-4.2/post-006_migrations.py/lago-basic-suite-4-2-host-0/_var_log/messages/*view*/
>>>
>>> Does the lago VM of this host crash? pause?
>>>
>>>
>>> >
>>> > Link to Job:
>>> > http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/1537/
>>> >
>>> > Link to all logs:
>>> >
>>> > http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/1537/artifact/exported-artifacts/basic-suit-4.2-el7/test_logs/basic-suite-4.2/post-006_migrations.py/
>>> >
>>> > Error snippet from log:
>>> >
>>> > 
>>> >
>>> > Traceback (most recent call last):
>>> >   File "/usr/lib64/python2.7/unittest/case.py", line 369, in run
>>> > testMethod()
>>> >   File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in
>>> > runTest
>>> > self.test(*self.arg)
>>> >   File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line
>>> > 129, in wrapped_test
>>> > test()
>>> >   File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line
>>> > 59, in wrapper
>>> > return func(get_test_prefix(), *args, **kwargs)
>>> >   File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line
>>> > 78, in wrapper
>>> > prefix.virt_env.engine_vm().get_api(api_ver=4), *args, **kwargs
>>> >   File
>>> > "/home/jenkins/workspace/ovirt-4.2_change-queue-tester/ovirt-system-tests/basic-suite-4.2/test-scenarios/006_migrations.py",
>>> > line 139, in prepare_migration_attachments_ipv6
>>> > engine, host_service, MIGRATION_NETWORK, ip_configuration)
>>> >   File
>>> > "/home/jenkins/workspace/ovirt-4.2_change-queue-tester/ovirt-system-tests/basic-suite-4.2/test_utils/network_utils_v4.py",
>>> > line 71, in modify_ip_config
>>> > check_connectivity=True)
>>> >   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/services.py",
>>> > line 36729, in setup_networks
>>> > return self._internal_action(action, 'setupnetworks', None,
>>> > headers, query, wait)
>>> >   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line
>>> > 299, in _internal_action
>>> > return future.wait() if wait else future
>>> >   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line
>>> > 55, in wait
>>> > return self._code(response)
>>> >   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line
>>> > 296, in callback
>>> > self._check_fault(response)
>>> >   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line
>>> > 132, in _check_fault
>>> > self._raise_error(response, body)
>>> >   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line
>>> > 118, in _raise_error
>>> > raise error
>>> > Error: Fault reason is "Operation Failed". Fault detail is "[Network
>>> > error during communication with the Host.]". HTTP response code is
>>> > 400.
>>> >
>>> >
>>> >
>>> > 
>>> >
>>> >
>>> >
>>> > --
>>> > Barak Korren
>>> > RHV DevOps team , RHCE, RHCi
>>> > Red Hat EMEA
>>> > redhat.com | TRIED. TESTED. TRUSTED. | redhat.com/trusted
>>> > ___
>>> > Devel mailing list
>>> > Devel@ovirt.org
>>> > http://lists.ovirt.org/mailman/listinfo/devel
>>> >
>>> >
>>> ___
>>> Devel mailing list
>>> Devel@ovirt

Re: [ovirt-devel] [ OST Failure Report ] [ oVirt Master (ovirt-engine) ] [ 06-04-2018 ] [ 006_migrations.migrate_vm ]

2018-04-06 Thread Martin Perina
On Fri, Apr 6, 2018 at 6:07 PM, Martin Perina  wrote:

> Adding Ravi
>
> On Fri, Apr 6, 2018 at 2:20 PM, Dafna Ron  wrote:
>
>> hi,
>>
>> 006_migrations.migrate_vm failure points to the below patch. There seems
>> to be an issue to migrate vms but I am not sure its related to this patch.
>>
>> can you please check?
>>
>>
>> *Link and headline of suspected patches: aaa: can't switch user when
>> accessing the engine with an active kerberos ticket -
>> https://gerrit.ovirt.org/#/c/89872/ *
>>
>
The issue is definitely not related to above patch, according to logs
admin@internal user were successfully logged into engine and performed
several tasks​

​like adding hosts.
Adding Michal as the issue is around VM migrations
​

>
>> *Link to Job:*
>>
>> * http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/6704/
>> Link
>> to all logs:* http://jenkins.ovirt.org/job/o
>> virt-master_change-queue-tester/6704/artifact/exported-artif
>> acts/basic-suit-master-el7/test_logs/basic-suite-master/
>> post-006_migrations.py/
>> 
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *(Relevant) error snippet from the log: 2018-04-06
>> 04:07:56,517-0400 ERROR (qgapoller/2) [Executor] Unhandled exception in
>> > vm=aad106a1-9043-4661-bb9b-9894f66b506b at 0x7fc4681a2590> timeout=10,
>> duration=0.00 at 0x7fc4541193d0> (executor:317)Traceback (most recent call
>> last):  File "/usr/lib/python2.7/site-packages/vdsm/executor.py", line 315,
>> in _execute_tasktask()  File
>> "/usr/lib/python2.7/site-packages/vdsm/executor.py", line 391, in
>> __call__self._callable()  File
>> "/usr/lib/python2.7/site-packages/vdsm/virt/periodic.py", line 314, in
>> __call__self._execute()  File
>> "/usr/lib/python2.7/site-packages/vdsm/virt/qemuguestagent.py", line 388,
>> in _executefor ifname, ifparams in six.iteritems(interfaces):  File
>> "/usr/lib/python2.7/site-packages/six.py", line 599, in iteritemsreturn
>> d.iteritems(**kw)AttributeError: 'list' object has no attribute 
>> 'iteritems'*2018-04-06
>> 04:23:10,165-0400 ERROR (migsrc/aad106a1) [virt.vm]
>> (vmId='aad106a1-9043-4661-bb9b-9894f66b506b') migration destination
>> error: Virtual machine already exists (migration:290)
>>
>>
>> **
>>
>
>
>
> --
> Martin Perina
> Associate Manager, Software Engineering
> Red Hat Czech s.r.o.
>



-- 
Martin Perina
Associate Manager, Software Engineering
Red Hat Czech s.r.o.
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

Re: [ovirt-devel] [ OST Failure Report ] [ oVirt Master (ovirt-engine) ] [ 06-04-2018 ] [ 006_migrations.migrate_vm ]

2018-04-06 Thread Martin Perina
Adding Ravi

On Fri, Apr 6, 2018 at 2:20 PM, Dafna Ron  wrote:

> hi,
>
> 006_migrations.migrate_vm failure points to the below patch. There seems
> to be an issue to migrate vms but I am not sure its related to this patch.
>
> can you please check?
>
>
>
> *Link and headline of suspected patches: aaa: can't switch user when
> accessing the engine with an active kerberos ticket -
> https://gerrit.ovirt.org/#/c/89872/
> Link to Job:*
>
> * http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/6704/
> Link
> to all logs:* http://jenkins.ovirt.org/job/ovirt-master_change-queue-
> tester/6704/artifact/exported-artifacts/basic-suit-master-
> el7/test_logs/basic-suite-master/post-006_migrations.py/
> 
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *(Relevant) error snippet from the log: 2018-04-06
> 04:07:56,517-0400 ERROR (qgapoller/2) [Executor] Unhandled exception in
>  vm=aad106a1-9043-4661-bb9b-9894f66b506b at 0x7fc4681a2590> timeout=10,
> duration=0.00 at 0x7fc4541193d0> (executor:317)Traceback (most recent call
> last):  File "/usr/lib/python2.7/site-packages/vdsm/executor.py", line 315,
> in _execute_tasktask()  File
> "/usr/lib/python2.7/site-packages/vdsm/executor.py", line 391, in
> __call__self._callable()  File
> "/usr/lib/python2.7/site-packages/vdsm/virt/periodic.py", line 314, in
> __call__self._execute()  File
> "/usr/lib/python2.7/site-packages/vdsm/virt/qemuguestagent.py", line 388,
> in _executefor ifname, ifparams in six.iteritems(interfaces):  File
> "/usr/lib/python2.7/site-packages/six.py", line 599, in iteritemsreturn
> d.iteritems(**kw)AttributeError: 'list' object has no attribute 
> 'iteritems'*2018-04-06
> 04:23:10,165-0400 ERROR (migsrc/aad106a1) [virt.vm]
> (vmId='aad106a1-9043-4661-bb9b-9894f66b506b') migration destination
> error: Virtual machine already exists (migration:290)
>
>
> **
>



-- 
Martin Perina
Associate Manager, Software Engineering
Red Hat Czech s.r.o.
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

Re: [ovirt-devel] How To Construct An Local Developing Enviroment?

2018-04-06 Thread Petr Kotas
Hi everyone,

first of all, thanks for having an interest in my dev setup :).

Second, I am open to making it more official.

The first step is to create list of missing features.
Please if you can, take a look at the setup and create an issue for any
feature you would like to see in there.

Thanks!!

Best,
Petr

On Thu, Apr 5, 2018 at 5:46 PM, Greg Sheremeta  wrote:

> +1. Petr, can we make this more official? Anyone else working on it?
>
> I also had the thought of using ansible to stand up the environment on
> bare metal.
>
> Greg
>
>
> On Thu, Apr 5, 2018, 11:41 AM Vojtech Szocs  wrote:
>
>>
>>
>> On Thu, Apr 5, 2018 at 1:53 PM, Petr Kotas  wrote:
>>
>>> Hi,
>>>
>>> you can take a look at my env here https://github.com/petrkotas/
>>> ovirt-dev-env
>>>
>>
>> ​Thanks Petr for sharing this!
>>
>>
>>>
>>>
>>> it is not complete and there is still some work left.
>>>
>>> Feel free to contact me if you have any questions.
>>>
>>> Best,
>>> Petr
>>>
>>> On Tue, Apr 3, 2018 at 12:56 PM, sundw 
>>> wrote:
>>>
 Hi Guys!
 I plan to construct an local developing environment for oVirt.
 But I can not find any relative pages from the web site(www.ovirt.org).
 Maybe I am not patient :).

 Could you please give me some advice or some links about
 How To Construct An Local Developing Enviroment?

 Thanks!

 --
 *孙大巍*
 北京科银京成技术有限公司/新产品研发部
 13378105625

 ___
 Devel mailing list
 Devel@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/devel

>>>
>>>
>>> ___
>>> Devel mailing list
>>> Devel@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/devel
>>>
>>
>> ___
>> Devel mailing list
>> Devel@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/devel
>
>
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

[ovirt-devel] [ OST Failure Report ] [ oVirt 4.2 (vdsm) ] [ 05-04-2018 ] [ 004_basic_sanity.hotplug_cpu ]

2018-04-06 Thread Dafna Ron
Hi,

We had a failure on 004_basic_sanity.hotplug_cpu. looking at the logs, I do
not see an issue on the cpu hotplug but it seems that the host had an issue
with network config.

can you please have a look?


*Link and headline of suspected patches: Failed patch: *
*virt: storage: minimal changes to the drive XML -
https://gerrit.ovirt.org/#/c/89508/  *

*Reported as failure cause: *
*virt: extract local adjustments to XML -
https://gerrit.ovirt.org/#/c/89506/  *










































*Link to
Job:http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/1565/
Link to
all
logs:http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/1565/artifact/exported-artifacts/basic-suit-4.2-el7/test_logs/basic-suite-4.2/post-004_basic_sanity.py/
(Relevant)
error snippet from the log: MainProcess|jsonrpc/2::DEBUG::2018-04-05
18:58:17,451::cmdutils::150::root::(exec_cmd) /sbin/ifdown eth2 (cwd
None)MainProcess|jsonrpc/2::DEBUG::2018-04-05
18:58:17,719::cmdutils::158::root::(exec_cmd) SUCCESS:  = '';  =
0MainProcess|jsonrpc/2::DEBUG::2018-04-05
18:58:17,720::cmdutils::150::root::(exec_cmd) /sbin/ifdown eth3 (cwd
None)MainProcess|jsonrpc/2::DEBUG::2018-04-05
18:58:17,982::cmdutils::158::root::(exec_cmd) SUCCESS:  = '';  =
0ifup/onc5bbb5eed6a84::DEBUG::2018-04-05
18:58:18,165::cmdutils::158::root::(exec_cmd) FAILED:  = 'Running
scope as unit
b32c8477-857f-476c-96c8-580daf0d4217.scope.\n/etc/sysconfig/network-scripts/ifup-eth:
line 304: 12145 Terminated  /sbin/dhclient ${DHCLIENTARGS}
${DEVICE}\nDevice "onc5bbb5eed6a84" does not exist.\nCannot find device
"onc5bbb5eed6a84"\nDevice "onc5bbb5eed6a84" does not exist.\nDevice
"onc5bbb5eed6a84" does not exist.\nDevice "onc5bbb5eed6a84" does not
exist.\nDevice "onc5bbb5eed6a84" does not exist.\nDevice "onc5bbb5eed6a84"
does not exist.\nDevice "onc5bbb5eed6a84" does not exist.\nDevice
"onc5bbb5eed6a84" does not exist.\nDevice "onc5bbb5eed6a84" does not
exist.\nDevice "onc5bbb5eed6a84" does not exist.\nDevice "onc5bbb5eed6a84"
does not exist.\nDevice "onc5bbb5eed6a84" does not exist.\nDevice
"onc5bbb5eed6a84" does not exist.\nDevice "onc5bbb5eed6a84" does not
exist.\nDevice "onc5bbb5eed6a84" does not exist.\nDevice "onc5bbb5eed6a84"
does not exist.\nDevice "onc5bbb5eed6a84" does not exist.\nDevice
"onc5bbb5eed6a84" does not exist.\nDevice "onc5bbb5eed6a84" does not
exist.\nDevice "onc5bbb5eed6a84" does not exist.\nDevice "onc5bbb5eed6a84"
does not exist.\nDevice "onc5bbb5eed6a84" does not exist.\nDevice
"onc5bbb5eed6a84" does not exist.\nDevice "onc5bbb5eed6a84" does not
exist.\nDevice "onc5bbb5eed6a84" does not exist.\nDevice "onc5bbb5eed6a84"
does not exist.\nDevice "onc5bbb5eed6a84" does not exist.\nDevice
"onc5bbb5eed6a84" does not exist.\nDevice "onc5bbb5eed6a84" does not
exist.\nDevice "onc5bbb5eed6a84" does not exist.\nDevice "onc5bbb5eed6a84"
does not exist.\nDevice "onc5bbb5eed6a84" does not exist.\nDevice
"onc5bbb5eed6a84" does not exist.\nDevice "onc5bbb5eed6a84" does not
exist.\nDevice "onc5bbb5eed6a84" does not exist.\nDevice "onc5bbb5eed6a84"
does not exist.\nDevice "onc5bbb5eed6a84" does not exist.\nDevice
"onc5bbb5eed6a84" does not exist.\nDevice "onc5bbb5eed6a84" does not
exist.\nDevice "onc5bbb5eed6a84" does not exist.\nDevice "onc5bbb5eed6a84"
does not exist.\nDevice "onc5bbb5eed6a84" does not exist.\nDevice
"onc5bbb5eed6a84" does not exist.\nDevice "onc5bbb5eed6a84" does not
exist.\nDevice "onc5bbb5eed6a84" does not exist.\nDevice "onc5bbb5eed6a84"
does not exist.\nDevice "onc5bbb5eed6a84" does not exist.\nDevice
"onc5bbb5eed6a84" does not exist.\nDevice "onc5bbb5eed6a84" does
not exist.\nDevice "onc5bbb5eed6a84" does not exist.\nDevice
"onc5bbb5eed6a84" does not exist.\nDevice "onc5bbb5eed6a84" does not
exist.\n';  = 1ifup/onc5bbb5eed6a84::ERROR::2018-04-05
18:58:18,165::concurrent::201::root::(run) FINISH thread

failedTraceback (most recent call last):  File
"/usr/lib/python2.7/site-packages/vdsm/common/concurrent.py", line 194, in
runret = func(*args, **kwargs)  File
"/usr/lib/python2.7/site-packages/vdsm/network/configurators/ifcfg.py",
line 942, in _exec_ifup_exec_ifup_by_name(iface.name
, cgroup)  File
"/usr/lib/python2.7/site-packages/vdsm/network/configurators/ifcfg.py",
line 928, in _exec_ifup_by_nameraise
ConfigNetworkError(ERR_FAILED_IFUP, out[-1] if out else
'')ConfigNetworkError: (29, '\n')MainProcess|jsonrpc/2::DEBUG::2018-04-05
18:58:20,075::cmdutils::150::root::(exec_cmd) /sbin/ip addr flush dev eth2
scope global (cwd None)MainProcess|jsonrpc/2::DEBUG::2018-04-05
18:58:20,081::cmdutils::158::root::(exec_cmd) SUCCESS:  = '';  =
0MainProcess|jsonrpc/2::DEBUG::2018-04-05
18:58:20,082:

[ovirt-devel] [ OST Failure Report ] [ oVirt Master (ovirt-engine) ] [ 06-04-2018 ] [ 006_migrations.migrate_vm ]

2018-04-06 Thread Dafna Ron
hi,

006_migrations.migrate_vm failure points to the below patch. There seems to
be an issue to migrate vms but I am not sure its related to this patch.

can you please check?



*Link and headline of suspected patches: aaa: can't switch user when
accessing the engine with an active kerberos ticket -
https://gerrit.ovirt.org/#/c/89872/
Link to Job:*

* http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/6704/
Link
to all logs:*
http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/6704/artifact/exported-artifacts/basic-suit-master-el7/test_logs/basic-suite-master/post-006_migrations.py/



















*(Relevant) error snippet from the log: 2018-04-06 04:07:56,517-0400
ERROR (qgapoller/2) [Executor] Unhandled exception in  timeout=10, duration=0.00 at 0x7fc4541193d0>
(executor:317)Traceback (most recent call last):  File
"/usr/lib/python2.7/site-packages/vdsm/executor.py", line 315, in
_execute_tasktask()  File
"/usr/lib/python2.7/site-packages/vdsm/executor.py", line 391, in
__call__self._callable()  File
"/usr/lib/python2.7/site-packages/vdsm/virt/periodic.py", line 314, in
__call__self._execute()  File
"/usr/lib/python2.7/site-packages/vdsm/virt/qemuguestagent.py", line 388,
in _executefor ifname, ifparams in six.iteritems(interfaces):  File
"/usr/lib/python2.7/site-packages/six.py", line 599, in iteritemsreturn
d.iteritems(**kw)AttributeError: 'list' object has no attribute
'iteritems'*2018-04-06
04:23:10,165-0400 ERROR (migsrc/aad106a1) [virt.vm]
(vmId='aad106a1-9043-4661-bb9b-9894f66b506b') migration destination error:
Virtual machine already exists (migration:290)


**
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

Re: [ovirt-devel] [ OST Failure Report ] [ oVirt 4.2 ] [ 2018-04-04 ] [006_migrations.prepare_migration_attachments_ipv6]

2018-04-06 Thread Dafna Ron
Dan, was there a fix for the issues?
can I have a link to the fix if there was?

Thanks,
Dafna


On Wed, Apr 4, 2018 at 5:01 PM, Gal Ben Haim  wrote:

> From lago's log, I see that lago collected the logs from the VMs using ssh
> (after the test failed), which means
> that the VM didn't crash.
>
> On Wed, Apr 4, 2018 at 5:27 PM, Dan Kenigsberg  wrote:
>
>> On Wed, Apr 4, 2018 at 4:59 PM, Barak Korren  wrote:
>> > Test failed: [ 006_migrations.prepare_migration_attachments_ipv6 ]
>> >
>> > Link to suspected patches:
>> > (Probably unrelated)
>> > https://gerrit.ovirt.org/#/c/89812/1 (ovirt-engine-sdk) - examples:
>> > export template to an export domain
>> >
>> > This seems to happen multiple times sporadically, I thought this would
>> > be solved by
>> > https://gerrit.ovirt.org/#/c/89781/ but it isn't.
>>
>> right, it is a completely unrelated issue there (with external networks).
>> here, however, the host dies while setting setupNetworks of an ipv6
>> address. Setup network waits for Engine's confirmation at 08:33:00,711
>> http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/1
>> 537/artifact/exported-artifacts/basic-suit-4.2-el7/test_
>> logs/basic-suite-4.2/post-006_migrations.py/lago-basic-
>> suite-4-2-host-0/_var_log/vdsm/supervdsm.log
>> but kernel messages stop at 08:33:23
>> http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/1
>> 537/artifact/exported-artifacts/basic-suit-4.2-el7/test_
>> logs/basic-suite-4.2/post-006_migrations.py/lago-basic-
>> suite-4-2-host-0/_var_log/messages/*view*/
>>
>> Does the lago VM of this host crash? pause?
>>
>>
>> >
>> > Link to Job:
>> > http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/1537/
>> >
>> > Link to all logs:
>> > http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/1
>> 537/artifact/exported-artifacts/basic-suit-4.2-el7/test_
>> logs/basic-suite-4.2/post-006_migrations.py/
>> >
>> > Error snippet from log:
>> >
>> > 
>> >
>> > Traceback (most recent call last):
>> >   File "/usr/lib64/python2.7/unittest/case.py", line 369, in run
>> > testMethod()
>> >   File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in
>> runTest
>> > self.test(*self.arg)
>> >   File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line
>> > 129, in wrapped_test
>> > test()
>> >   File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line
>> > 59, in wrapper
>> > return func(get_test_prefix(), *args, **kwargs)
>> >   File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line
>> > 78, in wrapper
>> > prefix.virt_env.engine_vm().get_api(api_ver=4), *args, **kwargs
>> >   File "/home/jenkins/workspace/ovirt-4.2_change-queue-tester/ovirt
>> -system-tests/basic-suite-4.2/test-scenarios/006_migrations.py",
>> > line 139, in prepare_migration_attachments_ipv6
>> > engine, host_service, MIGRATION_NETWORK, ip_configuration)
>> >   File "/home/jenkins/workspace/ovirt-4.2_change-queue-tester/ovirt
>> -system-tests/basic-suite-4.2/test_utils/network_utils_v4.py",
>> > line 71, in modify_ip_config
>> > check_connectivity=True)
>> >   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/services.py",
>> > line 36729, in setup_networks
>> > return self._internal_action(action, 'setupnetworks', None,
>> > headers, query, wait)
>> >   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line
>> > 299, in _internal_action
>> > return future.wait() if wait else future
>> >   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line
>> > 55, in wait
>> > return self._code(response)
>> >   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line
>> > 296, in callback
>> > self._check_fault(response)
>> >   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line
>> > 132, in _check_fault
>> > self._raise_error(response, body)
>> >   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line
>> > 118, in _raise_error
>> > raise error
>> > Error: Fault reason is "Operation Failed". Fault detail is "[Network
>> > error during communication with the Host.]". HTTP response code is
>> > 400.
>> >
>> >
>> >
>> > 
>> >
>> >
>> >
>> > --
>> > Barak Korren
>> > RHV DevOps team , RHCE, RHCi
>> > Red Hat EMEA
>> > redhat.com | TRIED. TESTED. TRUSTED. | redhat.com/trusted
>> > ___
>> > Devel mailing list
>> > Devel@ovirt.org
>> > http://lists.ovirt.org/mailman/listinfo/devel
>> >
>> >
>> ___
>> Devel mailing list
>> Devel@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/devel
>>
>
>
>
> --
> *GAL bEN HAIM*
> RHV DEVOPS
>
> ___
> Devel mailing list
> Devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

Re: [ovirt-devel] [OST][HC] HE fails to deploy

2018-04-06 Thread Simone Tiraboschi
On Fri, Apr 6, 2018 at 9:28 AM, Sahina Bose  wrote:

> 2018-04-05 20:46:52,773-0400 INFO 
> otopi.ovirt_hosted_engine_setup.ansible_utils 
> ansible_utils._process_output:100 TASK [Get local VM IP]
> 2018-04-05 20:55:28,217-0400 DEBUG 
> otopi.ovirt_hosted_engine_setup.ansible_utils 
> ansible_utils._process_output:94 {u'_ansible_parsed': True, u'stderr_lines': 
> [], u'cmd': u"virsh -r net-dhcp-leases default | grep -i 00:16:3e:24:d3:63 | 
> awk '{ print $5 }' | cut -f1 -d'/'", u'end': u'2018-04-05 20:55:28.046320', 
> u'_ansible_no_log': False, u'stdout': u'', u'changed': True, u'invocation': 
> {u'module_args': {u'warn': True, u'executable': None, u'_uses_shell': True, 
> u'_raw_params': u"virsh -r net-dhcp-leases default | grep -i 
> 00:16:3e:24:d3:63 | awk '{ print $5 }' | cut -f1 -d'/'", u'removes': None, 
> u'creates': None, u'chdir': None, u'stdin': None}}, u'start': u'2018-04-05 
> 20:55:28.000470', u'attempts': 50, u'stderr': u'', u'rc': 0, u'delta': 
> u'0:00:00.045850', u'stdout_lines': []}
> 2018-04-05 20:55:28,318-0400 ERROR 
> otopi.ovirt_hosted_engine_setup.ansible_utils 
> ansible_utils._process_output:98 fatal: [localhost]: FAILED! => {"attempts": 
> 50, "changed": true, "cmd": "virsh -r net-dhcp-leases default | grep -i 
> 00:16:3e:24:d3:63 | awk '{ print $5 }' | cut -f1 -d'/'", "delta": 
> "0:00:00.045850", "end": "2018-04-05 20:55:28.046320", "rc": 0, "start": 
> "2018-04-05 20:55:28.000470", "stderr": "", "stderr_lines": [], "stdout": "", 
> "stdout_lines": []}
>
> Both the 4.2 and master suites are failing on getting local VM IP.
> Any idea what changed or if I have to change the test?
>
> thanks!
>

Hi Sahina,
4.2 and master suite non HC are correctly running this morning.
http://jenkins.ovirt.org/view/oVirt%20system%20tests/job/ovirt-system-tests_he-basic-ansible-suite-master/146/
http://jenkins.ovirt.org/view/oVirt%20system%20tests/job/ovirt-system-tests_he-basic-ansible-suite-4.2/76/

I'll try to check the difference with HC suites.

Are you using more than one subnet in the HC suites?
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

Re: [ovirt-devel] [OST][HC] HE fails to deploy

2018-04-06 Thread Sahina Bose
2018-04-05 20:46:52,773-0400 INFO
otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:100 TASK [Get local VM IP]
2018-04-05 20:55:28,217-0400 DEBUG
otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:94 {u'_ansible_parsed': True,
u'stderr_lines': [], u'cmd': u"virsh -r net-dhcp-leases default | grep
-i 00:16:3e:24:d3:63 | awk '{ print $5 }' | cut -f1 -d'/'", u'end':
u'2018-04-05 20:55:28.046320', u'_ansible_no_log': False, u'stdout':
u'', u'changed': True, u'invocation': {u'module_args': {u'warn': True,
u'executable': None, u'_uses_shell': True, u'_raw_params': u"virsh -r
net-dhcp-leases default | grep -i 00:16:3e:24:d3:63 | awk '{ print $5
}' | cut -f1 -d'/'", u'removes': None, u'creates': None, u'chdir':
None, u'stdin': None}}, u'start': u'2018-04-05 20:55:28.000470',
u'attempts': 50, u'stderr': u'', u'rc': 0, u'delta':
u'0:00:00.045850', u'stdout_lines': []}
2018-04-05 20:55:28,318-0400 ERROR
otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:98 fatal: [localhost]: FAILED! =>
{"attempts": 50, "changed": true, "cmd": "virsh -r net-dhcp-leases
default | grep -i 00:16:3e:24:d3:63 | awk '{ print $5 }' | cut -f1
-d'/'", "delta": "0:00:00.045850", "end": "2018-04-05
20:55:28.046320", "rc": 0, "start": "2018-04-05 20:55:28.000470",
"stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

Both the 4.2 and master suites are failing on getting local VM IP.
Any idea what changed or if I have to change the test?

thanks!
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel