On 12 Apr 2017, at 08:37, Yaniv Kaul <ykaul@redhat.com> wrote:On Wed, Apr 12, 2017 at 9:24 AM, Barak Korren <bkorren@redhat.com> wrote:This seems to have been the Secodary SD issue I reported on Sunday:That was up until build #6307 where AddHost started failing:
http://lists.ovirt.org/pipermail/devel/2017-April/030139. html
http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_ma ster/6307 That's an entirely different game:2017-04-11 11:24:36,783-04 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker. PollVDSCommand] (org.ovirt.thread.pool-7- thread-1) [3497aa05] Error: java.lang. NoClassDefFoundError: org/apache/commons/lang/ StringUtils 2017-04-11 11:24:36,783-04 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker. PollVDSCommand] (org.ovirt.thread.pool-7- thread-1) [3497aa05] Exception: java.util.concurrent. ExecutionException: java.lang. NoClassDefFoundError: this one started in http://jenkins.ovirt.org/job/test-repo_ovirt_ experimental_master/6307/ there are 2 patches linkded, one is in vdsm-jsonrpc-java, which is what seems to be mismatchedPiotr/Sandro, are all artifacts published correctly?Thanks,michal______________________________org/apache/commons/lang/StringUtils at java.util.concurrent.FutureTask.report(FutureTask. java:122) [rt.jar:1.8.0_121] at java.util.concurrent.FutureTask.get(FutureTask. java:206) [rt.jar:1.8.0_121] at org.ovirt.engine.core.vdsbroker.vdsbroker. FutureVDSCommand.get( FutureVDSCommand.java:69) [vdsbroker.jar:] at org.ovirt.engine.core.bll.network.host. HostSetupNetworkPoller. getValue( HostSetupNetworkPoller.java: 56) [bll.jar:] at org.ovirt.engine.core.bll.network.host. HostSetupNetworkPoller.poll( HostSetupNetworkPoller.java: 41) [bll.jar:] ...Caused by: java.lang.NoClassDefFoundError: org/apache/commons/lang/ StringUtils at org.ovirt.vdsm.jsonrpc.client.reactors.stomp.impl.Message. withCorrelationId(Message. java:75) [vdsm-jsonrpc-java-client.jar: ] at org.ovirt.vdsm.jsonrpc.client.reactors.stomp.SSLStompClient. sendMessage(SSLStompClient. java:85) [vdsm-jsonrpc-java-client.jar: ] at org.ovirt.vdsm.jsonrpc.client.JsonRpcClient.call( JsonRpcClient.java:83) [vdsm-jsonrpc-java-client.jar: ] at org.ovirt.engine.core.vdsbroker.jsonrpc.FutureMap.< init>(FutureMap.java:91) [vdsbroker.jar:] at org.ovirt.engine.core.vdsbroker.jsonrpc. JsonRpcVdsServer.lambda$ timeBoundPoll$1( JsonRpcVdsServer.java:965) [vdsbroker.jar:] at org.ovirt.engine.core.vdsbroker.jsonrpc. JsonRpcVdsServer$ FutureCallable.call( JsonRpcVdsServer.java:484) [vdsbroker.jar:] at org.ovirt.engine.core.vdsbroker.jsonrpc. JsonRpcVdsServer$ FutureCallable.call( JsonRpcVdsServer.java:473) [vdsbroker.jar:] --On 11 April 2017 at 18:12, Piotr Kliczewski <piotr.kliczewski@gmail.com> wrote:I looks like SD activate failed on the engine side and the spm connection was gently closed by the engine:2017-04-11 09:10:24,807-04 INFO [org.ovirt.engine.core.bll.storage.domain.ActivateStorageDo mainCommand] (default task-29) [2b66a42b] ActivateStorage Domain. After Connect all hosts to pool. Time: Tue Apr 11 09:10:24 EDT 2017 2017-04-11 09:10:24,842-04 ERROR [org.ovirt.engine.core.bll.storage.pool.RefreshPoolSingleAsy ncOperation] (org.ovirt.thread.pool-7-threa d-29) [2b66a42b] Could not connect vds 'lago-basic-suite-master-host0 ' to pool 'test-dc' - moving host to non-operational: null 2017-04-11 09:10:24,842-04 ERROR [org.ovirt.engine.core.bll.storage.pool.RefreshPoolSingleAsy ncOperation] (org.ovirt.thread.pool-7-threa d-28) [2b66a42b] Could not connect vds 'lago-basic-suite-master-host1 ' to pool 'test-dc' - moving host to non-operational: null 2017-04-11 09:10:24,904-04 INFO [org.ovirt.engine.core.bll.SetNonOperationalVdsCommand] (default task-29) [2bc83b1c] Running command: SetNonOperationalVdsCommand internal: true. Entities affected : ID: e1b611f2-67fb-4acb-8261-071331 34e0e7 Type: VDS 2017-04-11 09:10:24,909-04 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (default task-29) [2bc83b1c] START, SetVdsStatusVDSCommand(HostNam e = lago-basic-suite-master-host0, SetVdsStatusVDSCommandParamete rs:{runAsync='true', hostId='e1b611f2-67fb-4acb-826 1-07133134e0e7', status='NonOperational', nonOperationalReason='STORAGE_ DOMAIN_UNREACHABLE', stopSpmFailureLogged='false', maintenanceReason='null'}), log id: 5c45239 2017-04-11 09:10:24,919-04 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (default task-29) [2bc83b1c] FINISH, SetVdsStatusVDSCommand, log id: 5c45239 2017-04-11 09:10:24,922-04 DEBUG [org.ovirt.engine.core.dal.dbbroker.PostgresDbEngineDialect$ PostgresSimpleJdbcCall] (default task-29) [2bc83b1c] Compiled stored procedure. Call string is [{call getvmsrunningonvds(?)}] 2017-04-11 09:10:24,922-04 DEBUG [org.ovirt.engine.core.dal.dbbroker.PostgresDbEngineDialect$ PostgresSimpleJdbcCall] (default task-29) [2bc83b1c] SqlCall for procedure [GetVmsRunningOnVds] compiled 2017-04-11 09:10:24,985-04 WARN [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditL ogDirector] (default task-29) [2bc83b1c] EVENT_ID: VDS_SET_NONOPERATIONAL_DOMAIN( 522), Correlation ID: 2bc83b1c, Job ID: d6455a45-48ad-42cd-9815-e98269 44b9a0, Call Stack: null, Custom Event ID: -1, Message: Host lago-basic-suite-master-host0 cannot access the Storage Domain(s) iscsi attached to the Data Center test-dc. Setting Host state to Non-Operational. 2017-04-11 09:10:24,985-04 DEBUG [org.ovirt.engine.core.utils.timer.FixedDelayJobListener] (DefaultQuartzScheduler4) [] Rescheduling DEFAULT.org.ovirt.engine.core. vdsbroker.VdsManager.onTimer#- 9223372036854775741 as there is no unfired trigger. 2017-04-11 09:10:25,036-04 INFO [org.ovirt.engine.core.bll.SetNonOperationalVdsCommand] (default task-29) [2ffa5981] Running command: SetNonOperationalVdsCommand internal: true. Entities affected : ID: 87a5f691-ea5c-4692-a4ab-52dad0 dafe34 Type: VDS 2017-04-11 09:10:25,039-04 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (default task-29) [2ffa5981] START, SetVdsStatusVDSCommand(HostNam e = lago-basic-suite-master-host1, SetVdsStatusVDSCommandParamete rs:{runAsync='true', hostId='87a5f691-ea5c-4692-a4a b-52dad0dafe34', status='NonOperational', nonOperationalReason='STORAGE_ DOMAIN_UNREACHABLE', stopSpmFailureLogged='false', maintenanceReason='null'}), log id: 706ffc3b .....2017-04-11 09:10:25,366-04 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStopVDSComman d] (default task-29) [2ffa5981] FINISH, SpmStopVDSCommand, log id: 62f82cfb 2017-04-11 09:10:25,366-04 DEBUG [org.ovirt.vdsm.jsonrpc.client.reactors.stomp.impl.Message] (default task-29) [2ffa5981] UNSUBSCRIBE id:4cd59c67-1b57-4456-9a16-52a72ac6f689 \002017-04-11 09:10:25,367-04 DEBUG [org.ovirt.vdsm.jsonrpc.client.reactors.stomp.StompCommonCli ent] (default task-29) [2ffa5981] Message sent: UNSUBSCRIBE On Tue, Apr 11, 2017 at 4:49 PM, Sandro Bonazzola <sbonazzo@redhat.com> wrote:______________________________Link to Job: http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_ma ster/6303 # add_secondary_storage_domains: [basic_suit_el7] Error while running thread[basic_suit_el7]ges/lago/utils.py", line 57, in _ret_via_queue [basic_suit_el7] queue.put({'return': func()}) [basic_suit_el7] File "/home/jenkins/workspace/test- [basic_suit_el7] Traceback (most recent call last): [basic_suit_el7] File "/usr/lib/python2.7/site-packa [basic_suit_el7] Error while running threadrepo_ovirt_experimental_master /ovirt-system-tests/basic-suit e-master/test-scenarios/002_bo otstrap.py", line 427, in add_nfs_storage_domain [basic_suit_el7] add_generic_nfs_storage_domain(prefix, SD_NFS_NAME, SD_NFS_HOST_NAME, SD_NFS_PATH, nfs_version='v4_2') [basic_suit_el7] File "/home/jenkins/workspace/test-repo_ovirt_experimental_master /ovirt-system-tests/basic-suit e-master/test-scenarios/002_bo otstrap.py", line 441, in add_generic_nfs_storage_domain [basic_suit_el7] add_generic_nfs_storage_domain_4(prefix, sd_nfs_name, nfs_host_name, mount_path, sd_format, sd_type, nfs_version) [basic_suit_el7] File "/home/jenkins/workspace/test-repo_ovirt_experimental_master /ovirt-system-tests/basic-suit e-master/test-scenarios/002_bo otstrap.py", line 490, in add_generic_nfs_storage_domain _4 [basic_suit_el7] host=_random_host_from_dc_4(api, DC_NAME), [basic_suit_el7] File "/home/jenkins/workspace/test-repo_ovirt_experimental_master /ovirt-system-tests/basic-suit e-master/test-scenarios/002_bo otstrap.py", line 106, in _random_host_from_dc_4 [basic_suit_el7] return random.choice(_hosts_in_dc_4(api, dc_name)) [basic_suit_el7] File "/home/jenkins/workspace/test-repo_ovirt_experimental_master /ovirt-system-tests/basic-suit e-master/test-scenarios/002_bo otstrap.py", line 100, in _hosts_in_dc_4 [basic_suit_el7] raise RuntimeError('Could not find hosts that are up in DC %s' % dc_name) [basic_suit_el7] RuntimeError: Could not find hosts that are up in DC test-dcges/lago/utils.py", line 57, in _ret_via_queue [basic_suit_el7] queue.put({'return': func()}) [basic_suit_el7] File "/home/jenkins/workspace/test- [basic_suit_el7] Traceback (most recent call last): [basic_suit_el7] File "/usr/lib/python2.7/site-packa [basic_suit_el7] Error while running threadrepo_ovirt_experimental_master /ovirt-system-tests/basic-suit e-master/test-scenarios/002_bo otstrap.py", line 583, in add_iso_storage_domain [basic_suit_el7] add_generic_nfs_storage_domain(prefix, SD_ISO_NAME, SD_ISO_HOST_NAME, SD_ISO_PATH, sd_format='v1', sd_type='iso', nfs_version='v3') [basic_suit_el7] File "/home/jenkins/workspace/test-repo_ovirt_experimental_master /ovirt-system-tests/basic-suit e-master/test-scenarios/002_bo otstrap.py", line 441, in add_generic_nfs_storage_domain [basic_suit_el7] add_generic_nfs_storage_domain_4(prefix, sd_nfs_name, nfs_host_name, mount_path, sd_format, sd_type, nfs_version) [basic_suit_el7] File "/home/jenkins/workspace/test-repo_ovirt_experimental_master /ovirt-system-tests/basic-suit e-master/test-scenarios/002_bo otstrap.py", line 490, in add_generic_nfs_storage_domain _4 [basic_suit_el7] host=_random_host_from_dc_4(api, DC_NAME), [basic_suit_el7] File "/home/jenkins/workspace/test-repo_ovirt_experimental_master /ovirt-system-tests/basic-suit e-master/test-scenarios/002_bo otstrap.py", line 106, in _random_host_from_dc_4 [basic_suit_el7] return random.choice(_hosts_in_dc_4(api, dc_name)) [basic_suit_el7] File "/home/jenkins/workspace/test-repo_ovirt_experimental_master /ovirt-system-tests/basic-suit e-master/test-scenarios/002_bo otstrap.py", line 100, in _hosts_in_dc_4 [basic_suit_el7] raise RuntimeError('Could not find hosts that are up in DC %s' % dc_name) [basic_suit_el7] RuntimeError: Could not find hosts that are up in DC test-dcges/lago/utils.py", line 57, in _ret_via_queue [basic_suit_el7] queue.put({'return': func()}) [basic_suit_el7] File "/home/jenkins/workspace/test- [basic_suit_el7] Traceback (most recent call last): [basic_suit_el7] File "/usr/lib/python2.7/site-packa [basic_suit_el7] Error while running threadrepo_ovirt_experimental_master /ovirt-system-tests/basic-suit e-master/test-scenarios/002_bo otstrap.py", line 587, in add_templates_storage_domain [basic_suit_el7] add_generic_nfs_storage_domain(prefix, SD_TEMPLATES_NAME, SD_TEMPLATES_HOST_NAME, SD_TEMPLATES_PATH, sd_format='v1', sd_type='export', nfs_version='v4_1') [basic_suit_el7] File "/home/jenkins/workspace/test-repo_ovirt_experimental_master /ovirt-system-tests/basic-suit e-master/test-scenarios/002_bo otstrap.py", line 441, in add_generic_nfs_storage_domain [basic_suit_el7] add_generic_nfs_storage_domain_4(prefix, sd_nfs_name, nfs_host_name, mount_path, sd_format, sd_type, nfs_version) [basic_suit_el7] File "/home/jenkins/workspace/test-repo_ovirt_experimental_master /ovirt-system-tests/basic-suit e-master/test-scenarios/002_bo otstrap.py", line 490, in add_generic_nfs_storage_domain _4 [basic_suit_el7] host=_random_host_from_dc_4(api, DC_NAME), [basic_suit_el7] File "/home/jenkins/workspace/test-repo_ovirt_experimental_master /ovirt-system-tests/basic-suit e-master/test-scenarios/002_bo otstrap.py", line 106, in _random_host_from_dc_4 [basic_suit_el7] return random.choice(_hosts_in_dc_4(api, dc_name)) [basic_suit_el7] File "/home/jenkins/workspace/test-repo_ovirt_experimental_master /ovirt-system-tests/basic-suit e-master/test-scenarios/002_bo otstrap.py", line 100, in _hosts_in_dc_4 [basic_suit_el7] raise RuntimeError('Could not find hosts that are up in DC %s' % dc_name) [basic_suit_el7] RuntimeError: Could not find hosts that are up in DC test-dcges/lago/utils.py", line 57, in _ret_via_queue [basic_suit_el7] queue.put({'return': func()}) [basic_suit_el7] File "/home/jenkins/workspace/test- [basic_suit_el7] Traceback (most recent call last): [basic_suit_el7] File "/usr/lib/python2.7/site-packa [basic_suit_el7] Error while running threadrepo_ovirt_experimental_master /ovirt-system-tests/basic-suit e-master/test-scenarios/002_bo otstrap.py", line 436, in add_second_nfs_storage_domain [basic_suit_el7] SD_NFS_HOST_NAME, SD_SECOND_NFS_PATH) [basic_suit_el7] File "/home/jenkins/workspace/test-repo_ovirt_experimental_master /ovirt-system-tests/basic-suit e-master/test-scenarios/002_bo otstrap.py", line 441, in add_generic_nfs_storage_domain [basic_suit_el7] add_generic_nfs_storage_domain_4(prefix, sd_nfs_name, nfs_host_name, mount_path, sd_format, sd_type, nfs_version) [basic_suit_el7] File "/home/jenkins/workspace/test-repo_ovirt_experimental_master /ovirt-system-tests/basic-suit e-master/test-scenarios/002_bo otstrap.py", line 490, in add_generic_nfs_storage_domain _4 [basic_suit_el7] host=_random_host_from_dc_4(api, DC_NAME), [basic_suit_el7] File "/home/jenkins/workspace/test-repo_ovirt_experimental_master /ovirt-system-tests/basic-suit e-master/test-scenarios/002_bo otstrap.py", line 106, in _random_host_from_dc_4 [basic_suit_el7] return random.choice(_hosts_in_dc_4(api, dc_name)) [basic_suit_el7] File "/home/jenkins/workspace/test-repo_ovirt_experimental_master /ovirt-system-tests/basic-suit e-master/test-scenarios/002_bo otstrap.py", line 100, in _hosts_in_dc_4 [basic_suit_el7] raise RuntimeError('Could not find hosts that are up in DC %s' % dc_name) [basic_suit_el7] RuntimeError: Could not find hosts that are up in DC test-dcges/lago/utils.py", line 57, in _ret_via_queue [basic_suit_el7] queue.put({'return': func()}) [basic_suit_el7] File "/home/jenkins/workspace/test- [basic_suit_el7] Traceback (most recent call last): [basic_suit_el7] File "/usr/lib/python2.7/site-packarepo_ovirt_experimental_master /ovirt-system-tests/basic-suit e-master/test-scenarios/002_bo otstrap.py", line 803, in import_template_from_glance [basic_suit_el7] generic_import_from_glance(api, image_name=CIRROS_IMAGE_NAME, image_ext='_glance_template', as_template=True) [basic_suit_el7] File "/home/jenkins/workspace/test-repo_ovirt_experimental_master /ovirt-system-tests/basic-suit e-master/test-scenarios/002_bo otstrap.py", line 637, in generic_import_from_glance [basic_suit_el7] target_image.import_image(import_action) [basic_suit_el7] File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/br okers.py", line 26017, in import_image [basic_suit_el7] headers={"Correlation-Id":correlation_id} [basic_suit_el7] File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/pr oxy.py", line 122, in request [basic_suit_el7] persistent_auth=self.__persistent_auth [basic_suit_el7] File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/co nnectionspool.py", line 79, in do_request [basic_suit_el7] persistent_auth) [basic_suit_el7] File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/co nnectionspool.py", line 162, in __do_request [basic_suit_el7] raise errors.RequestError(response_code, response_reason, response_body) [basic_suit_el7] RequestError: [basic_suit_el7] status: 400 [basic_suit_el7] reason: Bad Request [basic_suit_el7] detail: Cannot import Virtual Disk: Storage Domain cannot be accessed. [basic_suit_el7] -Please check that at least one Host is operational and Data Center state is up.--
_________________
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
_______________________________________________
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel