Are there any known issues/gotchas with bosh-cli on windows command prompt

84 views
Skip to first unread message

Rajesh Kalluri

unread,
Mar 4, 2014, 6:52:00 PM3/4/14
to bosh-...@cloudfoundry.org
I am trying to get bosh-sample-release from cloudfoundry community github working locally.

I am able to install bosh-cli gem and others succesfully and here is my version

C:\Users\xxx\boshdeployments\wordpress\bosh-sample-release>bosh version
BOSH 1.2089.0

I am able to run certain commands like bosh vms or bosh releases / bosh deploys just fine. I am running into issues when trying to upload a release I get the folowing stack trace on (bosh upload release releases\wordpress-1.yml:

C:/Ruby193/lib/ruby/gems/1.9.1/gems/bosh_cli-1.2089.0/lib/cli/commands/release.rb:113:in ``': No such file or directory - file --mime-type -b 'release
s\wordpress-1.yml' (Errno::ENOENT)
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bosh_cli-1.2089.0/lib/cli/commands/release.rb:113:in `upload'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bosh_cli-1.2089.0/lib/cli/command_handler.rb:57:in `run'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bosh_cli-1.2089.0/lib/cli/runner.rb:56:in `run'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bosh_cli-1.2089.0/lib/cli/runner.rb:16:in `run'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bosh_cli-1.2089.0/bin/bosh:7:in `<top (required)>'
        from C:/Ruby193/bin/bosh:23:in `load'
        from C:/Ruby193/bin/bosh:23:in `<main>'

Can some one help me trouble shoot.

My director is a vsphere in our data center.

Thanks 
Raj

Ferran Rodenas

unread,
Mar 6, 2014, 12:12:36 AM3/6/14
to bosh-...@cloudfoundry.org
We have never tested the bosh cli on Windows. I recommend, if you can, that you run the bosh commands inside a linux box (it can be a vm inside Fusion, VirtualBox, ...).

- Ferdy


To unsubscribe from this group and stop receiving emails from it, send an email to bosh-users+...@cloudfoundry.org.

Rajesh Kalluri

unread,
Mar 6, 2014, 12:50:29 AM3/6/14
to bosh-...@cloudfoundry.org
Thanks for the response, I did move on to a virtual box vm and things are smooth for now.
--
4327 125th st
Urbandale
IA-50323
(313)-717-8818
Reply all
Reply to author
Forward
0 new messages