bosh target access directory issue


santosh kumar
 

I installed bosh lite in Ubuntu Physical machine then installed Virtualbox 4.3.10 and Vagrant 1.4.3. I did vagrant up then tried to execute "bosh target 192.168.50.4 lite" But getting below error.


any cliue?

root(a)ubuntu:~# bosh target 192.168.50.4 lite
[WARNING] cannot access director, trying 4 more times...
[WARNING] cannot access director, trying 3 more times...
[WARNING] cannot access director, trying 2 more times...
[WARNING] cannot access director, trying 1 more times...
cannot access director (execution expired)


Dmitriy Kalinin
 

Make sure that 192.168.50.1 is pingable. If not pingable it seems that your
VirtualBox installation did not properly set up networking. At that point
you can try rebooting the machine that runs VritualBox.

On Thu, Oct 22, 2015 at 11:25 AM, santosh kumar <santosh.inbox(a)gmail.com>
wrote:

I installed bosh lite in Ubuntu Physical machine then installed Virtualbox
4.3.10 and Vagrant 1.4.3. I did vagrant up then tried to execute "bosh
target 192.168.50.4 lite" But getting below error.


any cliue?

root(a)ubuntu:~# bosh target 192.168.50.4 lite
[WARNING] cannot access director, trying 4 more times...
[WARNING] cannot access director, trying 3 more times...
[WARNING] cannot access director, trying 2 more times...
[WARNING] cannot access director, trying 1 more times...
cannot access director (execution expired)


santosh kumar
 

I did restart the machine still i am not able to ping 192.168.50.1.

do i need to modify/change Vagrant file ? Please suggest.

I tried to run add-route command as well getting below errors.

root(a)ubuntu:~/workspace# bosh-lite/bin/add-route
+ old_ips=10.244.0.0/19
+ ips=10.244.0.0/16
+ gw=192.168.50.4
+ echo 'Adding the following route entry to your local route table to enable direct container access: 10.244.0.0/16 via 192.168.50.4. Your sudo password may be required.'
++ uname
+ '[' Linux = Darwin ']'
++ uname
+ '[' Linux = Linux ']'
+ type route
+ sudo route del -net 10.244.0.0/19 gw 192.168.50.4
SIOCDELRT: No such process
+ sudo route add -net 10.244.0.0/16 gw 192.168.50.4
SIOCADDRT: Network is unreachable


Gwenn Etourneau
 

The add route is just for the 10.244.X.X subnet using the gw 192.168.50.4
which virtualbox should setup for you.



On Fri, Oct 23, 2015 at 3:56 AM, santosh kumar <santosh.inbox(a)gmail.com>
wrote:

I did restart the machine still i am not able to ping 192.168.50.1.

do i need to modify/change Vagrant file ? Please suggest.

I tried to run add-route command as well getting below errors.

root(a)ubuntu:~/workspace# bosh-lite/bin/add-route
+ old_ips=10.244.0.0/19
+ ips=10.244.0.0/16
+ gw=192.168.50.4
+ echo 'Adding the following route entry to your local route table to
enable direct container access: 10.244.0.0/16 via 192.168.50.4. Your sudo
password may be required.'
++ uname
+ '[' Linux = Darwin ']'
++ uname
+ '[' Linux = Linux ']'
+ type route
+ sudo route del -net 10.244.0.0/19 gw 192.168.50.4
SIOCDELRT: No such process
+ sudo route add -net 10.244.0.0/16 gw 192.168.50.4
SIOCADDRT: Network is unreachable