enaml-ops / omg-cli

it's kind of like an (o)ps (m)anager in (g)olang
Apache License 2.0
15 stars 11 forks source link

Errors when trying to deploy concourse. #37

Open haydonryan opened 7 years ago

haydonryan commented 7 years ago

Hi, I'm getting unhelpful errors when I try and deploy concourse as per below.

enamltest $ omg deploy-product \
> --bosh-url https://10.0.16.6 --bosh-port 25555 --bosh-user admin \
> --bosh-pass `cat director.pwd` --ssl-ignore \
> concourse-plugin-linux \
> --external-url https://concourse.REDACT \
> --web-vm-type small \
> --worker-vm-type small \
> --database-vm-type small \
> --network-name private \
> --concourse-db-pwd secret \
> --database-storage-type medium
Checking product deployment for remote assets...
Checking for remote stemcells...
remote stemcells complete
Checking for remote releases
polling task...
task state done [ | ] Finished with Task create release
polling task...
task state done [ / ] Finished with Task create release
remote releases complete
remote asset check complete.
Uploading product deployment...
upload complete
polling task...
2016/11/10 22:02:21 E1110 22:02:21.482649 5608 bosh.go:268] task error: error - create deployment
Finished with Task create deployment
2016/11/10 22:02:21 E1110 22:02:21.482695 5608 bosh.go:109] there was an error:  error - create deployment
error - create deployment
haydonryan commented 7 years ago

turns out

enamltest $ bosh task Acting as user 'admin' on 'enaml-bosh'

Director task 5 Started preparing deployment > Preparing deployment. Failed: Stemcell with Operating System 'ubuntu-trusty' doesn't exist (00:00:00)

Error 50003: Stemcell with Operating System 'ubuntu-trusty' doesn't exist

Can we not pipe out the deployment text in case of error?