BOSH CLI can't install to Standard A0 instance — it exhausts memory and swap while compiling the CPI.
I don't believe that there's an easy fix — I think the short-term answer might be to add a note to http://bosh.io/docs/init-azure.html to say, "Instance size must have 1.75GiB RAM or greater (do not use Standard_A0) for install to complete successfully."
Hangs at:
Started deploying
Waiting for the agent on VM 'cunniestore-0e2eaed8-1b38-4ad8-54fc-a21b6d394da7'... Finished (00:00:01)
Stopping jobs on instance 'unknown/0'... Finished (00:00:02)
Deleting VM 'cunniestore-0e2eaed8-1b38-4ad8-54fc-a21b6d394da7'... Finished (00:03:07)
Creating VM for instance 'nginx_ntp_pdns/0' from stemcell 'bosh-stemcell-2875d88b-4c7f-4931-a607-e21024680c7b'... Finished (00:03:15)
Waiting for the agent on VM 'cunniestore-7c208d26-0294-49a8-7877-29c94f247459' to be ready... Finished (00:00:49)
Rendering job templates... Finished (00:00:03)
Compiling package 'ruby_azure_cpi/87c15bcd83a9a6011b6001be68e58c59ec1c5dcb'...^C
less /var/log/syslog
Dec 23 03:12:49 localhost kernel: [ 1005.372166] Out of memory: Kill process 28561 (cc1) score 8 or sacrifice child
less /var/vcap/sys/log/compilation/packaging.stderr.log
gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make[2]: *** [ossl_x509store.o] Error 4
make[2]: *** Waiting for unfinished jobs....
gcc: internal compiler error: Killed (program cc1)
gcc: internal compiler error: Killed (program cc1)
BOSH CLI can't install to Standard A0 instance — it exhausts memory and swap while compiling the CPI.
I don't believe that there's an easy fix — I think the short-term answer might be to add a note to http://bosh.io/docs/init-azure.html to say, "Instance size must have 1.75GiB RAM or greater (do not use Standard_A0) for install to complete successfully."
Hangs at:
less
/var/log/syslog
less
/var/vcap/sys/log/compilation/packaging.stderr.log