gstackio / gstack-bosh-environment

A framework for delivering integrated BOSH 2.0 deployments, and managing BOSH 2.0 environments
Apache License 2.0
10 stars 0 forks source link

local install on a bare metal install fails #2

Open chewfred opened 4 years ago

chewfred commented 4 years ago

I follow this guideline and it fails with this error.

https://github.com/gstackio/gstack-bosh-environment/blob/master/docs/getting-started/bare-metal.md

 Compiling package 'iptables/a18e112e3c62ec193e03f328626908ad61a2cf86a032380b4305a67956be941c'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'gonats/f58980bd4b0436ff65f588627116dfff63f346f4d13175b7ba47380ab89e08a6'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'postgres-10/42474d2a099578fd2c4632dca3e90161e2a9e112cc8495ac39be56c7a1792e10'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'nginx/4cf27fedc69b8b74c26b1e45df7ea715dc9eb427654aab00ef652182b7d81bb5'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'postgres-9.4/601f3635b43d0e7ba3ae866e3bd69425cdf33f7fb34a7f1bb21cc26818fb598e'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'dontpanic/f5a531645cdb06b9b76bcd72084cd5b6b5f8fa2f3ef1145086baf36fc12b7ef8'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'xfs-progs/b8baad87ddfdd32b428001fbdf4b2fd4e1bb9a28a4aa196782d3e5f92650d546'... Skipped [Package already compiled] (00:00:00)
  Compiling package 's3cli/09abf6d7c9145d3da5e4afc015a19709877be5e043c8dac72f4f82f8110b40d1'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'busybox/549ea5ccc88f92f8df15e4d46e40495627ed42c54ffd04ea5ad509611320651c'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'davcli/58f558960854f58c55e3d506d3906019178dbc189fbbed1616b8b3c7c02142ea'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'greenskeeper/c3bacbd2942d88780e0d7ddaf680f183086095d7730d6394145f1732312eeb1e'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'uaa/02b7c10854913a6d7e59459e9b4e1975fbbd3485'... Skipped [Package already compiled] (00:00:01)
  Compiling package 'garden-idmapper/8a01714f4a69de89210ba89814ed79d1d8120f2bf8205484f5009f7332c5c8ef'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'netplugin-shim/9aa9b256f84342dd2f63ec417f1766cce0a11bf00894e1b005fdf58977482cb2'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'grootfs/bcd18cdbb243e5c32d535b6921f97afabace761327c54603d15af36a1da63187'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'health_monitor/eed6f5786e37c1667267ca240641959892835d5cc6f777e8925d5c2254e588b8'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'thresholder/7c735962be81e0280f3c96f406db356362b68035a33123f3c7717e3301a21d8a'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'luna-hsm-client-7.4/746f3c30aadc0af7afc2d5cddcc16d8836a8f845'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'director/e9d8c0e112ad6d4f652f0e046262a47799445752e88d1d316ffb55fd90072c50'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'warden_cpi/a9d5dc6b81cd181be08db2fcf5f751e25ea5fe3c'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'verify_multidigest/64d1958934e10a0eccc05ddf0d7ba0c8215e6f6d4c227cb93998087335378fa8'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'runc/9bd8ed081b479bf7a64353e6022a31ade4634a07a7005624b0f33cf4dd6893f5'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'tini/cd19db4c74ad08902ca63bea2a78ff60fdf1007abcd6bf2bf34b895282a45ac9'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'tar/49f95c03d4d9ccb283d8e9473c941d654a51660ae9cc40a7f4f2c98d3a0652da'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'containerd/79388dec8721e0ee786b6108635dddec422f55bc8ef43629216d03d018ce5ae7'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'bpm/873ed579aa46000cd5c60b4403119ce22cf7b922'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'credhub/cb849b28a7c9438823b0c8b5ed42f981c8e040f0'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'guardian/66a9594456202772eff075cc0f6d5606abd98d8bc2fb6a3c87a0cccc3a0c80ba'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'bosh-gcscli/400b6b47273b707a384076cc33b2dd2c4c5be87f7771aaa93007f80fdde3ae1b'... Skipped [Package already compiled] (00:00:00)
  Updating instance 'bosh/0'... Finished (00:01:31)
  Waiting for instance 'bosh/0' to be running... Failed (00:05:04)
Failed deploying (00:09:26)

Cleaning up rendered CPI jobs... Finished (00:00:00)

Deploying:
  Received non-running job state: 'starting'

Exit code 1
bgandon commented 4 years ago

Which command did you run exactly, to obtain this?

What's your GBE_ENVIRONMENT value when running this?

You can debug this with a gbe ssh on the environment VM. When connected to it, switching to root with sudo -i and then verifying Monit processes states with monit summary.

chewfred commented 4 years ago

actually, i am following the instructions of local laptop install here

I follow close and I am running gbe up sorry for the confusion... I am currently rerunning again on a bare metal machine and will try the ssh. will let you know the progress

chewfred commented 4 years ago

Cool... love gbe ssh

It still fails at the same place but it seems the VM is running.

Here is what I got:

bosh/0:~$ sudo -i
bosh/0:~# monit summary
The Monit daemon 5.2.5 uptime: 7m 

Process 'nats'                      running
Process 'postgres'                  running
Process 'blobstore_nginx'           running
Process 'director'                  running
Process 'worker_1'                  running
Process 'worker_2'                  running
Process 'worker_3'                  running
Process 'worker_4'                  running
Process 'director_scheduler'        running
Process 'director_sync_dns'         running
Process 'director_nginx'            running
Process 'health_monitor'            running
Process 'garden'                    running
Process 'warden_cpi'                running
Process 'uaa'                       running
Process 'credhub'                   not monitored
System 'system_localhost'           running
bosh/0:~# 
chewfred commented 4 years ago

I tried to run the gbe converge all to try my luck.. but fails as well. Nevertheless, it seems like the VM is running... all services is up but not sure if credhub is down. Anyway help will be great.

Currently, I am spinning up baremetal in packet.com and treat it as my local machine for initial test. My usecase is to use this to create cheap CF for development in AWS eventually, if it works

chewfred commented 4 years ago

What's your GBE_ENVIRONMENT value when running this?

Forgot to answer this... since I am following the local install instructions, I am using GBE_ENVIRONMENT=ddbox-env

chewfred commented 4 years ago

@bgandon Is there any update on this?