Skip to content
This repository has been archived by the owner on Nov 29, 2017. It is now read-only.

clean Highline values before setting #194

Closed
drnic opened this issue May 21, 2013 · 10 comments
Closed

clean Highline values before setting #194

drnic opened this issue May 21, 2013 · 10 comments

Comments

@drnic
Copy link
Contributor

drnic commented May 21, 2013

/cc @ramonskie

---
bosh:
  name: firstbosh
provider:
  name: openstack
  credentials:
    openstack_username: !str:HighLine::String test
    openstack_api_key: !str:HighLine::String test
    openstack_tenant: !str:HighLine::String test
    openstack_auth_url: !str:HighLine::String http://myurl.com/v2.0/tokens
  region: !str:HighLine::String
@drnic
Copy link
Contributor Author

drnic commented May 21, 2013

@ramonskie can you please install cyoi 0.4.1, and run again?

gem install cyoi
rm -rf ~/.microbosh
bosh bootstrap deploy

@ramonskie
Copy link

the problem now only occures at "region: !str:HighLine::String"

this is because its a optional so i don't provide any values here.

and probably all the other optional values out there :)

@drnic
Copy link
Contributor Author

drnic commented May 21, 2013

Ah, ok, thanks for reporting that. I've fixed it in 0.4.2. All good now?

@ramonskie
Copy link

switched back 0.10.2
will check soon

@drnic
Copy link
Contributor Author

drnic commented May 21, 2013

Thanks. I'm on a plane en route to holidays. I've got 15 mins more to fix
any bugs :)

@ramonskie
Copy link

just sit back and relax.
and enjoy your holiday 👍

@drnic
Copy link
Contributor Author

drnic commented May 21, 2013

No no no. Must fix bugs :)

@ramonskie
Copy link

okay installed bosh-bootstrap 0.11.1

and when i do "bosh-bootstrap deploy"
i get this error

/var/lib/gems/1.9.1/gems/bosh-bootstrap-0.11.1/lib/bosh-bootstrap/key_pair.rb:2:in `<class:KeyPair>': uninitialized constant Bosh::Bootstrap::KeyPair::FileUtils (NameError)
    from /var/lib/gems/1.9.1/gems/bosh-bootstrap-0.11.1/lib/bosh-bootstrap/key_pair.rb:1:in `<top (required)>'
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /var/lib/gems/1.9.1/gems/bosh-bootstrap-0.11.1/lib/bosh-bootstrap.rb:12:in `<top (required)>'
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /var/lib/gems/1.9.1/gems/bosh-bootstrap-0.11.1/bin/bosh-bootstrap:5:in `<top (required)>'
    from /usr/local/bin/bosh-bootstrap:23:in `load'
    from /usr/local/bin/bosh-bootstrap:23:in `<main>'

seems you have broken much more....
you are in holiday mode m8 just don't think about it and enjoy

@drnic
Copy link
Contributor Author

drnic commented May 21, 2013

Ok, need to add: require "fileutils"

When we stop using bosh_cli we stop getting the 100 libraries it auto-loads; and it seems my test suite loads things that the CLI itself should load.

Sorry. Will try to fix on the next leg of the trip :)

@drnic
Copy link
Contributor Author

drnic commented May 21, 2013

Should be fixed in v0.11.2 now

@drnic drnic closed this as completed May 21, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants