Bug 841148
| Summary: | [rhevm] new storage domain dialogue: do not attempt to attach domain when data-center != up | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Haim <hateya> | ||||
| Component: | ovirt-engine | Assignee: | Asaf Shakarchi <asaf> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | vvyazmin <vvyazmin> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.1.0 | CC: | abaron, amureini, derez, dyasny, ecohen, hateya, iheim, lnatapov, lpeer, mkublin, Rhev-m-bugs, sgrinber, vvyazmin, yeylon, ykaul | ||||
| Target Milestone: | --- | Keywords: | Reopened | ||||
| Target Release: | 3.2.0 | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | storage | ||||||
| Fixed In Version: | sf3 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-06-11 09:14:46 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 915537 | ||||||
| Attachments: |
|
||||||
|
Description
Haim
2012-07-18 09:27:35 UTC
I look on that bug because of code review. Couple of questions: 1. We have not non-responsive status on data-center, only non operational. 2. We have non-responsive status for host. 3. What was status of hosts during create and attach opration. 4. Logs, at least for engine Created attachment 601747 [details] engine logs (In reply to comment #1) > I look on that bug because of code review. > Couple of questions: > 1. We have not non-responsive status on data-center, only non operational. > 2. We have non-responsive status for host. > 3. What was status of hosts during create and attach opration. UP > 4. Logs, at least for engine you have - in the GUI i have non-responsive. this is what I get on web-admin: Error: Failed to attach Storage due to an error on the Data Center master Storage Domain. -Please activate the master Storage Domain first. 2012-08-01 20:20:00,758 INFO [org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand] (QuartzScheduler_Worker-32) [bd5247] ActivateStorage Domain. Bef ore Connect all hosts to pool. Time:8/1/12 8:20 PM 2012-08-01 20:20:00,792 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] (pool-4-thread-47) [bd5247] START, ConnectStorageServe rVDSCommand(vdsId = 78e0bf24-d979-11e1-9e8e-001a4a16970e, storagePoolId = b8423a1f-8889-469a-b2fa-39ab78ac3a57, storageType = ISCSI, connectionList = [{ id: ce 7b6af6-5325-4d1f-9341-4d1b2ca59445, connection: 10.35.160.7 };]), log id: 5678b0a 2012-08-01 20:20:00,836 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.GetVGInfoVDSCommand] (ajp-/127.0.0.1:8009-1) [42bfe73] FINISH, GetVGInfoVDSCommand, re turn: [org.ovirt.engine.core.common.businessentities.LUNs@dd8e89f1], log id: 46fbf47b 2012-08-01 20:20:00,888 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] (pool-4-thread-47) [bd5247] FINISH, ConnectStorageServ erVDSCommand, return: {ce7b6af6-5325-4d1f-9341-4d1b2ca59445=0}, log id: 5678b0a 2012-08-01 20:20:00,888 INFO [org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand] (QuartzScheduler_Worker-32) [bd5247] ActivateStorage Domain. Aft er Connect all hosts to pool. Time:8/1/12 8:20 PM 2012-08-01 20:20:00,889 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.ActivateStorageDomainVDSCommand] (QuartzScheduler_Worker-32) [bd5247] START, ActivateS torageDomainVDSCommand(storagePoolId = b8423a1f-8889-469a-b2fa-39ab78ac3a57, ignoreFailoverLimit = false, compatabilityVersion = null, storageDomainId = 4f38a9 96-dbeb-4981-885b-742b46a4714f), log id: 38fe88c9 2012-08-01 20:20:01,040 WARN [org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand] (ajp-/127.0.0.1:8009-9) [6f9d135] CanDoAction of action Atta chStorageDomainToPool failed. Reasons:VAR__TYPE__STORAGE__DOMAIN,VAR__ACTION__ATTACH,ACTION_TYPE_FAILED_MASTER_STORAGE_DOMAIN_NOT_ACTIVE when creating domains GUI should filter out DCs that are not operational. other than that, the error is correct. This is a more general infra problem rather than a specific issue, so this BZ is just an example of a more general problem, This is a long invocation and involves creation of async tasks, The problem is that async tasks 'loose' the context of the user, In the infra level there should be a support for preserving user context. Please ignore comment #4 as it's related to another bug, Patch submitted: http://gerrit.ovirt.org/#/c/9678/ sf5. Non-Operational DCs are filtered. 3.2 has been released 3.2 has been released |