Sunday, 2020-06-14

*** waxfire has quit IRC00:00
*** waxfire has joined #openstack-ansible00:00
*** jeh has joined #openstack-ansible00:12
*** cheng1 has quit IRC00:39
*** cheng1 has joined #openstack-ansible00:40
*** jeh has quit IRC01:07
*** jeh has joined #openstack-ansible01:18
*** jeh has quit IRC01:43
*** jeh has joined #openstack-ansible01:43
*** jeh has quit IRC01:53
*** markvoelker has joined #openstack-ansible02:14
*** markvoelker has quit IRC02:19
*** mmethot has joined #openstack-ansible02:24
*** mmethot_ has quit IRC02:25
*** markvoelker has joined #openstack-ansible04:05
*** markvoelker has quit IRC04:09
*** evrardjp has quit IRC04:33
*** evrardjp has joined #openstack-ansible04:33
*** markvoelker has joined #openstack-ansible06:06
*** jcath has joined #openstack-ansible06:09
*** markvoelker has quit IRC06:10
*** stingrayza has joined #openstack-ansible06:21
jcathjrosser: a little confused about the br-xxx and bonding in a multi-nodes deployment. should I have to create the bonding and bridges manually before running the setup-hosts.yml ? or the playbooks will create them automatically? thanks06:24
*** also_stingrayza has quit IRC06:25
*** ianychoi has joined #openstack-ansible06:30
noonedeadpunkgenerally we don't configure networking, unless that role has been run https://opendev.org/openstack/openstack-ansible/src/branch/master/tests/roles/bootstrap-host08:21
noonedeadpunkIt's generally triggered with bootstrap-aio.sh script08:21
noonedeadpunkI never look into mnaio, so not sure if this role is supposed to be run there...08:22
-openstackstatus- NOTICE: The opendev specific CentoOS and openSUSE mirror disappeared and thus CentOS and openSUSE jobs are all broken.08:35
*** jcath has quit IRC08:41
*** jawad_axd has joined #openstack-ansible09:07
*** arkan has joined #openstack-ansible09:12
*** jcath has joined #openstack-ansible09:13
arkanHi guys, I'm getting in cinder-volumes-container this error cinder.exception.ClusterNotFound: Cluster {'name': 'ceph@rbd'} could not be found, my config storage is https://pastebin.com/QtgPaRDS and the full error in container is https://pastebin.com/CmQij1rN09:25
arkanI will try to change volume_backend_name: rbd in openstack_user_config.yml to volume_backend_name: ceph, as I can see from this page (although I'm not sure) https://docs.ceph.com/docs/mimic/rbd/rbd-openstack/#configuring-cinder09:28
*** jcath has quit IRC09:29
*** markvoelker has joined #openstack-ansible09:35
*** markvoelker has quit IRC09:44
arkanhumm, It worked, the solution is https://pastebin.com/sDaLStgA09:48
arkannow the /etc/cinder/cinder.conf has ini group [ceph] instead of [rbd] and volume_backend_name: ceph instead of volume_backend_name: rbd09:49
*** also_stingrayza has joined #openstack-ansible10:20
*** stingrayza has quit IRC10:23
*** tosky has joined #openstack-ansible10:59
jrosserarkan: the backend name in cinder.conf is simply that, just a name. it being [ceph] as you have set it is purely co-incidence that you are using ceph11:01
arkanjrosser: then what solve the issue is volume_backend_name, I changed it from 'rbd' to 'ceph'11:02
arkannow I can see that the vms can create volumes without errors11:03
arkanI mean I can launch vms with volumes wihtout erros11:03
arkanbefore the modification that I've done I had problems, and I paste it above11:04
arkannow I'm investigating why I can not ping my floating ip11:05
arkanI can ping from vm1 to vm2 and inverse11:05
arkanI can access the internet11:05
arkanthe communication between the vms through vxlan and it's working11:05
arkanfloating ip is assigned and it has security groups icmp and ssh (ingress) + default security group added11:06
arkanI'm investigating right now11:06
*** jawad_axd has quit IRC11:39
*** jcath has joined #openstack-ansible11:41
admin0arkan, login to the router namespace .. check if you can ping your instances private ip from there, and also if you can ping your router11:45
arkanadmin0: ok11:45
admin0if you can ping your private ips from within the namespace, but not the public, then you know its north-side issue and could most probably due to routing or vlan11:45
jcathnoonedeadpunk: thanks. the bootstrap-host seems to be only trigged with bootstrap-aio ... so, maybe have to create br-mgmt/br-xxxx bridges at every host in a production deployment?11:48
arkanroot@controller1:~# ip netns exec qrouter-21b624c7-261b-4a88-adf6-8321d64d06c5 ping 8.8.8.811:59
arkanPING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.11:59
arkan64 bytes from 8.8.8.8: icmp_seq=1 ttl=117 time=14.9 ms11:59
arkanadmin0: I can ping the router from my vms12:00
admin0ok12:00
admin0can you ping your local instanecs ?12:00
admin0instances*12:00
arkanbut I can not ping my vm from the router12:00
arkanroot@controller1:~# ip netns exec qrouter-21b624c7-261b-4a88-adf6-8321d64d06c5 ping 10.0.2.23812:00
admin0iptables -L -nvx -t nat --line-numbers for a good overview of the iptables setup there12:01
admin0login to the namespace using bash .. and then check what the issue could be .. could be a layer2 issue between vxlan interfaces12:01
admin0of where the namespace is and where your instance it12:01
admin0is*12:01
arkanhttps://pastebin.com/qR9sk57e12:03
arkanthere are packets for snat and dnat12:03
arkanfor 192.168.40.213 (my floating ip)12:03
arkanto/from my vm 10.0.0.21512:04
arkan192.168.40.0/24 is under vlan 40 configured that has access to the internet through eno1 (physical interface)12:05
arkanmy instances are in the other node (compute1)12:08
arkanso controller1 communicates with compute112:09
arkancompute1 has nova + ceph12:09
arkancompute1 has nova + ceph (osds)12:09
arkancontroller1 has infra + ceph mons, mgrs +  ceph (osds)12:10
*** sshnaidm_ has joined #openstack-ansible12:34
*** sshnaidm|afk has quit IRC12:34
arkanok, I added security group (default + icmp_ssh) to the port 10.0.0.1 of the router interface (for internal network), and now I can ping vms from the router netns12:58
arkanjust I don't know if this is correct, from horizon it created floating IP automatically, but I can see that it's /32 not /2413:00
arkanip netns exec qrouter-21b624c7-261b-4a88-adf6-8321d64d06c5 ip addr13:00
arkaninet 192.168.40.213/32 brd 192.168.40.213 scope global qg-5fbfed04-3513:00
arkanmy network should be 192.168.40.0/2413:01
admin0arkan, maybe try to validate it against this example: https://www.openstackfaq.com/openstack-add-floating-ips/13:02
admin0its  in the subnet definition13:02
arkanadmin0: thanks I will check13:03
*** tosky has quit IRC13:17
*** tosky has joined #openstack-ansible13:17
arkanok, I added security group to the provider port for network:router_gateway 192.168.40.8, I can see 4 items with name 'default', I don't know why, in my security group there is only 1 'default' and the one that I added 'icmp_ssh'13:38
arkananyway, I've added all the 'default' items to network:router_gateway 192.168.40.8 port in the provider network13:38
arkanand now I can ping my floating ip from the router netns13:39
-openstackstatus- NOTICE: Package mirrors should be back in working order; any jobs which logged package retrieval failures between 19:35 UTC yesterday and 13:20 UTC today can be safely rechecked13:40
arkanso basicly vms can access internet and can ping each other and can ping router13:41
arkanrouter can ping vms and ping floating ip13:41
arkanvms can ping floating ips13:42
arkanbut my local machine can not ping the floating ip13:42
arkannow I'm investigating13:42
arkanok, I put tcpdump inside the interface of the router13:46
arkantcpdump -i qg-5fbfed04-35 port not 2213:46
arkanand I pinged floating ip from my macbook, I can see that it received the ECHO request13:47
arkanIP 192.168.1.125 > 192.168.40.155: ICMP echo request, id 53120, seq 1, length 6413:47
arkanI need to check if the vm is recieving it13:47
arkanbut there is no tcpdump on cirros image13:48
arkanI need to use another image13:48
*** aedc has joined #openstack-ansible14:49
*** aedc has quit IRC14:50
*** aedc has joined #openstack-ansible14:55
*** aedc has quit IRC14:57
*** aedc has joined #openstack-ansible14:58
*** aedc has quit IRC15:01
*** aedc has joined #openstack-ansible15:02
*** aedc has quit IRC15:03
*** aedc has joined #openstack-ansible15:06
*** aedc has quit IRC15:10
*** aedc has joined #openstack-ansible15:10
arkannow I can ping my floating ip15:12
*** aedc has quit IRC15:12
arkanI've deleted all the security groups associated with ports from the provider network, and I added floating ip to the instance with the security groups assigned to the instance15:13
arkanand now I can ping it15:13
arkan:))15:13
arkangreat, thanks to all of you guys15:13
*** jcath has quit IRC15:14
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible master: Bump SHAs for master  https://review.opendev.org/73546715:21
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible stable/stein: Bump SHAs for stable/stein  https://review.opendev.org/73546815:21
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible stable/train: Bump SHAs for stable/train  https://review.opendev.org/73546915:22
*** arkan has quit IRC16:02
*** markvoelker has joined #openstack-ansible17:29
*** markvoelker has quit IRC17:34
*** markvoelker has joined #openstack-ansible17:34
*** markvoelker has quit IRC17:39
openstackgerritMerged openstack/openstack-ansible-galera_server master: Add Centos-8 support  https://review.opendev.org/72472117:56
noonedeadpunkcores, would be great to get another review for https://review.opendev.org/#/c/734888/1318:03
noonedeadpunkif anyone around18:03
noonedeadpunkthis blocks recovery of upgrade jobs18:04
*** jawad_axd has joined #openstack-ansible18:35
*** jawad_axd has quit IRC18:36
*** markvoelker has joined #openstack-ansible18:55
*** markvoelker has quit IRC19:00
*** arkan has joined #openstack-ansible19:28
*** arkan has quit IRC20:52
*** markvoelker has joined #openstack-ansible20:56
*** markvoelker has quit IRC21:00
*** markvoelker has joined #openstack-ansible22:57
*** markvoelker has quit IRC23:02
*** markvoelker has joined #openstack-ansible23:24
*** tosky has quit IRC23:26
*** markvoelker has quit IRC23:29
*** mrda has joined #openstack-ansible23:57
*** markvoelker has joined #openstack-ansible23:59

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!