How to use the vagrant vm of Bifrost?

asked 2019-10-18 03:26:19 -0600

liaodalin19903 gravatar image

I follow the vagrant document, and vagrant up:

the bellow shows the vm is running.

root      9619     1  0 15:42 ?        00:00:01 /usr/lib/virtualbox/VBoxXPCOMIPCD  
root      9625     1  0 15:42 ?        00:00:03 /usr/lib/virtualbox/VBoxSVC --auto-shutdown
root      9804  9625  5 15:42 ?        00:01:50 /usr/lib/virtualbox/VBoxHeadless --comment vagrant_dev_env_bifrost_1571380120225_39186 --startvm effc2949-c113-4fd9-916f-f7b5
root      9820  9625  0 15:42 ?        00:00:00 /usr/lib/virtualbox/VBoxNetDHCP --ip-address 192.168.56.100 --lower-ip 192.168.56.101 --mac-address 08:00:27:97:41:09 --netma

now then how to use the bifrost?

the host server interfaces:

root@ubuntu:~/bifrost/tools/vagrant_dev_env£ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp1s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 0c:c4:7a:e2:db:de brd ff:ff:ff:ff:ff:ff
    inet 172.16.30.252/24 brd 172.16.30.255 scope global enp1s0f0
       valid_lft forever preferred_lft forever
    inet6 fe80::ec4:7aff:fee2:dbde/64 scope link 
       valid_lft forever preferred_lft forever
3: enp1s0f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 0c:c4:7a:e2:db:df brd ff:ff:ff:ff:ff:ff
    inet 16.23.41.9/29 brd 116.213.41.15 scope global enp1s0f1
       valid_lft forever preferred_lft forever
    inet6 fe80::ec4:7aff:fee2:dbdf/64 scope link 
       valid_lft forever preferred_lft forever
4: vboxnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 0a:00:27:00:00:00 brd ff:ff:ff:ff:ff:ff
    inet 192.168.99.1/24 brd 192.168.99.255 scope global vboxnet0
       valid_lft forever preferred_lft forever
    inet6 fe80::800:27ff:fe00:0/64 scope link 
       valid_lft forever preferred_lft forever

in the host I can not ping out 192.168.99.100 or 192.168.99.101:

root@ubuntu:~/bifrost/tools/vagrant_dev_env£ ping 192.168.99.101
PING 192.168.99.101 (192.168.99.101) 56(84) bytes of data.
From 192.168.99.1 icmp_seq=1 Destination Host Unreachable
From 192.168.99.1 icmp_seq=2 Destination Host Unreachable
From 192.168.99.1 icmp_seq=3 Destination Host Unreachable

there is an attention is, when vagrant up, there is a choice of bridge interface, I choosed the enp1s0f0.


So, how to use bifrost now? is it normal in this case? I want to detect baremetal by 172.16.30.252, and enroll them.


My host server system is Ubuntu 14.04.

edit retag flag offensive close merge delete

Comments

I think you access the server with vagrant ssh. By the way, Ubuntu 14.04 is not supported anymore.

Bernd Bausch gravatar imageBernd Bausch ( 2019-10-18 09:07:48 -0600 )edit