Bug 893920
| Summary: | [RHEVM] RHEVH-Configure Local Storage: Error while executing action New Local Storage Domain: Remote path is illegal | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Lijun Li <lijli> | ||||||
| Component: | ovirt-engine | Assignee: | Alon Bar-Lev <alonbl> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Leonid Natapov <lnatapov> | ||||||
| Severity: | urgent | Docs Contact: | |||||||
| Priority: | urgent | ||||||||
| Version: | 3.2.0 | CC: | aalam, abaron, alonbl, amureini, dron, dyasny, ecohen, iheim, lpeer, qe-i18n-bugs, Rhev-m-bugs, sgrinber, yeylon, ykaul | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | 3.2.0 | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | storage | ||||||||
| Fixed In Version: | SF4 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
Lijun Li
2013-01-10 09:07:20 UTC
Created attachment 676181 [details]
Set the path to your local storage
Created attachment 676182 [details]
Error while executing action New Local Storage Domain: Remote path is illegal
======engine.log=============
2013-01-10 01:59:23,286 INFO [org.ovirt.engine.core.bll.storage.AddLocalStorageDomainCommand] (ajp-/127.0.0.1:8702-13) [_WEBADMIN_16940142_Configure_Local_Storage] Running command: AddLocalStorageDomainCommand internal: false. Entities affected : ID: aaa00000-0000-0000-0000-123456789aaa Type: System
2013-01-10 01:59:23,301 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStorageDomainVDSCommand] (ajp-/127.0.0.1:8702-13) [_WEBADMIN_16940142_Configure_Local_Storage] START, CreateStorageDomainVDSCommand(HostName = rhevh64.redhat.com, HostId = 8272683e-210d-4e08-b2cc-18fbb29cd04e, storageDomain=org.ovirt.engine.core.common.businessentities.StorageDomainStatic@beab2cc2, args=/data/images/), log id: 440174e1
2013-01-10 01:59:27,926 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (ajp-/127.0.0.1:8702-13) [_WEBADMIN_16940142_Configure_Local_Storage] Failed in CreateStorageDomainVDS method
2013-01-10 01:59:27,927 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (ajp-/127.0.0.1:8702-13) [_WEBADMIN_16940142_Configure_Local_Storage] Error code StorageDomainIllegalRemotePath and error message VDSGenericException: VDSErrorException: Failed to CreateStorageDomainVDS, error = Remote path is illegal: ('/data/images/',)
2013-01-10 01:59:27,927 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (ajp-/127.0.0.1:8702-13) [_WEBADMIN_16940142_Configure_Local_Storage] Command org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStorageDomainVDSCommand return value
Class Name: org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturnForXmlRpc
mStatus Class Name: org.ovirt.engine.core.vdsbroker.vdsbroker.StatusForXmlRpc
mCode 390
mMessage Remote path is illegal: ('/data/images/',)
2013-01-10 01:59:27,928 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (ajp-/127.0.0.1:8702-13) [_WEBADMIN_16940142_Configure_Local_Storage] HostName = rhevh64.redhat.com
2013-01-10 01:59:27,928 ERROR [org.ovirt.engine.core.vdsbroker.VDSCommandBase] (ajp-/127.0.0.1:8702-13) [_WEBADMIN_16940142_Configure_Local_Storage] Command CreateStorageDomainVDS execution failed. Exception: VDSErrorException: VDSGenericException: VDSErrorException: Failed to CreateStorageDomainVDS, error = Remote path is illegal: ('/data/images/',)
2013-01-10 01:59:27,928 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStorageDomainVDSCommand] (ajp-/127.0.0.1:8702-13) [_WEBADMIN_16940142_Configure_Local_Storage] FINISH, CreateStorageDomainVDSCommand, log id: 440174e1
2013-01-10 01:59:27,928 ERROR [org.ovirt.engine.core.bll.storage.AddLocalStorageDomainCommand] (ajp-/127.0.0.1:8702-13) [_WEBADMIN_16940142_Configure_Local_Storage] Command org.ovirt.engine.core.bll.storage.AddLocalStorageDomainCommand throw Vdc Bll exception. With error message VdcBLLException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed to CreateStorageDomainVDS, error = Remote path is illegal: ('/data/images/',)
2013-01-10 01:59:27,933 INFO [org.ovirt.engine.core.bll.storage.AddLocalStorageDomainCommand] (ajp-/127.0.0.1:8702-13) [_WEBADMIN_16940142_Configure_Local_Storage] Command [id=e07f8daf-c130-400d-9198-7bc18ebb8841]: Compensating NEW_ENTITY_ID of org.ovirt.engine.core.common.businessentities.StorageDomainDynamic; snapshot: 712ba8e0-953c-4b14-baf4-f9b4ff60e1ee.
2013-01-10 01:59:27,935 INFO [org.ovirt.engine.core.bll.storage.AddLocalStorageDomainCommand] (ajp-/127.0.0.1:8702-13) [_WEBADMIN_16940142_Configure_Local_Storage] Command [id=e07f8daf-c130-400d-9198-7bc18ebb8841]: Compensating NEW_ENTITY_ID of org.ovirt.engine.core.common.businessentities.StorageDomainStatic; snapshot: 712ba8e0-953c-4b14-baf4-f9b4ff60e1ee.
2013-01-10 01:59:27,946 ERROR [org.ovirt.engine.core.bll.storage.AddLocalStorageDomainCommand] (ajp-/127.0.0.1:8702-13) [_WEBADMIN_16940142_Configure_Local_Storage] Transaction rolled-back for command: org.ovirt.engine.core.bll.storage.AddLocalStorageDomainCommand.
2013-01-10 01:59:28,577 INFO [org.ovirt.engine.core.bll.storage.RemoveStorageServerConnectionCommand] (ajp-/127.0.0.1:8702-5) [_WEBADMIN_16940142_Configure_Local_Storage] Running command: RemoveStorageServerConnectionCommand internal: false. Entities affected : ID: aaa00000-0000-0000-0000-123456789aaa Type: System
2013-01-10 01:59:28,580 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.DisconnectStorageServerVDSCommand] (ajp-/127.0.0.1:8702-5) [_WEBADMIN_16940142_Configure_Local_Storage] START, DisconnectStorageServerVDSCommand(HostName = rhevh64.redhat.com, HostId = 8272683e-210d-4e08-b2cc-18fbb29cd04e, storagePoolId = 00000000-0000-0000-0000-000000000000, storageType = LOCALFS, connectionList = [{ id: null, connection: /data/images/, iqn: null, vfsType: null, mountOptions: null, nfsVersion: null, nfsRetrans: null, nfsTimeo: null };]), log id: 45086c27
2013-01-10 01:59:32,739 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.DisconnectStorageServerVDSCommand] (ajp-/127.0.0.1:8702-5) [_WEBADMIN_16940142_Configure_Local_Storage] FINISH, DisconnectStorageServerVDSCommand, return: {00000000-0000-0000-0000-000000000000=0}, log id: 45086c27
2013-01-10 01:59:34,345 INFO [org.ovirt.engine.core.bll.LoginUserCommand] (ajp-/127.0.0.1:8702-10) Checking if user admin@internal is an admin, result true
2013-01-10 01:59:34,345 INFO [org.ovirt.engine.core.bll.LoginUserCommand] (ajp-/127.0.0.1:8702-10) Running command: LoginUserCommand internal: false.
2013-01-10 01:59:34,370 WARN [org.ovirt.engine.core.bll.GetConfigurationValueQuery] (ajp-/127.0.0.1:8702-10) calling GetConfigurationValueQuery (ApplicationMode) with null version, using default general for version
2013-01-10 01:59:34,371 WARN [org.ovirt.engine.core.bll.GetConfigurationValueQuery] (ajp-/127.0.0.1:8702-10) calling GetConfigurationValueQuery (VdcVersion) with null version, using default general for version
2013-01-10 02:00:00,001 INFO [org.ovirt.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_Worker-87) Checking autorecoverable hosts
2013-01-10 02:00:00,009 INFO [org.ovirt.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_Worker-87) Autorecovering 0 hosts
2013-01-10 02:00:00,009 INFO [org.ovirt.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_Worker-87) Checking autorecoverable hosts done
2013-01-10 02:00:00,009 INFO [org.ovirt.engine.core.bll.AutoRecoveryManager] (QuartzScheduler_Worker-87) Autorecovering storage domains is disabled, skipping
2013-01-10 02:00:34,337 INFO [org.ovirt.engine.core.bll.LoginUserCommand] (ajp-/127.0.0.1:8702-2) Checking if user admin@internal is an admin, result true
2013-01-10 02:00:34,337 INFO [org.ovirt.engine.core.bll.LoginUserCommand] (ajp-/127.0.0.1:8702-2) Running command: LoginUserCommand internal: false.
2013-01-10 02:00:34,364 WARN [org.ovirt.engine.core.bll.GetConfigurationValueQuery] (ajp-/127.0.0.1:8702-2) calling GetConfigurationValueQuery (ApplicationMode) with null version, using default general for version
2013-01-10 02:00:34,364 WARN [org.ovirt.engine.core.bll.GetConfigurationValueQuery] (ajp-/127.0.0.1:8702-2) calling GetConfigurationValueQuery (VdcVersion) with null version, using default general for version
The path should be '/data/images/rhev'. Correct. This was a bug introduced at[1], due to mixup with the two functions of /data. [1] http://gerrit.ovirt.org/#/c/9156/3 As a work around you can change the configuration RhevhLocalFSPath to /data/images/rhev # psql -d engine -U postgres -c "update vdc_options set option_value='/data/images/rhev' where option_name='RhevhLocalFSPath';" sf9. successfully created local storage on RHEVH node in /data/images. 3.2 has been released 3.2 has been released 3.2 has been released |