Github user PaulAngus commented on the issue:

    https://github.com/apache/cloudstack/pull/1711
  
    test_primary_storage.py fails iSCSI test.
    **Marvin resports:**  createstoragepool failed, due to: errorCode: 530, 
errorText:Failed to add data store: Failed to access storage pool
    **cloudstack-management log reports:**
    Unable to setup heartbeat sr on SR 10e0c167-06fa-f654-4b3e-ecd7c5800447 due 
to #7# volume hb-0988b965-ce0e-4dd2-af70-318ea063a008 is not created
    Running **setup_heartbeat_sr.sh** manually returns:
    
    > Command not permitted while global/metadata_read_only is set
    
    from 
http://discussions.citrix.com/topic/378957-command-not-permitted-while-globalmetadata-read-only-is-set/
    
    adding --config global{metadata_read_only=0} to line 75 (lvcreate 
VG_XenStorage-$2 -n hb-$1 --size 4M) resolves the issue.
    
    I don't know if adding that global config switch is persisted or if it has 
other side effects.
    
    But it allows iSCSI to attach and hb volume to be created...


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to