{"action":"created","issue":{"url":"https://api.github.com/repos/vmware/photon-controller/issues/54","repository_url":"https://api.github.com/repos/vmware/photon-controller","labels_url":"https://api.github.com/repos/vmware/photon-controller/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/vmware/photon-controller/issues/54/comments","events_url":"https://api.github.com/repos/vmware/photon-controller/issues/54/events","html_url":"https://github.com/vmware/photon-controller/issues/54","id":185945174,"number":54,"title":"Encountering NotEnoughMemoryResource even when overriding vm settings","user":{"login":"ebauman","id":5565738,"avatar_url":"https://avatars.githubusercontent.com/u/5565738?v=3","gravatar_id":"","url":"https://api.github.com/users/ebauman","html_url":"https://github.com/ebauman","followers_url":"https://api.github.com/users/ebauman/followers","following_url":"https://api.github.com/users/ebauman/following{/other_user}","gists_url":"https://api.github.com/users/ebauman/gists{/gist_id}","starred_url":"https://api.github.com/users/ebauman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebauman/subscriptions","organizations_url":"https://api.github.com/users/ebauman/orgs","repos_url":"https://api.github.com/users/ebauman/repos","events_url":"https://api.github.com/users/ebauman/events{/privacy}","received_events_url":"https://api.github.com/users/ebauman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-28T14:58:34Z","updated_at":"2016-11-04T04:57:25Z","closed_at":null,"body":"Greetings,\n\nI am attempting to deploy photon controller to a small 4-host cluster.\nI have overridden the memory, cpu, and disk resource settings in the yaml configuration file before attempting to deploy.\nHere is a snippet of the settings from one host:\n\n```\nhosts:\n  - metadata:\n      MANAGEMENT_DATASTORE: Production Capacity\n      MANAGEMENT_PORTGROUP: Test01-440\n      MANAGEMENT_NETWORK_NETMASK: 255.255.255.0\n      MANAGEMENT_NETWORK_DNS_SERVER: 192.168.1.254\n      MANAGEMENT_NETWORK_GATEWAY: 192.168.1.254\n      MANAGEMENT_VM_IPS: 192.168.1.1\n      MANAGEMENT_VM_CPU_COUNT_OVERWRITE: 2\n      MANAGEMENT_VM_MEMORY_MB_OVERWRITE: 2048\n      MANAGEMENT_VM_DISK_GB_OVERWRITE: 20\n```\n\nWhen I attempt to deploy, the deployment process runs for several minutes before I receive the following error:\n\n`API Errors: [photon: { HTTP status: '0', code: 'DeploymentFailed', message: 'Deployment #361ec03f-8edf-4db3-b4ed-4c064d92e678 failed: [Task \"CREATE_VM\": step \"RESERVE_RESOURCE\" failed with error code \"NotEnoughMemoryResource\", message \"null\"]', data: 'map[id:361ec03f-8edf-4db3-b4ed-4c064d92e678 error:[Task \"CREATE_VM\": step \"RESERVE_RESOURCE\" failed with error code \"NotEnoughMemoryResource\", message \"null\"]]' }]`\n\nAll of the hosts in question have at least 24GB of free memory, and as I am (theoretically) only requesting 2G, I think something might be wrong here. \n\nI am using photon-controller version 1.0TP2, photon CLI 63a4889.\n"},"comment":{"url":"https://api.github.com/repos/vmware/photon-controller/issues/comments/258345109","html_url":"https://github.com/vmware/photon-controller/issues/54#issuecomment-258345109","issue_url":"https://api.github.com/repos/vmware/photon-controller/issues/54","id":258345109,"user":{"login":"govint","id":15854712,"avatar_url":"https://avatars.githubusercontent.com/u/15854712?v=3","gravatar_id":"","url":"https://api.github.com/users/govint","html_url":"https://github.com/govint","followers_url":"https://api.github.com/users/govint/followers","following_url":"https://api.github.com/users/govint/following{/other_user}","gists_url":"https://api.github.com/users/govint/gists{/gist_id}","starred_url":"https://api.github.com/users/govint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/govint/subscriptions","organizations_url":"https://api.github.com/users/govint/orgs","repos_url":"https://api.github.com/users/govint/repos","events_url":"https://api.github.com/users/govint/events{/privacy}","received_events_url":"https://api.github.com/users/govint/received_events","type":"User","site_admin":false},"created_at":"2016-11-04T04:57:25Z","updated_at":"2016-11-04T04:57:25Z","body":"With 64GB of host memory and with a sum total of registered VMs accounting for around 22GB memory, still unable to deploy photon-controller (needs 16GB)."}}
{"actor":{"display_login":"govint"}}