*** irclogbot_3 has quit IRC | 03:01 | |
*** irclogbot_3 has joined #openstack-kayobe | 03:02 | |
*** dougsz has joined #openstack-kayobe | 08:01 | |
*** openstackgerrit has joined #openstack-kayobe | 08:27 | |
openstackgerrit | Ross Martyn proposed openstack/kayobe master: Multiple updates for Kayobe --- https://review.openstack.org/652010 | 08:27 |
---|---|---|
openstackgerrit | Ross Martyn proposed openstack/kayobe master: Multiple updates for Kayobe --- https://review.openstack.org/652010 | 09:54 |
*** altlogbot_0 has joined #openstack-kayobe | 13:04 | |
*** altlogbot_0 has quit IRC | 13:32 | |
*** altlogbot_0 has joined #openstack-kayobe | 13:33 | |
*** altlogbot_0 has quit IRC | 13:38 | |
*** altlogbot_1 has joined #openstack-kayobe | 13:39 | |
*** altlogbot_1 has quit IRC | 14:00 | |
*** altlogbot_0 has joined #openstack-kayobe | 14:26 | |
*** altlogbot_0 has quit IRC | 14:29 | |
*** altlogbot_0 has joined #openstack-kayobe | 14:30 | |
*** altlogbot_0 has quit IRC | 14:33 | |
openstackgerrit | Mark Goddard proposed openstack/kayobe master: Add openstack_release and openstack_branch https://review.openstack.org/652090 | 14:41 |
openstackgerrit | Mark Goddard proposed openstack/kayobe master: Use OpenStack Stein release https://review.openstack.org/652091 | 14:41 |
*** altlogbot_0 has joined #openstack-kayobe | 14:48 | |
*** altlogbot_0 has quit IRC | 14:51 | |
*** altlogbot_2 has joined #openstack-kayobe | 14:52 | |
*** altlogbot_2 has quit IRC | 14:55 | |
*** altlogbot_1 has joined #openstack-kayobe | 14:59 | |
*** lawrancejing has joined #openstack-kayobe | 15:35 | |
lawrancejing | mgoddard: hello:-) | 15:35 |
mgoddard | hi lawrancejing | 15:35 |
lawrancejing | nice to see you here | 15:37 |
lawrancejing | mgoddard: i'm stuck in ./dev/seed-deploy.sh, it failed to ssh the seed vm | 15:38 |
lawrancejing | mgoddard: but i can ping the vm -192.168.33.5 | 15:38 |
lawrancejing | mgoddard: here is the ansible log: http://paste.openstack.org/show/749245/ | 15:39 |
mgoddard | lawrancejing: can you manually SSH to the VM? | 15:52 |
lawrancejing | mgoddard: no i can not with user root or stack | 15:53 |
mgoddard | lawrancejing: what user are you using? | 15:53 |
mgoddard | vagrant? | 15:53 |
mgoddard | try using the centos user | 15:53 |
lawrancejing | mgoddard: yes | 15:54 |
mgoddard | ssh centos@192.168.33.5 | 15:54 |
lawrancejing | mgoddard: no lucky for centos or vagrant user :-( | 15:55 |
mgoddard | lawrancejing: hmm | 15:56 |
mgoddard | lawrancejing: can you get console logs for the VM? | 15:56 |
lawrancejing | mgoddard: ok, one minute | 15:56 |
lawrancejing | mgoddard: sorry for that, the seed vm can ssh via centos user, but very slow | 16:00 |
mgoddard | lawrancejing: ah, probably means you have no DNS | 16:00 |
mgoddard | lawrancejing: maybe because you didn't do the iptables config in configure-local-networking.sh | 16:01 |
lawrancejing | mgoddard: i have done the iptables job via configure-local-networking.sh | 16:02 |
mgoddard | lawrancejing: I thought you said it made you lose connectivity? | 16:03 |
mgoddard | lawrancejing: https://github.com/stackhpc/a-universe-from-nothing/commit/9f644ed1155c473e400049481fce4b4eb5e8fc86 | 16:03 |
lawrancejing | mgoddard: no DNS means that i should add dns record in seed hypervisor for seed vm ? | 16:03 |
mgoddard | lawrancejing: I think your seed VM probably can't reach its configured DNS servers in /etc/resolv.conf | 16:04 |
mgoddard | lawrancejing: try pulling down that new commit, it should fix the centos user issue | 16:04 |
lawrancejing | mgoddard: yep, the seed vm can not reach 8.8.8.8 | 16:05 |
mgoddard | lawrancejing: I think it's set up to route via the seed hypervisor, your vagrant VM | 16:05 |
mgoddard | which means you'll need a NAT rule to get out of that box | 16:06 |
mgoddard | lawrancejing: https://github.com/stackhpc/a-universe-from-nothing/blob/master/etc/kayobe/inventory/group_vars/seed/network-interfaces#L10 | 16:06 |
mgoddard | lawrancejing: https://github.com/stackhpc/a-universe-from-nothing/blob/master/configure-local-networking.sh#L36 is the NAT rule | 16:07 |
mgoddard | does the vagrant VM have eth0? | 16:07 |
lawrancejing | mgoddard: yes, but the ip is not 192.168.33.4, seems the default vagrant network 192.168.121.145/24 | 16:08 |
mgoddard | there should be a braio interface with 192.168.33.4 | 16:09 |
lawrancejing | yes | 16:09 |
lawrancejing | so i shoud add such iptables: sudo iptables -A POSTROUTING -t nat -o braio -j MASQUERADE, am i right ? | 16:09 |
lawrancejing | mgoddard: sudo ip a add $public_ip/24 dev braio - the line made me lose connectivity, not iptables | 16:12 |
mgoddard | lawrancejing: I think you must have that IP otherwise you would not be able to SSH to the seed VM | 16:13 |
lawrancejing | mgoddard: you mean this : sudo ip a add $public_ip/24 dev braio ? | 16:14 |
mgoddard | yes | 16:14 |
mgoddard | lawrancejing: oh actually no | 16:15 |
lawrancejing | mgoddard: yep, it seems for openstack public network | 16:15 |
mgoddard | lawrancejing: ok, yes you can ignore that for now | 16:15 |
mgoddard | lawrancejing: you might need to change the IP used for the public network to not clash with vagrant | 16:16 |
lawrancejing | mgoddard: 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-L37 | 16:18 |
mgoddard | lawrancejing: yes | 16:18 |
lawrancejing | mgoddard: so i should pull the commit and rerun the script ./dev/seed-deploy.sh or do something about iptables? | 16:19 |
mgoddard | lawrancejing: both :) | 16:20 |
mgoddard | add the MASQUERADE rule if you don't have it | 16:20 |
lawrancejing | mgoddard: i have add MASQUERADE in nic: braio, and the seed vm can not reach outside network | 16:21 |
lawrancejing | sudo iptables -A POSTROUTING -t nat -o braio -j MASQUERADE | 16:22 |
mgoddard | lawrancejing: can it reach 192.168.33.4? | 16:22 |
lawrancejing | it can reach 192.168.33.4 | 16:22 |
mgoddard | lawrancejing: needs to be -o eth0 | 16:22 |
mgoddard | or the interface with the vagrant VM's default route | 16:22 |
lawrancejing | mgoddard: i works , i will go on the deploy , thanks | 16:23 |
mgoddard | lawrancejing: ok. Need to head off now | 16:23 |
lawrancejing | ok | 16:24 |
*** lawrancejing has quit IRC | 17:16 | |
*** dougsz has quit IRC | 17:42 | |
*** dougsz has joined #openstack-kayobe | 17:44 | |
*** dougsz has quit IRC | 17:50 | |
*** irclogbot_3 has quit IRC | 18:08 | |
*** irclogbot_3 has joined #openstack-kayobe | 18:10 | |
*** JamesBenson has quit IRC | 21:51 | |
*** JamesBenson has joined #openstack-kayobe | 21:53 | |
*** JamesBenson has quit IRC | 21:58 | |
*** JamesBenson has joined #openstack-kayobe | 23:42 | |
*** JamesBenson has quit IRC | 23:45 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!