Friday, 2019-08-09

*** ivve has quit IRC00:32
*** markvoelker has joined #openstack-ansible00:39
*** gyee has quit IRC00:43
*** spsurya has joined #openstack-ansible01:05
*** altlogbot_2 has quit IRC02:44
*** altlogbot_3 has joined #openstack-ansible02:44
*** rholloway has quit IRC03:10
*** markvoelker has quit IRC03:18
*** redrobot has quit IRC03:22
*** shyamb has joined #openstack-ansible04:23
*** shyamb has quit IRC04:37
*** raukadah is now known as chkumar|ruck04:38
*** markvoelker has joined #openstack-ansible04:48
*** markvoelker has quit IRC04:52
*** udesale has joined #openstack-ansible05:33
*** dave-mccowan has joined #openstack-ansible05:33
*** shyamb has joined #openstack-ansible05:33
*** shyamb has quit IRC05:59
*** shyamb has joined #openstack-ansible06:04
*** shyamb has quit IRC06:17
*** mcarden has quit IRC06:26
*** shyamb has joined #openstack-ansible06:33
*** shyam89 has joined #openstack-ansible06:38
*** Adri2000 has quit IRC06:39
*** shyamb has quit IRC06:42
*** rpittau|afk is now known as rpittau06:52
*** shyam89 has quit IRC06:56
*** kopecmartin|off is now known as kopecmartin07:04
*** shyamb has joined #openstack-ansible07:07
*** tosky has joined #openstack-ansible07:23
*** ppetit has joined #openstack-ansible07:35
*** shyamb has quit IRC07:45
zbrca anyone help with https://review.opendev.org/#/c/673859/ ?07:47
*** ivve has joined #openstack-ansible08:15
*** gchamoul has joined #openstack-ansible08:27
*** vincelevi has joined #openstack-ansible08:33
vincelevihello, I'm still struggling with my first OSA deployment, getting stuck at "TASK [lxc_container_create : Create container (cow)]" even after deleting all containers and relaunching all back from setup-hosts.yml. The error message is "Error: container centos-7-amd64 is not defined"08:33
*** miloa has joined #openstack-ansible09:02
miloaMorning09:02
jrosservincelevi: i see that you are using a COW filesystem and centos09:04
vinceleviyep, at least I'm trying to...09:04
*** shyamb has joined #openstack-ansible09:04
jrosserit might be worth review how our CI tests are setup for lxc_container_create, like here as an example https://review.opendev.org/#/c/672616/09:04
vinceleviis the 3.10 kernel too old for that ?09:04
jrosserprobably best to stick with an OS / backing store combination that show to be working in test09:05
jrosserwhich at first sight looks to be either dir or machinectl for centos09:06
vinceleviYep, I was about to say that I don't see lvm there... OK I'll disable lvm for lxc backing store then, and retry, thanks a lot for the hint09:07
vinceleviBTW is there a document that explain how to cleanup your hosts between deployment retries ? I was just lxc-stopping & lxc-destroying containers at first, then saw someone speaking about "lxc-container-destroy.yml" playbook on an irc log, so started to use that... what's the official way ?09:09
jrosserthat is the official way to delete containers and their associated data, yes09:10
vinceleviOK, is this mentionned somewhere in the doc (that I missed) or not ? I think this should be in (probably at the beginning)09:11
*** markvoelker has joined #openstack-ansible09:18
*** markvoelker has quit IRC09:23
jrosserIdeally if you are in a lab setup you have some way of reprovisioning the hosts or snapshot them back to a clean state09:32
jrosserBut that’s up to you how you want to do that09:32
vinceleviYes, I will redo from scratch (OS reinstall) when I have found the config that is properly working, but in the mean time I don't want to reinstall the OS, and I was not aware of hat to do to retry the deployment from the start, so I tried to guess, which the doc should have helped me to avoid... I'll try to get some time to PR a NOTE in the OSA doc09:35
vincelevi (after holidays)09:35
vincelevithank a lot for your help though !09:36
admin0good morning ..checkig if anyone has lxd+ceph on osa09:45
*** noonedeadpunk has joined #openstack-ansible09:46
noonedeadpunkmornings09:46
admin0mornings09:46
noonedeadpunkjrosser: can you check https://review.opendev.org/#/c/675429/ to get gates finally unblocked?09:47
*** shyamb has quit IRC10:01
*** aedc has quit IRC10:06
*** aedc has joined #openstack-ansible10:06
jrossernoonedeadpunk: won’t get to look properly till this afternoon but I’m still worried about it https://github.com/ansible/ansible/issues/4426110:13
noonedeadpunkto be honest, in that exact case it doesn't really matter, since the only place this variable is used https://opendev.org/openstack/openstack-ansible-os_nova/src/branch/master/defaults/main.yml#L39710:15
*** shyamb has joined #openstack-ansible10:17
noonedeadpunkand in terms of that it doesn't matter if it's None or empty string. But I fully understand your concern and I still like approach with simplifying condition here https://opendev.org/openstack/openstack-ansible/src/branch/master/playbooks/common-playbooks/nova.yml#L39 just to gather fact against first nova node more10:18
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-os_manila master: Add integrated coverage  https://review.opendev.org/66033310:44
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-os_manila master: Add integrated coverage  https://review.opendev.org/66033310:45
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-os_nova master: Do not set upgrade_levels for aio builds  https://review.opendev.org/67558711:08
*** kplant has joined #openstack-ansible11:11
*** mkuf has joined #openstack-ansible11:22
*** mkuf_ has joined #openstack-ansible11:28
*** mkuf has quit IRC11:32
*** ansmith has quit IRC11:35
*** rohit02 has joined #openstack-ansible11:40
*** mkuf_ has quit IRC11:47
zbrdoes anyone have any insights regarding purpose of maturity_info  in meta/openstack-ansible.yml ?11:48
zbrsomehow that file confuses linter due to its location inside the role.11:49
noonedeadpunkzbr: I'd say it might be related to https://docs.openstack.org/openstack-ansible/latest/contributor/testing.html#role-development-maturity11:50
noonedeadpunkBut don't now if it's actually used....11:50
zbri bet is used to build that table. nobody would want to maintain such table manually.11:50
zbrsadly, ansible-lint complains about format11:51
*** ppetit has quit IRC11:52
*** markvoelker has joined #openstack-ansible11:59
*** rohit02 has quit IRC12:04
*** shyamb has quit IRC12:07
*** ansmith has joined #openstack-ansible12:13
*** vincelevi has quit IRC12:14
*** jamesdenton has quit IRC12:17
openstackgerritSorin Sbarnea proposed openstack/openstack-ansible-os_tempest master: POC: Implement role functional testing via molecule  https://review.opendev.org/67561512:40
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-os_manila master: Add integrated coverage  https://review.opendev.org/66033312:41
openstackgerritSorin Sbarnea proposed openstack/openstack-ansible-os_tempest master: POC: Implement role functional testing via molecule  https://review.opendev.org/67561512:43
*** udesale has quit IRC12:56
*** udesale has joined #openstack-ansible12:57
openstackgerritSorin Sbarnea proposed openstack/openstack-ansible-os_tempest master: Fixed bugs identified by newer ansible-lint  https://review.opendev.org/67561712:57
*** Guest1857 has joined #openstack-ansible12:59
logan-jrosser: http://paste.openstack.org/raw/755691/13:03
noonedeadpunklogan-: I guess he ment, that omit supposed to pass None type (or undefined variable), while it defined and is str()13:05
logan-gotcha13:05
noonedeadpunkBut yes, in case of condition check both str() and None  will result in False...13:06
noonedeadpunkSo it doesn't matter here I guess...13:06
*** Adri2000 has joined #openstack-ansible13:07
openstackgerritLogan V proposed openstack/openstack-ansible master: Omit nova_cinder_rbd_inuse when it is not set  https://review.opendev.org/67542913:08
logan-that should address the concern ^13:08
noonedeadpunklogan-: change commit msg please then:)13:08
jrosserhavent we had it evaluate to some bit random omit_<great-big-string> before13:08
*** rholloway has joined #openstack-ansible13:09
openstackgerritLogan V proposed openstack/openstack-ansible master: Default nova_cinder_rbd_inuse when it is not set  https://review.opendev.org/67542913:09
noonedeadpunkyeah, excactly what I've offered 2 days ago :P13:10
mgariepyanyone here knows if it's doable to migrate ephemral storage (local ssds/hdds ) to ephemral ceph ?13:10
noonedeadpunk¯\_(ツ)_/¯13:11
mgariepythat's what i think also ;)13:12
logan-jrosser: tested, and yes it does evaluate to the omit placeholder. in our use of the var where we are passing it through the bool filter it evaluates to false. so you're spot on with the concern about that.13:16
*** jamesdenton has joined #openstack-ansible13:21
*** jamesdenton has quit IRC13:22
*** BjoernT has joined #openstack-ansible13:28
openstackgerritSorin Sbarnea proposed openstack/openstack-ansible-os_tempest master: Improve loading of operating system specific vars  https://review.opendev.org/67562413:32
*** ivve has quit IRC13:33
*** jamesdenton has joined #openstack-ansible13:36
*** lbragstad has joined #openstack-ansible13:46
*** spsurya has quit IRC13:54
*** jeh has left #openstack-ansible13:56
*** chkumar|ruck is now known as raukadah13:57
*** lbragstad has quit IRC13:58
*** lbragstad has joined #openstack-ansible14:04
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-tests master: sync: add service_setup.yml  https://review.opendev.org/67563214:10
*** lbragstad has quit IRC14:14
*** ivve has joined #openstack-ansible14:39
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible master: Add image for manila test  https://review.opendev.org/67465314:47
grabesAnyone here do any MS product licensing for your VMs specifically for hosting?14:48
noonedeadpunkgrabes: me previous employee did, but they used to have DC edition, so was paying per cores on compute nodes instead VMs14:49
noonedeadpunkbut I'm not a big MS licensing expert though14:49
grabesYeah, I think its SPLA licensing, but its hard to get straight forward answers from companies. They keep thinking I want virtualize VMs inside Windows.14:52
kplantwe do, the licensing model just plain sucks14:58
kplantyou pay for the hardware on the hypervisor, even if that's 1 vm with 1 core14:59
*** ansmith_ has joined #openstack-ansible14:59
noonedeadpunkkplant: it depends on the amount of windows VMs on the node.14:59
noonedeadpunkAnd since you place only windows vms on the licensed host, and have enough vms to cover node costs it make sense15:00
*** ansmith has quit IRC15:01
kplantyou sure about that? we have to pay according to the physical hardware15:01
kplantwhether there's 1 core of windows or 84 cores of windows15:02
kplantit's the same price15:02
grabeskplant: Thats strange, so if the VM has 1 core, and the hypervisor has 40 cores, you are paying for 40 cores? I could see if I was using MS to virtualize, but if your not this doesnt make sense to use OS15:02
noonedeadpunkkplant: so I was saying about the same... Just misunderstanding:)15:03
kplantnoonedeadpunk: oh, my bad :]15:03
noonedeadpunkgrabes: you're paying for cpu physical cores * sockets15:03
kplant^15:03
noonedeadpunkSo if you have on node 2 CPU, 24 cores each to you'll have to pay for 48 cores. And you may place whatever amount of vms on it15:04
grabesnoonedeadpunk: How would they know that given the VM doesn’t even see the true HV cpus?15:04
noonedeadpunkthey kinda trust you:))))15:04
grabesnoonedeadpunk: I got what you are saying now, so basically you need to group your MS vms together and have them only use certain HV group15:05
Carceryou'll probably find that you agree they can come and audit you somewhere in the terms and services15:05
noonedeadpunk++15:05
noonedeadpunkYeah, so they trust but verify:)15:05
Carcermy shop has some windows server virtualisation and it's not my specific domain but the per-core licensing stuff sounds very familiar from overheard/read conversations15:06
kplantRH does the same iirc15:09
kplantit's per socket pair15:09
kplantand you just cram as many vms on there as you want15:09
*** shyamb has joined #openstack-ansible15:15
*** shyamb has quit IRC15:20
*** shyam89 has joined #openstack-ansible15:20
*** shyam89 has quit IRC15:20
*** spatel has joined #openstack-ansible15:23
spatelHow do you guys quickly find instance-1 running on compute-X ?  we can do using GUI but any quick command line way?15:24
noonedeadpunkyou can both from horizon or cli15:24
noonedeadpunkyou just should have andmin proviliges on project15:25
spatelwhat command do you use for cli ?15:25
noonedeadpunkopenstack server show uuid15:25
evrardjpo/15:25
spatelI want to find any host starting with *www* running on XXX compute nodes15:25
noonedeadpunkopenstack server list --host XXX --name www15:27
noonedeadpunkyou may do openstack server list --help for more options15:27
spatelwe have 800 instance running on cloud and any openstack command api calls take hell of time :(  if i want to find using some short of regex hostname15:28
noonedeadpunkmysql request?:)15:29
spatelwish openstack has some short of command which directly fetch data from mysql DB, instead of api calls15:29
noonedeadpunkit's pretty easy with python to write model to db and issue a request to it, especially since you need just one table15:31
noonedeadpunkI guess you can do this with bash and without model as well15:32
noonedeadpunkAnd of course you shouldn't do any changes that way15:32
spatelDamnn!! i found it.. http://paste.openstack.org/show/755702/15:33
spatelmysql -h 172.28.15.79 -u nova --password=xxxxxxxxxx nova -e "select hostname,vm_state,node,availability_zone,vcpus,memory_mb,root_gb from instances WHERE (vm_state='active' OR vm_state='stopped');"15:33
spateli will put that in script :)15:34
*** AR2018 has joined #openstack-ansible15:45
*** gyee has joined #openstack-ansible15:50
miloaspatel: openstack server list --all-project --status ACTIVE --name www --host compute-xxxxx16:00
*** AR2018 has quit IRC16:00
spatelmiloa: beautiful :)  thanks16:02
miloa:)16:02
*** udesale has quit IRC16:02
spateli still think mysql db would be quick when we have 800 instance to look and find patterns :)16:02
miloayes, perhaps but with mysql you are using mysql nova account, it could be a problem depending on your security needs, with openstack cli you are using your user credentials.16:04
*** Guest1857 is now known as redrobot16:17
*** aedc has quit IRC16:20
openstackgerritSorin Sbarnea proposed openstack/openstack-ansible-os_tempest master: Improve loading of operating system specific vars  https://review.opendev.org/67562416:24
*** spatel has quit IRC16:25
rhollowayregarding all that MS licensing stuff does anyone actually have a ballpark around how much that runs for something like 48 cores? We've historically been all linux but do have more windows needs coming up, thought I'd ask here in case someone knows although I'm sure it may vary a lot based on agreements/bulk discounts/etc16:27
rhollowayI'm a tech guy and just dread going through the dance to get rough estimate of what to expect16:28
*** kopecmartin is now known as kopecmartin|off16:29
rhollowayalso I'm assuming that's just limited to a specific license like win server 2016 or something - not a mix? ie if we want to run windows clients as well, would that mean licensing 48 cores for win server and 48 cores for win clients (if they even have an option for clients) for the same physical compute node?16:31
noonedeadpunkSorry, never knew license prices - it all was behind the scenes16:33
*** ansmith_ has quit IRC16:33
jrosserzbr: is your vars loading change affected by hash_behaviour setting?16:35
*** rpittau is now known as rpittau|afk16:35
zbrjroll: it should not, but I can always make a local test16:37
zbrwhich i am going to to anyway, just to be sure.16:38
*** markvoelker has quit IRC16:41
jrollI think you mean jrosser :P16:42
zbrindeed16:42
*** markvoelker has joined #openstack-ansible16:44
*** csmart has quit IRC16:45
*** miloa has quit IRC16:46
*** irclogbot_2 has quit IRC16:47
*** irclogbot_2 has joined #openstack-ansible16:47
*** irclogbot_2 has quit IRC16:49
*** irclogbot_0 has joined #openstack-ansible16:49
zbrjrosser: tests done, hash_behaviour affects loading in the expected way.16:50
zbrbut I would personally not rely on that because is a setting external to the role16:50
jrosserSo the setting in ansibke.cfg determines if the vars are merged or replaced then?16:50
*** ansmith_ has joined #openstack-ansible16:50
zbryes16:51
jrosserDoes that mean that with your change the behaviour is potentially different depending on the config outside the role?16:51
*** csmart has joined #openstack-ansible16:52
zbryes but the same could be said about previous code: user could define these vars before calling the role. and with altered hash_behavior, it would get the same kind of result.16:53
zbrif someone is playing with hash_behaviour they are doing it at their own risks, and we cannot really protect from it.16:54
zbrhash_behaviour applies to the entire priority stack (11 levels last time i checked)16:55
*** gillesMo has quit IRC16:58
zbrbut if you have ideas for improving the pattern, I am more than happy to hear.16:59
zbrthis pattern is needed to almost any role, so it makes sense to polish it very well.16:59
zbri fixed on suse bug recently (space in distribution name)16:59
zbrhopefully I will make an ansible module at some point, but we will have to wait ages before being able to use it.17:01
jrosserI think here if this is changed it probably would need to be changed across all OSA roles17:02
zbri could do that, bit of copy/paste work for the moments when I am tired.17:03
*** jcosmao has left #openstack-ansible17:07
*** allanb has left #openstack-ansible17:32
*** spatel has joined #openstack-ansible18:20
*** goldenfri has joined #openstack-ansible19:06
*** BjoernT has quit IRC19:44
*** allanb has joined #openstack-ansible19:51
*** kplant has quit IRC19:53
*** spatel has quit IRC20:04
*** ansmith_ has quit IRC20:13
*** ansmith_ has joined #openstack-ansible20:53
*** EmilienM is now known as EmilienM|pto21:01
*** markvoelker has quit IRC21:01
*** markvoelker has joined #openstack-ansible21:11
*** markvoelker has quit IRC21:21
*** allanb has quit IRC21:31
*** markvoelker has joined #openstack-ansible22:23
*** markvoelker has quit IRC22:28
*** allanb has joined #openstack-ansible22:38
openstackgerritMerged openstack/openstack-ansible master: Default nova_cinder_rbd_inuse when it is not set  https://review.opendev.org/67542922:53
*** weifan has joined #openstack-ansible23:19
*** weifan has quit IRC23:22
*** tosky has quit IRC23:32
*** weshay is now known as weshay_pto23:37

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