Thursday, 2019-03-28

*** lcastell has quit IRC00:08
*** lcastell has joined #starlingx00:17
*** ericho has quit IRC00:19
*** lcastell has quit IRC00:19
*** lcastell has joined #starlingx00:20
*** lcastell has quit IRC00:24
*** cheng1 has joined #starlingx01:12
*** cheng1 has quit IRC01:27
*** cheng1 has joined #starlingx01:38
*** ijolliffe has quit IRC02:07
*** cheng1 has quit IRC02:37
*** cheng1 has joined #starlingx02:38
*** jsun3 has quit IRC03:06
*** jsun3 has joined #starlingx03:07
*** cheng1 has quit IRC03:24
*** cheng1 has joined #starlingx04:03
*** sgw has joined #starlingx04:07
*** zhubx007 has quit IRC04:57
*** zhubx has joined #starlingx05:05
*** OutBackDingo has quit IRC05:45
*** OutBackDingo has joined #starlingx06:03
*** cheng1 has quit IRC06:10
*** cheng1 has joined #starlingx06:20
*** sdin has joined #starlingx07:26
*** sdinescu has quit IRC07:28
*** sgw has quit IRC07:50
*** OutBackDingo has quit IRC07:50
*** OutBackDingo has joined #starlingx07:51
*** changcheng has quit IRC07:59
*** zhubx has quit IRC09:24
*** zhubx has joined #starlingx09:24
*** cheng1 has quit IRC09:30
*** cheng1 has joined #starlingx09:45
*** hoonetorg has quit IRC10:39
*** zhubx has quit IRC10:41
*** zhubx has joined #starlingx10:42
*** hoonetorg has joined #starlingx10:52
*** zhubx has quit IRC10:57
*** zhubx has joined #starlingx10:57
*** cheng1 has quit IRC11:21
*** ijolliffe has joined #starlingx12:22
*** ijolliffe has quit IRC12:26
*** ijolliffe has joined #starlingx12:27
*** ijolliffe has quit IRC12:58
*** ijolliffe has joined #starlingx13:03
*** ijolliffe has quit IRC13:36
*** sgw has joined #starlingx13:39
*** ijolliffe has joined #starlingx13:51
*** OutBackDingo has quit IRC14:33
sgwMorning all14:50
sgwBack to my libvirt question from yesterday, I did some more testing debug, it seems that both nodes can ping the host (I installed a rescueOS on node 1), and tcpdump (running on the host) shows the ICMP request from either node, but not the reply, so it seems the host is not bridging the traffic correct, I thought that gets setup automagically.14:55
dpenneysgaw: you should send an email to starlingx-discuss for that one14:56
*** OutBackDingo has joined #starlingx14:58
dtroyersgw: do you have forwarding set in the host kernel?15:00
dtroyerI know, like asking if it is plugged in, but I've forgotten that so many times myself...15:00
sgwdtroyer: you are talking about net.ipv4.ip_forward = 1, right?15:04
sgwdpenney: I figured this might require a more interactive debug that IRC provides15:05
dtroyeryup15:05
mthebeauwith libvirt from stx-tools, the only thing I'm using forwarding for is to move packets from OAM network to external15:06
mthebeauMy first guess would be that the controller is configured to expect requests on one interface/bridge, but the XMl has other nodes putting them out on another.15:07
*** ericbarrett has joined #starlingx15:08
mthebeauthe question from me is "what is the output of system host-if-list controller-0, and does that match the boot info in xml in vms/ folder15:09
sgw[wrsroot@controller-0 ~(keystone_admin)]$ system host-if-list controller-015:11
sgw+--------------------------------------+-------+----------+----------+---------+--------------+----------+-------------+---------------------------+---------------+15:11
sgw| uuid                                 | name  | class    | type     | vlan id | ports        | uses i/f | used by i/f | attributes                | data networks |15:11
sgw+--------------------------------------+-------+----------+----------+---------+--------------+----------+-------------+---------------------------+---------------+15:11
sgw| 76838bc8-f472-458b-9774-e9b1d7915629 | ens6  | platform | ethernet | None    | [u'ens6']    | []       | []          | MTU=1500                  | []            |15:11
sgw| 78a16ca5-37c4-4f87-8946-353ee5e9aa57 | ens7  | platform | ethernet | None    | [u'ens7']    | []       | []          | MTU=1500                  | []            |15:11
sgw| dabf57f0-ce03-4353-a5c4-cb2e34a85fcd | data1 | data     | ethernet | None    | [u'eth1001'] | []       | []          | MTU=1500,accelerated=True | [u'physnet1'] |15:11
sgw| ee7f946b-d9a4-4fe9-a800-21c1a76d8aa5 | data0 | data     | ethernet | None    | [u'eth1000'] | []       | []          | MTU=1500,accelerated=True | [u'physnet0'] |15:11
sgw+--------------------------------------+-------+----------+----------+---------+--------------+----------+-------------+---------------------------+---------------+15:11
dpenneysgw: I figured most of the folks who'd be able to help you are not on IRC15:17
mthebeaulol, host-if-list used to show "oam" and "mgmt".  try: for i in ens6 ens7; do { system host-if-show controller-0 $i | grep -q "networks.*mgmt" && echo $i && break; }; done15:18
mthebeauwhich is to say, which interface is configured as mgmt15:18
sgwens7, I know that without the script15:19
mthebeau"I know, like asking if it is plugged in"15:20
dpenneyyou can also check sysinv.log, as there's some interaction between dnsmasq and sysinv15:21
mthebeauafter that I'd double check libvirt dump-xml $node to make sure the xml is what it is supposed to be.15:22
mthebeausorry  virsh dumpxml15:22
sgwdpenney: I think it's more basic issue that interaction, I can't even ping between the 2 vms yet15:23
dpenneyoh, ok15:23
sgwmthebeau: ok, so I am looking at the 2 bridges on the 2 hosts and the target devs look correct relative to the output of brctl virbr2 links vnet1 and vnet5 which are the ens7 devices inside the vms15:26
sgwthe xml matches this.15:27
mthebeautwo questions: "2 hosts" may be a misunderanding for me: 1 virt host, two controllers?15:29
mthebeauq2: where is "virbr" coming from; that sounds like vbox instead of libvirt15:29
sgw2 controllers on my baremetal server, yes virbr is coming from libvirt (in the xml)15:30
mthebeauwhat does virsh list --all look like15:31
sgw Id    Name                           State15:31
sgw----------------------------------------------------15:31
sgw 22    ctn-duplex-controller-0        running15:31
sgw 28    ctn-duplex-controller-1        running15:31
mthebeauyou may not be using the stx-tools defaults, the bridges look like stxbr115:31
sgwI am not, your correct15:32
mthebeaubut you are using stx-tools/ implementation; what is your head commit?15:33
sgwI am not using the stx-tools depolyment, this is a generic libvirt question.15:34
mthebeauok;  one bridge for mgmt network and both controllers have their host-side tun/tap (vnetx) on that bridge?15:35
mthebeauyou didn't configure vlans15:37
mthebeaubefore I start using host for libvirt/qemu virtualization I check that there are no iptables rules related to my configuration15:45
sgwno vlans, the only iptables are for 10.10.10.0 and DOCKER changes, I wonder if I am missing an iptables entry for 192.168.204.0 (the mgnt network)15:48
mthebeauThe virt host doesn't usually know about the the mgmt network,  doesn't need to do anything with packets, so no iptables.  THe virt host usually doesn't have an ip address on the mgmt network15:50
mthebeauthe virt host bridge for mgmt is like a simple hub15:51
mthebeaufor bridge and tun/taps are all "ifconfig $1 up"?15:52
sgwYes, they are all up15:58
mthebeauit's been a really long time, and I don't remember the cause, but I have observed a condition where the packet shows up on tun/tap but not the bridge, or it shows up on the guest's interface, but not the host's tun/tap.16:00
mthebeauif you put out a ping on controller-0 mgmt interface, you see it on the bridge?16:03
mthebeaudid you copy-paste the mac addresses for the controller's xml by chance?16:04
sgwyes, I can see a ping from controller-0 on the bridge (via tcpdump on the host)16:07
sgwI can get the mac address easily enough16:08
mthebeauand you already said you watched the controller-1 put out pxe/dhcp request16:08
sgwyup and I put a resuceOS on controller-1 and tried to ping controller-0, which I also saw on the bridge via tcpdump16:09
mthebeauI think I'm about out of guesses.  I have a controller storage (2 work nodes) running based on 20190325T013001Z .16:25
mthebeauI followed the wiki: https://wiki.openstack.org/wiki/StarlingX/Containers/InstallationOnStandard16:28
sgwmthebeau: I am trying to reset and start over.16:30
mthebeauwhat interface type did you use in xml for the first two interfaces?  It shouldn't matter, but I'm curious; the stx-tools has e1000 and they present as enp7s? on the controllers16:33
sgwe1000 for ens7, I see its enp7 with a different config16:37
mthebeaulspci | grep Ethernet gives me Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)16:41
*** kenyis709 has joined #starlingx17:27
*** Samiam1999DTP has joined #starlingx17:39
*** Samiam1999 has quit IRC17:41
*** rcw has joined #starlingx18:04
*** kenyis709 has quit IRC18:46
*** zhubx has quit IRC20:01
*** zhubx has joined #starlingx20:02
*** rcw has quit IRC20:12
*** sgw has quit IRC21:06
*** ijolliffe has quit IRC21:37
*** jsun3 has quit IRC22:49
*** ericbarrett has quit IRC22:49
*** jsun3 has joined #starlingx22:49
*** bwensley_ has joined #starlingx22:54
*** jsun3 has quit IRC22:57
*** bwensley has quit IRC22:58

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