Monday, 2018-04-09

*** vnogin has joined #openstack-ansible00:03
*** vnogin has quit IRC00:08
*** odyssey4me has quit IRC00:23
*** odyssey4me has joined #openstack-ansible00:23
mnasergr01:14
mnaseranyone know of a reason why the rsync stuff in containers isnt working01:14
mnaseror wouldnt work01:14
mnaseror i guess it just takes a little while for the rsync to finish01:16
mnaserand there is no ansible task to wait for it:\01:16
*** vincent has joined #openstack-ansible01:28
*** vincent is now known as Guest8577401:28
openstackgerritMohammed Naser proposed openstack/openstack-ansible stable/queens: Install mon servers in parallel.  https://review.openstack.org/55961002:27
*** markvoelker has quit IRC02:28
*** markvoelker has joined #openstack-ansible02:29
*** markvoelker has quit IRC02:34
*** chhagarw has joined #openstack-ansible04:07
*** udesale has joined #openstack-ansible04:17
*** vnogin has joined #openstack-ansible05:18
*** vnogin has quit IRC05:23
*** Guest85774 has quit IRC05:27
*** udesale_ has joined #openstack-ansible05:30
*** vincent has joined #openstack-ansible05:30
*** vincent is now known as Guest5330605:31
*** sar has quit IRC05:32
*** udesale has quit IRC05:33
*** radeks has joined #openstack-ansible05:56
*** jbadiapa has joined #openstack-ansible06:00
*** Sha000000 has joined #openstack-ansible06:05
*** Sha000000 has quit IRC06:07
*** sar has joined #openstack-ansible06:19
*** eumel8 has joined #openstack-ansible06:25
*** armaan has joined #openstack-ansible06:32
*** pcaruana has joined #openstack-ansible06:35
*** armaan has quit IRC06:41
*** armaan has joined #openstack-ansible06:41
*** oanson has quit IRC06:42
*** oanson has joined #openstack-ansible06:44
*** udesale__ has joined #openstack-ansible06:46
*** udesale_ has quit IRC06:49
*** gokhan has quit IRC06:55
evrardjpgood morning06:57
evrardjpmnaser: which rsync?06:57
evrardjpif it's between repo nodes, yes it takes time06:58
evrardjpwe should probably only enable the LB backends when they are in sync06:58
evrardjpbut this hasn't received any love06:58
evrardjppeople just wait usually :)06:58
*** gokhan has joined #openstack-ansible06:58
evrardjpor force the sync06:58
niraj_singhevrardjp: good morning06:59
niraj_singhi have a question that where it is mentioned that neutron agents will be on compute nodes.06:59
niraj_singhhttps://github.com/openstack/openstack-ansible/blob/master/inventory/env.d/neutron.yml06:59
niraj_singhi want to understand this part07:00
evrardjphttps://docs.openstack.org/openstack-ansible/latest/reference/inventory/inventory.html07:01
evrardjpthis will get refactored soon though07:01
evrardjpbut have a look already07:01
*** epalper has joined #openstack-ansible07:08
*** rodolof has joined #openstack-ansible07:08
niraj_singhevrardjp: http://paste.openstack.org/show/718709/ have a look on this configuration please. is it correct?07:18
*** pradiprwt has joined #openstack-ansible07:28
pradiprwtHi Everyone, I want to install multi region openstack using ansible, can anyone please suggest me how to achieve this or any references.07:30
*** radeks has quit IRC07:31
*** radeks has joined #openstack-ansible07:31
*** electrofelix has joined #openstack-ansible07:41
*** DanyC has joined #openstack-ansible07:42
*** DanyC has quit IRC07:47
*** mathlin has joined #openstack-ansible07:47
odyssey4meevrardjp the repo servers are taken out of the lb when they are busy syncing, that was implemented ages ago07:48
*** radeks has quit IRC07:50
*** radeks has joined #openstack-ansible07:51
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-os_tempest master: [WIP] Overriding default timeouts  https://review.openstack.org/55789607:58
evrardjpodyssey4me: oh I thought we didn't do it :)08:04
evrardjpcool08:04
evrardjpI might have found the tempest timeout issue but I'm not 100% sure because I don't know tempest08:05
*** shardy has joined #openstack-ansible08:05
*** shardy has quit IRC08:05
evrardjpso let's see how my last patch goes08:05
evrardjpit's just a docs issue08:05
*** shardy has joined #openstack-ansible08:06
evrardjpif this is working as expected, I will change the default timeouts, to be more reliable08:06
evrardjpin the last two cases I see, the instructions for the teardown were launched, and it's during the teardown process that it timed out, not even during the build08:06
*** gameon has joined #openstack-ansible08:17
evrardjphwoarang is not here today -- he is usually early, I wonder if he is alright08:17
evrardjpodyssey4me: can I get this to merge? https://review.openstack.org/#/c/552081/ it's been pending for a while08:24
evrardjpandymccr: ^08:24
pradiprwtevrardjp : Is there deployment guide for multi region openstack ?08:27
evrardjpnope there is none. But there is a guide for swift multi region I think08:29
evrardjpIt solely depends on what you want to do08:29
pradiprwtIf I want to achieve this what are things need to do manually ?08:31
evrardjpI don't know what you want to achieve08:32
evrardjp:)08:32
evrardjp"multi region" is so vast08:32
evrardjpdo you want one keystone, one galera cluster, multiple compute cells?08:32
evrardjpor is it multiple federated keystones?08:33
evrardjpor is that multiple rabbit/galera clusters?08:33
evrardjpthis isn't clear to me08:33
pradiprwtYeah similar08:33
evrardjpwell08:33
evrardjpit must be clear to you in order for us to help you08:33
evrardjpwe cannot presume your design, your networking, etc.08:33
evrardjpit solely depends on your needs, your team skills, etc.08:34
pradiprwt2 different openstack  environment  managing by single horizon08:34
*** DanyC has joined #openstack-ansible08:36
*** shardy has quit IRC08:36
evrardjppradiprwt: I cannot answer that question.08:37
evrardjpthis isn't "simply that"08:37
*** shardy has joined #openstack-ansible08:37
evrardjpor I don't understand the question08:37
evrardjpyes it looks possible with openstack-ansible08:37
pradiprwtevrardjp :  Thank you, I am working on this .. I will let you with more details if I need any help08:39
*** DanyC has quit IRC08:40
evrardjppradiprwt: you need to know networking constraints mostly08:46
evrardjpand what you really mean by "two different" openstack08:46
evrardjpif you really want two different openstacks, just deploy it twice :)08:46
evrardjpcloudnull: you know there was no necessity to break builds like mhayden :p You're a worthy successor indeed -- this time its systemd-networkd that breaks suse08:50
pradiprwtevrardjp: yes, I will deploy two environment but I want to access it from single horizon by changing region08:50
odyssey4mepradiprwt how you decide to deploy is up to you - but each region should be implemented using its own inventory08:51
pradiprwtyes08:51
*** vnogin has joined #openstack-ansible08:52
odyssey4methere are many, many ways to implement multi-region - but the clear guideline from us is to ensure that you keep each region in its own inventory08:52
odyssey4me*ansible inventory08:52
pradiprwtAny suggestion for integration after deployment08:52
evrardjpyeah, deploy it twice, remove horizon from the second inventory08:53
pradiprwtok08:53
evrardjpthen ... I don't know08:53
pradiprwt:)08:53
evrardjpprobably worth asking other ppl like logan- or simply checking upstream documentation08:53
odyssey4mepradiprwt I don't understand your question.08:54
odyssey4meOnce you have multiple regions setup, horizon is informed about the other regions from the service catalog.08:54
odyssey4meSo you just add the other region endpoints to the catalog.08:54
odyssey4meThis is a once-off, so you can do it by hand or implement automation if you want.08:55
odyssey4meBut it's a trivial action.08:55
*** vnogin has quit IRC08:56
mhaydenevrardjp: glad to see cloudnull carrying on my traditions09:13
*** mbuil has joined #openstack-ansible09:20
*** gameon has quit IRC09:23
*** armaan has quit IRC09:24
*** mma has joined #openstack-ansible09:29
*** armaan has joined #openstack-ansible09:30
mmaHey, I notice that the token expiration time is set to 43200 by default in OSA.  Looking at the security guide for openstack it says the default is 1 hour and it is recommended to lower it.  (https://docs.openstack.org/security-guide/identity/tokens.html).   What is the reason for the high expiration value in osa?09:31
*** DanyC has joined #openstack-ansible09:32
odyssey4memma because snapshots take a while, and especially when using a swift back-end for the storage of images your token lifetime needs to be as long as your largest operation executed using a token09:34
Tahvokodyssey4me: why is this default good? https://review.openstack.org/#/c/549287/09:34
odyssey4memma so if your users are snapshotting a 3TB instance, how long does it take to complete09:34
odyssey4meto my knowledge there is not yet a way for the operation to renew its token if it expires while still busy doing the operation09:34
Tahvokodyssey4me: it's the same as this 2 reviews: https://review.openstack.org/#/c/549285/ https://review.openstack.org/#/c/549286/09:35
*** armaan has quit IRC09:35
odyssey4meTahvok :/ a role should be able to stand alone - I guess it seems that's not a common consensus - please reply to the comment with that reference and I'll remove my -109:36
mmaodyssey4me: Got it thanks. Makes sense. Too bad there is no renew token support yet since from a regulatory perspective we are obliged to state reason for each individual case where we do not meet what is declared in the security guide.  But that is our headache, at least now we have the reason confirmed. :)09:36
mmaodyssey4me: Thanks a lot09:36
odyssey4memma sure thing09:36
odyssey4memma obviously you're able to change the default and set your own value - but hopefully now you understand the risk09:36
Tahvokodyssey4me: but localhost default, is pretty bad... Because you do want the user to specify it..09:37
evrardjpTahvok: we do09:37
evrardjpThe role should be standalone09:37
evrardjpand group vars to do the wiring if need be09:37
evrardjpthe amount of group vars should be reduced because there are not many integration points09:37
evrardjpgenerally it's all the service catalog09:37
Tahvokso perhaps I need to update the other 2 merged reviews and create the localhost default?09:37
evrardjpI am not sure what's your case09:38
niraj_singhevrardjp: any other way so that i can install monitor serivces on all compute host09:38
evrardjpmaybe you don't even need localhost.09:38
Tahvokevrardjp: check this: https://review.openstack.org/#/c/549287/09:38
evrardjpniraj_singh: are you working on the role right now ?09:38
evrardjpniraj_singh: if it's for the role, give a static inventory09:38
niraj_singhyes09:38
evrardjpthe env.d is for the integration into the openstack-ansible09:38
odyssey4meTahvok it doesn't have to be a localhost default, but if we're relying on a variable to be set we should either make sure we check for it or provide a default - right now there'd be an obscure error09:38
evrardjpthat can be done later09:38
evrardjpI am busy I can't deal with this right now niraj_singh09:39
odyssey4meevrardjp I guess in this case we can let it slide to progress the reduction of group_vars09:39
odyssey4meTahvok just reply to my suggestion with reference to the other reviews which have merged and I'll change my vote09:39
evrardjpI don't know I haven't checked that particular case.09:39
niraj_singhevrardjp: np thank you09:39
evrardjpthink about role input and outputs, and it should be clear what we need09:39
Tahvokodyssey4me: I can create 2 more reviews for the other 2 that were merged, and do the default thingy09:40
evrardjpall the rest should be removed09:40
odyssey4meI think that we'll very likely change up how some of this stuff is done next cycle when we start to look at roles more like components.09:40
evrardjpnot sure what that meant09:40
evrardjpbut it would be good indeed to be in sync09:40
TahvokSo I'll add the default, and create 2 more reviews09:41
evrardjpodyssey4me: could I have a review of this please? https://review.openstack.org/#/c/559059/09:43
openstackgerritAlbert Mikaelyan proposed openstack/openstack-ansible-os_ironic master: Move ironic_glance_api_servers variable into role  https://review.openstack.org/54928709:43
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible master: [Docs] Restructure inventory documentation  https://review.openstack.org/55208109:44
evrardjpI want to get the docs done. I am tired of it now.09:45
evrardjpeumel8: are you there?09:48
evrardjpeumel8: Should I build a machine with https://review.openstack.org/#/c/559290/ ?09:48
evrardjpd34dh0r53: if you're looking for places to help there are many: bugs, the gates are failing for all the upgrade jobs, the release process like we discussed.09:49
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-os_heat master: Update paste, policy and rootwrap configurations 2018-03-31  https://review.openstack.org/55807709:53
openstackgerritAlbert Mikaelyan proposed openstack/openstack-ansible-os_nova master: Add default to nova_glance_api_servers variable  https://review.openstack.org/55968209:54
openstackgerritAlbert Mikaelyan proposed openstack/openstack-ansible-os_cinder master: Add default to cinder_glance_api_servers variable  https://review.openstack.org/55968409:57
TahvokDone. Please review09:57
*** admin0 has joined #openstack-ansible09:57
openstackgerritAlbert Mikaelyan proposed openstack/openstack-ansible-os_designate master: Get the adminuri variable from adminurl variable  https://review.openstack.org/54835310:07
niraj_singhgetting error while running repo-builed playbook  "fatal: [aio1_repo_container-9d49f9a9]: FAILED! => {"attempts": 5, "changed": false, "cmd": "/usr/local/bin/pip2 install -U --isolated --constraint http://172.29.236.100:8181/os-releases/master/ubuntu-16.04-x86_64/requirements_absolute_requirements.txt  ", "msg": "\n:stderr: ERROR: You must give at least one requirement to install (see \"pip help install\")\n"}"10:12
odyssey4meniraj_singh that's due to a recent pip update, and that's been solved in later releases - update your OSA checkout and bootstrap ansible again to pull in the most recent role updates10:13
admin0afternoon10:14
niraj_singhok10:14
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-ceph_client master: Adapt the list of ceph packages for SUSE  https://review.openstack.org/55968810:15
evrardjpniraj_singh: the role test should not care about that.10:16
evrardjpyou should start step by step.10:16
evrardjpI suggested to first write a spec10:17
evrardjpthen get started on the role10:17
evrardjpthen we help you integrate it10:17
evrardjpplease read this again: https://docs.openstack.org/openstack-ansible/latest/contributor/contribute.html10:17
niraj_singhalready submitted the spec https://review.openstack.org/#/c/556756/10:18
openstackgerritAlbert Mikaelyan proposed openstack/openstack-ansible master: Remove non used variables  https://review.openstack.org/54927110:19
evrardjpniraj_singh: thanks for the update :)10:20
evrardjpniraj_singh: I have posted a comment right now10:20
niraj_singhok10:20
evrardjpbut my link above should help you10:21
evrardjpit explains how to work on a role10:21
evrardjpand it includes a section about testing10:21
evrardjpwhich should help you10:21
evrardjpthen we can think of integration10:21
evrardjpadded another comment niraj_singh  :)10:22
niraj_singhyes10:22
openstackgerritAlbert Mikaelyan proposed openstack/openstack-ansible master: Fix parameter name for removing compute host  https://review.openstack.org/55957310:23
evrardjpthanks Tahvok !10:27
evrardjpgood catch10:27
TahvokYeah, needed to remove a compute host yesterday, and got it :)10:27
openstackgerritAlbert Mikaelyan proposed openstack/openstack-ansible master: Fix parameter name for removing compute host  https://review.openstack.org/55957310:31
Tahvokevrardjp: please review again. There was another place to change it10:31
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-tests master: Add Ceph experimental job for roles  https://review.openstack.org/55969310:32
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-ceph_client master: Add ceph integrated repo testing  https://review.openstack.org/55969510:34
evrardjpTahvok: oh I missed it in my grep I guess10:34
*** nicolasbock has joined #openstack-ansible10:34
evrardjpodyssey4me: https://review.openstack.org/#/q/topic:experimental_test_should_trigger_ceph_job+(status:open+OR+status:merged)10:35
*** savvas has joined #openstack-ansible10:35
evrardjpshould be useful before merging https://review.openstack.org/#/c/559688/10:35
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible master: Make the on metal job voting  https://review.openstack.org/55940410:37
evrardjpodyssey4me: for https://review.openstack.org/#/c/559688/, we said that release notes was for deployer impacting changes -- should that impact them, as its a vars/main.yml change?10:41
evrardjpI can do it if you want10:42
odyssey4meevrardjp it is deployer impacting due to the documentation that was adjusted, so it's not just a vars/main change10:43
odyssey4meit's also a user config change if the user is using ceph for gnocchi10:43
evrardjpI am not sure this should be in the docs tbh10:44
evrardjpI just grepped over everything10:44
odyssey4meevrardjp that linters timeout on the integrated gate is bothering me - I've seen it timeout often when doing the inventory tests... maybe we should increase the timeout to 15 mins?10:44
odyssey4meevrardjp but it is in the docs, and that specifically tells people how to add the gnocchi config, and that method's changing... so yes, it needs to be communicated10:45
evrardjpodyssey4me: yes it's bothering me too now. It's not like the first time I see that. But I thought it was an infra issue10:46
evrardjpLet me check how long our tests take10:46
evrardjpodyssey4me: fair point for the gnocchi case10:47
*** exodusftw has quit IRC10:48
evrardjpodyssey4me: to what I see it's not much that fail during the linting10:50
evrardjpI see git clone failures, or just the whole process thing taking time10:51
evrardjpI will extend to 15 minutes.10:51
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-tests master: Extend linters time out  https://review.openstack.org/55970110:53
evrardjpodyssey4me: ^10:53
*** exodusftw has joined #openstack-ansible10:54
odyssey4meevrardjp I find myself thinking that even 30 mins for linters is fine given that all other tests take longer, typically.10:55
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-ceph_client master: Adapt the list of ceph packages for SUSE  https://review.openstack.org/55968810:56
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-ceph_client master: Adapt the list of ceph packages for SUSE  https://review.openstack.org/55968810:57
evrardjpodyssey4me: I don't think we should go that far. I'd rather know what's going on with more data10:57
evrardjpbut 15 minutes vs 30 minutes is a moot conversation -- I can go for 3010:58
evrardjpif you feel the need, just update the patch11:00
evrardjpit's fine for me11:00
*** savvas has quit IRC11:02
*** savvas has joined #openstack-ansible11:03
*** savvas has joined #openstack-ansible11:03
*** armaan has joined #openstack-ansible11:05
*** udesale__ has quit IRC11:20
openstackgerritMerged openstack/openstack-ansible stable/queens: Added monitoring tag to monitoring user creation task.  https://review.openstack.org/55932011:24
openstackgerritMerged openstack/openstack-ansible master: Add periodic work for release preparations  https://review.openstack.org/55903111:24
*** ansmith has quit IRC11:30
evrardjpodyssey4me: want to review my pro english skillz? https://review.openstack.org/#/c/559688/3/releasenotes/notes/renamed_variable_python_ceph_package-9575466eb146e500.yaml11:30
evrardjp:p11:30
admin0its not used for convenience is it evrardjp  ?11:34
evrardjpsome ppl might use it for convenience11:34
evrardjpsome ppl might just define their own thing11:34
odyssey4meadmin0 agreed, those words are superfluous11:35
admin0if me, i would remove the " for convenience"11:35
odyssey4meadmin0 yep, I added that to the review11:37
odyssey4meevrardjp was there ever a spec for the hyperconvergance?11:37
TahvokIs limestone test mandatory?11:37
odyssey4meah https://github.com/openstack/openstack-ansible-specs/blob/master/specs/queens/hyperconverged-containers.rst11:37
admin0Tahvok, you can use charcoal :D11:37
odyssey4meTahvok no, it's external CI11:37
admin0sorry :D ..11:37
evrardjpodyssey4me: there was11:38
TahvokShouldn't this be merged then? https://review.openstack.org/#/c/559573/11:38
odyssey4meTahvok also, it's been failing generally lately - I think logan-'s been wanting to get back to figuring out why, but hasn't had the time11:38
TahvokHow much code reviews needed?11:38
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-ceph_client master: Adapt the list of ceph packages for SUSE  https://review.openstack.org/55968811:39
evrardjpthe rule is 2 +211:39
evrardjpodyssey4me: and I should do the trick for this patch for example :)11:40
TahvokOh, ok11:41
TahvokIs there a way to set varibles for a group only? Such as storage_hosts or compute_hosts specific variables?11:42
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: Use production like interfaces in the gate  https://review.openstack.org/55363611:42
TahvokI want to override the configuration of rsyslog for this groups, but only on this groups11:42
odyssey4meTahvok yes, using group_vars11:43
odyssey4meyou can create a folder called /etc/openstack_deploy/group_vars and use it like any standard group_vars11:44
Tahvokwill work for ocata as well?11:44
odyssey4meyes11:45
TahvokThanks!11:45
*** kysse_ is now known as kysse11:48
openstackgerritMerged openstack/openstack-ansible-os_sahara stable/queens: Update paste, policy and rootwrap configurations 2018-03-31  https://review.openstack.org/55808711:49
*** vakuznet has quit IRC11:54
openstackgerritMerged openstack/openstack-ansible-tests master: Add Ceph experimental job for roles  https://review.openstack.org/55969312:05
openstackgerritAlbert Mikaelyan proposed openstack/openstack-ansible-os_cinder master: Add default to cinder_glance_api_servers variable  https://review.openstack.org/55968412:07
openstackgerritAlbert Mikaelyan proposed openstack/openstack-ansible-os_nova master: Add default to nova_glance_api_servers variable  https://review.openstack.org/55968212:07
openstackgerritAlbert Mikaelyan proposed openstack/openstack-ansible-os_ironic master: Move ironic_glance_api_servers variable into role  https://review.openstack.org/54928712:10
*** hwoarang has joined #openstack-ansible12:12
*** vakuznet has joined #openstack-ansible12:15
Tahvokodyssey4me: I wonder how to proceed with your comment on octavia variable.12:15
TahvokI've taken it from here: https://review.openstack.org/#/c/549271/2/inventory/group_vars/all/octavia.yml12:15
vakuznetcloudnull12:17
Tahvok# this var below is referenced by neutron if Octavia is activated with V1 API12:17
TahvokBut looking at octavia, it's not defined in there as well12:17
TahvokShould I introduce this variable in octavia?12:18
Tahvokodyssey4me: anyway, answered you here: https://review.openstack.org/#/c/549267/1/templates/neutron.conf.j212:20
odyssey4meTahvok it looks to me like it's always referring back to the same URI, so I don't see why there needs to be more than one variable there?12:25
odyssey4meIs there ever a difference between the v1 URI and the v2 URI?12:25
TahvokI don't know, but there is even a comment on this in inventory12:26
TahvokSo I didn't want to break anything by accident12:26
evrardjpvakuznet: just FYI a ping without comment is not really helpful12:26
evrardjpask what you need to ask and other ppl might answer.12:27
vakuznetyeah, sorry12:27
evrardjpor at least don't expect me to answer if you do that to me :p12:27
*** udesale has joined #openstack-ansible12:28
vakuznetcould this bug be revisited https://bugs.launchpad.net/openstack-ansible/+bug/1742206 fix applied to galere_server, which was not broken and nothing was done to galera_client, which is subject of the bug12:30
openstackLaunchpad bug 1742206 in openstack-ansible "os-cinder-install.yml fails with conflicting mariadb packages on centos infra hosts" [Medium,Fix released] - Assigned to Markos Chandras (hwoarang)12:30
openstackgerritMerged openstack/openstack-ansible-tests master: Extend linters time out  https://review.openstack.org/55970112:30
*** savvas has quit IRC12:31
*** udesale has quit IRC12:31
*** udesale has joined #openstack-ansible12:32
*** nicolasbock has quit IRC12:33
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible stable/queens: [WIP] Add container/service clean up for nova/cinder/heat  https://review.openstack.org/55972112:35
*** armaan has quit IRC12:36
*** armaan has joined #openstack-ansible12:36
*** nicolasbock has joined #openstack-ansible12:37
*** savvas has joined #openstack-ansible12:38
*** odyssey4me has quit IRC12:38
*** odyssey4me has joined #openstack-ansible12:38
*** dave-mccowan has joined #openstack-ansible12:41
*** savvas has quit IRC12:42
*** dave-mcc_ has joined #openstack-ansible12:44
*** dave-mccowan has quit IRC12:45
*** pcaruana has quit IRC12:46
*** savvas has joined #openstack-ansible12:47
*** savvas has quit IRC12:51
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible stable/queens: Ensure package cache is updated appropriately  https://review.openstack.org/55972512:51
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible stable/queens: repo-use.yml: Scope host groups properly  https://review.openstack.org/55972612:51
*** ansmith has joined #openstack-ansible12:54
*** savvas has joined #openstack-ansible12:56
openstackgerritFabien Andrieux proposed openstack/openstack-ansible-specs master: Blueprint enhancements as per reviewers comments  https://review.openstack.org/55973012:56
openstackgerritNiraj Singh proposed openstack/openstack-ansible-specs master: Add specs to create masakari role  https://review.openstack.org/55675612:57
*** hwoarang has quit IRC12:57
*** hwoarang has joined #openstack-ansible12:57
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible stable/queens: Add container/service clean up for nova/cinder/heat  https://review.openstack.org/55972113:00
*** savvas has quit IRC13:00
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible stable/queens: Add container/service clean up for nova/cinder/heat  https://review.openstack.org/55972113:02
*** pcaruana has joined #openstack-ansible13:11
odyssey4meevrardjp ^ added some cleanup for the hyperconvgerged container13:11
*** udesale has quit IRC13:12
openstackgerritFabien Andrieux proposed openstack/openstack-ansible-specs master: Blueprint specs for openstack fds/fdio/vpp integration  https://review.openstack.org/55973313:12
*** udesale has joined #openstack-ansible13:13
*** RandomTech has joined #openstack-ansible13:15
RandomTechmorning everyone13:15
openstackgerritMerged openstack/openstack-ansible stable/pike: Added monitoring tag to monitoring user creation task.  https://review.openstack.org/55932113:19
openstackgerritMerged openstack/openstack-ansible master: [Docs] Restructure inventory documentation  https://review.openstack.org/55208113:19
openstackgerritMerged openstack/openstack-ansible master: Fix parameter name for removing compute host  https://review.openstack.org/55957313:19
*** lvdombrkr has joined #openstack-ansible13:23
RandomTechhey odyssey4me i noticed --check was implamented for the inventory. Do you happen to know what version of Openstack ansible pike i will need to use it?13:25
odyssey4meRandomTech I think that was introduced in newton, so any pike version13:26
RandomTechokay so i just need to regrab the version i was using?13:27
RandomTechwait nevermind i misread13:27
RandomTechill see if it works with the one i have13:27
*** lbragstad has joined #openstack-ansible13:27
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible stable/queens: Add container/service clean up for nova/cinder/heat  https://review.openstack.org/55972113:33
*** markvoelker has joined #openstack-ansible13:34
*** hwoarang has quit IRC13:35
*** markvoelker_ has joined #openstack-ansible13:36
*** rodolof has quit IRC13:39
*** rodolof has joined #openstack-ansible13:39
*** markvoelker has quit IRC13:39
*** esberglu has joined #openstack-ansible13:39
*** idlemind has joined #openstack-ansible13:40
evrardjpodyssey4me: have the groups like cinder_scheduler_container disappeared, or are they mapped to the metal now?13:41
evrardjp(or api in this case)13:41
idlemindugh that was fun ... dnf autoremove uninstalled my grub2-efi package and caused my workstation to stop booting ... good way to start out a monday13:41
odyssey4meevrardjp those groups are only in inventory.json because they were there before - in a new queens environment they no longer exist13:42
odyssey4meheh, every time I see dnf I think of 'did not finish'13:42
idlemindodyssey4me lol13:43
*** CobHead has quit IRC13:43
evrardjpodyssey4me: haha13:43
evrardjpthat's the future of centos !13:43
evrardjp(btw I see that too :p)13:43
evrardjpmaybe an unpolished product? :p13:44
evrardjpidlemind: haha13:44
idlemindya, i'm not sold on efi (uefi) either .. i understand the need to get away from legacy bios and the issues from it ... the process just seems rocky; of course the process to bios stability wasn't friendly from what i read in the history of that adventure either13:44
evrardjpI think uefi is nice13:45
evrardjpit's been too long we are with bios13:45
idlemindi should probably just update to a new 2018 edition mobo and get off my earlier implementation of it13:45
evrardjplike -- far too long13:45
evrardjpI think you have issues in bios and uefi implementations anyway13:45
evrardjpit's software AND hardware after all, what can go wrong?13:46
idlemindlol13:46
evrardjpodyssey4me: 16.0.5 to upgrade to Queens, I think that's a good example13:48
evrardjp:p13:48
*** chhagarw has quit IRC13:48
*** mma has quit IRC13:49
odyssey4meevrardjp what I did find a bit odd was that the neutron agents were all still in the neutron-agents container13:49
odyssey4mealthough I think that was by design - if they're there, leave them there13:49
*** mma has joined #openstack-ansible13:49
odyssey4meso this obviously means that a process to migrate where they are would need to be a bit different, and I haven't figured out how to do that yet13:50
evrardjpI think we should add a thing that checks if you have an apt lock13:50
evrardjpif you do something with apt, just don't start the upgrade13:51
*** ansmith has quit IRC13:51
odyssey4mewhat do you mean?13:51
evrardjpwhen I snapshotted my Pike, it was apparently doing an apt operation13:52
odyssey4mesounds like a pebkac problem ;)13:52
evrardjpany operation I do first with apt is failing because the apt lock is there13:52
evrardjpoh yes it starts as a pebkac :p13:52
evrardjpbut my point is -- if there an apt lock file, we shouldn't try to upgrade13:53
evrardjp"Hey bro, you've something running on your machine, why don't you wait a little?"13:53
evrardjpofc we can probably ignore it, and let apt crash/die13:54
*** CobHead has joined #openstack-ansible13:54
evrardjpbut that's less user friendly13:54
*** ansmith has joined #openstack-ansible13:54
evrardjpalso that only applies to deploy node13:54
*** mma has quit IRC13:54
evrardjpwhich is quite limited in scope vs all the upgrades in the world13:54
evrardjpyeah let's classify this not as wishlist, but pebkac.13:55
odyssey4meevrardjp sure, but then where do you draw the line? should we also check for disk space, available cpu, available ram - or maybe we should make coffee for the admin?13:56
odyssey4mewe should perhaps execute the health check playbook right at the start13:56
evrardjpthat's what I said -- let's classify as pebkac13:56
odyssey4meand perhaps add a check for an apt lock on all hosts in that playbook13:57
evrardjpyeah but healthchecks are hard13:57
evrardjpomg again13:58
evrardjphttps://bugs.launchpad.net/openstack-ansible/+bug/176242113:58
openstackLaunchpad bug 1762421 in openstack-ansible "openstack-ansible-galera_server role needlessly removes and reinstalls MariaDB-server" [Undecided,New]13:58
evrardjplet's merge galera_client and galera_server13:59
*** tomtom001 has joined #openstack-ansible13:59
evrardjpinclude_role galera_server/client.yml13:59
evrardjpthat won't change a thing13:59
*** markvoelker_ has quit IRC14:03
*** kstev has joined #openstack-ansible14:06
tomtom001Has anyone run into issues where the LXC cache would not finish in time?  I changed the timeout, and checked the lxc-cache-prep-commands.log where the last line says setting up openssh-server, but then that's it, it doesn't go any further.  Any ideas?14:07
evrardjplooks like you trouble building your things14:09
evrardjpmaybe a lack of entropy?14:09
*** cjloader has joined #openstack-ansible14:09
evrardjpcould you run havegd14:09
evrardjp?14:09
evrardjpmaybe that would help14:09
evrardjpadding it to the list of packages to install14:09
evrardjpor it's maybe something else14:09
*** smorant has joined #openstack-ansible14:14
RandomTechhey when setting up osa for the first time are there any advantages to pike over queens?14:18
evrardjpnone14:18
evrardjpit's slower and older14:18
evrardjp:p14:19
evrardjpand you'll have to upgrade later14:19
RandomTechwell i wish i knew that sooner :p. i may be starting again from cratch soon and might as well do queens then14:19
*** rodolof has quit IRC14:20
evrardjpwe've never been shy to tell ppl to use latest stable in this channel ;)14:20
*** rodolof has joined #openstack-ansible14:21
RandomTechi guess i didnt undestand what the latest stable was then, sorry for the confusion.14:22
Miougeodyssey4me: Thanks for the tip last week. The setup-hosts.yml passed after checking out origin/stable/pike and re-running the scripts/bootstrap-ansible.sh14:23
odyssey4meRandomTech I think when you started out, queens was still in release candidate - so it made sense then to use pike14:23
odyssey4mebut now that queens is released, may as well use it14:23
RandomTechahh that makes sense14:23
odyssey4methe queens deployment/re-deployment is quite significantly faster... and we're hoping to make the next one even faster14:24
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: remove unused tunnel_bridge from all example configs  https://review.openstack.org/55975014:24
cloudnullmornings14:24
cloudnullevrardjp: what happened with networkd ?14:26
cloudnullsomething I need to take a look at?14:26
RandomTechwould you say queens is any easier/harder to set up than pike?14:26
odyssey4meRandomTech absolutely no difference - the initial configuration mechanism has not changed14:27
*** jonesba has joined #openstack-ansible14:27
*** throwsb1 has joined #openstack-ansible14:27
RandomTechokay, sounds good, i may still try to trim down my configuration however. I have a feeling i overcomplicated it and tried to set up more than we needed14:28
*** armaan has quit IRC14:28
RandomTechi remember reading somewhere that ceph behaves alot better in cloud enviroments than swift. Is that still the case?14:29
odyssey4meRandomTech different use cases, one doesn't behave any better than the other14:29
odyssey4meceph can be used for block storage, image storage and object storage... swift is object storage only14:30
RandomTechoh okay, i may have misunderstood what the page was trying to say14:30
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible master: Add mount options for better machinectl performance  https://review.openstack.org/55797014:30
*** sar has quit IRC14:30
odyssey4meswift is a specialised object storage system, ceph is more general purpose - ceph's object storage api is probably not the same as swift, but it'll cover many use-cases14:31
cloudnullodyssey4me: if you have a moment, mind having a look at https://review.openstack.org/#/c/558227 ?14:32
odyssey4melooking14:32
cloudnullhope is that we can pull in common roles into tests without having to map the dep throughout the stack14:32
cloudnull^ regarding https://review.openstack.org/#/c/552185/13/tests/ansible-role-requirements.yml@6414:32
mnaserif i write a playbook and just call openstack-ansible my-playbook.yml -- is that enough to access the inventory etc?14:35
mnaseri should probably test it out first but asking doesn't hurt i think :p14:35
cloudnullmnaser: yes14:36
*** madorn_ has quit IRC14:36
*** DanyC has quit IRC14:36
mnasercool14:36
* mnaser needs to do some haproxy stuff14:36
*** DanyC has joined #openstack-ansible14:37
cloudnullcool14:37
*** madorn has joined #openstack-ansible14:37
cloudnullthanks odyssey4me!14:38
*** savvas has joined #openstack-ansible14:38
odyssey4mecloudnull yeah, I think that makes sense for the infrastructure roles (lxc, nspawn, openstack_hosts, galera, etc) - we can then allow the openstack roles to be more picky14:40
cloudnull++14:40
*** DanyC has quit IRC14:41
odyssey4mecloudnull with thanks to the initial work from fghaas, I pulled https://review.openstack.org/#/c/559721/ together - if you oculd take a peek that'd be grand14:41
*** hw_wutianwei has joined #openstack-ansible14:41
odyssey4meI'm building an env now with trove and ironic in the hopes to get those done too, then that is the hyperconvergence work done.14:42
admin0during 17.0.0 to 17.0.1 i have something like this: {error,{inconsistent_cluster,"Node 'rabbit@c3-rabbit-mq-container-7ed627de' thinks it's clustered with node 'rabbit@c2-rabbit-mq-container-81e30416', but 'rabbit@c2-rabbit-mq-container-81e30416' disagrees"}}14:42
admin0is it safe to nuke all rabbitmq clusters and re-create ?14:42
odyssey4meThe missing piece after that is some tooling to automate implementing and moving where the neutron agents are.14:42
odyssey4meadmin0 the rpc messaging in rabbitmq is stateless - if your cluster is broken, you can wipe and replace - you'll lose some transactions which were in motion, but if your cluster's borked then I guess that's not too much of an issue14:43
odyssey4metelemetry data will be lost, if you're using that - so that's the sticking point14:43
odyssey4meadmin0 you can also wipe all containers but one instead which might save your data14:44
admin0odyssey4me, i will keep 1 and wipe 214:45
openstackgerritMerged openstack/openstack-ansible master: Make the on metal job voting  https://review.openstack.org/55940414:48
*** lvdombrkr has quit IRC14:48
admin0so i have 1 old and 2 new .. is there a special flag to run the playbook .. or just run the normal rabbitmq-install.yml and it will fix itself ?14:48
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible-tests master: test-install-keystone: Do not hardcode path for keystone-manage binary  https://review.openstack.org/55975714:48
dcdamienIs it fine to propose change referencing to bug report that is already fixed but ineffectively or should I open a new one?14:50
cloudnullodyssey4me: will have a look14:50
*** sar has joined #openstack-ansible14:51
odyssey4meadmin0 if you've wiped the containers, then you need to recreate them first, then you can run the rabbitmq install playbook to reinstall them14:53
mnaserdcdamien: you could use Related-Bug: #foo14:53
admin0me running  /opt/openstack-ansible/scripts/inventory-manage.py   outputs a14:55
admin0ImportError: No module named prettytable14:55
admin0  that multiple bootstraps were not able to fix . .17.0.0, 17.0.1 .. what i can do manually to fix it ?14:55
evrardjpcloudnull: it seems to fail -- but I haven't reverted it14:56
evrardjpand deploy of suse doesn't seem to work14:56
evrardjpadmin0: go to your osa venv14:56
evrardjppip install prettytable14:57
odyssey4meadmin0 use /opt/ansible-runtime/bin/python to execute the script14:57
dcdamienmnaser: thx14:57
admin0 ImportError: No module named 'dictutils'14:57
evrardjpcloudnull: a* deploy of suse doesn't seem to work14:58
cloudnullit looks like it passed the gate?14:58
evrardjpcloudnull: yes I saw it passing this morning too14:58
evrardjpweirdly14:58
evrardjpso it's I guess a package that's not explicitly listed14:59
odyssey4meadmin0 you could also do: source /opt/ansible-runtime/bin/activate14:59
cloudnulloh?14:59
odyssey4methen run the tools14:59
evrardjpadmin0: do what odyssey4me just said :p15:00
evrardjpthat's what I meant by enter the venv15:00
admin0evrardjp, odyssey4me even with source and inside the venv, still the same .. no module named dictutils15:00
evrardjppip install dictutils15:01
odyssey4meadmin0 hmm, that's odd15:01
*** chyka has joined #openstack-ansible15:01
evrardjpare you sure it's dictutils?15:01
evrardjpisn't that oslo something?15:01
odyssey4mesince when do we use dictutils?15:01
evrardjpWhat's the line?15:02
evrardjpI don't know15:02
evrardjpthat's weird15:02
evrardjpwithout full log I won't consider this as a bug :p15:02
*** jonesba has quit IRC15:03
*** armaan has joined #openstack-ansible15:03
admin0evrardjp, https://gist.github.com/a1git/568d917533d92298d6c6ee449de473d015:04
*** MikeW has joined #openstack-ansible15:06
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: Use a sensible vlan range in the example configs  https://review.openstack.org/55976315:06
*** rodolof has quit IRC15:07
evrardjpodyssey4me: admin0 dictutils is releative15:08
evrardjprelative15:08
evrardjpcd15:08
evrardjpcd /opt/openstack-ansible15:08
evrardjpscripts/inventory-manage.py -l should work15:08
evrardjppoor packaging15:08
*** qwebirc34220 has joined #openstack-ansible15:08
evrardjpyou can install the osa_toolkit in your venv it should work too but that's very ugly15:09
MikeWHey have you guys had any issues with rabbitmq on a default deploy of 15.1.6?15:09
admin0evrardjp, fails at prettytable15:10
evrardjpMikeW: could you be more explicit?15:10
evrardjpadmin0: pip install prettytable15:10
admin01915:10
qwebirc34220Hi guys! I try to change the ip address of management network but containers still use the previous network i re ran the setup-hosts.yml but nothing changed. could anyone help me please15:10
admin0qwebirc34220 .. tricky15:10
*** radeks has quit IRC15:11
MikeWevrardjp Yeah sorry I'm sleep deprived... The server just randomly stops responding. I've been looking into it maybe being a haproxy/rabbitmq issue, because it's in no way resource constrained.15:11
*** radeks has joined #openstack-ansible15:11
admin0MikeW,  flaoting ip jumping ?15:11
admin0check vip15:11
admin0vip logs15:12
admin0also conntrack15:12
admin0maybe your tables are full15:12
stuartgrstable/queens bootstrap-ansible.sh picks python3 for ansible runtime if its available, but [pip_install : Drop pip config] is failing with "NameError: name 'unicode' is not defined" which appears to be caused when python2 code runs in python3?15:12
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible-ceph_client master: vars: suse: Use correct package for python Ceph bindings  https://review.openstack.org/55976615:12
*** hwoarang has joined #openstack-ansible15:14
MikeWadmin0 Cool thanks for the ideas. I've been circling on this issue for a while thinking it was memory or disk issues.15:14
qwebirc34220admin0 so what should i do ?  going back to previous setup is the only solution ?15:14
admin0qwebirc34220,  if you nuke the inventory, then it will create all brand new .. .. then you need to mysqldump and restore in the new cluster15:15
admin0you have twice of everythign running15:15
admin0unless15:16
admin0qwebirc34220, what is the need to change the network ip ?15:16
admin0i mean whats the need to change ips ?15:16
admin0MikeW, if the servers are busy .. compute, controllers etc .. could be conntrack dropping new connections15:17
evrardjpadmin0: make sure you're using the right "pip" binary too15:17
admin0evrardjp, i tend to do bootstrap and "assume" all will be taken care in that proces15:18
evrardjpadmin0: it is15:18
evrardjpit should be15:18
evrardjplet me check if pretty table is in our requirements15:18
MikeWadmin0 Yeah it really feels like conntrack is what's going on... seems like the servers crash after getting busy15:18
admin0how can i "un bootstrap" or force a override etc15:18
admin0MikeW, what monitoring do you use ?15:19
qwebirc34220admin0 there was an ip conflict between management and lxc bridges. i didn't find where the ip of lxc brdges set so i decided to change the network of management. finally i found where ip of lxc bridge sets . if i change management to previous ips and change the network for lxc . is the issue resolved?15:19
MikeWadmin0 We're only using nagios right now, and I haven't implemented networking checks yet15:19
admin0lxc is just used to provide NAT15:19
admin0i think you can change lxc range15:19
admin0but keep the mgmt as is15:20
admin0its a hassle to change15:20
admin0if you have a workload15:20
admin0the default ips are good enough .. i do not understand why people need to change that :)15:20
admin0its unroutable network range .. where 10.1 is as good as 100.1 :D15:20
evrardjpadmin0: pretty table is in requirements15:20
evrardjpre-bootstrap your ansible15:20
evrardjpyou have somethign wrong there15:21
evrardjpthen run scripts/inventory-manage15:21
evrardjpit should work15:21
admin0evrardjp, is there a --force --i-am-really-sure flag ?15:21
evrardjp/opt/ansible-runtime/bin/python scripts/inventory-manage.py -l15:21
evrardjpthat works15:21
evrardjpfor me15:22
qwebirc34220admin0 thanks15:23
admin0evrardjp, for me it gives the dictutils module failure15:23
evrardjplet me try with your version15:23
evrardjp17.0.1 you said?15:23
admin0yep15:23
admin0last commit "2018-04-02 11:25 Logan V                        o <17.0.1> Bump pip_install SHA to include constraints fix15:24
admin0"15:24
*** armaan_ has joined #openstack-ansible15:25
*** armaan has quit IRC15:25
evrardjpadmin0: interesting I have the same issue when doing  /opt/ansible-runtime/bin/python scripts/inventory-manage.py -l15:25
evrardjpbut not when doing scripts/inventory-manage.py -l15:26
evrardjpI found the issue I think PrettyTable vs prettytable15:26
admin0one is uglytable :D15:27
*** chyka has quit IRC15:28
evrardjplet me start from a clean machine15:28
evrardjpI'm lacking time right now admin015:29
evrardjpcould you file a bug?15:29
admin0bug on its way15:29
evrardjpI will work on it tomorrow15:29
evrardjpthanks15:29
admin0when is our bug day ?15:29
evrardjptuesday15:29
admin0i want to file 30 mins before we start :D15:29
evrardjplol no15:30
admin0game the system15:30
evrardjpjust od it15:30
admin0ok15:30
admin0will do15:30
evrardjpI will maybe fix it in the meantime15:30
admin0everyone who will start new will start with 17.0.1 .. so they will all break15:31
jrosserour queens attempt is not getting very far either , see stuartgr comment ^^^^15:31
evrardjpI think we should run python2 on the host15:34
evrardjpdestination host15:34
evrardjpjrosser:15:34
admin0https://bugs.launchpad.net/openstack-ansible/+bug/176245915:34
openstackLaunchpad bug 1762459 in openstack-ansible "inventory-manage.py broken on 17.0.x" [Undecided,New]15:34
evrardjpcheck if you have somethign in your inventory that is using something else?15:34
evrardjpansible_python_interpreter?15:34
evrardjpelse I suggest you to file a bug15:34
*** qwebirc34220 has quit IRC15:34
evrardjpjrosser: http://zuul.openstack.org/builds.html15:35
* jrosser looks15:36
evrardjpjrosser: sorry not full link15:36
evrardjpif you don't want to fill the blanks:15:36
evrardjphttp://zuul.openstack.org/builds.html?pipeline=periodic&project=openstack%2Fopenstack-ansible&branch=stable%2Fqueens15:36
evrardjpyou can see the latest stable/queens deploy worked15:36
mnaseradmin0: i had that issue too15:36
mnaseryum -y install python-prettytable python-yaml fixed it15:37
evrardjpmnaser: yes but that shouldn't happen15:37
evrardjpit worked on my machine15:37
mnaserubuntu or centos?15:37
evrardjpso I suspect that a new machine is missing some requirements15:37
mnaserthis was a very minimal machine though15:37
admin0evrardjp, https://image.slidesharecdn.com/devopsdayemcworld2015-memes-final-150501164657-conversion-gate02/95/devops-memes-emcworld-2015-83-638.jpg?cb=143051708715:37
evrardjpI think it's poor packaging of our lib15:38
evrardjpadmin0: which os?15:38
evrardjpis that ubuntu or centos?15:38
admin0ubuntu 16.0415:38
evrardjpyeah15:38
evrardjpso15:38
evrardjpI will start with a clean ubuntu when I will have time15:38
evrardjpbut I am sure it's something that's not properly installed in the venv15:38
* mnaser made a docker image with OSA15:38
evrardjpmnaser: haha15:38
mnaserand that is broken if we don't do that15:39
evrardjp?15:39
evrardjpmnaser: what do you mean?15:39
evrardjpfor me, we should have this tookit packaged separately15:39
evrardjpthat's it15:39
mnaserevrardjp: https://gist.github.com/mnaser/30a66333072d3bf52f662397c1cd58a415:40
mnaserif you drop/comment out the "RUN yum -y install python-prettytable python-yaml", then the inventory manage won't work15:40
mnaserso many cause its minimal i guess15:40
evrardjpthat shouldn't because prettytable and pyyaml are in the requirements.txt15:40
admin0apt install python-prettytable python-yaml  fixed it15:41
evrardjphttps://github.com/openstack/openstack-ansible/blob/master/requirements.txt#L8-L1015:41
mnaserwait so15:41
mnaserthat means that maybe15:41
evrardjpyeah15:41
mnaserthe inventory script is not using the virtualenv?15:41
evrardjpit means it's outside the venv15:41
admin0but the point is its in there, but should have been installed15:41
evrardjpyeah15:41
evrardjpthat's exactly what I am saying15:41
mnaseri'm slow :D15:41
evrardjpadmin0: no15:41
evrardjpthat's not what should be done15:41
evrardjpthe packaging shuld be better15:41
mnaserhttps://raw.githubusercontent.com/openstack/openstack-ansible/master/scripts/inventory-manage.py15:41
mnaser#!/usr/bin/env python15:41
evrardjpbasically changing the shebang shoudl help15:42
evrardjpYES15:42
admin0when i see a new patch, i will apt autoremove --purge, try yoru patch and check15:42
mnasershould it be like15:42
evrardjpprobably python315:42
mnaser /opt/openstack-ansible/bin/python or something15:42
evrardjpnot sure15:42
evrardjpbut it's probably a thing with python315:42
mnaserhttps://github.com/openstack/openstack-ansible/blame/master/scripts/inventory-manage.py15:42
mnaserbroken since initial commit15:43
mnaserha :P15:43
TahvokCan anyone running ironic give me a screenshot of how it looks now in horizon? I need it for presentation15:43
evrardjpadmin0: could you check what's the binary included in your /opt/openstack-ansible/bin/py* ?15:43
evrardjpls -Fal would do the trick15:43
evrardjpmnaser: haha yes15:43
evrardjpI have a spec to change the ivnentory15:43
evrardjpand get rid of this15:44
evrardjpbut here I am sure it's a python issue15:44
evrardjpofc if we say we should /opt/openstack-ansible/bin/python in the shebang it would fix the issue15:44
*** electrofelix has quit IRC15:44
evrardjpmnaser: admin0 trust me, I will fix it.15:45
evrardjp:D15:45
evrardjpa quick hack and a long term cleanup :p15:46
mnasermore hardcoding woo :P15:46
evrardjpthat's the quick hack :p15:46
admin0that folder ,  /opt/openstack-ansible/bindep.txt  has this text only that starts with bin15:46
admin0 i assume you meant runtime15:46
evrardjpadmin0: could you answer my question plz?15:47
evrardjpdid I paste the wrong thing15:47
evrardjpofc I did15:47
evrardjpdarn15:47
admin0 :D15:47
evrardjpls -Fal /opt/ansible-runtime/bin/py15:47
evrardjpls -Fal /opt/ansible-runtime/bin/py*15:47
evrardjpdanr15:47
admin0python215:47
admin0python315:47
admin0sorry 315:48
admin0let me gist15:48
admin0https://gist.github.com/a1git/c895736ff5f0a7ab76a01f7aff91536c15:48
evrardjphttp://logs.openstack.org/46/559146/2/check/openstack-ansible-functional-centos-7/9753a3a/job-output.txt.gz#_2018-04-09_08_24_16_09175415:50
evrardjpcloudnull: ^15:50
evrardjpapparently that's blocking the tempest patch15:50
admin0MikeW, wwhen you have time, check out check_mk15:50
admin0for your openstack monitoring needs15:50
cloudnullevrardjp: thanks!15:51
evrardjpcloudnull: well no reason to thank me :p15:52
evrardjpI am sorry it's broken15:52
evrardjp:p15:52
cloudnullmeh, it happens  :)15:52
*** nicolasbock has left #openstack-ansible15:52
admin0taking a quick drive home .. will reconnect back later15:52
evrardjpcloudnull: fyi it's an ovh node15:52
admin0my 17.0.0 -> 17.0.1 upgrade is running15:53
evrardjpso we do some kind of munging there15:53
evrardjpadmin0: ok I did something wrong in the release of 17.0.115:53
evrardjpplease use stable/queens :p15:53
admin0:D15:53
admin0will it break a running cluster ?15:54
evrardjpnope but it will build things weirdly on your repo build15:54
evrardjpcleanup your repo and you should be fine15:54
admin0will check only if somethign breaks .. if the upgrade goes in fine and all is fine, will wait to address it in 17.0.215:54
admin0repo is in setup-infra right .. those playbooks already passed fine15:55
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: Add IP addresses to infra node br-vxlan in the examples  https://review.openstack.org/55977515:56
*** sep has quit IRC15:57
*** admin0 has quit IRC15:57
*** sep has joined #openstack-ansible15:58
*** smorant has quit IRC15:59
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: Remove spurious VxLAN bridge IP from ceph osd hosts  https://review.openstack.org/55977616:01
evrardjpd34dh0r53: we have a few upgrade jobs that are failing, could you have a look? http://zuul.openstack.org/builds.html?pipeline=periodic&project=openstack%2Fopenstack-ansible16:02
d34dh0r53evrardjp: yep16:03
evrardjpthanks16:03
evrardjpI'd start with master :)16:03
evrardjpcloudnull: do you check on the gating issue for centos/suse for that tempest patch?16:03
*** DanyC has joined #openstack-ansible16:03
evrardjpelse I can work on it16:03
cloudnull I have not yet16:04
evrardjpok I will tackle this16:04
cloudnullthough i will be looking at suse in a min16:04
cloudnullwell as soon as my lab is back online16:04
evrardjpok found it16:06
evrardjpwill fix the bug real quick16:06
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible stable/queens: Add container/service clean up for nova/cinder/heat  https://review.openstack.org/55972116:06
*** DanyC has quit IRC16:08
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-tests master: Use the right hypervisor name for ovh hosts  https://review.openstack.org/55977816:09
evrardjpodyssey4me: cloudnull  ^16:09
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible stable/queens: Add container/service clean up for nova/cinder/heat  https://review.openstack.org/55972116:09
evrardjpthat should unblock nova role tests16:09
evrardjpsee also http://logs.openstack.org/46/559146/2/check/openstack-ansible-functional-centos-7/9753a3a/logs/ara-report/result/75fa2c7e-6aa6-40df-a1f0-60fe5c97b65c/16:10
evrardjpthanks16:10
openstackgerritMerged openstack/openstack-ansible stable/queens: Developer docs refactor  https://review.openstack.org/55905916:11
odyssey4meevrardjp I think we also need https://review.openstack.org/559146 in for the nova gate, because there is only one image provided in the lxd test isn't there?16:12
*** DanyC has joined #openstack-ansible16:13
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-tests stable/queens: Add Ceph experimental job for roles  https://review.openstack.org/55978116:13
*** DanyC_ has joined #openstack-ansible16:15
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-ceph_client master: Adapt the list of ceph packages for SUSE  https://review.openstack.org/55968816:16
*** DanyC has quit IRC16:18
evrardjpodyssey4me: yes, it's documented :)16:19
evrardjpyou should see it on your patch16:19
evrardjpI mean16:19
evrardjpon jimmy's patch16:19
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible stable/queens: Add container/service clean up for nova/cinder/heat  https://review.openstack.org/55972116:19
evrardjpodyssey4me: I will backport the ovh things back to I don't know where16:19
odyssey4meevrardjp just queens16:20
evrardjpI will16:20
evrardjp:p16:20
odyssey4mewell, actually I can't recall if it ported back to pike - but I doubt it16:20
evrardjpi will check16:20
evrardjpI am talking about the tests16:21
evrardjpyou did for the integrated16:21
evrardjpwill check what you did and mirror16:21
evrardjpyou backported to O16:22
odyssey4meevrardjp already checked, but due to the implementation I don't think its suffering the same problem16:22
evrardjpdid we miss P?16:22
odyssey4methe reason the problem is seen in tests is due to https://github.com/openstack/openstack-ansible-tests/blob/master/common-tasks/test-set-nodepool-vars.yml#L45 - and the integrated build doesn't do that16:22
evrardjpyeah I know it's a different implementation16:22
evrardjpI will have trouble to remember where we did it if we backport it differently in tests and in the integrated16:23
evrardjpI just want to have the same kind of hacks at the same place16:23
odyssey4meonly did master/queens: https://review.openstack.org/#/q/I4f679815ac55095000dc1017cebbd1a8bf0f6c5f16:23
logan-thanks for putting the upgrade plays together odyssey4me16:23
openstackgerritMerged openstack/openstack-ansible-ceph_client master: Add ceph integrated repo testing  https://review.openstack.org/55969516:23
odyssey4meevrardjp for the integrated I think I did it further back16:23
evrardjpodyssey4me: I am talking about https://review.openstack.org/#/q/I54681092adf9c0647bf65583176ddc21c99494f316:23
evrardjpyeah16:24
evrardjpI don't see P there16:24
odyssey4meah yeah for that one the p patch was merged with the pip_install role sha update16:24
evrardjpoh ok16:24
evrardjpyeah I remember now16:24
evrardjpcool16:24
evrardjpso backport all the way to O16:24
evrardjpfor the tests implementation16:24
evrardjpif we can16:24
odyssey4melogan- it was kinda fun actually, oddly enough16:24
odyssey4mebeen a while since I actually had to use the openstack cli16:25
RandomTechdoes anyone have an example of what a custom network dedicated to floating ips looks like?16:25
logan-odyssey4me: yeah its nice, the -f json output makes the output really easy to work with in ansible16:30
logan-although I noticed you aren't using it, but next time it might be easier for you to use -f json in openstack CLI and then consume it in ansible with '| from_json'16:31
odyssey4melogan- yeah, that is handy - but I didn't really need it here16:31
logan-ya16:31
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-tests stable/queens: Use the right hypervisor name for ovh hosts  https://review.openstack.org/55978516:32
odyssey4melogan- that's most useful when you're getting a large bunch of data you want to work with - this was much more surgical16:32
logan-yea16:32
odyssey4melogan- I was looking at resource usage as well and you're right, Queens is a bit of a hog compared to pike. I think we need to tune a bunch of defaults down a bit.16:34
odyssey4meI suspect that we might be a little too generous on the uwgi threads/processes settings.16:34
logan-thats interesting.. I haven't compared pike vs queens yet, but i did notice a large improvement once i deleted all of the duplicate nova/cinder/heat services16:35
odyssey4meyes, that definitely helps16:35
odyssey4meI did also find some cinder services hogging cpu16:35
odyssey4meI suspect hat reloading the service instead of restarting it is still an issue.16:35
logan-ouch16:36
odyssey4meit all relates back to this patch: https://review.openstack.org/#/c/528140/16:37
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-tests stable/pike: Run with KVM if we can in tests  https://review.openstack.org/55978716:37
odyssey4meI've got a couple more test environments up now to validate my final patch set and build plays for trove and ironic.16:37
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-ceph_client stable/queens: Add ceph integrated repo testing  https://review.openstack.org/55978816:39
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-ceph_client stable/queens: Add ceph integrated repo testing  https://review.openstack.org/55978816:41
*** epalper has quit IRC16:42
evrardjpodyssey4me: it seems the upgrade has worked for me16:43
evrardjpwith your patch16:43
evrardjpI still have lots of containers16:44
evrardjpwe can discuss later, but at least it looks nice16:44
evrardjpthanks for the owrk16:44
*** udesale has quit IRC16:46
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-tests stable/pike: Run with KVM if we can in tests  https://review.openstack.org/55978716:48
*** armaan_ has quit IRC16:49
*** armaan has joined #openstack-ansible16:50
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: Remove in-development warning from run-upgrade  https://review.openstack.org/55979116:50
*** MikeW has quit IRC16:50
-openstackstatus- NOTICE: zuul was restarted to update to the latest code; please recheck any changes uploaded within the past 10 minutes16:50
*** armaan has quit IRC16:54
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible stable/queens: Have zuul check out ansible for devel AIO job  https://review.openstack.org/55979316:55
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible stable/queens: Run the on metal job  https://review.openstack.org/55979416:55
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible stable/queens: Make the on metal job voting  https://review.openstack.org/55979516:55
*** savvas has quit IRC16:57
evrardjpif ppl not logan could vote on https://review.openstack.org/#/c/559781/17:01
*** savvas has joined #openstack-ansible17:03
odyssey4meevrardjp logan- Two backport patches which improve usability and speed: https://review.openstack.org/559725 & https://review.openstack.org/55972617:03
tomtom001Should I be using python3 for pike? is python2.7 still usable?17:06
evrardjpI'm off for today17:07
evrardjpI will read that later tomorrow17:07
*** savvas has quit IRC17:07
evrardjpd34dh0r53: if you could also help on 558082 that would be nice17:08
evrardjphttps://review.openstack.org/#/c/558082/17:09
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-tests stable/queens: Extend linters time out  https://review.openstack.org/55979717:09
*** RandomTech has quit IRC17:09
d34dh0r53evrardjp: yep17:10
evrardjpodyssey4me: haha I was doing it17:10
evrardjpbeat me to it17:10
evrardjpoh you just changed that17:10
evrardjpthought you were planning to do the big backport :)17:10
odyssey4meevrardjp I looked, then realised that was more complicated and didn't think that'd be a good idea17:11
evrardjpyup17:11
evrardjpsame for me :)17:11
evrardjphaha17:11
*** savvas has joined #openstack-ansible17:12
*** savvas has quit IRC17:17
tomtom001cloudnull I'm looking at: /etc/ansible/roles/lxc_hosts/tasks/lxc_cache_preparation.yml @ http://paste.openstack.org/show/718759/ Do you have any wisdom on what this process is doing?  From what I can tell it runs a machine in chroot and does an upgrade, but my ansible environment fails on this everytime.  Is it just waiting for the machine to upgrade?17:18
sarRunning openstack-ansible repo-build.yml suddenly doesn't work anymore. I get this error while building gnocchi: "error: error in setup.cfg: command 'build_py' has no such option 'pre_hook.build_config'" Anyone else having the same issue?:17:18
odyssey4metomtom001 it downloads a pre-build image from lxccontainers.org, then extracts it, then runs the script in vars/<distro> inside that chroot, then packages it for re-use when building the other containers17:19
tomtom001ok, thank you17:19
sar(i'm on ocata 15.1.13)17:19
odyssey4mesar you're hitting the pbr/pip issues which have been resolved in the most recent releases - update your checkout to the latest release, bootstrap-ansible again, then do the rest of the minor upgrade process17:19
sarminor upgrade process?17:20
tomtom001odyssey4me do you mean linuxcontainers.org?17:21
*** savvas has joined #openstack-ansible17:21
tomtom001i could not find lxccontainers.org17:21
odyssey4metomtom001 yep, apologies17:22
tomtom001thanks17:22
odyssey4metomtom001 at the stage you're at, the download's already done17:22
odyssey4meit's failing inside the script in the chroot17:22
odyssey4metomtom001 which release are you working with?17:23
tomtom001Pike17:23
tomtom001git checkout stable/pike17:23
tomtom001Unfortunately the lxc_cache_prep_commands log doesn't reveal any info as to what it's failing on from what I can tell except a random invoke-rc.d can't determine runlevel error.17:24
tomtom001I've google'd it, but didn't find anything on it except some incompatibilites with systemd vs upstart17:25
odyssey4metomtom001 I think that's more likely just a chroot funny17:25
*** savvas has quit IRC17:25
odyssey4metomtom001 this is what runs - can you see any clues regarding where it got to? https://github.com/openstack/openstack-ansible-lxc_hosts/blob/stable/pike/vars/ubuntu-16.04.yml#L63-L9517:26
*** savvas has joined #openstack-ansible17:26
tomtom001Yes it gets to apt-get install -y  that much I can see from the cache prep logs17:28
tomtom001it seems in the middle of it that it just dies.17:28
cloudnulltomtom001: it sounds like the base image is messed up. assuming you've not done this already, I'd nuke the cache and allow the playbooks to rebuild it.17:29
tomtom001I also see this error right before it starts unpacking a bunch of packages: E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)17:29
odyssey4methat's a chroot funny and normal I think17:30
odyssey4mecloudnull what's the way to wipe the cache again? I forget17:30
cloudnull`machinectl remove $image_name; rm -rf /var/cache/lxc/download/*`17:30
tomtom001oh, I've never seen that before.  ok thanks! I'll try it.17:30
cloudnullif you have the image in machinectl you can list them17:31
cloudnullmachinectl list-images17:31
odyssey4mecloudnull maybe that'd be a good entry for somewhere in here: https://docs.openstack.org/openstack-ansible/latest/admin/troubleshooting.html17:31
cloudnull the base cache will be named something like $distro-$arch-$release17:31
cloudnullodyssey4me: agreed. I can toss something in that17:31
odyssey4meawesome17:32
*** kstev has quit IRC17:32
tomtom001Yeah to be honest this is the first time I've seen a problem relating to the lxc containers not being built or the process that actually builds the containers, sorry for my ignorance.17:32
cloudnullno need to be sorry, I'm honestly not sure why that would be failing for you like this.17:33
cloudnullive seen similar issues when the cache image is downloaded from lxc and fails prep, ive also seen a bad image cache from the upstream image build process cause something similar.17:34
cloudnullI generally try and fix an issue for a few minutes, if i cant make it go, i nuke things17:34
odyssey4mehttps://media.giphy.com/media/U0xH9PiljwlS8/giphy.gif17:41
*** savvas has quit IRC17:42
*** chhagarw has joined #openstack-ansible17:42
odyssey4mecloudnull got a gap to take a peek at https://review.openstack.org/559725 which will help folks out a bit also17:43
mnaseris there a way to override specific things out of `haproxy_default_services` ?17:46
mnaserex: add frontend options to an existing service17:46
logan-not really mnaser, but you could add a service in extra_services with the same name17:46
logan-so it would overwrite the previous service17:46
mnaserdang, at the expense of possibly getting out of sync later17:47
logan-yup17:47
*** savvas has joined #openstack-ansible17:47
* mnaser is trying to get all services to respond on port 80/443 with dns lookups using https://www.haproxy.com/blog/web-application-name-to-backend-mapping-in-haproxy/17:47
mnaserlogan-: actually i wonder if that would even work, because it looks like it's just merging two arrays17:48
mnaserso it would just be doubled up, it doesnt look like its a map17:48
logan-yeah the extra services are appended17:48
logan-so the extra service would overwrite the previous service before the assemble task for /etc/haproxy/haproxy.conf runs17:48
logan-it is really hacky17:48
* mnaser thinks17:49
*** kstev has joined #openstack-ansible17:53
cloudnullodyssey4me: its more like https://media1.giphy.com/media/BT4ygwV9vgwAU/giphy.gif18:00
* cloudnull looking at 55972518:01
odyssey4mehahaha18:01
cloudnullodyssey4me: nice change!18:01
*** poopcat has joined #openstack-ansible18:02
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: Ensure both nova and ironic have access to ironic vars  https://review.openstack.org/55980418:06
odyssey4med34dh0r53 prometheanfire ^ That'll be at least one reason why Ironic on Queens doesn't work.18:06
prometheanfireodyssey4me: cool, so that's for master/queens?18:08
odyssey4meprometheanfire ja, we did some rearrangement of group_vars for queens which clearly broke some things18:09
odyssey4meI happen to be doing a p->q upgrade test right now with ironic in the mix and ironic wouldn't even complete deployment due to that.18:09
prometheanfireheh18:11
*** eumel8 has quit IRC18:13
*** kstev has quit IRC18:17
*** Administrator__ has joined #openstack-ansible18:21
mnaserquestion18:21
mnaserdecision behind running haproxy on is_metal.. any context?18:21
odyssey4memnaser logan- runs it in containers18:22
odyssey4meand there is no real reason other than for rackspace it was never a 'supported' configuration, not until newton18:23
odyssey4meso basically until logan- put the effort in to implement it containerised, no-one else did18:23
*** ellopunk has joined #openstack-ansible18:23
*** gokhan is now known as Guest9477418:23
mnaserokay i see, any reason in particular the switch to containerized by default has not been done?18:24
*** Guest53306 has quit IRC18:24
odyssey4memnaser nope, no-one's ever put a patch up to do it I guess - possibly due to the extended consideration for documentation, upgrades, etc18:24
mnaseryeah i can imagine it being a wild thing that might cause an outage18:25
odyssey4mesimilar to the ->q upgrade stuff in https://review.openstack.org/559721 changing a default can be complicated18:25
odyssey4meyou'd probably have to add the containers, move the vip to one of those, then remove the old containers18:25
odyssey4mesorry, then remove the haproxy from the hosts it was on18:26
odyssey4mesomething like that I guess18:26
logan-it is a little tricky in the gate too18:26
logan-because of how the collapsed networking is, juggling the vips to get haproxy containerized can be a little challenge, but its probably doable now18:27
logan-i think https://github.com/openstack/openstack-ansible-lxc_container_create/commit/bb76ea23f5682242df66648c5afe0c34c7c49988 fixed one of the big blockers for containerized haproxy that i was hitting in https://review.openstack.org/#/c/429019/18:29
*** kstev has joined #openstack-ansible18:29
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: Add nova/ironic/glance cross-service vars to group_vars/all  https://review.openstack.org/55980418:39
*** chhagarw has quit IRC18:45
*** vincent has joined #openstack-ansible18:47
*** vincent is now known as Guest7718918:47
*** hamza21 has joined #openstack-ansible18:47
*** Administrator__ has quit IRC18:50
openstackgerritMerged openstack/openstack-ansible master: Remove spurious VxLAN bridge IP from ceph osd hosts  https://review.openstack.org/55977618:51
*** radeks has quit IRC18:51
*** radeks has joined #openstack-ansible18:51
openstackgerritMerged openstack/openstack-ansible-tests master: Use the right hypervisor name for ovh hosts  https://review.openstack.org/55977818:52
*** kstev has quit IRC18:56
*** kstev has joined #openstack-ansible18:56
*** chhagarw has joined #openstack-ansible18:58
*** adcpdk has joined #openstack-ansible18:59
adcpdkHI Team! I have a quick question regarding the supported hypervisor19:00
*** sep has quit IRC19:02
*** sep has joined #openstack-ansible19:03
odyssey4melogan- odd, I'm getting a failure importing dictutils, but only when running via ansible19:04
odyssey4meadcpdk what's the question19:04
adcpdkI was trying to add a compute host that would run on xen hypervisor 4.4, and selected nova-virt-type: kvm in opetnstack_user_config.yml. I was able to run the setup-hosts.yml playbook just fine, however when I tried to run # openstack-ansible setup-openstack.yml --skip-tags nova-key-distribute --limit compute-04 it failed19:05
adcpdk19:05
adcpdkfatal: [compute-04]: FAILED! => {"changed": false, "failed": true, "msg": "Unsupported Virt Type Provided [u'qemu', u'kvm', u'lxd', u'ironic', u'powervm']"}19:05
odyssey4meadcpdk and your question is?19:06
adcpdkdoes xen is a supported type of hypervisor for openstack?19:06
odyssey4meadcpdk no, as the error stated19:07
odyssey4meno-one has contributed any patches to make that work19:07
adcpdkI found some documentation that says that xen is supported19:07
odyssey4meby openstack sure, but not in OSA19:07
adcpdkhttps://books.google.ca/books?id=ZulODwAAQBAJ&pg=PA54&lpg=PA54&dq=nova_virt_type+xen&source=bl&ots=xGzaYAzB5M&sig=UKZIyMKNjSWZ__WElJs61iVjyPY&hl=en&sa=X&ved=0ahUKEwi0_v3llabaAhXD44MKHQXGB7AQ6AEIMTAB#v=onepage&q&f=false19:07
odyssey4meall it takes is figuring out the right config options, then pushing a patch up19:07
adcpdkhm, so I can't use this book as a reference I beleive?19:08
odyssey4meadcpdk it's a reference for openstack - but OSA is a deployment system which deploys whatever its contributors have made to work19:09
odyssey4meyou should be able to make it work with the config_override mechanism19:09
*** marwel has quit IRC19:10
adcpdkI will try to read about config_override19:11
adcpdkI have never done it yet, and don't have much of exerience with patching19:11
odyssey4meadcpdk https://docs.openstack.org/project-deploy-guide/openstack-ansible/pike/app-advanced-config-override.html and https://evrard.me/group-and-host-variables-overriding-in-openstack-ansible.html should give you enough to figure it out19:12
*** radeks has quit IRC19:12
*** marwel has joined #openstack-ansible19:12
*** radeks has joined #openstack-ansible19:13
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible stable/queens: Add container/service clean up for nova/cinder/heat  https://review.openstack.org/55972119:13
*** mbuil has quit IRC19:19
*** Administrator__ has joined #openstack-ansible19:26
*** Guest77189 has quit IRC19:29
adcpdkodyssey4me thank you I am reading upon that19:30
*** radeks has quit IRC19:31
*** marwel has quit IRC19:31
*** marwel has joined #openstack-ansible19:31
*** poopcat has quit IRC19:31
*** radeks has joined #openstack-ansible19:31
*** armaan has joined #openstack-ansible19:34
*** marwel has quit IRC19:37
*** marwel has joined #openstack-ansible19:39
*** mwe1 has quit IRC19:44
*** mwe1 has joined #openstack-ansible19:45
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: Fix osa_toolkit dictutils import  https://review.openstack.org/55982319:46
odyssey4meadmin0 evrardjp ^ found where the bug was causing the import fail19:47
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-tests stable/queens: Use the right hypervisor name for ovh hosts  https://review.openstack.org/55978519:48
adcpdkodyssey4me I have prepared the config, but still got the same error https://paste.ubuntu.com/p/xwPT5qrhP6/20:00
adcpdkfatal: [compute-04]: FAILED! => {"changed": false, "failed": true, "msg": "Unsupported Virt Type Provided [u'qemu', u'kvm', u'lxd', u'ironic', u'powervm']"}20:00
*** DanyC_ has quit IRC20:01
*** DanyC has joined #openstack-ansible20:01
*** DanyC has quit IRC20:02
*** DanyC has joined #openstack-ansible20:02
*** vincent has joined #openstack-ansible20:09
*** vincent is now known as Guest201020:09
odyssey4meadcpdk can you share the right configuration with me and I'll prep a patch to add support for it20:10
*** Administrator__ has quit IRC20:11
*** mhayden has quit IRC20:13
*** Guest2010 has quit IRC20:15
*** mhayden has joined #openstack-ansible20:15
*** Guest2010 has joined #openstack-ansible20:15
*** b1tsh1ft3r has joined #openstack-ansible20:20
*** poopcat has joined #openstack-ansible20:20
*** vakuznet has quit IRC20:23
adcpdkyou mean this? /etc/openstack_deploy/openstack_user_config.yml20:25
adcpdkodyssey4me20:25
adcpdkhttps://paste.ubuntu.com/p/HXhmdXzsg3/20:27
adcpdkhere is my openstack_user_config.yml configuration20:27
*** esberglu has quit IRC20:27
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible stable/queens: Add container/service clean up for nova/cinder/heat  https://review.openstack.org/55972120:28
*** esberglu has joined #openstack-ansible20:28
odyssey4meadcpdk no, I mean if you can work out the right nova.conf settings and whatever needs to be installed to get xeniapi to work, then we can add those in to patch the nova role to accept them20:29
odyssey4meat the moment, OSA does not accept the xen hypervisor as a supported hypervisor because we have no such configuration20:29
b1tsh1ft3rHey, extremely unsure where or what to check here. Im receiving the following error which is roadblocking me from getting a horizon lxc-container up and running again20:29
b1tsh1ft3rfailed: [infra1_horizon_container-f731b502] (item=/openstack/venvs/horizon-15.1.13/bin/horizon-manage.py compress --force) => {"changed": false, "failed": true, "item": "/openstack/venvs/horizon-15.1.13/bin/horizon-manage.py compress --force", "module_stderr": "Shared connection to 10.250.0.200 closed.\r\n", "module_stdout": "/bin/sh: fork: retry: No child processes\r\n/bin/sh: fork: retry: No child processes\r\n/bin/sh: f20:29
*** esberglu_ has joined #openstack-ansible20:30
odyssey4meb1tsh1ft3r looks like ansible is struggling - got enough ram on your deploy node?20:30
odyssey4meare you trying to use a lot of forks?20:30
b1tsh1ft3rNot on purpose heh. Just running the play and receiving that message20:31
*** esbergl__ has joined #openstack-ansible20:31
b1tsh1ft3rchecking resources on the deploy host though now that you mention it.20:31
*** esbergl__ is now known as esberglu__20:32
adcpdk odyssey4me it's done using libvirt and not xenpapi. From my inderstanding of the article I have sent you earlier only the following needs to be added to the nova.conf:20:32
adcpdkhttps://docs.openstack.org/ocata/config-reference/compute/hypervisor-xen-libvirt.html20:32
*** hw_wutianwei1 has joined #openstack-ansible20:32
odyssey4meb1tsh1ft3r you'll need quite a bit of ram to fit all the inventory stuff into memory20:32
adcpdkhttps://docs.openstack.org/ocata/config-reference/compute/hypervisor-xen-libvirt.html#configuring-xen-with-libvirt20:32
*** esberglu has quit IRC20:33
adcpdkodyssey4me in here I also see the same iconfig for nova.conf https://wiki.xenproject.org/wiki/OpenStack20:33
*** hw_wutianwei has quit IRC20:34
*** hw_wutianwei1 is now known as hw_wutianwei20:34
odyssey4meadcpdk updated guide here: https://docs.openstack.org/nova/latest/admin/configuration/hypervisor-xen-libvirt.html20:34
*** esberglu_ has quit IRC20:34
*** savvas_ has joined #openstack-ansible20:34
adcpdkok20:35
odyssey4meok, I can push up a patch to try out - but can't promise anything - you'll have to test and provide feedback20:35
adcpdkthis is my user_variables file: https://paste.ubuntu.com/p/7CNByXRCC9/20:36
*** pcaruana has quit IRC20:36
adcpdkthat is amazing20:37
adcpdkthank you20:37
*** esberglu__ is now known as esberglu20:37
adcpdklet me know when it's rready and what I need to do20:37
*** savvas has quit IRC20:37
adcpdke.g. download some git repo20:38
evrardjp[m]odyssey4me yes I know, that's the first thing I said. But I think we should properly package this20:38
evrardjp[m](the dictutils thing)20:38
b1tsh1ft3r@odyssey4me deploy host is fine with cpu and ram. Only seems to happen on the following task:  [os_horizon : Collect and compress static files]20:39
b1tsh1ft3ralso only on one lxc-container out of the 3 total horizon containers across 3 controllers20:40
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_nova master: [WIP] Add xen-libvirt support  https://review.openstack.org/55983420:41
evrardjp[m]omg pandoras box20:42
odyssey4meadcpdk open https://review.openstack.org/559834 -> download (top right) -> click on the 'copy to clipboard' for 'cherry pick' -> paste that into your os_nova role which should be in /etc/ansible/roles/20:42
evrardjp[m]what have you done ? ;)20:42
odyssey4meevrardjp[m] package it or get rid of it ;)20:43
odyssey4meI mean seriously....20:43
evrardjp[m]yes, i am writing the spec that will bring consensus i guess.20:45
*** chhagarw has quit IRC20:45
evrardjp[m]3rd one is the deal.20:45
odyssey4meevrardjp[m] sure, so for now we can help the queens users out by merging my patch :p20:45
odyssey4mewithout that patch, the upgrade patch I submitted totally fails. :/20:46
evrardjp[m]yes i will. i think it should be done differently but the gist is there. but i thinl there is another issue for some ppl.20:46
odyssey4mejmccrory you around perhaps? need another vote for https://review.openstack.org/55978520:46
evrardjp[m]odyssey4me it didn't fail for me20:47
odyssey4meevrardjp[m] yeah, wierdly not for me the first time either20:47
odyssey4mebut the second time on a clean install it did20:47
evrardjp[m]not surprised20:48
odyssey4methere seems to be some weird system pathing issue going on there, but the patch definitely does away with the problem as osa_toolkit is added to the system path20:48
odyssey4mealso, every other lib in osa_toolkit uses the same from os_toolkit ... mechanism20:48
evrardjp[m]well that's the thing20:48
evrardjp[m]let's discuss that tomorrow please20:49
odyssey4meoh sure, of course20:49
evrardjp[m]yes we should have that20:49
evrardjp[m]that's the minimum20:49
evrardjp[m]better is to avoid from osa_toolkit import x20:49
evrardjp[m]but import osa_toolkit.20:49
evrardjp[m]x20:49
evrardjp[m]proves one more bad practice20:50
*** ellopunk has quit IRC20:50
*** ansmith has quit IRC20:50
evrardjp[m]and the cli should be separated and loading this, but tangled... anyway. tomorrow !20:50
evrardjp[m]and we don't exercise this in tests...20:51
adcpdkodyssey4me this is what I got https://paste.ubuntu.com/p/xfmYXb8pXv/20:52
odyssey4meadcpdk yes, you'll need to setup git20:53
odyssey4meit gives you clear enough intstructions20:53
adcpdkok20:53
*** b1tsh1ft3r has quit IRC20:54
adcpdkI ave git configured with me email address https://paste.ubuntu.com/p/YjyY9XDyyn/20:55
odyssey4meadcpdk what branch/tag of OSA are you trying to patch this onto?20:55
odyssey4meoh, and I see you've got a dirty stash20:56
odyssey4meso something's been customised there20:56
*** hamza21 has quit IRC20:56
adcpdkI can just updated the defaults/main.yml manually, no?20:56
odyssey4megit status to see what's changed, then git checkout --yeah, you could20:56
adcpdkgit checkout -- defaults/main.yml worked20:58
adcpdkok done20:59
adcpdkwhat should I do now? re-run the script?20:59
*** Administrator__ has joined #openstack-ansible21:03
odyssey4meadcpdk: cd /opt/openstack-ansible; openstack-ansible os-nova-install.yml21:04
odyssey4mealthough now I realise there are other missing bits21:04
*** Guest2010 has quit IRC21:06
odyssey4meadcpdk are you doing this on an ubuntu or some other distro host, or is this installed from the the cd/dvd source?21:12
adcpdkubuntu 16.04.321:12
adcpdkubuntu server 16.04.321:12
odyssey4meok, I'm setting one up to see if I can get it working a little quicker21:13
adcpdkfatal: [compute-04]: FAILED! => {"failed": true, "msg": "'nova_firewall_driver' is undefined"}21:13
adcpdkjust so you know, I do really appreciate the work you do for the community21:14
adcpdkthanks21:14
adcpdkthis is the command I ran21:14
adcpdk```21:14
adcpdkccn@kvm01:/opt/openstack-ansible/playbooks$ sudo openstack-ansible os-nova-install.yml --skip-tags nova-key-distribute --limit compute-0421:14
adcpdk```21:14
odyssey4meadcpdk hmm, what branch/tag are you basing this from?21:14
adcpdkI believe 16.0.521:15
odyssey4meah, pike - ok21:15
adcpdkyes21:15
odyssey4mesimilar to this, add that var to the defaults: https://github.com/openstack/openstack-ansible-os_nova/blob/stable/pike/defaults/main.yml#L14821:15
odyssey4methat variable doesn't exist for queens/rocky21:16
adcpdkshould I add it to xen hypervisor config as weell?21:18
odyssey4meadcpdk not sure what you mean by that?21:18
adcpdk/etc/ansible/roles/os_nova/defaults/main.yml should I change this file?21:19
odyssey4meyes, add that line I highlighted to the same new structure for xen21:19
adcpdkand just add     nova_firewall_driver: nova.virt.firewall.NoopFirewallDriver line for xen:21:20
odyssey4meyes21:20
adcpdkok21:20
odyssey4mefyi, the likelihood of this patch ever making it into pike is very, very low - nor queens... maybe rocky21:20
odyssey4mewhich means if you need this, you'll need to fork the repo and keep it updated - it's a bit of technical debt, but it is not uncommon to do this sort of thing21:21
adcpdkI see21:21
adcpdkso that means that OSA community is not going to add xen functionality infuture deployements as well?21:22
odyssey4methat said, we can try and make it work - then there will be support from rocky onwards21:22
odyssey4meyou're the first to want xen support ;)21:22
adcpdk)))21:22
adcpdksorry21:22
adcpdkI think I will need to add this one as well nova_scheduler_use_baremetal_filters21:23
odyssey4meand OSA is a community of contributors who have their own needs to meet21:23
odyssey4meah yes, that seems sensible21:23
odyssey4megood thinking :)21:23
adcpdkI see now21:24
adcpdkXEN makes a lot of sense from my POV, it provides almost as native hardware performance21:25
adcpdkthere is another one21:25
adcpdkfatal: [compute-04]: FAILED! => {"failed": true, "reason": "the file_name '/opt/openstack-ansible/playbooks/common-playbooks/drivers/xen/nova_compute_xen.yml' does not exist, or is not readable"}21:25
odyssey4meyeah, I thought that might happen21:26
adcpdkis it related to my user_variables.yml?21:27
odyssey4mein the os_nova role again, try symlink drivers/xen to the drivers/kvm folder21:27
odyssey4meI don't think it'll work, but it's worth a try21:27
adcpdkwait is it drivers to interact with lbvirt-xen21:27
odyssey4meone of the problems with adding xen support is that we have no way to really test it in a cloud, which is what all openstack tests on21:28
tomtom001cloudnull, hey thanks for the info!  I watched the log as it was running and the process still just seems to die in the middle of the apt-get install -y.  Disk space does not seem to be an issue, but this process does seem to take more than an hour to "complete" (which means just die). I tried to adjust the timeout and deleted ansible facts and all that but no matter what I do I can't seem to21:29
tomtom001get past this issue.  I'm stumped unless you have some other advice.   What else do you nuke to get this working?21:29
odyssey4mewell, what's happening now is that ansible is looking for the tasks to do the hypervisor-specific things it needs... and we haven't added any21:29
odyssey4metomtom001 do you perhaps have a really, really slow mirror?21:29
odyssey4meor bad connection or whatever21:29
odyssey4meif so, you can override the timeout: https://github.com/openstack/openstack-ansible-lxc_hosts/blob/master/defaults/main.yml#L170-L17421:30
odyssey4me20 mins is a long time though21:30
adcpdkI don't have the drivers folder under /opt/openstack-ansible/playbooks/common-playbooks/21:30
odyssey4meadcpdk no, not there - it's in the /etc/ansible/roles/os_nova/tasks folder21:31
tomtom001Maybe, but I'm not like selecting a mirror, I'm just using whatever came with the git pull stable/pike.  How is the mirror chosen?21:31
odyssey4metomtom001 the default will be to use whatever's configured on the host21:31
tomtom001Ok, so it's in /etc/apt?21:32
odyssey4metomtom001 /etc/apt/sources.list21:32
*** vincent has joined #openstack-ansible21:33
tomtom001ok thanks I'll check that21:33
*** vincent is now known as Guest1452121:33
*** Administrator__ has quit IRC21:35
openstackgerritMerged openstack/openstack-ansible-tests stable/queens: Use the right hypervisor name for ovh hosts  https://review.openstack.org/55978521:37
adcpdkodyssey4me like this https://paste.ubuntu.com/p/HjxJ4QZh7N/21:40
adcpdk?21:40
odyssey4meadcpdk yeah, that's worth a try21:40
adcpdkstill get this21:41
adcpdkfatal: [compute-04]: FAILED! => {"failed": true, "reason": "the file_name '/opt/openstack-ansible/playbooks/common-playbooks/drivers/xen/nova_compute_xen.yml' does not exist, or is not readable"}21:41
odyssey4meI have a host busy prepping to try the same out.21:41
adcpdknp21:41
adcpdkso that file /opt/openstack-ansible/playbooks/common-playbooks/drivers/xen/nova_compute_xen.yml21:41
adcpdkactually is not there21:41
odyssey4meAh yes, you'll need another symlink from tasks/drivers/kvm/nova_compute_xen.yml to tasks/drivers/kvm/nova_compute_kvm.yml21:42
adcpdkok21:42
adcpdkthanks21:42
odyssey4meyes, of course it's not because we're busy doing a new implementation for it ;)21:42
adcpdklooks good now21:47
adcpdkran fine21:47
*** ansmith has joined #openstack-ansible21:47
odyssey4meso once it's done, the real question would be whether it works as expected21:50
odyssey4mecloudnull heh, I just did the aio bootstrap on a physical host and the dns is gone21:51
odyssey4menetworking fine, but dns is kaput21:51
odyssey4mehow should it be resolving now?21:51
adcpdkodyssey4me weird, I don't have the new compute node in openstack21:52
odyssey4meadcpdk check the nova logs on the node21:53
adcpdkhttps://docs.openstack.org/openstack-ansible/newton/developer-docs/ops-add-computehost.html that's the playbooks I used21:53
openstackgerritMerged openstack/openstack-ansible master: Use a sensible vlan range in the example configs  https://review.openstack.org/55976321:57
odyssey4meif any cores are around, the earlier discussions related to dictutils import failures are fixed by https://review.openstack.org/55982321:58
*** kstev has quit IRC21:59
*** Guest14521 has quit IRC22:00
*** Guest14521 has joined #openstack-ansible22:00
adcpdkshould I restart the controller?22:05
adcpdknova is not running on cumpute node22:07
adcpdkRestarted after I ran all the playbooks22:07
adcpdkodyssey4me look at the driver section, number 12 and 13 https://books.google.ca/books?id=ZulODwAAQBAJ&pg=PA54&lpg=PA54&dq=nova_virt_type+xen&source=bl&ots=xGzaYAzB5M&sig=UKZIyMKNjSWZ__WElJs61iVjyPY&hl=en&sa=X&ved=0ahUKEwi0_v3llabaAhXD44MKHQXGB7AQ6AEIMTAB#v=onepage&q&f=false22:09
adcpdkpage5522:09
*** ianychoi has quit IRC22:10
*** ianychoi has joined #openstack-ansible22:11
odyssey4meadcpdk I have no access to it :/22:12
*** DanyC has quit IRC22:14
*** DanyC has joined #openstack-ansible22:15
*** Administrator__ has joined #openstack-ansible22:15
*** savvas_ has quit IRC22:17
*** Guest14521 has quit IRC22:19
adcpdkShould I use juno release that mentioned in that book maybe?22:19
*** DanyC has quit IRC22:19
adcpdkhold on22:19
adcpdkI have the new compute host22:19
odyssey4meadcpdk oh no, definitely not juno22:21
odyssey4meand yes, it may take some time for a new compute to show22:21
odyssey4meI'm out for the night - let me know if things are working right, nor not.22:21
odyssey4meI'll update the patch tomorrow based on your feedback.22:21
adcpdkhow can I choose between hypervisors?22:21
adcpdkI can see the new compute host, but I will test it and let you know22:22
odyssey4meI expect you may need to do some image setup, and maybe hypervisor22:22
odyssey4menot sure how it all works, you'll have to figure it out and find docs22:22
odyssey4menight all22:22
adcpdkgood night22:23
*** esberglu has quit IRC22:27
adcpdkthe instance failed due to some issues with networking: https://paste.ubuntu.com/p/Rdkrwkc973/22:28
*** esberglu has joined #openstack-ansible22:28
*** esberglu_ has joined #openstack-ansible22:29
*** esberglu has quit IRC22:33
*** esberglu_ has quit IRC22:34
*** dave-mcc_ has quit IRC22:49
*** esberglu has joined #openstack-ansible22:50
*** throwsb1 has quit IRC22:58
*** lbragstad has quit IRC23:17
*** radeks has quit IRC23:22
*** radeks has joined #openstack-ansible23:30
*** radeks has quit IRC23:34
*** lbragstad has joined #openstack-ansible23:36
*** cjloader has quit IRC23:39
*** mwe1 has quit IRC23:46
*** lbragstad has quit IRC23:47
*** mwe1 has joined #openstack-ansible23:47
*** exodusftw has quit IRC23:58

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