cloudfoundry-attic / bosh-init

bosh-init is a tool used to create and update the Director VM
Apache License 2.0
31 stars 33 forks source link

deploy error: Unmarshalling installation manifest: Unexpected timestamp: na #6

Closed drnic closed 9 years ago

drnic commented 9 years ago

Using manifest https://gist.github.com/drnic/32cca081859c38c20a39 when I try to deploy I get:

$ bosh-micro deploy .stemcells/light-bosh-stemcell-2889-aws-xen-ubuntu-trusty-go_agent.tgz .releases/bosh-aws-cpi-release-5.tgz .releases/boshrelease-docker-9.tgz
Deployment manifest: '/Users/drnic/Projects/bosh-workspaces/docker-services-boshworkspace/micro_stubs/example-micro-aws.yml'
Deployment state: '/Users/drnic/Projects/bosh-workspaces/docker-services-boshworkspace/micro_stubs/deployment.json'

Started validating
  Validating stemcell... Finished (00:00:00)
  Validating releases... Finished (00:00:00)
  Validating deployment manifest... Failed (00:00:00)
Failed validating (00:00:00)

Command 'deploy' failed:
  Parsing installation manifest '/Users/drnic/Projects/bosh-workspaces/docker-services-boshworkspace/micro_stubs/example-micro-aws.yml':
    Unmarshalling installation manifest:
      Unexpected timestamp: na
/Users/drnic/Projects/go/src/github.com/cloudfoundry/bosh-micro-cli/Godeps/_workspace/src/github.com/cloudfoundry-incubator/candiedyaml/decode.go:97 (0x4176b07)

Ideas?

drnic commented 9 years ago

\cc @cppforlife

karlkfi commented 9 years ago

Gonna need more of the stack trace. That line is just the stackTrace := debug.Stack() that all candiedyaml errors have.

cppforlife commented 9 years ago

@drnic Will try this manifest soon.

cppforlife commented 9 years ago

@drnic I looked at the manifest a bit longer (still have not deployed it) and found

template:
    na

That's where na comes from. candiedyaml is not able to fail with more info at this point.

drnic commented 9 years ago

Super weird. I wonder where that came from. Sorry I didn't see it.

drnic commented 9 years ago

That'll teach me for trying out a new thing bosh-micro at the same time as trying to create spiff templates.