{"action":"created","issue":{"url":"https://api.github.com/repos/gc3-uzh-ch/elasticluster/issues/187","labels_url":"https://api.github.com/repos/gc3-uzh-ch/elasticluster/issues/187/labels{/name}","comments_url":"https://api.github.com/repos/gc3-uzh-ch/elasticluster/issues/187/comments","events_url":"https://api.github.com/repos/gc3-uzh-ch/elasticluster/issues/187/events","html_url":"https://github.com/gc3-uzh-ch/elasticluster/issues/187","id":116342807,"number":187,"title":"No reason given for VM creation error","user":{"login":"riccardomurri","id":447228,"avatar_url":"https://avatars.githubusercontent.com/u/447228?v=3","gravatar_id":"","url":"https://api.github.com/users/riccardomurri","html_url":"https://github.com/riccardomurri","followers_url":"https://api.github.com/users/riccardomurri/followers","following_url":"https://api.github.com/users/riccardomurri/following{/other_user}","gists_url":"https://api.github.com/users/riccardomurri/gists{/gist_id}","starred_url":"https://api.github.com/users/riccardomurri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riccardomurri/subscriptions","organizations_url":"https://api.github.com/users/riccardomurri/orgs","repos_url":"https://api.github.com/users/riccardomurri/repos","events_url":"https://api.github.com/users/riccardomurri/events{/privacy}","received_events_url":"https://api.github.com/users/riccardomurri/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gc3-uzh-ch/elasticluster/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"riccardomurri","id":447228,"avatar_url":"https://avatars.githubusercontent.com/u/447228?v=3","gravatar_id":"","url":"https://api.github.com/users/riccardomurri","html_url":"https://github.com/riccardomurri","followers_url":"https://api.github.com/users/riccardomurri/followers","following_url":"https://api.github.com/users/riccardomurri/following{/other_user}","gists_url":"https://api.github.com/users/riccardomurri/gists{/gist_id}","starred_url":"https://api.github.com/users/riccardomurri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riccardomurri/subscriptions","organizations_url":"https://api.github.com/users/riccardomurri/orgs","repos_url":"https://api.github.com/users/riccardomurri/repos","events_url":"https://api.github.com/users/riccardomurri/events{/privacy}","received_events_url":"https://api.github.com/users/riccardomurri/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-11-11T14:15:34Z","updated_at":"2015-11-20T16:40:23Z","closed_at":null,"body":"ElastiCluster currently prints no meaningful details about VM creation errors: it just creates a `Node` object with `None` as IP address, and everything goes helter-skelter from there on.\r\n\r\nSee <https://www.s3it.uzh.ch/help/issue1685> for a concrete example: if ElastiCluster would have reported that nodes of the given flavor where not available, the whole issue report would not have existed.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/gc3-uzh-ch/elasticluster/issues/comments/158454026","html_url":"https://github.com/gc3-uzh-ch/elasticluster/issues/187#issuecomment-158454026","issue_url":"https://api.github.com/repos/gc3-uzh-ch/elasticluster/issues/187","id":158454026,"user":{"login":"riccardomurri","id":447228,"avatar_url":"https://avatars.githubusercontent.com/u/447228?v=3","gravatar_id":"","url":"https://api.github.com/users/riccardomurri","html_url":"https://github.com/riccardomurri","followers_url":"https://api.github.com/users/riccardomurri/followers","following_url":"https://api.github.com/users/riccardomurri/following{/other_user}","gists_url":"https://api.github.com/users/riccardomurri/gists{/gist_id}","starred_url":"https://api.github.com/users/riccardomurri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riccardomurri/subscriptions","organizations_url":"https://api.github.com/users/riccardomurri/orgs","repos_url":"https://api.github.com/users/riccardomurri/repos","events_url":"https://api.github.com/users/riccardomurri/events{/privacy}","received_events_url":"https://api.github.com/users/riccardomurri/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T16:40:23Z","updated_at":"2015-11-20T16:40:23Z","body":"The relevant parts of the linked issue reports are:\r\n\r\n> If I try to add one compute node I get\r\n>\r\n>         elasticluster resize -a 1:compute -vv theory -t theory\r\n>\r\n> [...]\r\n>\r\n> It times out with\r\n>\r\n>         DEBUG:gc3.elasticluster:node `compute001` (instance id `***`) still building...\r\n>         ERROR:gc3.elasticluster:Not all nodes were started correctly within the given timeout `600`\r\n>         ERROR:gc3.elasticluster:Please check if image, keypair, and network configuration is correct and try again.\r\n>\r\n\r\n> the list-nodes command gives\r\n>\r\n>         elasticluster -vv list-nodes theory\r\n>         [...]\r\n>\r\n>         frontend nodes:\r\n>\r\n>            - frontend001\r\n>              connection IP: 172.23.***\r\n>              IPs:    172.23.***\r\n>              instance id:   ...\r\n>              instance flavor: 1cpu-4ram-hpc\r\n>\r\n>         compute nodes:\r\n>\r\n>            - compute001\r\n>              connection IP: None\r\n>              IPs:\r\n>              instance id:   ...\r\n>              instance flavor: 16cpu-64ram-hpc\r\n\r\nLater on the resolution was:\r\n\r\n> The 'problem' was that there was no space on ScienceCloud to span\r\n> a  16cpu-64ram-hpc  flavor. As soon as I changed to a 8cpu-32ram-hpc\r\n> flavor things are working fine.\r\n\r\nHence the issue is with ElastiCluster's reporting of the error.\r\n"}}