*** tzn has joined #openstack-solar | 00:28 | |
*** tzn has quit IRC | 00:39 | |
openstackgerrit | Merged openstack/solar: Add more stuff to exclude when syncing tree in tests https://review.openstack.org/281979 | 01:51 |
---|---|---|
*** tzn has joined #openstack-solar | 03:17 | |
*** tzn has quit IRC | 03:22 | |
*** tzn has joined #openstack-solar | 05:07 | |
*** tzn has quit IRC | 05:12 | |
*** jhesketh has quit IRC | 05:14 | |
*** jhesketh has joined #openstack-solar | 05:16 | |
*** tzn has joined #openstack-solar | 06:56 | |
*** tzn has quit IRC | 07:01 | |
*** salmon_ has joined #openstack-solar | 08:34 | |
openstackgerrit | Merged openstack/solar: temporary skip 2 problematic tests on postgresql https://review.openstack.org/281791 | 09:04 |
openstackgerrit | Jedrzej Nowak proposed openstack/solar: Added solar.version https://review.openstack.org/282241 | 09:05 |
openstackgerrit | Merged openstack/solar: Rework conftests + sql tables are cleared on success https://review.openstack.org/281784 | 09:11 |
pigmej | jenkins is soooo fast today ;d | 09:12 |
pigmej | not like yesterday where we had to wait 4h... | 09:12 |
pigmej | salmon_: ^ :D | 09:12 |
salmon_ | It's strange | 09:12 |
salmon_ | something is wrong... :P | 09:12 |
pigmej | ;D | 09:12 |
salmon_ | https://review.openstack.org/#/c/282241/ this is still waiting | 09:13 |
pigmej | yeah | 09:14 |
pigmej | but still :) | 09:14 |
pigmej | it's almost done :) | 09:14 |
pigmej | ok it tries to clone for 10 minutes... | 09:18 |
pigmej | 2016-02-19 09:08:44.852 | INFO:zuul.Cloner:Creating repo openstack/solar from upstream git://git.openstack.org/openstack/solar | 09:18 |
openstackgerrit | Bogdan Dobrelya proposed openstack/solar: (WIP) Add packer build for docker container https://review.openstack.org/281767 | 09:21 |
pigmej | salmon_: I want to undo my words :) | 09:26 |
salmon_ | ? | 09:26 |
pigmej | about jenkins :P | 09:26 |
salmon_ | ah :D | 09:26 |
pigmej | https://jenkins07.openstack.org/job/gate-solar-docs/85/console it will crash because of git timeout | 09:27 |
pigmej | salmon_: https://bugs.launchpad.net/solar/+bug/1545815 I think we can close it, because it's just env variable, so it's possible to do it :) | 09:41 |
openstack | Launchpad bug 1545815 in Solar "Switch by default to PostgreSQL in test scripts" [Undecided,New] | 09:41 |
pigmej | still riak is default but... I think that's ok | 09:41 |
openstackgerrit | Jedrzej Nowak proposed openstack/solar: Added solar.version https://review.openstack.org/282241 | 09:43 |
pigmej | just retriggered build | 09:43 |
salmon_ | pigmej: change bug description then :) | 09:45 |
pigmej | yeah sure, | 09:45 |
pigmej | done, and "Fix Commited" | 09:46 |
*** tzn has joined #openstack-solar | 09:50 | |
*** tzn has quit IRC | 09:51 | |
*** tzn has joined #openstack-solar | 09:51 | |
pigmej | salmon_: https://review.openstack.org/#/c/282241/ please check it, jenkins finally checked it | 09:58 |
salmon_ | >Welcome to Solar’s documentation! - solar 0.3.0.dev26 documentation | 09:59 |
salmon_ | :) | 09:59 |
pigmej | :) | 10:00 |
openstackgerrit | Merged openstack/solar: Added solar.version https://review.openstack.org/282241 | 10:03 |
pigmej | mkwiek: Were you able to setup solar dev env ? | 10:28 |
mkwiek | I have a Vagrant env, will it be enough? | 10:29 |
mkwiek | pigmej: ^^ | 10:29 |
pigmej | yeah | 10:29 |
pigmej | vagrant with vbox will be enough for some stuff, you will be unable to run examples tests (libvirt + devops) but the rest will work fine | 10:29 |
salmon_ | but You want to run devops tests :) | 10:30 |
salmon_ | it speedups things a lot | 10:30 |
pigmej | yup | 10:31 |
mkwiek | I am trying to run these tests on the lab I have access to, but I have some problems with qemu not being able to initialize SDL (investigating this now) | 10:31 |
pigmej | what's SDL ? | 10:32 |
mkwiek | only SDL I know is Simple DirectMedia Layer | 10:32 |
mkwiek | but I am not sure yet if that's the case here :D | 10:32 |
salmon_ | how do you run it? | 10:32 |
mkwiek | PACKER_LOG=1 packer build -only=qemu solar-master.json | 10:33 |
mkwiek | because I need an image | 10:33 |
mkwiek | from solar/bootstrap dir | 10:33 |
salmon_ | headless=true packer build --only qemu solar-master.json | 10:33 |
mkwiek | according to docs here: https://github.com/openstack/solar/tree/master/bootstrap | 10:33 |
pigmej | mkwiek: headles=true ;) | 10:33 |
pigmej | double s like salmon_ :) | 10:34 |
mkwiek | makes sense, thanks! | 10:34 |
salmon_ | mkwiek: checkout this jobs https://jenkins-sandbox.infra.mirantis.net/view/solar/ it may help | 10:36 |
pigmej | salmon_: I'm afraid that we may have network problems there. but even if all that he needs then is to modify jenkins solar resource repos :) | 10:37 |
salmon_ | pigmej: yeah, mkwiek may fix it ;) | 10:40 |
pigmej | yup :) | 10:41 |
pigmej | it's more like adjust though :) | 10:41 |
mkwiek | so, what's wrong with these jobs? | 10:43 |
salmon_ | nothing | 10:43 |
salmon_ | in most cases both are working | 10:43 |
salmon_ | on local env there may be conflicts with other networks | 10:44 |
mkwiek | ah, I see | 10:44 |
*** tzn has quit IRC | 10:48 | |
mkwiek | do you guys need sudo to run these examples? I built the image, I am running it as follows: | 11:00 |
mkwiek | IMAGE_PATH=solar-master.box sh -x utils/jenkins/run_riak_example.sh | 11:00 |
mkwiek | and I am getting libvirt: Storage Driver error : Cannot access backing file '/home/mkwiek/solar/solar-master.box' of storage file '/var/lib/libvirt/images/solar-example_solar-base' (as uid:99, gid:78): Permission denied | 11:00 |
mkwiek | I guess I need access to /var/lib/libvirt/images directory? | 11:01 |
pigmej | hmm | 11:03 |
pigmej | I ended up with copy&paste but it was because of selinux, salmon_ ? | 11:03 |
pigmej | you had it differently as I remember, isn't it? | 11:03 |
mkwiek | my lab is running on arch if this matters | 11:04 |
mkwiek | pigmej: where do you copy it? | 11:05 |
pigmej | to /var/lib/libvirt stuff; P | 11:06 |
pigmej | but I have everything there | 11:06 |
pigmej | hmm, maybe it's just a matter of setting libvirt pool properly.. | 11:06 |
pigmej | yeah, we're using default pool | 11:07 |
salmon_ | mkwiek: it depends on your distro. check your dmesg | 11:08 |
pigmej | salmon_: can we use non default pool ? | 11:08 |
salmon_ | pigmej: sure | 11:08 |
pigmej | mkwiek: does arch have polkitd or selinux like stuff? | 11:09 |
mkwiek | pigmej: I have no idea, need to find out :D | 11:09 |
mkwiek | I wasn't the one configuring this lab | 11:09 |
pigmej | if yes, then you need to have both images on the same location (same case as fedora then), The only solution that I know then, is to cp image there | 11:09 |
salmon_ | you should have some errors in dmesg | 11:09 |
mkwiek | salmon_: checking | 11:10 |
pigmej | yeah arch is using systemd... | 11:10 |
pigmej | so journalctl is your friend (or enemy:P) | 11:11 |
mkwiek | pigmej: checking | 11:12 |
pigmej | `journalctl --since '1 hour ago' -f` it will print all debug stuff :) | 11:12 |
mkwiek | nothing shows up there | 11:13 |
salmon_ | in ubuntu I have to be in libvirtd group | 11:14 |
mkwiek | I am only in kvm | 11:15 |
nihilifer | mkwiek: http://paste.openstack.org/show/487548/ | 11:15 |
mkwiek | I mean - I am not in libvirtd | 11:15 |
nihilifer | try to put it in /etc/polkit-1/rules.d/80-libvirt.rules | 11:15 |
nihilifer | (i'm almost sure arch runs polkit) | 11:16 |
pigmej | nihilifer: for fedora it's not working :D | 11:16 |
pigmej | I mean it's only part of a prbolem afair | 11:16 |
nihilifer | pigmej: it is for me, i'm running vagrant-libvirt vm-s on fedora by this polkit rune | 11:16 |
salmon_ | https://wiki.archlinux.org/index.php/libvirt#Using_polkit | 11:16 |
nihilifer | rule* | 11:16 |
pigmej | nihilifer: yeah but that's just part of a problem | 11:17 |
pigmej | at lest mine fedora complains that libvirt cannot use images from outside of pool for any stuff | 11:17 |
nihilifer | ah, ok :/ | 11:17 |
pigmej | https://bpaste.net/show/add4077cd399 | 11:18 |
pigmej | I have even simpler polkit rule, but it's only for "requiring password" or not, errors on path are more or less because of selinux stuff | 11:18 |
mkwiek | don't I need sudo to change polkit rules? | 11:18 |
pigmej | mkwiek: sure you do | 11:18 |
pigmej | but wait, are you able to craete VMs there ? | 11:18 |
pigmej | via virsh or whatever? | 11:19 |
mkwiek | yes | 11:19 |
pigmej | so then it's no polkit problem ;) | 11:19 |
pigmej | I think | 11:19 |
nihilifer | chcon -R -t virt_image_t /home/mkwiek/solar/solar-master.box | 11:21 |
nihilifer | maybe try that | 11:21 |
salmon_ | hmm, so libvirt can not access your file | 11:22 |
nihilifer | and maybe also | 11:22 |
mkwiek | nihilifer: you have sudo on lab, right? can you change permissions for /var/lib/libvirt/images/solar-example_solar-base so I can access it? | 11:22 |
nihilifer | chcon -R -t virt_var_lib_t /home/mkwiek/solar/solar-master.box | 11:22 |
nihilifer | i'll try | 11:22 |
salmon_ | mkwiek: nihilifer no | 11:22 |
salmon_ | libvirt can not access '/home/mkwiek/solar/solar-master.box' | 11:22 |
pigmej | it's the same problem that I had :D | 11:22 |
mkwiek | not the other way around? | 11:22 |
salmon_ | Cannot access backing file '/home/mkwiek/solar/solar-master.box' | 11:23 |
mkwiek | ah | 11:23 |
pigmej | nihilifer: I tried chcon and sadly no go :) But .... maybe it could help | 11:23 |
pigmej | I was trying chcon -t "virt_image_t" | 11:24 |
salmon_ | chown/chmod? :P | 11:24 |
pigmej | nah | 11:24 |
mkwiek | nihilifer: "chcon: failed to get security context of '/home/mkwiek/solar/solar-master.box': Operation not supported │-- Logs begin at Tue 2016-01-19 12:32:16 CET. --" | 11:24 |
nihilifer | :/ | 11:24 |
mkwiek | salmon_: I chmodded to 777 and still get same error | 11:24 |
pigmej | because it's not because of chmods | 11:24 |
pigmej | but some stupid policy | 11:24 |
pigmej | that forbids using qcow in different locations probably | 11:25 |
pigmej | same shit as I had | 11:25 |
mkwiek | I'll ask Bartek | 11:25 |
pigmej | I ended up with copy image to /var/lib... :) | 11:25 |
salmon_ | mkwiek: full path? | 11:25 |
mkwiek | pigmej: I just did that and it seems it works | 11:25 |
mkwiek | cool, thanks for your help guys! | 11:26 |
pigmej | yeah when you copy stuff it for sure works, but I have no clue what's the reason for this shit | 11:26 |
salmon_ | :D | 11:26 |
pigmej | btw, do we expect some breaking changes today ? | 11:27 |
pigmej | I could upload new boxes to atlas... | 11:27 |
salmon_ | not from me | 11:27 |
pigmej | k most of our bugs / stuff is strongly solar related not system like, so it may be ok to upload it, bogdando could play and make centos then :D:D | 11:28 |
mkwiek | now it seems that it can't connect to the machine, but maybe it's something regarding the networks | 11:28 |
pigmej | mkwiek: it may be, check what networks do you have assigned (you mentioned that you have some networks assigned) | 11:28 |
pigmej | then adjust scripts and resouces to use that network, instead of hardcoded one | 11:29 |
salmon_ | mkwiek: show us logs :) | 11:29 |
mkwiek | salmon_: which ones? | 11:31 |
salmon_ | mkwiek: with error :P | 11:31 |
pigmej | from example execution :) | 11:31 |
mkwiek | it's just sshpass failing in a loop | 11:31 |
mkwiek | http://paste.openstack.org/show/487553/ | 11:32 |
pigmej | mkwiek: as you can see we have 10.10.0.0/24 hardcoded | 11:32 |
salmon_ | mkwiek: can you run dos.py version | 11:33 |
salmon_ | 11:33 | |
salmon_ | I have 2.9.17 | 11:33 |
salmon_ | You may upgrade your | 11:33 |
mkwiek | 2.9.16 :D | 11:35 |
pigmej | 2.9.18 | 11:36 |
pigmej | I won :P | 11:36 |
salmon_ | mkwiek: try to upgrade | 11:37 |
mkwiek | sure | 11:38 |
mkwiek | same stuff, will go with adjusting the script to use different network | 11:41 |
salmon_ | it's in default.yaml | 11:41 |
*** tzn has joined #openstack-solar | 11:44 | |
mkwiek | seems in sync with what dos.py net-list solar-example yields, need to check if ip's of individual vms are the same | 11:48 |
*** tzn has quit IRC | 11:48 | |
*** tzn has joined #openstack-solar | 11:48 | |
salmon_ | maybe dnsmasq issue | 11:48 |
salmon_ | check cat /var/lib/libvirt/dnsmasq/solar-example_public.leases | 11:49 |
mkwiek | salmon_: I don't have this file | 11:52 |
salmon_ | mkwiek: anything related to solar in /var/lib/libvirt/dnsmasq ? | 11:53 |
mkwiek | yupp | 11:53 |
salmon_ | show me | 11:53 |
mkwiek | for each of 4 networks there is addnhosts, conf and hostsfile | 11:53 |
salmon_ | mkwiek: show all | 11:54 |
mkwiek | http://paste.openstack.org/show/487556/ | 11:54 |
mkwiek | there are no *lease file for any network there | 11:55 |
salmon_ | are vms still running? | 11:55 |
salmon_ | solar vms | 11:55 |
mkwiek | yupp | 11:55 |
salmon_ | :/ | 11:56 |
salmon_ | I need an access there | 11:56 |
mkwiek | virsh list yields | 11:56 |
mkwiek | 288 solar-example_solar running | 11:56 |
mkwiek | 289 solar-example_slave-0 running | 11:56 |
mkwiek | salmon_: I asked Bartek about it | 11:58 |
salmon_ | ok | 11:58 |
*** tzn has quit IRC | 12:05 | |
pigmej | ok new images seems to work for now | 12:23 |
*** tzn has joined #openstack-solar | 12:26 | |
mkwiek | salmon_: the vms are running, but they had some problem with boot - "Boot failed: not a bootable disk" | 12:45 |
mkwiek | I checked them through the vnc | 12:46 |
mkwiek | probably sth wrong with the image I build | 12:46 |
mkwiek | *built | 12:46 |
salmon_ | mkwiek: check the qemu logs | 12:51 |
*** tzn has quit IRC | 12:51 | |
salmon_ | in /var/log/libvirt/qemu or somethinh like this | 12:51 |
mkwiek | Permission denied. I hate not having sudo :D | 12:54 |
salmon_ | :/ | 12:55 |
pigmej | mkwiek: you created you vbox box from scratch or you downloaded it from atlas? | 13:42 |
mkwiek | I created qemu box from scratch | 13:43 |
pigmej | yeah but I mean on your Macbook | 13:43 |
mkwiek | I just used vagrant up, need to check if it downloads or creates one | 13:44 |
pigmej | ah | 13:45 |
pigmej | downloads | 13:45 |
mkwiek | is it normal that solar-worker stop hangs? | 13:53 |
pigmej | define hangs | 13:53 |
mkwiek | it prints some debug: http://paste.openstack.org/show/487575/ | 13:57 |
mkwiek | and then nothing happens, but the program doesn't terminate | 13:57 |
pigmej | ah | 13:57 |
pigmej | mkwiek: because | 13:57 |
pigmej | stop solar-worker | 13:57 |
pigmej | not solar-worker stop ;D | 13:57 |
mkwiek | oh | 13:57 |
pigmej | you just started worker in foreground ;D | 13:57 |
mkwiek | lol | 13:58 |
mkwiek | thanks | 13:58 |
pigmej | add a bug about arguments handling in solar-worker ;) | 13:58 |
pigmej | yeah UX is ekhm... :) | 13:58 |
mkwiek | pigmej: I think this one was me being not concentrated enough :P | 14:00 |
*** tzn has joined #openstack-solar | 14:01 | |
pigmej | well still | 14:01 |
*** tzn has quit IRC | 14:01 | |
pigmej | it should crash or print something | 14:01 |
*** tzn has joined #openstack-solar | 14:01 | |
mkwiek | probably yeah, I will file a bug | 14:03 |
*** openstackgerrit_ has quit IRC | 14:43 | |
*** openstackgerrit_ has joined #openstack-solar | 14:44 | |
*** openstackgerrit_ has quit IRC | 14:49 | |
*** openstackgerrit_ has joined #openstack-solar | 14:57 | |
*** openstackgerrit_ has quit IRC | 14:59 | |
*** openstackgerrit_ has joined #openstack-solar | 15:00 | |
*** tzn has quit IRC | 15:03 | |
*** tzn has joined #openstack-solar | 15:55 | |
*** tzn has quit IRC | 16:00 | |
openstackgerrit | Bogdan Dobrelya proposed openstack/solar: (WIP) Add packer build for docker container https://review.openstack.org/281767 | 16:43 |
bogdando | it kinda works now https://review.openstack.org/#/c/281767, although I still cannot deploy riak cuz of the atomic ansible file updates | 16:46 |
bogdando | related issues https://github.com/docker/docker/issues/9295 or https://github.com/ansible/ansible/issues/13981 | 16:46 |
pigmej | bogdando: you could create different version of hosts resource | 16:46 |
pigmej | :) | 16:46 |
bogdando | will try to w/a, not much choices | 16:47 |
bogdando | interesting blog post by the way http://mmckeen.net/blog/2013/12/27/advanced-docker-provisioning-with-packer/ | 16:47 |
bogdando | explains why people may not want to use dockerfiles for builds | 16:48 |
*** tzn has joined #openstack-solar | 16:55 | |
*** tzn has quit IRC | 16:59 | |
pigmej | I uploaded 0.3.0.pre1 | 17:10 |
*** tzn has joined #openstack-solar | 17:56 | |
*** tzn has quit IRC | 18:02 | |
*** nihilifer has quit IRC | 18:27 | |
*** nihilifer has joined #openstack-solar | 18:27 | |
*** tzn has joined #openstack-solar | 19:59 | |
*** tzn has quit IRC | 20:03 | |
*** tzn has joined #openstack-solar | 20:40 | |
*** tzn has quit IRC | 20:47 | |
*** tzn has joined #openstack-solar | 20:55 | |
*** tzn has quit IRC | 21:05 | |
*** tzn has joined #openstack-solar | 22:44 | |
*** tzn has quit IRC | 22:48 | |
*** tzn has joined #openstack-solar | 22:52 | |
*** tzn has quit IRC | 23:25 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!