Friday, 2019-04-12

*** irclogbot_3 has quit IRC03:01
*** irclogbot_3 has joined #openstack-kayobe03:02
*** dougsz has joined #openstack-kayobe08:01
*** openstackgerrit has joined #openstack-kayobe08:27
openstackgerritRoss Martyn proposed openstack/kayobe master: Multiple updates for Kayobe ---  https://review.openstack.org/65201008:27
openstackgerritRoss Martyn proposed openstack/kayobe master: Multiple updates for Kayobe ---  https://review.openstack.org/65201009:54
*** altlogbot_0 has joined #openstack-kayobe13:04
*** altlogbot_0 has quit IRC13:32
*** altlogbot_0 has joined #openstack-kayobe13:33
*** altlogbot_0 has quit IRC13:38
*** altlogbot_1 has joined #openstack-kayobe13:39
*** altlogbot_1 has quit IRC14:00
*** altlogbot_0 has joined #openstack-kayobe14:26
*** altlogbot_0 has quit IRC14:29
*** altlogbot_0 has joined #openstack-kayobe14:30
*** altlogbot_0 has quit IRC14:33
openstackgerritMark Goddard proposed openstack/kayobe master: Add openstack_release and openstack_branch  https://review.openstack.org/65209014:41
openstackgerritMark Goddard proposed openstack/kayobe master: Use OpenStack Stein release  https://review.openstack.org/65209114:41
*** altlogbot_0 has joined #openstack-kayobe14:48
*** altlogbot_0 has quit IRC14:51
*** altlogbot_2 has joined #openstack-kayobe14:52
*** altlogbot_2 has quit IRC14:55
*** altlogbot_1 has joined #openstack-kayobe14:59
*** lawrancejing has joined #openstack-kayobe15:35
lawrancejingmgoddard: hello:-)15:35
mgoddardhi lawrancejing15:35
lawrancejingnice to see you here15:37
lawrancejingmgoddard: i'm stuck in ./dev/seed-deploy.sh, it failed to ssh the seed vm15:38
lawrancejingmgoddard: but i can ping the vm -192.168.33.515:38
lawrancejingmgoddard: here is the ansible log: http://paste.openstack.org/show/749245/15:39
mgoddardlawrancejing: can you manually SSH to the VM?15:52
lawrancejingmgoddard: no i can not with user root or stack15:53
mgoddardlawrancejing: what user are you using?15:53
mgoddardvagrant?15:53
mgoddardtry using the centos user15:53
lawrancejingmgoddard: yes15:54
mgoddardssh centos@192.168.33.515:54
lawrancejingmgoddard: no lucky for centos or vagrant user :-(15:55
mgoddardlawrancejing: hmm15:56
mgoddardlawrancejing: can you get console logs for the VM?15:56
lawrancejingmgoddard: ok, one minute15:56
lawrancejingmgoddard: sorry for that, the seed vm can ssh via centos user, but very slow16:00
mgoddardlawrancejing: ah, probably means you have no DNS16:00
mgoddardlawrancejing: maybe because you didn't do the iptables config in configure-local-networking.sh16:01
lawrancejingmgoddard: i have done the iptables job via configure-local-networking.sh16:02
mgoddardlawrancejing: I thought you said it made you lose connectivity?16:03
mgoddardlawrancejing: https://github.com/stackhpc/a-universe-from-nothing/commit/9f644ed1155c473e400049481fce4b4eb5e8fc8616:03
lawrancejingmgoddard: no DNS means that i should add dns record in seed hypervisor for seed vm ?16:03
mgoddardlawrancejing: I think your seed VM probably can't reach its configured DNS servers in /etc/resolv.conf16:04
mgoddardlawrancejing: try pulling down that new commit, it should fix the centos user issue16:04
lawrancejingmgoddard: yep, the seed vm can not reach 8.8.8.816:05
mgoddardlawrancejing: I think it's set up to route via the seed hypervisor, your vagrant VM16:05
mgoddardwhich means you'll need a NAT rule to get out of that box16:06
mgoddardlawrancejing: https://github.com/stackhpc/a-universe-from-nothing/blob/master/etc/kayobe/inventory/group_vars/seed/network-interfaces#L1016:06
mgoddardlawrancejing: https://github.com/stackhpc/a-universe-from-nothing/blob/master/configure-local-networking.sh#L36 is the NAT rule16:07
mgoddarddoes the vagrant VM have eth0?16:07
lawrancejingmgoddard: yes, but  the ip is not 192.168.33.4, seems the default vagrant network 192.168.121.145/2416:08
mgoddardthere should be a braio interface with 192.168.33.416:09
lawrancejingyes16:09
lawrancejingso i shoud add such iptables: sudo iptables -A POSTROUTING -t nat -o braio -j MASQUERADE, am i right ?16:09
lawrancejingmgoddard: sudo ip a add $public_ip/24 dev braio - the line made me lose connectivity, not iptables16:12
mgoddardlawrancejing: I think you must have that IP otherwise you would not be able to SSH to the seed VM16:13
lawrancejingmgoddard: you mean this : sudo ip a add $public_ip/24 dev braio ?16:14
mgoddardyes16:14
mgoddardlawrancejing: oh actually no16:15
lawrancejingmgoddard: yep, it seems for openstack public network16:15
mgoddardlawrancejing: ok, yes you can ignore that for now16:15
mgoddardlawrancejing: you might need to change the IP used for the public network to not clash with vagrant16:16
lawrancejingmgoddard: i will resolve the public network later, but now i should configure IP routing and NAT to allow the seed VM and overcloud hosts to route via this route to the outside world.: https://github.com/stackhpc/a-universe-from-nothing/blob/master/configure-local-networking.sh#L34-L3716:18
mgoddardlawrancejing: yes16:18
lawrancejingmgoddard: so i should pull the commit and rerun the script  ./dev/seed-deploy.sh or do something  about iptables?16:19
mgoddardlawrancejing: both :)16:20
mgoddardadd the MASQUERADE rule if you don't have it16:20
lawrancejingmgoddard: i have add MASQUERADE in nic: braio, and the seed vm can not reach outside network16:21
lawrancejingsudo iptables -A POSTROUTING -t nat -o braio -j MASQUERADE16:22
mgoddardlawrancejing: can it reach 192.168.33.4?16:22
lawrancejingit can reach 192.168.33.416:22
mgoddardlawrancejing: needs to be -o eth016:22
mgoddardor the interface with the vagrant VM's default route16:22
lawrancejingmgoddard: i works , i will go on the deploy , thanks16:23
mgoddardlawrancejing: ok. Need to head off now16:23
lawrancejingok16:24
*** lawrancejing has quit IRC17:16
*** dougsz has quit IRC17:42
*** dougsz has joined #openstack-kayobe17:44
*** dougsz has quit IRC17:50
*** irclogbot_3 has quit IRC18:08
*** irclogbot_3 has joined #openstack-kayobe18:10
*** JamesBenson has quit IRC21:51
*** JamesBenson has joined #openstack-kayobe21:53
*** JamesBenson has quit IRC21:58
*** JamesBenson has joined #openstack-kayobe23:42
*** JamesBenson has quit IRC23:45

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!