Friday, 2015-05-08

*** smallbig has joined #openstack-neutron-ovn03:01
*** arosen has quit IRC05:00
*** armax has quit IRC07:02
*** gsagie_ has joined #openstack-neutron-ovn09:55
*** gsagie_ has quit IRC11:10
openstackgerritGal Sagie proposed stackforge/networking-ovn: Extract strings into constants file  https://review.openstack.org/18137612:32
*** gsagie_ has joined #openstack-neutron-ovn12:32
openstackgerritGal Sagie proposed stackforge/networking-ovn: Set port security for logical port  https://review.openstack.org/18137812:55
*** openstackgerrit has quit IRC13:51
*** openstackgerrit has joined #openstack-neutron-ovn13:51
openstackgerritGal Sagie proposed stackforge/networking-ovn: Extract strings into constants file  https://review.openstack.org/18137613:52
openstackgerritGal Sagie proposed stackforge/networking-ovn: Extract strings into constants file  https://review.openstack.org/18137613:54
gsagie_patch dependencies is just annoying13:55
gsagie_i should learn not to do it13:55
gsagie_:)13:55
russellbthey're great!13:56
russellbshould learn to master it :)13:56
openstackgerritGal Sagie proposed stackforge/networking-ovn: Extract strings into constants file  https://review.openstack.org/18137613:57
gsagie_yeah probably :) right now i just prefer to rebase everything14:00
gsagie_to master14:00
openstackgerritGal Sagie proposed stackforge/networking-ovn: Set port security for logical port  https://review.openstack.org/18137814:08
openstackgerritGal Sagie proposed stackforge/networking-ovn: Extract strings into constants file  https://review.openstack.org/18137614:17
*** armax has joined #openstack-neutron-ovn14:26
openstackgerritMerged stackforge/networking-ovn: Extract strings into constants file  https://review.openstack.org/18137615:29
russellbmove of networking-ovn into openstack/ and under Neutron approved: https://review.openstack.org/#/c/175954/15:31
*** gsagie_ has quit IRC15:32
openstackgerritGal Sagie proposed stackforge/networking-ovn: Set port security for logical port  https://review.openstack.org/18137815:45
openstackgerritMerged stackforge/networking-ovn: Set port security for logical port  https://review.openstack.org/18137816:01
*** armax has quit IRC16:14
*** shettyg has joined #openstack-neutron-ovn16:40
shettygTrying Russel's documentation at http://networking-ovn.readthedocs.org/en/latest/testing.html16:40
shettygAfter creating 2 VMs, a 'nova list' shows status ERROR.16:40
shettygAny debugging tips?16:41
russellbshettyg: o/16:41
russellbyeah, let's see what happened ...16:41
russellbcan you switch to admin, and get the output of 'nova show' on one of them?16:41
russellbso ...16:41
russellb$ cd devstack16:42
russellb$ . openrc admin16:42
russellb$ nova show test116:42
russellb(or whatever you named one of the VMs ... you can also specify a UUID)16:42
russellband pastebin that somewhere16:42
shettyghttps://gist.github.com/shettyg/b4fd3e69b52a5152372316:43
shettyginfo of 'nova show test1' above16:43
russellbperfect16:44
russellb{"message": "No valid host was found...16:44
russellbthe potentially good news is that the error has nothing to do with OVN16:45
russellbshettyg: how much RAM do you have in the host running devstack?16:45
shettygA total of 4 GB16:45
shettygrussellb:16:46
russellbmestery: did you ever figure out what your devstack problem was?16:46
russellbshettyg: nova-scheduler, the VM placement decision making thing in nova, is saying there is no host available to run the VM that was requested, so now we have to figure out why it thinks that16:47
russellbmestery was having this problem in his setup at first, but i don't know what the root cause ended up being16:48
russellbtypically when you see this error, it means there's no hosts with enough resources left to run the VM you've requested ... but i don't think that's the case here16:48
russellbshettyg: how about "nova service-list"16:49
*** armax has joined #openstack-neutron-ovn16:49
shettygrussellb: https://gist.github.com/shettyg/008be599bccd530ddc3d16:50
* russellb running stack.sh so i have something to look at and compare as we go16:51
russellbi wonder if the scheduler log has anything more helpful in it16:52
shettygrussellb: Where do I find the scheduler log?16:52
russellbshettyg: 2 ways ... /opt/stack/n-sch.log or $ screen -x ... then Ctrl-a " to bring up the list of tabs in the screen session, and switch to n-sch16:54
russellbit uses colors by default, so that's kind of annoying when you need to copy it off somewhere16:54
russellbshettyg: you can just copy that whole file somewhere if you want16:57
russellbshettyg: a couple more commands ... $ nova hypervisor-list ... $ nova hypervisor-stats17:00
shettygrussellb: https://gist.github.com/shettyg/0a424c0cdaf52961edee17:01
russellbshettyg: so you got some VMs running successfully?17:01
russellbsays there are 2 running now17:01
shettygrussellb: 'nova list' still says error17:02
russellbok ...17:02
russellbwe should check to see if there's an error in nova-compute's log then17:02
russellbn-cpu.log17:03
mesteryrussellb: Yes, it was apprmor was on and was preventing nova compute from calling ovs-vsctl commands to plug the VIF17:04
mesteryDisabling apparmor was the trick17:04
mesteryto making it work17:04
russellbah-ha!17:05
russellbshettyg: ^17:05
russellblet's see if that's it17:05
shettygLet me try that, thanks for the tip!17:05
russellbby some sort of luck, it seems i never turned off selinux and mine is working, heh17:06
russellbsecurity--17:06
russellbshettyg: i'd really like to test the underlay mode soon, just hasn't made it high enough on the list17:07
russellbshettyg: have you tried it?17:08
shettygI haven't tried the underlay mode end to end. That is the reason I wanted this setup up.17:08
shettygrussellb:17:08
russellbcool :)17:09
russellbhopefully app-armor is it..17:09
russellbshettyg: you should be able to "nova delete test1"17:09
russellbto clean up the zombies17:10
shettygrussellb: I have usually found disabling apparmor to be a pain in Ubuntu with unintended consequences. So I reverted my VM snapshot and re-running devstack. I will see how it goes. Eventually, I would like to insert a ubuntu VM inside devstack (for ease of installation of docker)17:14
shettygaaron provided a readme here for that: http://blog.aaronorosen.com/quick-guide-to-creating-a-openstack-bootable-image/17:14
russellbshettyg: you shouldn't have to work that hard though, there are existing images you can grab17:17
shettygrussellb: any pointers?17:18
russellbyeah, looking ...17:19
russellbhttps://cloud-images.ubuntu.com/ i guess?17:19
russellbweird though17:19
russellbnm, couldn't find the openstack compat image at first  but it's in there17:20
russellbmaybe this one https://cloud-images.ubuntu.com/releases/14.04.2/14.04.2/ubuntu-14.04-server-cloudimg-amd64-disk1.img17:20
russellb"Cloud image for 64-bit computers (QCOW2 disk image file for use with QEMU and KVM)"17:20
russellbor your release of choice17:21
russellbor Fedora has a similar image ... http://download.fedoraproject.org/pub/fedora/linux/releases/21/Cloud/Images/x86_64/Fedora-Cloud-Base-20141203-21.x86_64.qcow217:23
openstackgerritRussell Bryant proposed stackforge/networking-ovn: drop ovn.filters  https://review.openstack.org/18148017:50
russellbadded a new job for running tempest: https://review.openstack.org/18148718:03
*** s3wong has joined #openstack-neutron-ovn18:09
*** blp has joined #openstack-neutron-ovn18:21
openstackgerritRussell Bryant proposed stackforge/networking-ovn: drop ovn.filters  https://review.openstack.org/18148018:42
*** armax has quit IRC18:43
*** armax has joined #openstack-neutron-ovn18:49
*** shettyg has quit IRC18:50
openstackgerritRussell Bryant proposed stackforge/networking-ovn: Add OVN_ROLE and OVN_REMOTE devstack config  https://review.openstack.org/18150219:00
*** shettyg has joined #openstack-neutron-ovn19:42
*** shettyg has quit IRC20:21
*** shettyg has joined #openstack-neutron-ovn20:24
*** shettyg has quit IRC20:34
*** armax has quit IRC20:48
*** shettyg has joined #openstack-neutron-ovn21:04
*** shettyg has quit IRC21:15
*** shettyg has joined #openstack-neutron-ovn21:16
openstackgerritRussell Bryant proposed stackforge/networking-ovn: Add OVN_ROLE and OVN_REMOTE devstack config  https://review.openstack.org/18150221:18
openstackgerritRussell Bryant proposed stackforge/networking-ovn: devstack: Don't force enable key,mysql,rabbit  https://review.openstack.org/18156121:18
*** armax has joined #openstack-neutron-ovn21:31
shettygrussellb: I had success booting up vms after disabling apparmor. And with a fix from ben in dev@openvswitch.org I can ping the 2 cirros vms. Thanks for the pointer.22:13
*** arosen has joined #openstack-neutron-ovn23:00
*** shettyg has quit IRC23:05
*** mestery has quit IRC23:34

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