bosh-lite setup issues on Windows

47 views
Skip to first unread message

sachdev...@gmail.com

unread,
Feb 20, 2015, 3:02:45 AM2/20/15
to bosh-...@cloudfoundry.org
I am trying to setup bosh-lite on Windows but not able to set the target. Following are configuration details:

VBoxManage --version
4.3.22r98236


vagrant --version
Vagrant 1.7.2


I modified the Vagrantfile to add another host ip
config.vm.network "private_network", ip: "192.168.33.10"

The list of gems is as following

gem list bosh

*** LOCAL GEMS ***

bosh-template (1.2840.0)
bosh_cli (1.2840.0)
bosh_common (1.2840.0)


On running "vagrant up --provider=virtualbox" get the following logs

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'hashicorp/precise32'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'hashicorp/precise32' is up to date...
==> default: Setting the name of the VM: bosh_cli-128400_default_1424418788654_7
3001
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 80 => 8080 (adapter 1)
    default: 22 => 2222 (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if its present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can   
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default:
    default: Guest Additions Version: 4.2.0
    default: VirtualBox Version: 4.3
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
    default: /vagrant => C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bosh_cli-1.2840.0

Seems that all the vagrant configuration is successful. I am able to successfully ping 192.168.33.10. However, when I try to set it as Director, its not successful.

bosh target 192.168.33.10 lite
DL is deprecated, please use Fiddle
Usage: target [<director_url>] [<name>]


No error message comes. But when I try to see status, it shows target not set.

Need some help in troubleshooting this issue.
Reply all
Reply to author
Forward
0 new messages