Proper way to import vdsm types/constants when using its API?
by Germano Veit Michel
Hi,
I'm finding a bit confusing what is the correct way to import VDSM
types/enums/contants when using the VDSM API.
For example, vdsmapi tests and the hosted-engine-ha daemons seem to use a
bunch of values defined in constants or hardcoded, not really doing an
import for this. i.e.:
ovirt_hosted_engine_ha/env/constants.py.in:66:STORAGE_TYPE_NFS = 1
I don't want to do this:
getStorageDomains(storageType=1)
If I want to avoid hard-coding constants on my program, what is the correct
way to do it? Like this?
import vdsm.storage.sd
getStorageDomains(storageType=sd.NFS_DOMAIN)
Problem is vdsm.storage.sd does not seem to be part of the public API,
clients shouldn't be seeing all that.
Hopefully there is an easy answer I am missing. I'm looking for something
similar to ovirtsdk4.types.
Thanks,
Germano
6 years, 5 months
Planned restart of production services
by Evgheni Dereveanchin
Hi everyone,
I will be restarting several production systems within the next few hours
to perform planned maintenance.
The following services will be unreachable for some period of time:
- gerrit.ovirt.org - code review
- jenkins.ovirt.org - CI master
It will not be possible to submit/review patches, clone repositories or run
CI jobs during this period.
I will announce you once the maintenance is complete.
--
Regards,
Evgheni Dereveanchin
6 years, 5 months
ovirt-engine-rename missing functionality
by Yedidyah Bar David
Hi all,
I am working on some bugs [1][2] related to the ovirt-engine-rename tool [3].
I want to hopefully cover all needed changes since I last worked on
this tool, so did this:
Ran engine-setup, kept a list of files it added/changed
Ran rename, checked which of above files still contain the old name.
This is the result:
ovirt-provider-ovn/conf.d/10-setup-ovirt-provider-ovn.conf
- that's [1]
pki/ovirt-engine/certs/engine.cer
- that's ok, we do not rename the engine (engine<->hosts comm)
pki/ovirt-engine/certs/imageio-proxy.cer
- that's [2]
pki/ovirt-engine/certs/jboss.cer
- ok (used only to access jboss directly without httpd proxy)
pki/ovirt-engine/certs/ovirt-provider-ovn.cer
pki/ovirt-engine/certs/ovn-ndb.cer
pki/ovirt-engine/certs/ovn-sdb.cer
- [1]
pki/ovirt-engine/certs/reports.cer
- ok (not used anymore since 4.0)
pki/ovirt-engine/certs/vmconsole-proxy-helper.cer
pki/ovirt-engine/certs/vmconsole-proxy-host.cer
pki/ovirt-engine/certs/vmconsole-proxy-user.cer
- This is the first reason I am sending this email, adding Francesco.
- Should it be changed on rename? I guess so, not sure - and no-one
opened a bug (that I know of)
pki/ovirt-engine/certs/websocket-proxy.cer
- Same - I guess it should be changed, no bug. Not sure who to ask,
adding Simone :-)
Thanks and best regards,
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1501798
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1575979
[3] https://www.ovirt.org/documentation/how-to/networking/changing-engine-hos...
--
Didi
6 years, 5 months
[ OST Failure Report ] [ oVirt Master (vdsm) ] [ 12-06-2018 ] [ 004_basic_sanity.preview_snapshot_with_memory ]
by Dafna Ron
Hi,
We have a failure in 004_basic_sanity.preview_snapshot_with_memory on
master suite.
*Link and headline of suspected patches:
https://gerrit.ovirt.org/#/c/90532/ <https://gerrit.ovirt.org/#/c/90532/> -
*
*vm: Do not remove replicate attribute if abort failedLink to Job:*
*https://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/8169/
<https://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/8169/>Link
to all
logs:https://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/8169/...
<https://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/8169/artif...>(Relevant)
error snippet from the log: <error>2018-06-12 07:31:08,087-04 ERROR
[org.ovirt.engine.api.restapi.resource.validation.ValidationExceptionMapper]
(default task-27) [] Input validation failed while processing 'POST'
request for path
'/vms/ec6dcfb7-dda9-4c58-b048-87b08ffcbfbe/previewsnapshot'.2018-06-12
07:31:08,087-04 ERROR
[org.ovirt.engine.api.restapi.resource.validation.ValidationExceptionMapper]
(default task-27) [] Exception:
org.ovirt.api.metamodel.server.ValidationException: Parameter 'snapshot.id
<http://snapshot.id>' is mandatory but was not provided. at
org.ovirt.engine.api.resource.VmResourceHelper.validatePreviewSnapshot(VmResourceHelper.java:75)
[restapi-definition.jar:] at
org.ovirt.engine.api.resource.VmResource.doPreviewSnapshot(VmResource.java:333)
[restapi-definition.jar:] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[rt.jar:1.8.0_171] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[rt.jar:1.8.0_171] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.8.0_171] at
java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_171]
at
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
[resteasy-jaxrs-3.0.24.Final.jar:3.0.24.Final] at
org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:295)
[resteasy-jaxrs-3.0.24.Final.jar:3.0.24.Final] at
org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:249)
[resteasy-jaxrs-3.0.24.Final.jar:3.0.24.Final] at
org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:138)
[resteasy-jaxrs-3.0.24.Final.jar:3.0.24.Final] at
org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:107)
[resteasy-jaxrs-3.0.24.Final.jar:3.0.24.Final] at
org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:133)
[resteasy-jaxrs-3.0.24.Final.jar:3.0.24.Final] at
org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:101)
[resteasy-jaxrs-3.0.24.Final.jar:3.0.24.Final] at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:406)
[resteasy-jaxrs-3.0.24.Final.jar:3.0.24.Final] at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:213)
[resteasy-jaxrs-3.0.24.Final.jar:3.0.24.Final] at
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:228)
[resteasy-jaxrs-3.0.24.Final.jar:3.0.24.Final] at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
[resteasy-jaxrs-3.0.24.Final.jar:3.0.24.Final] at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
[resteasy-jaxrs-3.0.24.Final.jar:3.0.24.Final] at
javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at
io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:81)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:274)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchToPath(ServletInitialHandler.java:209)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.spec.RequestDispatcherImpl.forwardImpl(RequestDispatcherImpl.java:221)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.spec.RequestDispatcherImpl.forwardImplSetup(RequestDispatcherImpl.java:147)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.spec.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:111)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
org.ovirt.engine.api.restapi.invocation.VersionFilter.doFilter(VersionFilter.java:178)
[restapi-jaxrs.jar:] at
org.ovirt.engine.api.restapi.invocation.VersionFilter.doFilter(VersionFilter.java:98)
[restapi-jaxrs.jar:] at
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
org.ovirt.engine.api.restapi.invocation.CurrentFilter.doFilter(CurrentFilter.java:117)
[restapi-jaxrs.jar:] at
org.ovirt.engine.api.restapi.invocation.CurrentFilter.doFilter(CurrentFilter.java:72)
[restapi-jaxrs.jar:] at
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
org.ovirt.engine.core.aaa.filters.RestApiSessionMgmtFilter.doFilter(RestApiSessionMgmtFilter.java:78)
[aaa.jar:] at
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
org.ovirt.engine.core.aaa.filters.EnforceAuthFilter.doFilter(EnforceAuthFilter.java:42)
[aaa.jar:] at
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
org.ovirt.engine.core.aaa.filters.SsoRestApiNegotiationFilter.doFilter(SsoRestApiNegotiationFilter.java:84)
[aaa.jar:] at
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
org.ovirt.engine.core.aaa.filters.SsoRestApiAuthFilter.doFilter(SsoRestApiAuthFilter.java:47)
[aaa.jar:] at
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
org.ovirt.engine.core.aaa.filters.SessionValidationFilter.doFilter(SessionValidationFilter.java:59)
[aaa.jar:] at
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
org.ovirt.engine.core.aaa.filters.RestApiSessionValidationFilter.doFilter(RestApiSessionValidationFilter.java:35)
[aaa.jar:] at
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
org.ovirt.engine.api.restapi.security.CSRFProtectionFilter.doFilter(CSRFProtectionFilter.java:111)
[restapi-jaxrs.jar:] at
org.ovirt.engine.api.restapi.security.CSRFProtectionFilter.doFilter(CSRFProtectionFilter.java:102)
[restapi-jaxrs.jar:] at
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
org.ovirt.engine.core.utils.servlet.CORSSupportFilter.doFilter(CORSSupportFilter.java:283)
[utils.jar:] at
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:53)
[undertow-core-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
[undertow-core-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:59)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
[undertow-core-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
[undertow-core-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
[undertow-core-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.4.18.Final.jar:1.4.18.Final] at
org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
at
org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)
at
org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)
at
org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
[undertow-servlet-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.server.Connectors.executeRootHandler(Connectors.java:326)
[undertow-core-1.4.18.Final.jar:1.4.18.Final] at
io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:812)
[undertow-core-1.4.18.Final.jar:1.4.18.Final] at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[rt.jar:1.8.0_171] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[rt.jar:1.8.0_171] at java.lang.Thread.run(Thread.java:748)
[rt.jar:1.8.0_171]2018-06-12 07:31:09,027-04 DEBUG
[org.ovirt.engine.core.common.di.interceptor.DebugLoggingInterceptor]
(EE-ManagedThreadFactory-engineScheduled-Thread-91) [] method:
getAllForStoragePoolAndStatuses, params:
[63e12667-b273-4294-8008-df6e3a13dbcd, [Up]], timeElapsed: 16ms2018-06-12
07:31:09,030-04 DEBUG
[org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStatusVDSCommand]
(EE-ManagedThreadFactory-engineScheduled-Thread-91) [] START,
SpmStatusVDSCommand(HostName = lago-basic-suite-master-host-0,
SpmStatusVDSCommandParameters:{hostId='af333e03-00e5-4f69-8a23-e281d054c70d',
storagePoolId='63e12667-b273-4294-8008-df6e3a13dbcd'}), log id:
50f623032018-06-12 07:31:09,031-04 DEBUG
[org.ovirt.vdsm.jsonrpc.client.reactors.stomp.impl.Message]
(EE-ManagedThreadFactory-engineScheduled-Thread-91) [] SEND:</error>*
6 years, 5 months
[ OST Failure Report ] [ oVirt Master (ovirt-engine) ] [ 05-06-2018 ] [ 002_bootstrap.update_default_cluster ]
by Dafna Ron
*Hi, We have a failure in ovirt-engine on master on update cluster because
of "cpu not found" CQ reported the below as the most possible cause for the
failure. I looked at the other changes that ran and I don't think any of
them would be the cause of failure. *
*Can you please have a look at this issue? *
*Link and headline of suspected patches: *
https://gerrit.ovirt.org/#/c/91888/ - db:fix upgrade issue on NULL values
*Link to
Job:http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/8033/
<http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/8033/>Link
to all
logs:http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/8033/a...
<http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/8033/artifa...>(Relevant)
error snippet from the log: <error>2018-06-04 11:56:31,958-04 INFO
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(default task-13) [] EVENT_ID: USER_ADDED_CPU_PROFILE(10,130), CPU Profile
test-cluster was successfully added (User: admin(a)internal-authz).2018-06-04
11:56:31,959-04 DEBUG
[org.ovirt.engine.core.common.di.interceptor.DebugLoggingInterceptor]
(default task-13) [] method: runAction, params: [AddCpuProfile,
CpuProfileParameters:{commandId='c76f8e59-c9a2-4601-964e-a92e9cb668ce',
user='admin',
commandType='Unknown'}], timeElapsed: 168ms2018-06-04 11:56:31,974-04 INFO
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(default task-13) [] EVENT_ID: USER_ADD_CLUSTER(809), Cluster test-cluster
was added by admin@internal-authz2018-06-04 11:56:31,975-04 DEBUG
[org.ovirt.engine.core.common.di.interceptor.DebugLoggingInterceptor]
(default task-13) [] method: runAction, params: [AddCluster,
ManagementNetworkOnClusterOperationParameters:{commandId='3e0bf24c-4c49-4094-928d-7c15ef50ff62',
user='null', commandType='Unknown'}], timeElapsed: 272ms2018-06-04
11:56:31,980-04 DEBUG
[org.ovirt.engine.core.common.di.interceptor.DebugLoggingInterceptor]
(default task-13) [8ef59a69-020e-407c-9766-fbd3a6cc9381] method: runQuery,
params: [GetClusterById,
IdQueryParameters:{refresh='false', filtered='false'}], timeElapsed: 5ms*
*2018-06-04 11:57:19,857-04 DEBUG
[org.ovirt.engine.core.dal.dbbroker.PostgresDbEngineDialect$PostgresSimpleJdbcCall]
(default task-6) [72cc0877-c16d-4539-a3d0-90cd3c4a7a84] Compiled stored
procedure. Call string is [{call getvdsbyclusterid(?, ?, ?)}]2018-06-04
11:57:19,857-04 DEBUG
[org.ovirt.engine.core.dal.dbbroker.PostgresDbEngineDialect$PostgresSimpleJdbcCall]
(default task-6) [72cc0877-c16d-4539-a3d0-90cd3c4a7a84] SqlCall for
procedure [GetVdsByClusterId] compiled2018-06-04 11:57:19,878-04 DEBUG
[org.ovirt.engine.core.common.di.interceptor.DebugLoggingInterceptor]
(default task-6) [72cc0877-c16d-4539-a3d0-90cd3c4a7a84] method:
getAllForCluster, params: [9cbb05e6-680f-11e8-b07e-5452c0a8c904],
timeElapsed: 25ms2018-06-04 11:57:19,879-04 WARN
[org.ovirt.engine.core.bll.UpdateClusterCommand] (default task-6)
[72cc0877-c16d-4539-a3d0-90cd3c4a7a84] Validation of action 'UpdateCluster'
failed for user admin@internal-authz. Reasons:
VAR__TYPE__CLUSTER,VAR__ACTION__UPDATE,VAR__TYPE__CLUSTER,ACTION_TYPE_FAILED_CPU_NOT_FOUND2018-06-04
11:57:19,881-04 INFO [org.ovirt.engine.core.bll.UpdateClusterCommand]
(default task-6) [72cc0877-c16d-4539-a3d0-90cd3c4a7a84] Lock freed to
object 'EngineLock:{exclusiveLocks='[]', sharedLocks='[]'}'2018-06-04
11:57:19,881-04 DEBUG
[org.ovirt.engine.core.common.di.interceptor.DebugLoggingInterceptor]
(default task-6) [72cc0877-c16d-4539-a3d0-90cd3c4a7a84] method: runAction,
params: [UpdateCluster,
ManagementNetworkOnClusterOperationParameters:{commandId='36bf82e7-eec8-4b36-99af-db5ade902593',
user='null', commandType='Unknown'}], timeElapsed: 58ms2018-06-04
11:57:19,886-04 ERROR
[org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default
task-6) [] Operation Failed: [Cannot edit Cluster. The chosen CPU is not
supported.]</error>*
Thanks,
Dafna
6 years, 5 months
[VDSM] travis tests fail consistently since Apr 14
by Nir Soffer
There are several issues:
1. coverage fail after this patch:
https://github.com/oVirt/vdsm/commit/6b905c2c134bcf344961d28eefbd05f2838d...
https://travis-ci.org/oVirt/vdsm/builds/366574414
...
pwd
/vdsm/tests
ls .cov*
ls: cannot access .cov*: No such file or directory
make[1]: *** [check] Error 2
make[1]: Leaving directory `/vdsm/tests'
2. pywatch_test - gdb not installed
We need to add gdb and install install python-debuginfo package on
the test images.
self = <pywatch_test.TestPyWatch object at 0x2bbc0d0>
def test_timeout(self):
rc, out, err = exec_cmd(['./py-watch', '0.1', 'sleep', '10'])
assert b'Watched process timed out' in out
> assert rc == 128 + signal.SIGTERM
E assert 1 == (128 + 15)
E + where 15 = signal.SIGTERM
pywatch_test.py:45: AssertionError
------------------------------ Captured log call
-------------------------------
cmdutils.py 151 DEBUG ./py-watch 0.1 sleep 10 (cwd None)
cmdutils.py 159 DEBUG FAILED: <err> = 'Traceback (most
recent call last):\n File "./py-watch", line 59, in <module>\n
dump_trace(watched_proc)\n File "./py-watch", line 32, in dump_trace\n
\'thread apply all py-bt\'])\n File
"/usr/lib64/python2.7/site-packages/subprocess32.py", line 575, in call\n
p = Popen(*popenargs, **kwargs)\n File
"/usr/lib64/python2.7/site-packages/subprocess32.py", line 822, in
__init__\n restore_signals, start_new_session)\n File
"/usr/lib64/python2.7/site-packages/subprocess32.py", line 1567, in
_execute_child\n raise child_exception_type(errno_num,
err_msg)\nOSError: [Errno 2] No such file or directory: \'gdb\'\n'; <rc> = 1
Nir
6 years, 5 months
dedicated UX Design team
by Greg Sheremeta
Hi all,
oVirt now has a dedicated UX Design team! This team is responsible for
creating mockups, providing design guidance, and performing design review
of every UI related change coming into oVirt.
The new group's lead is Liz Blanchard. Liz is returning to oVirt after a
hiatus. If you've seen the oVirt admin portal dashboard, you're familiar
with her design skills!
Even though we don't have any formal process of interaction just yet,
please make sure to reach out to Liz the moment you have any design related
questions or are starting any non-trivial UI related change.
lsurette(a)redhat.com, lblanchard in #ovirt, and lizsurette on github.
Best wishes,
Greg
--
GREG SHEREMETA
SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX
Red Hat NA
<https://www.redhat.com/>
gshereme(a)redhat.com IRC: gshereme
<https://red.ht/sig>
6 years, 5 months
Gerrit is slow again
by Nir Soffer
It was also very slow last week, moving between patches takes
many seconds.
It seems that there is some caching mechanism in gerrit, so after very
slow page retrieval, the next request is fast. But this happens too many
times.
We need to understand why this slowdown happens and make sure
the system is kept responsive.
Nir
6 years, 5 months