Bug 2244641
Summary: | During the storage domain import, the engine will fail to find OVF_STORE if there is also a ConnectStoragePoolVDSCommand request | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | nijin ashok <nashok> |
Component: | ovirt-engine | Assignee: | Benny Zlotnik <bzlotnik> |
Status: | CLOSED NEXTRELEASE | QA Contact: | meital avital <mavital> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.5.3 | CC: | ahadas, bzlotnik, mperina |
Target Milestone: | ovirt-4.5.3-async | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | ovirt-engine-4.5.3.10 | Doc Type: | No Doc Update |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2024-01-31 14:00:24 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
nijin ashok
2023-10-17 13:46:47 UTC
Benny, please take a look at this one I think the problem is in[1] List<Disk> unregisteredDisks = new ArrayList<>(); for (Guid unregisteredDiskId : imagesList) { GetUnregisteredDiskQueryParameters unregQueryParams = new GetUnregisteredDiskQueryParameters( unregisteredDiskId, getStorageDomainId(), getStoragePoolId()); QueryReturnValue unregQueryReturn = runInternalQuery(QueryType.GetUnregisteredDisk, unregQueryParams); if (unregQueryReturn.getSucceeded()) { unregisteredDisks.add(unregQueryReturn.getReturnValue()); } else { log.debug("Could not get populated disk: {}", unregQueryReturn.getExceptionString()); } } getQueryReturnValue().setReturnValue(unregisteredDisks); ovirt-engine managed to successfully get the imagesList from vdsm, but the subsequent calls to GetUnregisteredDisk (which eventually call getVolumeInfo) failed because the LVs were deactivated. So ultimately unregisteredDisks remained empty because non of the queries succeeded, and was passed leading to this log message: 2023-10-17 13:16:39,299Z WARN [org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand] (EE-ManagedThreadFactory-engine-Thread-101987) [] There are no OVF_STORE disks on storage domain id d1f38c8f-2308-469b-b6e0-1e511da7c1ba I think this is conceptually similar to bug 2126602, and we need to fail the SD attachment operation and have it retried manually later [1] https://github.com/oVirt/ovirt-engine/blob/d48b5f123e2d5980d937dba426373b508445e715/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/disk/image/GetUnregisteredDisksQuery.java#L81 This bug has low overall severity and is not going to be further verified by QE. This bug has low overall severity and passed an automated regression suite, and is not going to be further verified by QE. |