{"action":"created","issue":{"url":"https://api.github.com/repos/ganeti/ganeti/issues/568","repository_url":"https://api.github.com/repos/ganeti/ganeti","labels_url":"https://api.github.com/repos/ganeti/ganeti/issues/568/labels{/name}","comments_url":"https://api.github.com/repos/ganeti/ganeti/issues/568/comments","events_url":"https://api.github.com/repos/ganeti/ganeti/issues/568/events","html_url":"https://github.com/ganeti/ganeti/issues/568","id":238124745,"node_id":"MDU6SXNzdWUyMzgxMjQ3NDU=","number":568,"title":"Xen instance status collector test fails for exclusive storage","user":{"login":"Ganeti-Issues-Migrator","id":29254221,"node_id":"MDQ6VXNlcjI5MjU0MjIx","avatar_url":"https://avatars0.githubusercontent.com/u/29254221?v=4","gravatar_id":"","url":"https://api.github.com/users/Ganeti-Issues-Migrator","html_url":"https://github.com/Ganeti-Issues-Migrator","followers_url":"https://api.github.com/users/Ganeti-Issues-Migrator/followers","following_url":"https://api.github.com/users/Ganeti-Issues-Migrator/following{/other_user}","gists_url":"https://api.github.com/users/Ganeti-Issues-Migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/Ganeti-Issues-Migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ganeti-Issues-Migrator/subscriptions","organizations_url":"https://api.github.com/users/Ganeti-Issues-Migrator/orgs","repos_url":"https://api.github.com/users/Ganeti-Issues-Migrator/repos","events_url":"https://api.github.com/users/Ganeti-Issues-Migrator/events{/privacy}","received_events_url":"https://api.github.com/users/Ganeti-Issues-Migrator/received_events","type":"User","site_admin":false},"labels":[{"id":631648911,"node_id":"MDU6TGFiZWw2MzE2NDg5MTE=","url":"https://api.github.com/repos/ganeti/ganeti/labels/AutoMigrated","name":"AutoMigrated","color":"ededed","default":false},{"id":631648914,"node_id":"MDU6TGFiZWw2MzE2NDg5MTQ=","url":"https://api.github.com/repos/ganeti/ganeti/labels/Priority:Medium","name":"Priority:Medium","color":"fbca04","default":false},{"id":631701048,"node_id":"MDU6TGFiZWw2MzE3MDEwNDg=","url":"https://api.github.com/repos/ganeti/ganeti/labels/Status:PatchesWelcome","name":"Status:PatchesWelcome","color":"d4c5f9","default":false},{"id":631648933,"node_id":"MDU6TGFiZWw2MzE2NDg5MzM=","url":"https://api.github.com/repos/ganeti/ganeti/labels/Type-Defect","name":"Type-Defect","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-06-23T12:12:06Z","updated_at":"2018-09-26T13:42:11Z","closed_at":null,"author_association":"NONE","body":"Originally reported of Google Code with ID 512.\n\n```\nRun QA on a cluster with exclusive storage.\r\n---- 2013-07-03 13:58:56.047471 start Test the Xen instance status collector\r\nCommand: ssh NODE2 '/usr/local/lib/ganeti/mon-collector inst-status-xen'\r\n{\"name\":\"inst-status-xen\",\"version\":\"B\",\"format_version\":1,\"timestamp\":1372852736000000000,\"category\":\"instance\",\"kind\":1,\"data\":{\"instances\":[],\"status\":{\"code\":0,\"message\":\"\"}}}\r\nShared connection to NODE2 closed.\r\nCommand: ssh NODE2 'gnt-instance add --os-type=busybox --disk-template=drbd --node=NODE1:NODE2 -B minmem=512M,maxmem=1024M --disk 0:size=512M,name=disk0,spindles=2 --net 0:mac=aa:00:01:11:99:af INSTANCE1'\r\nFailure: prerequisites not met for this operation:\r\nerror type: wrong_state, error details:\r\nDisk template drbd not supported with exclusive storage\r\nShared connection to NODE2 closed.\r\n---- 2013-07-03 13:59:07.924517 time=0:00:11.877046 Test the Xen instance status collector\r\nTraceback (most recent call last):\r\n  File \"./ganeti-qa.py\", line 923, in <module>\r\n    main()\r\n  File \"PATH/ganeti/rapi/client.py\", line 245, in wrapper\r\n    return fn(*args, **kwargs)\r\n  File \"./ganeti-qa.py\", line 918, in main\r\n    RunQa()\r\n  File \"./ganeti-qa.py\", line 880, in RunQa\r\n    RunMonitoringTests()\r\n  File \"./ganeti-qa.py\", line 756, in RunMonitoringTests\r\n    RunTest(qa_monitoring.TestInstStatusCollector)\r\n  File \"./ganeti-qa.py\", line 95, in RunTest\r\n    retval = fn(*args, **kwargs)\r\n  File \"PATH/qa/qa_monitoring.py\", line 57, in TestInstStatusCollector\r\n    instance = CreateInstanceByDiskTemplate([node1, node2], template)\r\n  File \"PATH/qa/qa_instance_utils.py\", line 169, in CreateInstanceByDiskTemplate\r\n    return CreateInstanceDrbd8(nodes, fail=fail)\r\n  File \"PATH/qa/qa_instance_utils.py\", line 127, in CreateInstanceDrbd8\r\n    constants.DT_DRBD8, fail=fail)\r\n  File \"PATH/qa/qa_instance_utils.py\", line 99, in _CreateInstanceByDiskTemplateRaw\r\n    AssertCommand(cmd, fail=fail)\r\n  File \"PATH/qa/qa_utils.py\", line 193, in AssertCommand\r\n    _AssertRetCode(rcode, fail, cmdstr, nodename)\r\n  File \"PATH/qa/qa_utils.py\", line 163, in _AssertRetCode\r\n    (cmdstr, nodename, rcode))\r\nqa_error.Error: Command 'gnt-instance add --os-type=busybox --disk-template=drbd --node=NODE1:NODE2 -B minmem=512M,maxmem=1024M --disk 0:size=512M,name=disk0,spindles=2 --net 0:mac=aa:00:01:11:99:af INSTANCE1' on node NODE2 failed, exit code 1\r\n\r\nPossible solutions:\r\n- either make QA skip the test execution when exclusive storage is enabled\r\n- or (if possible) use a disk template that is supported for exclusive storage\n```\nOriginally added on 2013-07-03 12:28:20 +0000 UTC."},"comment":{"url":"https://api.github.com/repos/ganeti/ganeti/issues/comments/424719602","html_url":"https://github.com/ganeti/ganeti/issues/568#issuecomment-424719602","issue_url":"https://api.github.com/repos/ganeti/ganeti/issues/568","id":424719602,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDcxOTYwMg==","user":{"login":"ge-fa","id":8934138,"node_id":"MDQ6VXNlcjg5MzQxMzg=","avatar_url":"https://avatars0.githubusercontent.com/u/8934138?v=4","gravatar_id":"","url":"https://api.github.com/users/ge-fa","html_url":"https://github.com/ge-fa","followers_url":"https://api.github.com/users/ge-fa/followers","following_url":"https://api.github.com/users/ge-fa/following{/other_user}","gists_url":"https://api.github.com/users/ge-fa/gists{/gist_id}","starred_url":"https://api.github.com/users/ge-fa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ge-fa/subscriptions","organizations_url":"https://api.github.com/users/ge-fa/orgs","repos_url":"https://api.github.com/users/ge-fa/repos","events_url":"https://api.github.com/users/ge-fa/events{/privacy}","received_events_url":"https://api.github.com/users/ge-fa/received_events","type":"User","site_admin":false},"created_at":"2018-09-26T13:42:11Z","updated_at":"2018-09-26T13:42:11Z","author_association":"NONE","body":"hypervisor: xen"}}
{"actor":{"display_login":"ge-fa"}}