Thursday, 2017-10-05

taskercrap.00:03
taskerSSH timeout during the run of a playbook.00:03
taskerthat'S how long it took.00:03
tasker /sigh00:03
*** jwitko has quit IRC00:04
*** jwitko has joined #openstack-ansible00:04
taskerI'm going home. I hope someone can shed some light on what OSA uses to determine the need to reinstall the virtual environments.00:05
*** acormier has joined #openstack-ansible00:06
cloudnulltasker: sorry. was not watching00:06
taskerno worries.00:07
SamYaplein the openstack-ansible gates, do you take advantage of the prebuilt wheels in infra? or just use it as a pypi mirror00:07
cloudnullthe venvs are created on the repo server00:07
cloudnull and downloaded within the role.00:07
taskeri'm a "stream of conciousness" debugger.00:07
cloudnullSamYaple: we use the wheels from infra00:07
SamYaplecloudnull: any issues with that?00:07
cloudnull** when they're available00:07
SamYapleheh00:07
cloudnullnone that i'm aware of?00:08
cloudnulltasker: was it hanging connecting?00:08
cloudnullthe setup-openstack playbook is just a meta playbook00:08
taskerno. the playbook was chugging along. it was my ssh to the staging host that timed-out.00:08
SamYapleim considering consuming those and publishing the resulting artifact to dockerhub, seem like a bad idea?00:08
cloudnullwhich calls the various os-SERVICE-install.yml playbooks00:08
cloudnulloh.00:08
taskerright. what I'm hoping to find an answer to is: OSA is largely idempotent. but, how does OSA determine that it needs to redo some work, like reinstall a virtual environment?00:09
cloudnulltasker: what version ?00:09
tasker14.2.800:09
*** weezS has joined #openstack-ansible00:10
cloudnullthe venvs themselves should only download when the version changes.00:10
taskerbecause this last run it looked and acted like it was reinstalling _all_ of openstack.00:10
cloudnullits is going to churn through a lot of those tasks, but it should not be reinstalling everything00:10
cloudnullunless the containers were  destroyed?00:11
cloudnullSamYaple: they seem to work well enough00:11
cloudnulland make a fairly large impact in the speed of the gate00:11
DimGRcloudnull when should we expect pike to be stable enough in prod ?00:11
cloudnullDimGR: it should be stabalish now00:11
taskerodd, that. because I pushed 14.2.8 a while ago. then I started the opertaing system upgrades. i took out one-third of the containers, but it was doing _alot_ of work on the other two thirds. i don't know for sure but it looked like it was reinstalling the venv on everything.00:12
cloudnullbut you might want to give it a week or two00:12
DimGRok00:12
taskerespecially considering that it took over two hours to do.00:12
cloudnullwith all the zuul shinanigans going on there may be issues not getting fixed atm00:12
DimGRi have time to wait00:12
SamYaplecloudnull: awesome. thanks man!00:12
cloudnullanytime !00:12
taskerlet me see if I can find some evidence to support my theory.00:13
cloudnull++00:13
cloudnullis developer_mode set anywhere?00:13
taskersure -- external to the keyboard00:14
cloudnullhaha00:14
taskersomething in a user_config?00:14
cloudnullno. it'd be a var set in something user_variables.yml etc.00:14
cloudnullthat said, we did a lot of work for rolling upgrades which can be noticeably slow.00:15
cloudnullmaybe your seeing that?00:15
taskerok .. here's neutron on compute-1, "Oct  2 19:43 neutron-14.2.8". the 2 is when I first pushed 14.2.8. and here's nova on the same host, "Oct  4 20:15 nova-14.2.8"00:18
taskerit did recreate the venv there.00:19
taskerI'll grant you that I ran the playbook without a --limit00:19
taskerI was hoping to take advantage of OSA's idempotency.00:20
*** acormier has quit IRC00:20
cloudnullhave you rebuilt the venvs since you pushed to 14.2.8?00:21
taskeris it because I rebuilt the repo containers and the packages there are newer than what was originally used to install 14.2.8?00:21
taskeryes00:22
taskerbecause I'm starting the operating system upgrades in the control-plane.00:22
cloudnulleach venv is built and stored along side the sha256 (it might be md5) of the constructed venv .00:22
taskerand I needed the xenial tarballs00:22
cloudnullif that changed it would update to whatever is latest.00:22
taskerof course it did.00:22
cloudnullah. ok00:23
taskerand I started at the primary repo container, repo_all[0]00:23
* tasker deflates00:23
taskeri need scotch.00:23
taskeror pool.00:23
taskeror a dragon to stab.00:23
cloudnullwhy not both !00:23
taskerinverse proportinalities.00:23
taskerok. well, mystery solved.00:24
cloudnullsorry?00:24
taskerof why OSA determined that it needed to reinstall the venvs.00:25
cloudnullnow, re-installing the venvs should be pretty quick. it just grabs a tarball from the repo server and extracts it in place.00:26
*** dxiri has quit IRC00:26
cloudnullwere you seeing that take a long time too?00:26
taskerusing some prior information, I used "openstack-ansible repo-install --list-hosts --limit 'repo_all[0]'" to figure out which third of the control plane to start on. so I started on controller-2. this required destroying all the lxcs. so it took out the "master" repo container. after a rebuild, everything would have been different.00:27
taskerkinda sorta.00:27
taskerespecially during nova. it did each piece in turn. it didn't glob or parallelize anything during the install of nova.00:27
cloudnullyea, thats a result of the rolling upgrades.00:28
cloudnullcompute should be faster than control plane but its largely been serialized.00:28
cloudnullnova specifically that is00:29
taskerok. so, lesson learned, don't use "setup-openstack".00:30
taskeror at least increase the SSH timeout if I do.00:30
cloudnullI normally fire up tmux00:31
cloudnulland let it do its thing00:31
taskeri have not used that.00:31
cloudnullits like screen00:32
taskeroh yeah00:32
taskereh. i didn't think about it.00:32
tasker(but, shhh. don't tell my boss. he's a screen junkie)00:32
taskerso that makes TWO lessons learned.00:32
cloudnullhttp://paste.openstack.org/show/622708/00:33
cloudnullthat just fires it off into the background00:33
cloudnullthen `tmux attach` to check in on it00:33
taskerneat00:33
*** poopcat has quit IRC00:33
tasker^M vs [enter]?00:34
cloudnullhttps://tmuxcheatsheet.com/00:34
cloudnull^ a good reference on general commands00:34
*** jwitko has quit IRC00:35
*** poopcat has joined #openstack-ansible00:35
taskerthanks.00:35
*** jwitko has joined #openstack-ansible00:35
taskerI'm off. I'll pick up the pieces tomorrow.00:35
taskerthanks for your help, cloudnull.00:35
taskerthank you, so very much.00:35
cloudnulltake care00:35
cloudnullhave much scotch00:35
cloudnull:D00:35
tasker. )00:35
cloudnullcloud runs on scotch00:35
*** albertcard1 has joined #openstack-ansible00:40
*** poopcat has quit IRC00:40
spotzcloudnull: Can it also run on Tequilla?00:48
*** woodard has joined #openstack-ansible00:57
*** woodard_ has quit IRC00:57
*** weezS has quit IRC01:04
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_freezer master: Updated from global requirements  https://review.openstack.org/48412001:08
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_horizon master: Updated from global requirements  https://review.openstack.org/50468301:08
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_searchlight master: Updated from global requirements  https://review.openstack.org/49523801:08
*** acormier has joined #openstack-ansible01:10
*** acormier has quit IRC01:20
*** acormier has joined #openstack-ansible01:21
*** acormier_ has joined #openstack-ansible01:26
*** acormier has quit IRC01:29
*** acormier_ has quit IRC01:36
*** jhesketh has quit IRC01:51
*** jhesketh has joined #openstack-ansible01:51
*** dave-mcc_ has quit IRC01:57
*** adreznec has quit IRC02:00
*** adreznec has joined #openstack-ansible02:02
*** mpranjic has quit IRC02:03
*** woodard has quit IRC02:19
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_freezer master: Updated from global requirements  https://review.openstack.org/48412002:40
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_horizon master: Updated from global requirements  https://review.openstack.org/50468302:40
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_searchlight master: Updated from global requirements  https://review.openstack.org/49523802:41
*** vishwanathj has quit IRC02:44
cloudnullspotz: absolutely02:53
cloudnullTequilla makes the world go round02:53
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_freezer master: Updated from global requirements  https://review.openstack.org/48412002:56
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_horizon master: Updated from global requirements  https://review.openstack.org/50468302:56
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_searchlight master: Updated from global requirements  https://review.openstack.org/49523802:57
*** germs has quit IRC02:57
*** mpranjic has joined #openstack-ansible02:58
*** germs has joined #openstack-ansible02:58
*** germs1 has joined #openstack-ansible03:01
*** germs has quit IRC03:04
*** dxiri has joined #openstack-ansible03:04
*** dxiri_ has joined #openstack-ansible03:08
*** dxiri has quit IRC03:09
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_freezer master: Updated from global requirements  https://review.openstack.org/48412003:12
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_horizon master: Updated from global requirements  https://review.openstack.org/50468303:12
*** lbragstad has joined #openstack-ansible03:12
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_searchlight master: Updated from global requirements  https://review.openstack.org/49523803:12
*** udesale has joined #openstack-ansible03:31
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_freezer master: Updated from global requirements  https://review.openstack.org/48412003:32
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_horizon master: Updated from global requirements  https://review.openstack.org/50468303:32
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_searchlight master: Updated from global requirements  https://review.openstack.org/49523803:33
*** markvoelker has quit IRC03:36
*** acormier has joined #openstack-ansible03:36
*** yifei has joined #openstack-ansible03:37
*** gkadam has joined #openstack-ansible03:37
*** yifei has quit IRC03:38
*** acormier has quit IRC03:41
*** lbragstad has quit IRC03:50
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_freezer master: Updated from global requirements  https://review.openstack.org/48412004:02
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_horizon master: Updated from global requirements  https://review.openstack.org/50468304:02
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_searchlight master: Updated from global requirements  https://review.openstack.org/49523804:02
*** albertcard1 has quit IRC04:05
*** jamielennox has quit IRC04:14
*** jamielennox has joined #openstack-ansible04:18
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_freezer master: Updated from global requirements  https://review.openstack.org/48412004:18
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_horizon master: Updated from global requirements  https://review.openstack.org/50468304:18
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_searchlight master: Updated from global requirements  https://review.openstack.org/49523804:19
*** germs1 has quit IRC04:21
*** germs has joined #openstack-ansible04:35
cloudnullif folks have time to review https://review.openstack.org/#/c/499396 it be appreciated.04:41
cloudnullshould knock of quite a bit of time04:41
*** yifei has joined #openstack-ansible04:53
*** yifei has quit IRC04:54
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-lxc_hosts master: Create an LXC create template for machinectl  https://review.openstack.org/50105405:01
*** chyka has joined #openstack-ansible05:04
*** gouthamr has quit IRC05:06
*** chyka has quit IRC05:08
*** eumel8 has joined #openstack-ansible05:13
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-lxc_container_create master: [WIP] Add machinectl backend store options  https://review.openstack.org/50105905:15
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-lxc_container_create master: [WIP] Add machinectl backend store options  https://review.openstack.org/50105905:16
*** germs has quit IRC05:16
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible master: [DNM] Testing integrated repo with machinectl template  https://review.openstack.org/50109005:19
*** chyka has joined #openstack-ansible05:35
*** markvoelker has joined #openstack-ansible05:37
*** chyka has quit IRC05:39
*** udesale__ has joined #openstack-ansible05:42
*** udesale has quit IRC05:45
*** threestrands has quit IRC05:45
*** drifterza has joined #openstack-ansible05:51
*** vishwanathj has joined #openstack-ansible05:54
*** dxiri has joined #openstack-ansible06:01
*** dxiri_ has quit IRC06:02
*** Oku_OS-away is now known as Oku_OS06:08
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_freezer master: Updated from global requirements  https://review.openstack.org/48412006:10
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_horizon master: Updated from global requirements  https://review.openstack.org/50468306:10
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_searchlight master: Updated from global requirements  https://review.openstack.org/49523806:10
*** markvoelker has quit IRC06:11
*** vishwana_ has joined #openstack-ansible06:19
*** jbadiapa has joined #openstack-ansible06:19
*** jvidal has joined #openstack-ansible06:19
*** vishwanathj has quit IRC06:21
jrossercloudnull: yes a loop device is fine06:22
*** hachi_ has joined #openstack-ansible06:28
*** dxiri has quit IRC06:29
*** drifterza has quit IRC06:35
*** DanyC has quit IRC06:38
*** DanyC has joined #openstack-ansible06:39
*** DanyC has quit IRC06:43
nwonknuivve: yes, if you have examples for that would be great06:44
nwonknui'm trying right now by assigning multiple mgmt ip's to a single host and basically having it appear to ansible as multiple hosts, but that's surely not the best/cleanest approach06:44
nwonknuso i'll take a look at the os_cinder role if i can figure out what you meant06:46
*** udesale has joined #openstack-ansible06:46
*** udesale__ has quit IRC06:48
*** vishwana_ has quit IRC06:48
*** vishwanathj has joined #openstack-ansible07:04
*** drifterza has joined #openstack-ansible07:05
*** woodard has joined #openstack-ansible07:06
*** markvoelker has joined #openstack-ansible07:08
*** pcaruana has joined #openstack-ansible07:08
*** woodard has quit IRC07:10
*** TomMc has joined #openstack-ansible07:23
*** dxiri has joined #openstack-ansible07:24
*** chyka has joined #openstack-ansible07:30
*** drifterza has quit IRC07:32
*** drifterza has joined #openstack-ansible07:33
*** chyka has quit IRC07:35
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible stable/pike: Fix zuul clonemap  https://review.openstack.org/50970107:36
*** drifterza has quit IRC07:37
*** markvoelker has quit IRC07:42
*** DanyC has joined #openstack-ansible07:50
*** DanyC has quit IRC07:50
*** DanyC has joined #openstack-ansible07:50
*** armaan has quit IRC08:00
*** armaan has joined #openstack-ansible08:00
*** DanyC has quit IRC08:01
*** OldTom has joined #openstack-ansible08:04
*** TomMc has quit IRC08:07
*** OldTom has quit IRC08:08
*** pbandark has joined #openstack-ansible08:10
*** pbandark has quit IRC08:11
*** pbandark has joined #openstack-ansible08:13
*** br0k3n has joined #openstack-ansible08:14
*** mbuil has joined #openstack-ansible08:15
*** shardy has joined #openstack-ansible08:19
*** LiterateHawk_ has quit IRC08:22
*** LiterateHawk_ has joined #openstack-ansible08:23
*** TomMc has joined #openstack-ansible08:27
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-os_nova master: Force the installation of qemu packages  https://review.openstack.org/50971108:28
evrardjpTIL installing qemu qemu-common or qemu-system doesn't automatically provide qemu-kvm08:31
evrardjpunder ubuntu1608:31
*** pylot has joined #openstack-ansible08:34
nwonknuhaving some issues with keepalived now; it keeps restarting continuously; if i run it manually with -R i see it crashes sometimes, other times it will continue running fine08:37
evrardjpmmm08:37
evrardjpversion?08:37
nwonknuonly thing that appears in the logs before it happens is 'VRRP child process(7053) died: Exiting'08:37
nwonknupike08:37
evrardjpkeepalived version I mean08:37
nwonknuKeepalived v1.2.1908:37
nwonknuUbuntu 16.04.3 LTS08:38
evrardjpjust a sec08:38
nwonknuyup08:38
evrardjpon ipv6?08:38
*** markvoelker has joined #openstack-ansible08:38
nwonknuno, ipv408:39
nwonknui'll pastebin the config08:39
evrardjpyeah that would be great08:39
evrardjpI will check the version in uca08:40
evrardjpbecause there are updates08:40
nwonknuhttps://pastebin.com/1zpwxUH208:40
evrardjpI know there are regularily vrrp fixes08:40
evrardjpare you sure you don't have two daemons running?08:40
evrardjplooks simple enough08:41
nwonknuyeah, i can reproduce the issue consistently even when everything is killed (ps aux | grep keepalived is empty) and i run manually with -R (don't respawn)08:41
nwonknui'll give a full debug log too08:41
*** hachi_ has quit IRC08:42
pylotevery time i install a new environment -> spice is throwing 503 until the nova_console container is restarted... is there a way to fix that?08:42
evrardjpnwonknu: 1.2.19 is the official version of ubuntu 160408:45
evrardjpthey don't provide any updated version in UCA08:45
nwonknucorrect08:45
nwonknu1:1.2.19-1ubuntu0.208:45
nwonknui can try the zesty version to see if it will install/run08:46
evrardjpnah08:46
evrardjpbad idea08:46
evrardjpbetter use the ppa08:46
nwonknuok08:46
evrardjpjust a sec08:47
evrardjpI will check if the ppa can work for 16.04 for you08:47
evrardjpbut I will first find the root cause08:47
*** drifterza has joined #openstack-ansible08:47
evrardjpdid you try stracing it?08:48
*** epalper has joined #openstack-ansible08:49
evrardjpwhen you run manually, you don't forget to pass the config file, do you?08:49
evrardjpoh my bad I misread your log08:50
nwonknuhrm i don't specify it, assumed it was using default config location08:50
nwonknui can try an strace08:51
evrardjpit looks like it loads08:51
evrardjpbut give it in the cli, just in case08:52
evrardjpbut I think it's good08:52
evrardjphowever I see don't see something like08:52
evrardjp VRRP sockpool: [ifindex(10), proto(112), unicast(0), fd(10,11)]08:52
evrardjpso it can't access your interface08:53
evrardjpdid you change permissions/namespaces or anything?08:53
nwonknunope, new setup08:53
evrardjplet me check if there is an open bug for that08:53
evrardjpok08:53
evrardjpso not an upgrade08:53
nwonknunope08:53
nwonknustrace doesn't seem that useful, as it's the child process that dies08:54
nwonknubut will pastebin it anyway08:54
evrardjppylot: I don't know, you should file a bug08:54
evrardjpnwonknu: strace -f08:54
nwonknuahhh ok08:54
nwonknuright08:54
nwonknu[pid  9015] +++ killed by SIGSEGV (core dumped) +++08:56
evrardjpahah08:56
evrardjpseg faults!08:56
nwonknuyup08:57
nwonknubut i don't have --core-dump parameter :[08:57
*** fxpester has joined #openstack-ansible08:57
evrardjpResource temporarily unavailable08:57
*** TomMc has quit IRC08:57
evrardjpis the nic you're using passed to something else?08:58
evrardjpcould you try with a different nic, dedicated for it, to see if it works better?08:58
evrardjpI think it's a configuration problem08:58
evrardjpgut feeling08:58
nwonknueno1.1489 is not, but eno1 is part of br-mgmt08:58
nwonknuit's a new setup, so very possible08:59
nwonknueno1 has native vlan with mgmt iprange, but also has 1489 vlan for public range08:59
nwonknui'll remove one of the two keepalived floating ip configs08:59
nwonknuand see if it still happens then08:59
evrardjpcould you add another nic with vlan 1489 as native ?08:59
nwonknustill happens with only br-mgmt09:00
evrardjpor try lo0 temporarily09:00
nwonknuyup will try a few different configs09:00
*** DanyC has joined #openstack-ansible09:01
nwonknuhappens with only eno1.1489 as well09:01
evrardjpif you're looking for an updated package, give me a few minutes09:01
nwonknusure np09:02
evrardjpnwonknu: if you want an updated version coming from ppa09:02
evrardjpyou can simply do keepalived_ubuntu_src: "ppa"09:02
nwonknuok, easy enough09:03
*** jbadiapa has quit IRC09:03
evrardjpand then re-run the keepalived role, by running haproxy playbook09:03
evrardjpI doubt there is a need though09:03
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible stable/pike: Update all SHAs for 16.0.1  https://review.openstack.org/50814209:06
nwonknusame issue when running natively on only eno1 in mgmt range09:06
nwonknuand lo doesn't work for some reason, it assumes i don't have any interface specified then so it skips vrrp (Unknown interface !)09:07
evrardjpk09:08
evrardjpI can't spend more time on this ... if nothing works, try upgrading. But I think it's a network configuration issue09:09
evrardjpyou configured your nics and then ran the keepalived role by running the haproxy playbook, right?09:10
nwonknui configured the nics and went through the whole setup procedure as documented (setup-hosts, setup-infrastructure)09:10
nwonknuthis failed at a pip install on galera container09:11
nwonknuso i started looking, noticed keepalived ip being down, checked keepalived logs and saw it continuously respawning child process09:11
*** markvoelker has quit IRC09:12
*** br0k3n has quit IRC09:13
nwonknuinstalled ppa and trying latest, appears to have more output at least (pid 10232 exited due to segmentation fault (SIGSEGV).)09:14
nwonknuKeepalived v1.2.23 fyi09:14
nwonknuthis one has the core-dump option09:14
*** br0k3n has joined #openstack-ansible09:14
*** jbadiapa has joined #openstack-ansible09:17
nwonknunot too useful without a debug binary i guess09:17
nwonknuhttps://pastebin.com/XbEWvmt609:17
evrardjp1.2.23 is the latest stable, or 1.2.24 I don't recall09:18
nwonknulets try the daily then09:18
nwonknuthats 1.2.1909:18
evrardjpyou shouldn't09:18
evrardjpI mean from keepalived09:19
nwonknuyeah i know09:19
nwonknufigured i'll just try latest available from the ppa, if that doesn't work i'll compile from source/latest?09:19
evrardjpnah, don't go that far09:20
evrardjpppa is fine09:20
evrardjpI think you should start with simple configuration on your host09:20
evrardjpremoving the track scripts09:20
evrardjpoh check if you can load the ip_vs module09:20
nwonknusame issue with v1.2.2309:21
evrardjpok09:21
evrardjpso it's a config issue09:21
evrardjppretty sure of that09:21
nwonknuip_vs loads ok09:21
nwonknualright, will try reducing configuration more09:21
nwonknuthe core dump is generated in the config dir09:21
nwonknuso seems to indicate you are right09:21
nwonknubut still very strange it works sometimes09:22
evrardjpthat's why I think it's the nic that's dedicated to something else09:22
evrardjpcannot bind or something09:23
evrardjphow many hosts do you have ?09:23
evrardjpin your haproxy group09:23
nwonknu3 controller nodes, so should be 3, but i'll doublecheck09:25
*** drifterza has quit IRC09:25
nwonknuyup 309:26
*** TomMc has joined #openstack-ansible09:27
*** armaan has quit IRC09:28
*** armaan has joined #openstack-ansible09:29
*** mrtenio has quit IRC09:34
nwonknuhrm, just tried with this config https://pastebin.com/iPiJ24sT on "eno4" and keepalived 1.2.23, an interface that has 0 configuration and i literally just did "ifconfig eno4 up" -> still segfaults09:35
*** br0k3n has quit IRC09:36
*** br0k3n has joined #openstack-ansible09:37
epalperhi, i am trying to run osa to install openstack with ovs with additional configuration in user_variables.yml09:38
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-lxc_container_create master: Add ZFS backing store to the container create role  https://review.openstack.org/50960809:38
epalper# Ensure the openvswitch kernel module is loaded09:38
epalperopenstack_host_specific_kernel_modules:09:38
epalper  - name: "openvswitch"09:38
epalper    pattern: "CONFIG_OPENVSWITCH"09:38
epalper    group: "network_hosts"09:38
epalperbut i don't see ovs being installed in both neutron server container and compute nodes09:39
*** DanyC has quit IRC09:39
*** mrch has joined #openstack-ansible09:49
epalpercan someone help me why it's not getting installed ?09:50
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-lxc_container_create master: Update the LXC container create role  https://review.openstack.org/50953009:51
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-lxc_hosts master: Allow container creation on ZFS backing storage  https://review.openstack.org/50973709:52
*** chyka has joined #openstack-ansible09:54
eumel8epalper: some ansible output would be helpful to analyze09:54
epalperenumel8: here it is https://paste.ubuntu.com/25678659/09:58
epalperthis is being run from opnfv's releng-xci09:58
*** chyka has quit IRC09:59
*** drifterza has joined #openstack-ansible10:03
epalperenumel8: afk for another 3 hrs. Please send your updates10:08
*** markvoelker has joined #openstack-ansible10:09
evrardjpepalper: I haven't looked at that code for a while10:10
evrardjphwoarang: is there a plan for OPNFV to add a openvswitch OSA scenario?10:12
evrardjpthat would be good10:12
hwoarangevrardjp: yes10:12
evrardjpgreat10:12
evrardjpI think it should be in our gates10:12
hwoarangyeah i agree10:12
hwoarangepalper: the kernel module alone will not force ovs to get installed10:13
*** epalper has quit IRC10:13
hwoarangyou also need to install the userspace package10:13
hwoarangotherwise you only load the module and nothing really uses it10:13
jrosserodyssey4me: to test this zfs stuff, where in the tests to i start wiring in creating a block device and setting it up?10:18
evrardjpjrosser: https://github.com/openstack/openstack-ansible/tree/master/tests/roles/bootstrap-host/tasks ?10:20
jrosserhmm, does that get consumed when i run the role tests?10:24
jrossersorry just finding my way in all this10:25
*** br0k3n1 has joined #openstack-ansible10:26
*** br0k3n has quit IRC10:26
odyssey4mejrosser as far as I remember, there are no tests for different devices in that role - so you'd be creating a new set ;)10:29
eumel8epalper: additional there are different errors and warnings to investigate: line 281, 2520, 2736 (again) ... dunno, maybe this documentation is helpful: http://trumant.github.io/openstack-ansible-openvswitch.html10:29
odyssey4mejrosser the tests are relatively simply done in the roles - the test.yml playbook from the tests directory is run, and the inventory and vars are all there: https://github.com/openstack/openstack-ansible-lxc_container_create/tree/master/tests10:30
odyssey4meso I'd suggest implementing perhaps a specific backend for a new container in the host_vars, then implementing something later to verify that it was done right10:30
odyssey4medoes that make sense?10:31
jrossersort of - i see piles of stuff in openstack-ansible-tests too10:32
jrosserat a very basic level i need to find the right place to create a loop device and format it in some way in the environment that the test runs, before the test runs10:32
jrosserand yes then pass variables in via the vars to point at that storage10:33
*** br0k3n has joined #openstack-ansible10:35
*** br0k3n1 has quit IRC10:35
*** br0k3n has quit IRC10:35
*** br0k3n has joined #openstack-ansible10:36
*** udesale has quit IRC10:38
*** markvoelker has quit IRC10:42
*** chyka has joined #openstack-ansible10:45
odyssey4mejrosser as this only needs exercising in the lxc-container-create role, changes only need to be made there ... all overrides, inventory changes, etc10:48
odyssey4methe only reason to implement anything in the tests repo would be if it's used in tests across multiple roles10:48
jrosseroh well you see i've proposed a change to lxc_host as well10:48
jrosserbecasue it needs to create the base image on zfs, then create the container from there10:49
jrosserhttps://review.openstack.org/50973710:49
*** chyka has quit IRC10:50
*** Lirt has joined #openstack-ansible10:58
odyssey4mejrosser ah ok, yeah that will make sense - a bit of cross-repo fun then :/11:00
*** jwitko has quit IRC11:03
*** dave-mccowan has joined #openstack-ansible11:04
*** drifterza has quit IRC11:06
*** drifterza has joined #openstack-ansible11:07
ArchiFleKsHi, does someone encountered since on cinder-master ? I don't think it is related to OSA but: http://paste.openstack.org/show/622741/11:11
nwonknuevrardjp: found the problem11:25
nwonknu"auth_pass" option didn't have an argument in the keepalived.conf11:26
*** br0k3n has quit IRC11:26
nwonknuso it may be useful to auto-generate one, or set a mandatory filter on that variable somewhere11:26
nwonknuquite frustrating to see it will work sometimes, but fail most of the times in this particular case11:27
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-lxc_hosts master: Allow container creation on ZFS backing storage  https://review.openstack.org/50973711:27
*** smatzek has joined #openstack-ansible11:37
*** markvoelker has joined #openstack-ansible11:39
openstackgerritMerged openstack/openstack-ansible master: Fix zuul clonemap  https://review.openstack.org/50942611:40
*** chyka has joined #openstack-ansible11:41
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible stable/pike: Fix zuul clonemap  https://review.openstack.org/50970111:44
*** chyka has quit IRC11:45
*** ianychoi has quit IRC11:46
*** ansibler has quit IRC11:53
*** br0k3n has joined #openstack-ansible11:58
*** br0k3n has left #openstack-ansible12:09
*** markvoelker has quit IRC12:12
*** armaan has quit IRC12:16
*** armaan has joined #openstack-ansible12:16
mhaydenmorning!12:18
eumel8morning!12:21
*** acormier has joined #openstack-ansible12:23
*** acormier has quit IRC12:23
*** acormier has joined #openstack-ansible12:23
*** markvoelker has joined #openstack-ansible12:28
*** TomMc has quit IRC12:34
*** TomMc has joined #openstack-ansible12:35
*** woodard has joined #openstack-ansible12:43
*** woodard has quit IRC12:43
*** woodard has joined #openstack-ansible12:44
*** gokhan has quit IRC12:46
*** acormier has quit IRC12:48
*** gkadam has quit IRC12:54
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-os_cinder master: Workaround bad cinder defaults  https://review.openstack.org/50976812:55
*** kylek3h has joined #openstack-ansible12:55
*** gkadam has joined #openstack-ansible12:57
*** TomMc has quit IRC12:57
*** udesale has joined #openstack-ansible12:58
*** gkadam has quit IRC13:02
*** lbragstad has joined #openstack-ansible13:06
*** esberglu has joined #openstack-ansible13:09
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible-lxc_container_create master: SUSE: Remove lxc-1.X.X workarounds  https://review.openstack.org/50977113:15
*** eumel8 has quit IRC13:15
mhaydensuccessfully upgraded a CentOS 7 Ocata cloud to pike! :)13:16
mhaydenand there was much rejoicing13:16
evrardjpcongrats13:16
evrardjpnow we'll maybe have proper centos support on Pike and below? :p13:16
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible master: SUSE: Remove lxc-1.X.X workarounds  https://review.openstack.org/50977213:18
evrardjp^ woot13:19
ArchiFleKsevrardjp: do you know about this ? https://bugs.launchpad.net/nova/+bug/1718295 I have it on Pike13:20
openstackLaunchpad bug 1718295 in OpenStack Compute (nova) "Live migration fails with qemu-img >= 2.10: "Failed to get shared "write" lock\nIs another process using the image?"" [High,Fix released] - Assigned to Sean Dague (sdague)13:20
evrardjphwoarang: could you add this as a topic? I remember there was the destroy -nf and other similar things13:20
hwoarangevrardjp: what?13:21
*** smatzek has quit IRC13:21
*** smatzek has joined #openstack-ansible13:22
evrardjpthe lxc 1 to 213:22
evrardjpArchiFleKs: I was not aware of that, but give me a sec to confirm13:23
hwoarangevrardjp: add it as a topic where?13:24
evrardjpin the review :p13:24
evrardjplet me fix that for you13:24
*** smatzek_ has joined #openstack-ansible13:25
*** smatzek_ has quit IRC13:25
*** gouthamr has joined #openstack-ansible13:25
*** smatzek_ has joined #openstack-ansible13:25
*** smatzek has quit IRC13:29
evrardjpArchiFleKs: so, we have still a few things pending on releases. When these will get merge, this can merge: https://review.openstack.org/#/c/50814213:29
*** gokhan has joined #openstack-ansible13:29
evrardjpit should have everything you need13:29
*** smatzek_ has quit IRC13:30
ArchiFleKsevrardjp: thanks, but it does not seem to have been backport to pike yet, for the nova bug13:33
*** jwitko has joined #openstack-ansible13:33
cloudnullmornings13:33
evrardjpArchiFleKs: according to Matt Riedmann https://review.openstack.org/#/c/505674/  should be the fix13:34
evrardjpso because we have that, it should be alright13:35
evrardjpwell that's my understanding13:35
evrardjpwith a quick check13:35
evrardjpbut don't take my word for it13:35
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible master: playbooks: os-lxc-container-setup: Use the 'reboot' option for lxc restart  https://review.openstack.org/50977513:36
ArchiFleKsI have to admit I don't get all of it, from my understanding, it is independant from nova-version, and because OSA install nova from source, and for example on my compute node, qemu has already been updated to 2.10 so unless we have to new nova commit with the --force-share flag I don't know how it is going to solve the issue13:37
*** TomMc has joined #openstack-ansible13:38
openstackgerritMerged openstack/openstack-ansible-lxc_container_create master: Update the LXC container create role  https://review.openstack.org/50953013:41
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible master: Converge neutron agents onto Baremetal  https://review.openstack.org/45445013:46
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible master: Converge neutron agents onto Baremetal  https://review.openstack.org/45445013:47
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_freezer master: Updated from global requirements  https://review.openstack.org/48412013:47
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_horizon master: Updated from global requirements  https://review.openstack.org/50468313:48
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_searchlight master: Updated from global requirements  https://review.openstack.org/49523813:48
evrardjpArchiFleKs: https://launchpadlibrarian.net/337670248/qemu-2.10-compat.patch is the patch applied in UCA13:52
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible-lxc_container_create master: tasks: lxc_container_create: Retry LXC start on failures  https://review.openstack.org/50978613:53
evrardjpArchiFleKs: I am still reading13:54
*** epalper has joined #openstack-ansible13:57
*** rodolof has joined #openstack-ansible13:57
cloudnulllooks like we're seeing Zuul failures again, is there another transition in the works?13:58
*** smatzek has joined #openstack-ansible13:59
*** shardy has quit IRC14:00
epalpermwe1^14:00
ArchiFleKsevrardjp: Yes i really don't get all of it, if nova adapts to qemu or if it is the other way around14:00
*** shardy has joined #openstack-ansible14:00
*** smatzek has quit IRC14:00
evrardjpcloudnull: we have zuul and jenkins for now14:00
mwe1epalper: I'm here :D14:01
evrardjpcloudnull: jenkins is doing the gates14:01
*** smatzek has joined #openstack-ansible14:01
ArchiFleKsevrardjp: this patch is applied to nova ? by the ubuntu maintainer right ? but we are not using nova ubuntu cloud archive package ?14:02
epalpermwe1: any chance to look at logs for ovs issue ?14:02
evrardjpArchiFleKs: never mind my ping :p14:02
evrardjpok releases patch merged, now we need to get our releases done14:03
*** mwe1 has quit IRC14:04
cloudnullevrardjp: is zuul creating blocking reviews ?14:04
*** mwe1 has joined #openstack-ansible14:04
evrardjpno14:05
evrardjpjust giving votes, like an external ci would14:05
evrardjpthe situation seems unblocked, there is just still large queues14:05
ArchiFleKsYou can follow here : https://review.openstack.org/#/c/509774/1 in fact the fix is only in Ubuntu UCA14:05
jrosserthis step takes several minutes   ==> ubuntu1604: functional develop-inst-nodeps: /vagrant14:06
openstackgerritMajor Hayden proposed openstack/openstack-ansible-os_monasca master: Updated from OpenStack Ansible Tests  https://review.openstack.org/50260714:06
jrosseris there a shortcut i can take whilst hacking on a role to go straight to running the ansible again14:06
evrardjpArchiFleKs: yes, I've seen this patch and your ping in #openstack-nova14:07
evrardjp:p14:07
openstackgerritMajor Hayden proposed openstack/openstack-ansible-os_aodh master: Standardize services list and package installation  https://review.openstack.org/49258014:07
evrardjpthey have nova meeting right now, maybe time to discuss it?14:08
evrardjpcloudnull: if you want to help unblock master: https://review.openstack.org/#/c/509768/14:11
evrardjpif you want to help on full metal: https://review.openstack.org/#/c/509494/14:11
evrardjpif you want to help pike ceph: https://review.openstack.org/#/c/509108/14:12
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-os_magnum master: Fix cinder_service_region undefined  https://review.openstack.org/50778814:13
evrardjpyou can also vote on https://review.openstack.org/#/c/504279/ :)14:14
mhaydenis anyone else having a hard time reviewing logs from CI jobs?14:14
mhaydeni'm getting a bunch of 404's14:14
openstackgerritMajor Hayden proposed openstack/openstack-ansible-os_swift master: Updated from OpenStack Ansible Tests  https://review.openstack.org/50261414:15
*** jheroux has joined #openstack-ansible14:16
evrardjpmhayden: review number?14:16
mhaydenprobably about 10-20 different reviews14:16
mhaydenhttp://logs.openstack.org/08/509108/1/check/legacy-ansible-func/3d96319/14:16
mhaydenthat just sits and spins for me14:16
mhaydenor well it finally loaded14:16
mhaydenjust took a long time14:17
jrosserif i'm locally testing a role in vagrant which depends on a proposed patch in gerrit, is there a special incantation i can put in ansible-role-requirements.yml or similar to use the patch14:17
evrardjpdear cloudnull, DimGR, andymccr, d34dh0r53, hughsaunders, b3rnard0, palendae, odyssey4me, serverascode, rromans, erikmwilson, mancdaz, _shaps_, BjoernT, claco, echiu, dstanek, jwagner, ayoung, prometheanfire, evrardjp, arbrandes, mhayden, scarlisle, luckyinva, ntt, javeriak, spotz, vdo, jmccrory, alextricity25, jasondotstar, admin0, michaelgugino, ametts, v1k0d3n, severion, bgmccollum, darrenc, JRobinson__, asettle, colinm14:17
evrardjpcnamara, thorst, adreznec, eil397, qwang,nishpatwa_, cathrichardson, drifterza, hwoarang, cshen:  the openstack-ansible community meeting will start in 1h43 minutes in #openstack-meeting-414:17
openstackgerritMerged openstack/openstack-ansible-lxc_hosts master: Allow container creation on ZFS backing storage  https://review.openstack.org/50973714:17
evrardjpmhayden: yeah I've seen slowness14:18
mhaydenokay, glad i'm not crazy14:18
evrardjpno 404 though14:18
cloudnullevrardjp: I asked in infra14:18
evrardjp?14:18
evrardjpwhat did you ask?14:19
cloudnullre zuul + jenkins reviewing.14:19
cloudnullzuul is bound to fail.14:19
cloudnullbut is that blocking ?14:19
evrardjpno it's not :p14:19
evrardjpI just told you, like an external CI :p-14:19
evrardjpnothing is blocking us right now14:20
*** cshen has quit IRC14:20
evrardjpI mean, nothing computer related14:20
evrardjpnow it's humans14:20
evrardjp:D14:20
cloudnullah i missed your comment about external ci14:20
evrardjphaha no problem.14:21
cloudnullI read "they have nova meeting right now, maybe time to discuss it?"14:21
cloudnulland thought, well i'll go ask anyway14:21
evrardjpthat was for ArchiFleKs14:21
cloudnulllots of confusion14:21
cloudnull:D14:21
evrardjpcloudnull: I should start all I say with a nick. Understood14:21
openstackgerritMerged openstack/openstack-ansible-ceph_client stable/pike: Make the ceph mon test more robust  https://review.openstack.org/50910814:21
*** acormier has joined #openstack-ansible14:25
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-lxc_container_create master: Add ZFS backing store to the container create role  https://review.openstack.org/50960814:30
openstackgerritMajor Hayden proposed openstack/openstack-ansible-os_keystone master: Update upgrade role for Pike  https://review.openstack.org/49667814:35
openstackgerritMajor Hayden proposed openstack/openstack-ansible-os_neutron stable/pike: Update vars and test tooling for Pike  https://review.openstack.org/49662214:35
openstackgerritMajor Hayden proposed openstack/openstack-ansible-os_nova master: Update upgrade role for Pike  https://review.openstack.org/49667914:36
openstackgerritMajor Hayden proposed openstack/openstack-ansible-os_neutron master: Update upgrade role for Pike  https://review.openstack.org/49668014:36
*** woodard has quit IRC14:36
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible-lxc_container_create master: SUSE: Remove lxc-1.X.X workarounds  https://review.openstack.org/50977114:38
openstackgerritMajor Hayden proposed openstack/openstack-ansible master: SUSE: Add OpenStack cloud repository when bootstrapping the host  https://review.openstack.org/50372214:39
evrardjpholy moly14:39
logan-heh evrardjp I was just pushing a patch for that qemu-system bug and saw you did one this morning14:40
logan-comment for you on https://review.openstack.org/#/c/50971114:40
evrardjplogan-: qemu-system got pulled over, so no need to do it, to what I've tested14:41
evrardjpI can add the others indeed14:41
evrardjpfine for me14:42
logan-i think it is best to list it so that it is upgraded in line with the other qemu packages over time14:42
logan-it is important that all of the qemu package versions stay in sync14:43
mgariepymorning everyone14:43
evrardjplogan-: should I add block?14:43
evrardjpI mean qemu-block-extra14:44
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-os_nova master: Force the installation of qemu packages  https://review.openstack.org/50971114:44
logan-yeah i wouldnt be opposed to also adding -block-extra, -user, and -utils14:44
evrardjplogan-: ^ updated, added qemu-block-extra14:44
logan-thats probably prudent14:44
logan-thanks14:44
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-os_nova master: Force the installation of qemu packages  https://review.openstack.org/50971114:45
evrardjpupdated again14:46
evrardjpwith the user and utils14:46
evrardjpI think we are good14:46
logan-qemu-kvm is still in the list14:46
logan-that shouldn't be installed14:46
evrardjpwhy?14:46
logan-https://wiki.qemu.org/Features/KVM14:46
logan-"The KVM project used to maintain a fork of QEMU called qemu-kvm. All feature differences have been merged into QEMU upstream and the development of the fork suspended."14:47
logan-none of the qemu packages we install list it as a dependency and normally it is not present14:47
evrardjpthanks14:47
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-os_nova master: Force the installation of qemu packages  https://review.openstack.org/50971114:47
evrardjpdone14:48
evrardjpthat's fast feedback loop14:48
evrardjp:D14:48
logan-:) thanks14:48
*** TomMc has quit IRC14:50
*** weezS has joined #openstack-ansible14:52
*** epalper has quit IRC14:53
*** Lirt has quit IRC14:54
*** jvidal has quit IRC14:55
openstackgerritMajor Hayden proposed openstack/openstack-ansible master: Better CI detection in bootstrap-hosts  https://review.openstack.org/50709215:00
openstackgerritMajor Hayden proposed openstack/openstack-ansible master: Run the ceph-mons deploy in serial  https://review.openstack.org/50850315:00
jrossercloudnull: tried hacking on zfs container role test today, something like this needs to slot in somewhere http://paste.openstack.org/show/622772/15:02
*** gouthamr_ has joined #openstack-ansible15:03
*** gouthamr has quit IRC15:04
*** gouthamr_ is now known as gouthamr15:04
*** DanyC has joined #openstack-ansible15:04
*** Oku_OS is now known as Oku_OS-away15:05
odyssey4melogan- evrardjp hmm, I wonder if we shouldn't submit a patch upstream with a flag to also include deps when doing upgrades?15:10
logan-yeah idk where the problem lies, is it the python-apt module where that change would need to be made?15:10
odyssey4meor alternatively perhaps we should have some sort of task which does exactly that - upgrade all packages which are deps for things in our distro package list15:10
logan-but i noticed even direct dependencies are not updated, if I include qemu-system in the package list and specify state: latest, none of the qemu-system-* packages get updated even though they are dependencies of qemu-system15:11
odyssey4meI expect we could probably slim down our distro package lists if we do that, because many of the packages there were added for the same reason15:11
logan-i was testing for the least intrusive way to fix it this morning but there did not seem to be an alternative to explicitly listing all of the packages15:11
logan-gotcha15:12
odyssey4melogan- yep, that's why I think we should have something that figures out all deps and ensures they're in the list too15:12
logan-right15:12
odyssey4meideally our list should be minimal, and we derive all deps, then that list gets installed/upgraded15:12
odyssey4methis would work well for an action module, or perhaps ansible upstream15:13
odyssey4mebut isn't there a flag to give apt that tells it to update deps too?15:13
odyssey4meheh, we aren't the first to wish for it: https://askubuntu.com/questions/179160/is-there-a-command-to-upgrade-a-package-and-all-its-dependencies-without-upgradi15:14
odyssey4mehttps://serverfault.com/questions/577942/install-only-dependencies-of-a-given-package-in-debian-or-ubuntu-apt15:15
logan-:/15:16
odyssey4meso I guess we'd have to loop through the list, putting a list of deps together - then add that to the package list to install15:18
odyssey4mewhat a 'mare15:18
*** galstrom_zzz is now known as galstrom15:18
odyssey4meit'd be super-nice to have that in the apt module15:18
odyssey4meinstall_depends = yes15:18
openstackgerritMerged openstack/openstack-ansible-os_cinder master: Workaround bad cinder defaults  https://review.openstack.org/50976815:19
cloudnulljrosser: we should be able to add that into the lxc_container_create tests role15:19
*** woodard has joined #openstack-ansible15:19
logan-nice work on the container create stuff cloudnull, reading thru the patch atm15:19
cloudnullthanks!15:20
*** rodolof has quit IRC15:29
*** rodolof has joined #openstack-ansible15:30
openstackgerritMarc Gariépy (mgariepy) proposed openstack/openstack-ansible-repo_server master: apt-cacher-ng was moved to epel.  https://review.openstack.org/50949315:35
mgariepymhayden, ^^15:35
jrossercloudnull: ive spent most of the day fighting that in virtualbox, tbh i'm a bit swamped in the test setup15:36
jrosseri could realld do with seeing another role that tests particular os/$thing combinations and how they are set up15:39
*** pcaruana has quit IRC15:39
*** jbadiapa has quit IRC15:45
*** chyka has joined #openstack-ansible15:47
jrosser /win 2215:51
*** acormier has quit IRC15:53
openstackgerritMajor Hayden proposed openstack/openstack-ansible stable/pike: Update all SHAs for 16.0.1  https://review.openstack.org/50814215:53
*** eumel8 has joined #openstack-ansible15:56
*** mrtenio has joined #openstack-ansible15:57
openstackgerritMarc Gariépy (mgariepy) proposed openstack/openstack-ansible-repo_server master: apt-cacher-ng was moved to epel.  https://review.openstack.org/50949315:58
evrardjpsorry I am a little late for the meeting16:08
openstackgerritMerged openstack/openstack-ansible stable/pike: Fix zuul clonemap  https://review.openstack.org/50970116:09
evrardjpcommunity meeting in #openstack-meeting-4 ... cloudnull, DimGR, andymccr, d34dh0r53, hughsaunders, b3rnard0, palendae, odyssey4me, serverascode, rromans, erikmwilson, mancdaz, _shaps_, BjoernT, claco, echiu, dstanek, jwagner, ayoung, prometheanfire, evrardjp, arbrandes, mhayden, scarlisle, luckyinva, ntt, javeriak, spotz, vdo, jmccrory, alextricity25, jasondotstar, admin0, michaelgugino, ametts, v1k0d3n, severion, bgmccoll16:10
evrardjpum, darrenc, JRobinson__, asettle, colinmcnamara, thorst, adreznec, eil397, qwang,nishpatwa_, cathrichardson, drifterza, hwoarang, cshen16:10
*** drifterza has quit IRC16:12
*** kylek3h has quit IRC16:12
*** kylek3h has joined #openstack-ansible16:12
evrardjpguys I am doing the meeting alone. I'd be happy to have some presence to validate discussions together.16:15
cloudnullp/16:18
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-lxc_container_create master: Add machinectl backend store options  https://review.openstack.org/50105916:24
*** gouthamr_ has joined #openstack-ansible16:32
*** gouthamr has quit IRC16:35
openstackgerritManuel Buil proposed openstack/openstack-ansible-openstack_openrc master: Add tacker to the list of aliases  https://review.openstack.org/50983116:39
*** rodolof has quit IRC16:46
dmsimardevrardjp, cloudnull, odyssey4me: came across this tool from the openshift-ansible guys that might be of interest https://github.com/mtnbikenc/ansible-repo-grapher16:49
dmsimardnot sure if it's generic enough to be used in openstack-ansible, haven't tried it myself16:49
dmsimardlet me get you an example screenshot..16:49
*** udesale has quit IRC16:49
dmsimardhttps://i.imgur.com/QY1eHTF.jpg16:51
logan-looks kind of like ansigenome16:53
evrardjpyes that was the name I was looking for16:53
evrardjpansigenome is for roles dependencies though16:53
evrardjpbut it's fancy.16:53
evrardjp:D16:53
dmsimardnever heard of ansigenome16:54
* dmsimard looks16:54
evrardjpwow16:55
evrardjpyou have to try it :p16:55
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-lxc_container_create master: Add functional tests for our different backendstores  https://review.openstack.org/50983817:01
cloudnulljrosser: ^17:01
jrosseroooh i will look later, not goingto get back on this seriously till monday though17:04
jrosserthanks btw!17:05
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible master: [DNM] Build everything on metal  https://review.openstack.org/50422417:05
odyssey4mecloudnull why not rather implement each type as a container in a single test - why require multiple tests?17:06
odyssey4meie setup base containers for each type, and create a cow container for each from the base using host_vars17:07
cloudnullodyssey4me: that's not a bad idea17:07
* cloudnull refactoring17:07
odyssey4meawesome, thanks17:08
logan-that's neat though dmsimard.. I think it would come in handy for some of the task file includes in some roles where you're wondering what the tree looks like17:09
logan-thanks17:09
openstackgerritMerged openstack/openstack-ansible-lxc_container_create master: tasks: lxc_container_create: Retry LXC start on failures  https://review.openstack.org/50978617:10
openstackgerritMerged openstack/openstack-ansible-lxc_container_create master: SUSE: Remove lxc-1.X.X workarounds  https://review.openstack.org/50977117:11
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-lxc_container_create master: Add functional tests for our different backendstores  https://review.openstack.org/50983817:22
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-lxc_container_create master: Add functional tests for our different backendstores  https://review.openstack.org/50983817:23
jrossercloudnull: does that have several different COW types exist in the same host at the same time?17:24
cloudnullit would.17:25
jrosserwell, zfs dataset pool/lxc could well mount at /var/lib/lxc (or wherever the filesystem view of the containers is)17:26
jrosserso would own the whole of that tree17:26
cloudnullthat should be ok. i think17:27
cloudnull- /var/lib/machines is btrfs17:27
odyssey4mecloudnull heh, see PS217:27
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_freezer master: Updated from global requirements  https://review.openstack.org/48412017:28
odyssey4mealso, why not add a btrfs one too? ;)17:28
jrosseroh maybe i misunderstan but i thought the base image was meddled with directly at /var/lib/lxc?17:28
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_horizon master: Updated from global requirements  https://review.openstack.org/50468317:28
cloudnulljrosser:  it would be, for zfs and overlayfs17:28
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_searchlight master: Updated from global requirements  https://review.openstack.org/49523817:28
cloudnullodyssey4me: zfs and btrfs would occupy the same path.17:29
jrossercan they though? thats my question17:29
cloudnullin that case ,no17:29
jrosserbecasue certinaly in the zfs case it would become a mount17:29
cloudnullmachinectl is using btrfs but its under /var/lib/machines17:30
cloudnullThats why I didn't make a fifth contianer type17:30
cloudnullif we wanted to test all of the backends possible they'd have to be different tests17:31
cloudnullwe would be able to combine them like this17:31
odyssey4mecloudnull is that just because of the base container used?17:31
odyssey4meor is it due to machinectl being used?17:31
cloudnullno.17:32
odyssey4meI'm not following - each container has its own file system, so why can't they each do their own thing?17:32
cloudnulllxc supports btrfs naively, like zfs17:32
cloudnullhowever both btrfs and zfs have to use the path /var/lib/lxc17:32
cloudnullwe can't change that17:32
odyssey4meoh, I see17:33
odyssey4meok, makes sense then17:33
cloudnullmachinectl is its own thing17:33
cloudnullso we "should" be able to do dir, overlayfs, zfs and machinectl together.17:33
cloudnulllvm and btrfs are missing17:34
*** jwitko is now known as Swifty17:34
*** Swifty is now known as SwiftyB17:34
odyssey4mehowever, it is possible to specify the location of the rootfs for each container yourself... and thus you can use different file systems I imaging... but the configs would still all be in /var/lib/lxc17:34
cloudnullunless we want to set it up as separate tests.17:34
cloudnullonly dir supports changing the directory path17:34
*** SwiftyB is now known as jwitko17:35
jrosserfor cow filesystems /var/lib/lxc becomes a mount point for that fs17:35
*** germs has joined #openstack-ansible17:35
cloudnull^17:35
odyssey4me --lxcpat ?17:35
openstackgerritMerged openstack/openstack-ansible-os_nova master: Force the installation of qemu packages  https://review.openstack.org/50971117:35
odyssey4mehttp://manpages.ubuntu.com/manpages/xenial/man1/lxc-create.1.html17:35
jrosserbecasue the snapshots are created within the fs, and appear in the same space17:35
odyssey4me--lxcpath I mean17:35
openstackgerritLogan V proposed openstack/openstack-ansible-os_nova stable/pike: Force the installation of qemu packages  https://review.openstack.org/50984817:36
cloudnullyes we can set that, but I don't this its supported by things like clone, etc17:36
openstackgerritLogan V proposed openstack/openstack-ansible-os_nova stable/ocata: Force the installation of qemu packages  https://review.openstack.org/50984917:36
cloudnullI guess we could try?17:37
odyssey4meok, interesting17:37
odyssey4meworth a try for the role test I reckon17:37
*** lbragstad has quit IRC17:37
*** germs1 has joined #openstack-ansible17:37
jrossertheres some hardwiring to negotiate too https://github.com/openstack/openstack-ansible-lxc_hosts/blob/dce34c0b872d14c97edc311ef1b5e341e4b85a46/tasks/lxc_post_install.yml#L2217:38
odyssey4meoh yeah17:38
odyssey4mefun times17:38
mgariepyIf you guys find something weird on LXC + zfs that is not working correctly poke me I can probably make stgraber fix it quite fast17:38
odyssey4meok, I'm out for the night - cheers all17:39
mgariepycya odyssey4me17:39
mhaydencould someone give me a looksee on this backport? https://review.openstack.org/50561817:40
cloudnulllater odyssey4me17:40
*** germs has quit IRC17:40
cloudnulljrosser: yea. that might get tricky17:41
cloudnullmgariepy: nice!17:41
cloudnullwell hopefully soon we'll have a zfs option tested in the gate17:41
*** jwitko is now known as SwiftyBot17:42
jrosserthanks for pushing that forward - still crawling up the learing curve here!17:42
*** SwiftyBot is now known as jwitko17:42
*** jwitko is now known as SwiftyBot17:42
*** SwiftyBot is now known as jwitko17:42
cloudnullif the combined things dont work its simple enough to set it up as seperate tests.17:42
mgariepymhayden, what's the -1 zull ?17:43
mgariepyzuul**17:43
mhaydenmgariepy: i cannot figure it out17:43
mhaydenbut it sounds like we're to treat it like a third party CI from what i saw in infra17:43
mgariepyhttp://logs.openstack.org/18/505618/2/check/legacy-ansible-func-centos-7/7cc1c1d/ara/result/affe2919-51b1-45ef-a88a-8e5ba1893e86/17:44
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_freezer master: Updated from global requirements  https://review.openstack.org/48412017:44
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_horizon master: Updated from global requirements  https://review.openstack.org/50468317:44
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_searchlight master: Updated from global requirements  https://review.openstack.org/49523817:44
cloudnullexample using machinectl17:46
cloudnullhttp://paste.openstack.org/show/622784/17:46
cloudnullI suspect the ZFS option would be similar in size17:46
cloudnullmgariepy: do you know if zfs is supported on cent/rhel?17:47
cloudnullmgariepy: mhayden: i asked about that this morning too17:47
cloudnullits expected17:47
cloudnullzuulv3 is running, but its like an external ci atm17:48
mgariepywe usualy install it with dkms17:48
cloudnullon cent?17:48
mgariepyyep17:48
cloudnullcool17:48
cloudnullso this is potentially something we could test in the gate?17:48
mgariepyhttps://github.com/zfsonlinux/zfs/wiki/RHEL-%26-CentOS17:49
cloudnullhwoarang: ^ same question but for suse ?17:49
mgariepyit be nice to test it. but we would need to build it.17:49
cloudnullI see the lzfse is available but nothing else in the default tumbleweed repos .17:50
mhaydenmgariepy: since we're talking centos... https://review.openstack.org/#/c/506363/ ;)17:50
cloudnullmgariepy: maybe we could build it and host it on the infra mirrors, or is hosting that package still a no-no?17:50
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-lxc_container_create master: Add functional tests for our different backendstores  https://review.openstack.org/50983817:53
mgariepycloudnull, we can try to make the zfs test pass on centos, then ask infra to mirror it ?17:54
mgariepywe need to build the kernel modules for centos not sure how easy it would be to pkg this..17:55
cloudnullyea. it may be more pain than its worth.17:55
* cloudnull thinking about how the images are built for the infra tests17:56
mgariepymaybe centos 8 will have zfs by default :D17:56
cloudnullmaybe17:56
*** hamzy has quit IRC17:57
mgariepyalso not sure if we need to build lxc with zfs support or it's magically included.17:57
cloudnullits magically included in the ubuntu packages. I believe suse too?17:58
*** germs1 has quit IRC17:58
*** galstrom is now known as galstrom_zzz17:59
*** germs has joined #openstack-ansible18:01
cloudnulljrosser: https://review.openstack.org/#/c/509838/4/tests/test-create-zfs-dev.yml@4318:01
cloudnulldo we need to specify the mount point18:01
cloudnullw/ -o mountpoint=/var/lib/lxc18:02
cloudnullIE: zpool create -o mountpoint=/var/lib/lxc {{ zfs_losetup.stdout }}18:04
cloudnullor is that not needed18:04
*** ivve has quit IRC18:04
*** galstrom_zzz is now known as galstrom18:05
*** galstrom is now known as galstrom_zzz18:05
*** galstrom_zzz is now known as galstrom18:08
*** lbragstad has joined #openstack-ansible18:10
openstackgerritMerged openstack/ansible-hardening master: Update to RHEL 7 V1R2 STIG  https://review.openstack.org/50636318:11
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-lxc_container_create master: Add functional tests for our different backendstores  https://review.openstack.org/50983818:14
*** DanyC has quit IRC18:16
*** DanyC has joined #openstack-ansible18:16
*** ivve has joined #openstack-ansible18:17
openstackgerritMajor Hayden proposed openstack/openstack-ansible master: [Docs] Add the bump of the upstream repo  https://review.openstack.org/50250218:20
*** electrofelix has quit IRC18:20
*** DanyC has quit IRC18:21
mgariepycloudnull, added a comment in https://review.openstack.org/#/c/509838/18:23
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-lxc_container_create master: Add machinectl backend store options  https://review.openstack.org/50105918:23
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-lxc_container_create master: [DNM] - Testing machinectl containers  https://review.openstack.org/50986618:24
mgariepycloudnull, want me to edit the test-create-zfs-dev task?18:24
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-lxc_container_create master: Add functional tests for our different backendstores  https://review.openstack.org/50983818:25
cloudnullmgariepy: cool !18:26
cloudnullso it may be perfectly do-able with minimal change?18:26
mgariepyyep i guess so.18:26
mgariepyinstall zfs from the kmod repo and then you should be good to go :)18:27
cloudnullwe probably want to do that within the lxc-hosts role18:27
cloudnullmaybe no...18:28
cloudnullmaybe we just make it part of the zfs test18:28
* cloudnull thinking our lou d18:28
mgariepyI would be in favor of having zfs by default18:28
mgariepyIt saved me once during my newton trusty to xenial migration :)18:28
mgariepyi love snapshots18:29
cloudnullwe'd have to figure out a way to not break existing environments if we did that.18:29
cloudnullmaybe we put it all the packages in place18:30
mgariepyYeah I know18:30
logan-do we build volgroups in lxc_hosts currently18:30
cloudnullI dont think so ?18:30
mgariepymaybe we could just detect if a certain zpool is there and use it.18:31
cloudnulli think if we put all the tools in place by default,  but not specifically create a zfs pool and mount it we should be ok?18:31
openstackgerritMerged openstack/openstack-ansible master: SUSE: Remove lxc-1.X.X workarounds  https://review.openstack.org/50977218:31
mgariepylike we do with the lxc -lvm.18:31
logan-yeah thats what im thinking mgariepy18:31
cloudnulllxc lvm is a little different as it uses the vg and really leaves /var/lib/lxc un-touched18:32
cloudnullwhere btrfs and zfs would mount over /var/lib/lxc18:32
*** DanyC has joined #openstack-ansible18:33
mgariepycould be prereq like the network config and so on.18:33
*** galstrom is now known as galstrom_zzz18:33
cloudnull++18:33
mgariepyif you put your containers in zfs, I'm pretty sure you do want to have /openstack and /var/lib/lxc in zfs.18:33
mgariepyat least I do.18:33
cloudnull++18:33
logan-yeah i wouldnt mind seeing some prep work in lxc_hosts. im thinkin let the deployers install and load the module, create the zpool, and feed that to osa18:34
mgariepyosa could detect it i guess.18:34
logan-and then carve the zfs (is zvol the correct term?) from there18:34
logan-from the specified zpool*18:34
cloudnullwith the new changes to lxc-container-create now merged we can do that.18:34
cloudnullthe backend store can be set to whatever is needed on the host18:35
mgariepyanyone uses btrfs ?18:35
logan-all of my stuff is on overlayfs currently18:35
cloudnulland once https://review.openstack.org/#/c/509608/ goes in we should have zfs support18:35
cloudnullmgariepy: I'm using btrfs but with machinectl18:35
cloudnullhttps://review.openstack.org/#/c/501059/18:36
cloudnulleffectively that18:36
cloudnullthat way I can export import etc and  have it all managed by machinectl18:37
*** DanyC_ has joined #openstack-ansible18:38
cloudnullfrom a redeployment i did today on a rack of gear18:39
cloudnulllxc_container_create : Create container (machinectl) ------------------- 38.15s18:39
cloudnullobviously the rest of the role took more time but the provisioning side of is quick18:40
mgariepyhehe18:40
*** hamzy has joined #openstack-ansible18:41
*** DanyC has quit IRC18:42
*** hachi_ has joined #openstack-ansible18:44
*** DanyC_ has quit IRC18:44
jrossercloudnull: yes we do need to specify the mountpoint18:44
cloudnulli added it in the last patch18:44
*** Taseer has quit IRC18:44
cloudnullI figured you'd yell at me if i was wrong :D18:45
ggnelqtop18:45
jrosserand then zfs create <blah> or use the ansible zfs module for any other datasets you want, like /openstack or whatever18:46
cloudnullggnel: https://raw.githubusercontent.com/qtop/qtop/master/qtop_py/contrib/qtop_demo.gif18:46
cloudnull:)18:46
openstackgerritMerged openstack/openstack-ansible-openstack_openrc master: Add tacker to the list of aliases  https://review.openstack.org/50983118:48
jrossercloudnull: if i were you i'd mount pool/lxc at /var/lib/lxc18:55
jrosserthen you've got pool/anything-else for other stuff18:55
jrosseri made that mistake with lxd+zfs and its a royal PITA to suffle it all round afterwards18:56
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_freezer master: Updated from global requirements  https://review.openstack.org/48412018:57
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_horizon master: Updated from global requirements  https://review.openstack.org/50468318:57
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_searchlight master: Updated from global requirements  https://review.openstack.org/49523818:57
openstackgerritMerged openstack/openstack-ansible master: Fix Aodh's health checks  https://review.openstack.org/50784219:00
openstackgerritMerged openstack/openstack-ansible-lxc_hosts master: Create an LXC create template for machinectl  https://review.openstack.org/50105419:07
*** Taseer has joined #openstack-ansible19:08
*** DanyC has joined #openstack-ansible19:09
*** MasterOfBugs has joined #openstack-ansible19:11
*** markvoelker_ has joined #openstack-ansible19:15
*** markvoelker has quit IRC19:15
*** armaan has quit IRC19:16
*** armaan has joined #openstack-ansible19:17
openstackgerritMerged openstack/openstack-ansible-lxc_container_create master: Add ZFS backing store to the container create role  https://review.openstack.org/50960819:20
openstackgerritMerged openstack/openstack-ansible master: SUSE: Add OpenStack cloud repository when bootstrapping the host  https://review.openstack.org/50372219:23
openstackgerritMerged openstack/openstack-ansible master: Run the ceph-mons deploy in serial  https://review.openstack.org/50850319:23
*** pbandark has quit IRC19:27
*** pbandark has joined #openstack-ansible19:38
*** woodard has quit IRC19:42
*** mbuil has quit IRC19:56
*** smatzek has quit IRC19:59
*** tomtomtom has quit IRC19:59
*** smatzek has joined #openstack-ansible20:00
*** smatzek has quit IRC20:00
*** ianw|pto is now known as ianw20:00
*** smatzek has joined #openstack-ansible20:02
*** smatzek has quit IRC20:06
*** smatzek has joined #openstack-ansible20:08
cloudnulljrosser: whats the best way to change that ?20:09
jrosseri found an example, just a mo.....20:10
mhaydenmgariepy: so far, pike looks good on a prod CentOS 7 cloud20:11
cloudnullwoot!20:11
cloudnullmhayden: ^20:11
jrossercloudnull: https://scotte.org/2016/07/lxc-containers-on-zfs20:11
jrosserlike that20:12
mhaydenother than me being an idiot, the O>P upgrade on CentOS was cake20:12
cloudnullabout the loopback  file . it would seem we dont need it, which is awesome20:12
jrosseryes thst is super cool if it works20:12
mhaydenjrosser: nice writeup20:12
cloudnulljrosser: is pool0/... the normal ?20:12
jrosseryou can choose20:12
cloudnullwhat do you do?20:13
jrosserpool20:13
cloudnullmgariepy: ^20:13
cloudnullsame question20:13
jrosserothers choose tank20:13
cloudnullI'm good with whatever. its all net new to me :D20:13
jrosserbut its a pool, sooooo20:13
cloudnullsounds good to m e20:13
cloudnulldo you use pool/lxc20:15
jrossernot exactly - pool/lxd :)20:16
cloudnullah yea20:17
cloudnullso...20:17
cloudnullwe truncate the img file.20:17
cloudnullthen `zpool create -m /var/lib/lxc -f lxc /openstack/lxc-zfs.img`20:17
jrosserbut ykwim. and the  you can out oher stuff i  there too as ithers have suggested20:17
jrosseri would just create the pool20:18
jrosserthats "all the storage"20:18
cloudnullcool20:18
cloudnullupdating that pr20:18
jrosserthen you create a dataset in the pool20:18
jrosserbut i have a suspicion lxc will do that for you20:18
jrossercourtesy of passing it pool/lxc20:19
jrosserbut im unusre of how the mount is going to work20:19
jrosserbecause in lxd this is all magic and happens for you20:19
jrossercloudnull: there was an earlier suggestion that /openstack was also a good thing to put in zfs, maybe the img should be elsewhere?20:21
*** smatzek has quit IRC20:24
cloudnullindeed. I think that makes a lot sense.20:25
cloudnullin prod that is20:25
cloudnullin test we're putting other image files in the openstack path20:25
cloudnullhttps://github.com/openstack/openstack-ansible/blob/master/tests/roles/bootstrap-host/tasks/prepare_loopback_cinder.yml#L3220:25
jrossera sure yes ths is just test of course20:25
cloudnullso for now I think its best to keep it in line, but we can always adjust later.20:26
*** galstrom_zzz is now known as galstrom20:26
jrosserthat paste from earlier i had it lashed into the role test in vagrant20:26
jrossercould ssh in and muck around with the created pool, probably spin a container by hand and see how it all looks20:27
jrosserbut i had to leave so didnt get as further than seeing the pool ok with sudo zfs list20:27
cloudnullI have this on an infra node now. its cool20:28
gunixguys, i have a question regarding 3 types of openstack deployment20:30
*** lbragstad has quit IRC20:30
gunix1. you install everything with scripts and you cluste everything by hand20:30
gunix2. you install everything by scripts and you use pacemaker for cluster20:30
gunix3. you install everything with ANSIBLE but you don't use pacemaker20:31
gunix4. you install everything with ansible and you configure all clustering via pacemaker20:31
gunixwhich ideea do you find best?20:31
mhaydenwell there are four types there ;)20:31
gunixyes, i figured along the way20:32
gunixi am about to go for 320:32
gunixi already did 120:32
mhaydenOSA's stance is probably #320:32
mhaydeni've done 1, 2, and 4 before20:32
gunixso do you think pacemaker is worth the effort of learning it?20:32
mhaydenpacemaker is awesome software, but it's not entirely necessary for an openstack deployment20:32
mhaydeni know red hat prefers it, and i understand their reasons20:33
mhaydenusing ansible (or any other config mgmt software) is helpful since you can ensure the right changes were made at the right times20:33
mhaydenand you can rely on the automation rather than hand-configuring things20:33
mhaydencustom configs done *outside* of config management leads to problems20:34
mhaydenwhich has always burned me on #1 and #220:34
mhaydenalso pacemaker requires some more networking knowledge (especially around managing those corosync rings)20:36
mhaydenyou'll need two network paths for corosync to use for sending heartbeats back and forth20:36
mhaydengunix: does that help?20:36
gunixmhayden: network knowledge is not a problem, it's just that i never used pacemaker before. and i am just starting with ansible. i did only option #120:39
mhaydenah okay20:39
mhaydenpacemaker is good stuff, don't get me wrong, but it can be challenging to get right20:39
gunixnow, this should go into testing within the company and i need to build the poc, and i want to do it from now with ansible so i can scale it later20:39
mhaydenand you'll need a fencing/STONITH capability with pacemaker, which isn't always easy20:39
gunixgalera doesn't have stonith by default?20:40
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-lxc_container_create master: Add functional tests for our different backendstores  https://review.openstack.org/50983820:40
*** lbragstad has joined #openstack-ansible20:40
cloudnulljrosser: ^20:40
mhaydenif you find people doing pacemaker without fencing (I've seen it done!), i worry about them20:40
mhaydenwell, galera helps out with mariadb clustering by making it easy to write to any of the nodes20:40
mhaydenand it keeps the data in sync20:40
gunixso you can't get proper stonith without pacemaker?20:40
mhaydenno no -- i mean you cannot have pacemaker without STONITH/fencing capabilities20:41
gunixoh20:41
mhaydenwell, you can, but it's a bad idea ;)20:41
mhaydenconsider two nodes sharing a filesystem -- if one of those starts misbehaving and you have no fencing, then you may end up with a corrupted fs20:41
mhaydenor a split-brain situation20:41
* mhayden has been in awful DRBD split brain scenarios before20:41
mhaydenor two machines might argue over who can hold the floating IP address20:42
gunixi can only think in a situation where somehow two computes try to power on the same VM and it somehow tries to write the same logical volume from cinder20:42
gunixdo you need shared filesystem for anything else except cinder?20:43
gunixi mean, for the backing storage solution ... which could be some ceph, glusterfs or some dedicated storage (which i would avoid, but my company might force me to that)20:44
mhaydenwell i don't think you need clustering for nova compute20:44
mhaydenif the hypervisor that runs nova compute goes offline, then your VMs and nova compute are down ;)20:44
*** gouthamr_ has quit IRC20:44
mhaydengunix: best bet i've seen so far for storage is nova + cinder + ceph20:44
jrossercloudnull: looks good - have you tried that pool direct from file thing?20:44
gunixand i guess the nove-scheduler should take care of that, if a compute node goes down20:44
cloudnulljrosser: yes it works well20:45
jrossergreat20:45
gunixi don't know ceph, i find gluster A LOT easier to use20:45
gunixafaik proxmox has some great tutorials for ceph. they have ceph support integrated. in should deploy that once to get a feeling of it20:46
jrossercloudnull: so in theory with the patches that went in today all the pieces are in place?20:46
mhaydengunix: gluster isn't bad, but it seems people are moving to ceph more often now20:47
*** TomMc has joined #openstack-ansible20:47
mhaydengunix: our philosophy is to run more than one of each service, and use a LB to talk to them20:47
gunixmhayden: yes, they are, ceph is the more complex/enterprise solution, as far as i see it. gluster is a bit more plug and play20:47
mhaydenso instead of a complex pacemaker setup for nova api, just run 2-3 of them20:47
mhaydenand put a LB in front20:47
mhaydengunix: but ceph would give more performance (does require more hardware/knowledge investment, though)20:48
gunixmhayden: yea, that's exactly what i want to aim for. but i wanted to talk with someone to clear out the downside of NOT using pacemaker... redhat is pushing it so hard that i feel like i am missing on something big here20:48
gunixbut i think i could do in production on a large scale without it20:48
mhaydenkeep in mind that red hat sells solutions around it ;)20:49
mhaydenthat could be a reason20:49
* mhayden is not disparaging pacemaker, either ;)20:49
cloudnulljrosser:  i think so20:49
gunixredhat always had their own way of doing stuff. i am mostly a debian guy. i had a lot of redhat at work and i always had the "but why?" feeling. apart from that, their systems are incredebly stable20:50
*** DanyC has quit IRC20:50
*** hamzy has quit IRC20:52
jrossercloudnull: looks like time to let it rip and see what happens :)20:52
cloudnulljrosser: once https://review.openstack.org/#/c/501059/ and https://review.openstack.org/#/c/509838/ go in we're done and have tests for the various backends20:52
*** smatzek has joined #openstack-ansible20:53
*** smatzek has quit IRC20:58
*** perniciouscaffei has quit IRC20:59
gunixmhayden: thank you for the chat! i will go /away now to sleep21:03
*** TomMc has quit IRC21:03
*** TomMc has joined #openstack-ansible21:04
mhaydengunix: anytime ;)21:04
mhaydeni'm always happy to let people know how i've failed horribly in the past ;)21:04
SamYapleim disparaging pacemaker21:04
SamYaplei really dont like it21:05
mhaydenbut you're too late! :)21:05
gunixmhayden: if you failed a lot, write a blog or even better, start a youtube blog.21:05
* mhayden prefers ol' keepalived21:05
SamYapleindeed21:05
SamYaplethough that doesnt have fencing, meh21:05
mhaydengunix: i do blog from time to time -> https://major.io/21:05
gunixhaha21:06
gunixyour name is really major21:06
gunixnice21:06
SamYaplehe was born to lead21:07
*** jheroux has quit IRC21:11
*** eumel8 has quit IRC21:11
chykaoh damn.  i just ran os-nova-install.yml on a working environment, and it looks like it updated some libvirt and qemu packages, and broke instance creation and snapshots21:12
chykalooks like the playbook didnt update qemu-system-x86, which i had to update manually on the compute nodes21:12
chykais there a "don't force any upgrades ever" variable?21:13
cloudnullchyka: yes. you can set the package state. https://github.com/openstack/openstack-ansible-os_nova/blob/master/defaults/main.yml#L29-L3221:14
*** armaan has quit IRC21:15
chykais there any catchall across all the playbooks? or just variables for individual services21:16
cloudnullchyka: if you're on newton+ you can set the global "package_state" option21:16
chykaon ocata, nice thats perfect thanks21:16
cloudnullhttps://github.com/openstack/openstack-ansible/blob/stable/newton/playbooks/inventory/group_vars/all.yml#L25-L2721:17
chykaahh i didnt see it in the docs or user variables samples, didnt think to look in there. ill see if there are any other useful options in there, thanks again21:20
cloudnullyea there's lots of tunables within group_vars which help at a global level .21:21
cloudnullbut its a bit cryptic to get at21:21
*** mrtenio has quit IRC21:23
*** TomMc has quit IRC21:29
*** esberglu has quit IRC21:36
taskeri need to apply some patches to nova before they hit my hosts and containers. someone suggested setting "nova_git_repo" in /etc/openstack_deploy/user_varibale.yml21:41
taskerI thought I had, but OSA wasn't pulling my repo in. I looked and the setting is gone.21:41
taskerdoes OSA ever overwrite that file?21:41
tasker-- sorry: user_varibales.yml21:41
taskersay, during bootstrap?21:42
*** hachi_ has quit IRC21:42
*** gouthamr has joined #openstack-ansible21:43
cloudnullno that file is user controlled.21:45
taskerok. must be my memory then.21:45
*** MasterOfBugs has quit IRC21:46
*** MasterOfBugs has joined #openstack-ansible21:46
*** armaan has joined #openstack-ansible21:52
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible-lxc_container_create stable/pike: tasks: lxc_container_create: Retry LXC start on failures  https://review.openstack.org/50991021:54
*** perniciouscaffei has joined #openstack-ansible21:56
kylek3hchyka: Still around?21:59
chykayup22:00
kylek3hRegarding that issue yesterday with cloud init and ssh keys.22:00
kylek3hI fixed my install.22:00
kylek3hI had to add:  enable_isolated_metadata = True  to /etc/neutron/dhcp_agent.ini22:00
*** perniciouscaffei has quit IRC22:01
chykaohh interesting, i'll give that a shot thanks! 23.111.76.2222:02
chykawhoops * kylek3h22:03
*** woodard has joined #openstack-ansible22:03
kylek3hsure.  :-)22:03
*** pramodrj07 has joined #openstack-ansible22:04
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-lxc_container_create master: Add functional tests for our different backendstores  https://review.openstack.org/50983822:04
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible-lxc_container_create master: tasks: lxc_container_create: Check for 'lxc-info' failures and retry  https://review.openstack.org/50991522:06
chykaah damn i already have that in my dhcp.ini22:06
*** MasterOfBugs has quit IRC22:07
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-lxc_hosts master: The ZFS root name needs a default  https://review.openstack.org/50991622:08
*** threestrands has joined #openstack-ansible22:12
cloudnullany cores around want to give this a push https://review.openstack.org/#/c/501059/22:16
*** galstrom is now known as galstrom_zzz22:32
*** lbragstad has quit IRC22:38
*** pbandark has quit IRC22:38
openstackgerritMerged openstack/openstack-ansible stable/ocata: Update all SHAs for 15.1.10  https://review.openstack.org/50815222:48
*** weezS has quit IRC22:54
openstackgerritMerged openstack/openstack-ansible-rabbitmq_server stable/pike: Optimize CentOS Erlang installation  https://review.openstack.org/50561822:58
masbergood morning, I am reading OSA documentation, I would like to give it a go. The docs says bonding network is recommended. Which type of bonding would you recommend? https://docs.openstack.org/project-deploy-guide/openstack-ansible/pike/overview-requirements.html23:00
cloudnullI use LACP but it really does not matter.23:02
cloudnullits totally up to you23:02
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-lxc_container_create master: Add functional tests for our different backendstores  https://review.openstack.org/50983823:03
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-lxc_container_create master: Add functional tests for our different backendstores  https://review.openstack.org/50983823:06
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-lxc_container_create master: Add functional tests for our different backendstores  https://review.openstack.org/50983823:07
*** perniciouscaffei has joined #openstack-ansible23:11
masberwe internally used XOR as recommended by storage provider but it links mac address with NIC so vm to vm bandwidth will be restricted to only 1 nic, not sure if you can get full capability using LACP?23:12
masbercloudnull, ^^^23:12
masberis there a plan to move from LSC to docker?23:14
masber*LXC23:15
*** galstrom_zzz is now known as galstrom23:15
masberalso, would it be possible to deploy the control plane in VMWare, compute and ceph on baremetal and still be able to use ironic for deployment?23:19
*** germs has quit IRC23:20
cloudnullmasber: w/ LACP the bond is active/active so yes it will use both nics at the same time which should provide better performance. that said the switch has to support LACP specifically.23:26
cloudnullthere's no plan to go to docker. our container usage is geared toward machine containers.23:27
cloudnulland all of our roles support both physical hosts and containers23:27
cloudnullas for VMware it sure is. i think jamesdenton is using vmware for the control plane23:28
cloudnullI use KVM w/ physical hosts for test infra all the time.23:29
*** germs has joined #openstack-ansible23:31
cloudnullIronic simply needs to be able to communicate with the physical hosts out of band management. we use ipmi its simple and almost universally supportable.23:33
cloudnullthe ironic "compute" nodes, api and scheduler would all go in your vmware control plane, and you'd have baemental hosts enrolled into ironic.23:34
*** chyka has quit IRC23:36
*** perniciouscaffei has quit IRC23:36
masberyes23:36
*** chyka has joined #openstack-ansible23:36
masberok, also documentation says "Because of a limitation with container iSCSI connectivity, you must deploy the cinder-volume service directly on a physical host (not into a container) when using storage back ends that connect via iSCSI. This includes the LVMVolumeDriver and many of the drivers for commercial storage devices." I am guessing having cinder service in vm should not be an issue, is that right?23:37
masberI am double checking because it says "you must deploy the cinder-volume service directly on a physical host"23:38
masberbut I guess a vm should also work23:38
*** jwitko has quit IRC23:39
*** jwitko has joined #openstack-ansible23:39
cloudnullin a vm is totally fine.23:39
cloudnullthat issue is largely due to AF_NETLINK not being namespace aware.23:40
cloudnullthat causes the isci  initiator to fail.23:40
cloudnullon the compute side.23:40
cloudnullputting everything in a VM works great.23:41
*** chyka has quit IRC23:41
cloudnullif you've got a host with a lot of ram/storage/procs have a look at https://github.com/openstack/openstack-ansible-ops/tree/master/multi-node-aio23:42
cloudnullbuilds everything in VMs to simulate a multi-node environment.23:42
cloudnulluseful for folks who dont have a rack of gear laying around.23:42
masbercloudnull, nice!23:43
*** hamzy has joined #openstack-ansible23:43
masberour case is a little but different, we use VMWare to deploy our control plane for HPC, we recently added new nodes to out VMWare cluster so I better use it to deploy openstack control plane23:45
cloudnullcool.23:45
cloudnullthat works fine23:45
cloudnullmake the vm, setup networking, profit!23:46
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-lxc_container_create master: Add functional tests for our different backendstores  https://review.openstack.org/50983823:49
*** markvoelker_ has quit IRC23:51
cloudnullany cores around? wanna give me a review https://review.openstack.org/#/c/501059 ?23:55
*** pramodrj07 has quit IRC23:56
cloudnullthis one too https://review.openstack.org/#/c/509916/23:56

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