Friday, 2019-06-28

*** hamzy has joined #openstack-ansible00:38
openstackgerritMerged openstack/openstack-ansible master: Fix octaiva amphora ram variable name  https://review.opendev.org/66780900:59
openstackgerritMerged openstack/openstack-ansible master: Restrict the number of sahara processes and threads in AIO  https://review.opendev.org/66801900:59
openstackgerritMerged openstack/openstack-ansible master: ceph: stop adding repos  https://review.opendev.org/66118601:12
openstackgerritchenker proposed openstack/openstack-ansible-os_zun master: Switch to the new canonical constraints URL on master  https://review.opendev.org/66656401:45
*** CeeMac has quit IRC02:28
*** schwicht has joined #openstack-ansible02:47
*** schwicht has quit IRC03:10
*** schwicht has joined #openstack-ansible03:33
*** raukadah is now known as chandankumar03:37
*** schwicht has quit IRC03:38
*** schwicht has joined #openstack-ansible04:21
*** udesale has joined #openstack-ansible04:24
*** schwicht has quit IRC04:31
*** pcaruana has joined #openstack-ansible04:36
*** hwoarang has quit IRC05:16
*** hwoarang has joined #openstack-ansible05:19
*** ivve has quit IRC05:43
*** luksky has joined #openstack-ansible05:45
*** jbadiapa has quit IRC05:46
*** gkadam has joined #openstack-ansible05:50
*** schwicht has joined #openstack-ansible05:55
*** schwicht has quit IRC06:00
*** schwicht has joined #openstack-ansible06:15
*** gkadam has quit IRC06:17
openstackgerritMerged openstack/openstack-ansible-os_nova master: Switch to openSUSE Leap 15.1  https://review.opendev.org/66606206:22
*** ivve has joined #openstack-ansible06:22
*** kopecmartin|off is now known as kopecmartin06:24
*** cshen has joined #openstack-ansible06:26
*** gkadam has joined #openstack-ansible06:44
*** csmart has quit IRC06:52
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-os_ironic master: Add integrated coverage  https://review.opendev.org/66008306:57
*** csmart has joined #openstack-ansible06:59
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible master: Bump SHAs for master  https://review.opendev.org/66554107:00
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: Restrict the number of octavia processes and threads in AIO  https://review.opendev.org/66794107:01
*** jbadiapa has joined #openstack-ansible07:04
evrardjpnoonedeadpunk: Not sure what you meant07:07
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_octavia master: Add support for using distribution packages for OpenStack services  https://review.opendev.org/65204907:11
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible master: Imported Translations from Zanata  https://review.opendev.org/66560007:17
openstackgerritJonathan Rosser proposed openstack/openstack-ansible stable/stein: Reduce the RAM allocation for the octavia amphora flavor in AIO/CI  https://review.opendev.org/66778907:18
*** schwicht has quit IRC07:18
evrardjpjrosser: wow distro packages support07:21
jrosserYeah looks like someone did a bunch of work there for Octavia so I thought I’d try to move it along07:23
evrardjpyeah that's very nice07:24
evrardjpI am marking this in my map07:24
evrardjpironic, octavia, trove and zune, tacker are missing those07:25
*** tosky has joined #openstack-ansible07:25
evrardjpand congress07:26
evrardjpif we focus on ironic and octavia, it would be already a good win (not the one who gives points)07:27
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_octavia master: [WIP] Add SUSE support  https://review.opendev.org/66036707:41
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-os_mistral master: Use the dynamic aio scenario  https://review.opendev.org/65844807:44
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_tempest master: Update distro package names for openSUSE Leap 15.1  https://review.opendev.org/66730207:46
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_tempest master: Update distro package names for openSUSE Leap 15.1  https://review.opendev.org/66730207:46
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_cinder master: Install openSUSE distro packages selectively.  https://review.opendev.org/66805607:52
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_keystone master: Update distro package names for openSUSE Leap 15.1  https://review.opendev.org/66805707:58
*** CeeMac has joined #openstack-ansible07:58
CeeMacMorning07:58
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_heat master: Tidy distro package lists for openSUSE Leap 15.1  https://review.opendev.org/66805508:01
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_glance master: Update distro package names for openSUSE Leap 15.1  https://review.opendev.org/66805808:04
openstackgerritMerged openstack/openstack-ansible-os_keystone master: db_setup: refactor database setup to a common file  https://review.opendev.org/65703608:04
*** Emine has joined #openstack-ansible08:08
*** flaviosr_ has joined #openstack-ansible08:11
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_neutron master: Remove ovs-nsh repo for openSUSE packages  https://review.opendev.org/66730308:11
*** flaviosr has quit IRC08:15
*** sum12 has joined #openstack-ansible08:17
evrardjpdirk: I said jrosser you wouldn't mind if he updates your patch with little details . ^08:18
*** rgogunskiy has joined #openstack-ansible08:28
*** noonedeadpunk has joined #openstack-ansible08:33
*** noonedeadpunk has left #openstack-ansible08:34
*** noonedeadpunk has joined #openstack-ansible08:37
openstackgerritDirk Mueller proposed openstack/openstack-ansible-os_keystone master: Update distro package names for openSUSE Leap 15.1  https://review.opendev.org/66805708:42
ChosSimbaOneMorning. So quick question. If i setup my openstack wth an existing ceph cluster, is there any need to configure the br-storage on infrastructure and compute nodes?08:46
ChosSimbaOneMorning. So quick question. If i setup my openstack wth an existing ceph cluster, is there any need to configure the br-storage on infrastructure and compute nodes?08:46
*** schwicht has joined #openstack-ansible08:47
noonedeadpunkChosSimbaOne: Sure, since cinder needs to access your ceph storage and manage rbd08:48
noonedeadpunkand your instances needs to have access to ceph as well (it's for compute nodes)08:49
ChosSimbaOnesorry for double post. spotty wifi.08:51
noonedeadpunkofc if you're using IB and not able to create bridge (since ipoib works on l3 and bridge on l2), you may do a trick and use sr-iov w/o bridges08:52
*** schwicht has quit IRC08:52
noonedeadpunk*br-storage08:52
*** noonedeadpunk[m] has joined #openstack-ansible08:52
noonedeadpunkbut if you don't have such limitations, build bridges :)08:54
*** noonedeadpunk[m] has quit IRC08:54
*** flaviosr__ has joined #openstack-ansible08:56
*** noonedeadpunk[m] has joined #openstack-ansible08:57
jrosserevrardjp: look - distro passed! https://review.opendev.org/#/c/652049/08:58
*** flaviosr__ has quit IRC08:59
*** noonedeadpunk[m] has quit IRC08:59
ChosSimbaOnenoonedeadpunk: thank you for the input :)08:59
*** flaviosr_ has quit IRC09:00
*** flaviosr has joined #openstack-ansible09:00
*** sum12 has quit IRC09:00
*** sum12 has joined #openstack-ansible09:02
*** hamzaachi has joined #openstack-ansible09:03
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_octavia master: Update default test amphora image from xenial to bionic  https://review.opendev.org/66708509:03
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_octavia master: Ensure that admin endpoint is used to configure octavia quota  https://review.opendev.org/66455109:05
*** ansmith has joined #openstack-ansible09:07
*** jbadiapa has quit IRC09:09
*** ansmith_ has quit IRC09:09
*** jbadiapa has joined #openstack-ansible09:10
*** cshen has quit IRC09:17
*** trident has quit IRC09:27
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-os_keystone master: Convert dynamic includes to static imports  https://review.opendev.org/66513909:29
*** trident has joined #openstack-ansible09:29
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-lxc_hosts stable/rocky: Fix image fetching process for leap 15 and 42.3  https://review.opendev.org/64885409:32
*** schwicht has joined #openstack-ansible09:32
*** cshen has joined #openstack-ansible09:33
*** schwicht has quit IRC09:37
*** cshen has quit IRC09:37
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible master: Reduce disk requirements for metal installations  https://review.opendev.org/66813109:41
evrardjpjrosser: sadly I had a convo with dirk, and I am guessing all those "green" jobs are doing noops on tempest :p09:41
evrardjpdirk you might want to check https://review.opendev.org/668131 for running OSA within your constrained vm :p09:42
evrardjpelse, bring a bigger system disk! :)09:42
jrosserevrardjp: for octavia there looks to have beena quite deliberate decision not to whitelist the tempest tests09:44
evrardjpahah09:50
evrardjpso it means we can ship things that don't work?09:50
evrardjpgreat09:50
evrardjpjrosser: I guess we should merge this real quick then :)09:51
jrosserevrardjp: here https://github.com/openstack/openstack-ansible-os_tempest/blob/master/defaults/main.yml#L84-L9809:52
evrardjpjrosser: or do you want to clean up to use the integrated directly?09:52
jrosseram i understanding this right - that actually for the majority of non-core things we load up but dont whitelist their tempest plugin09:52
jrosserso actually the specific testsuites dont run09:52
evrardjpwell09:52
evrardjpwe have history here09:52
jrosseryeah09:53
evrardjpso in the past tempest role defaults were for the integrated09:53
evrardjpand role had an <rolename>-overrides which contained the whitelist09:53
evrardjpnow that we move everything back to the integrated, we should do things properly09:53
evrardjpI am not sure how we do it yet09:53
jrossergiven that the tempest role autodetects what is installed, this should be relatively OK?09:54
evrardjpI would have hoped we copy the whole <rolename>-overrides.yml into user_variables_<rolename>09:54
jrosserlike all the tempest_service_available_<service> vars are already there09:54
evrardjpdo we use this to auto change the whitelist?09:54
evrardjpAfaik, we don't09:54
jrosserwell yes, see the link i posted just now ^^09:55
evrardjphttps://github.com/openstack/openstack-ansible/blob/a63b3cbcb24f51a6dff0af2533482b6ba5baeefb/tests/roles/bootstrap-host/tasks/prepare_aio_config.yml#L176-L17809:55
evrardjpyour thing above is just the defaults, not the fact we have any override :)09:56
*** ivve has quit IRC09:56
jrosseri'm not sure that the whitelist can be an override any more09:57
*** emine__ has joined #openstack-ansible09:57
evrardjpcan or should?09:57
jrosserwell, aio_metal_octavia_barbican <-- whose override for the whitelist shall we take?09:58
evrardjpyeah, this is my point... We can do it, it's just unreliable. We should do autodiscovery into tempest09:59
evrardjpbut we're not09:59
evrardjpI will propose this09:59
*** Emine has quit IRC10:00
evrardjpif tempest_service_available_neutron is True, then add neutron tests into the test_whitelist10:00
evrardjpbasically continue what we are already doing10:00
evrardjpbut with all roles10:00
jrosserso add more entries in the defaults in os_tempest?10:01
evrardjpcorrect10:01
jrosserright we are on the same page10:01
evrardjpI will do that today10:02
*** cshen has joined #openstack-ansible10:06
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_tempest master: Whitelist octavia tests when octavia service is present  https://review.opendev.org/66813610:06
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_octavia master: [DNM] test patch  https://review.opendev.org/66813710:08
noonedeadpunkfolks, I'll be away for the next 2 weeks10:09
noonedeadpunkbut some reviews on https://review.opendev.org/#/q/owner:noonedeadpunk%2540ya.ru+status:open+NOT+label:Verified-1+NOT+label:Workflow-1 are still appreciated:)10:09
*** cshen has quit IRC10:11
*** CeeMac has quit IRC10:16
evrardjpnoonedeadpunk: enjoy ! I will be off next week too.10:25
*** schwicht has joined #openstack-ansible10:27
*** schwicht has quit IRC10:33
*** ivve has joined #openstack-ansible10:40
*** schwicht has joined #openstack-ansible10:50
*** cshen has joined #openstack-ansible10:52
*** schwicht has quit IRC10:59
*** kplant has joined #openstack-ansible11:14
openstackgerritMerged openstack/openstack-ansible-tests stable/stein: Revert defining tempest_install_method for tests  https://review.opendev.org/66664111:16
*** schwicht has joined #openstack-ansible11:25
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-os_keystone master: service_setup: refactor service setup to a single file  https://review.opendev.org/66516711:31
*** CeeMac has joined #openstack-ansible11:31
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-os_glance master: service_setup: refactor service setup to a single file  https://review.opendev.org/66537211:31
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-os_cinder master: service_setup: refactor service setup to a single file  https://review.opendev.org/66560711:32
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-os_tempest master: Re-establish coverage  https://review.opendev.org/66814711:32
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-os_nova master: service_setup: refactor service setup to a single file  https://review.opendev.org/66564811:32
chandankumarHello11:35
chandankumaris it possible in ansible to look for clouds.yaml at particular path instead of /etc/11:36
evrardjpmmm11:36
evrardjpit should11:36
evrardjpif it's in your environment11:36
evrardjp~/.config/openstack/11:36
chandankumarif someone run ansible playbook as become true then it looks at /etc11:36
chandankumarthat time user become sudo user , ~ -> /root11:36
evrardjpdo you have something in /root/.config/openstack ?11:37
chandankumarevrardjp: nope11:37
evrardjpor do you want to point to a specific file?11:37
chandankumarevrardjp: I want to point to a specific file11:37
evrardjpwhy not making the file at the standard locations?11:37
evrardjpchandankumar: do you run a command, or do you run an ansible module?11:38
chandankumarevrardjp: I have done this https://review.opendev.org/#/c/667323/3/playbooks/tempest.yml@1511:38
chandankumarbut os_tempest is running there as a root11:39
chandankumarand there is no /root/.config/openstack dir11:39
chandankumarand nothing in /etc/openstack11:39
chandankumarso it is saying cloud not found11:39
evrardjpwhat do you want to achieve?11:39
evrardjpif you're running as root it's simple, just make that in /etc/openstack or /root/.config/openstack11:40
evrardjpif you run in the CLI you have the opportunity to use currentdir too, but it's more complex than it should do11:40
chandankumarthe goal here is to run os_tempest on overcloud by using /home/user/.config/openstack/cloud.yaml file only11:40
evrardjpthat sounds reasonable11:40
evrardjpwhy do you run become: true then?11:41
noonedeadpunkevrardjp: I think it works http://logs.openstack.org/54/648854/12/check/openstack-ansible-functional-opensuse-150/e7f8803/logs/ara-report/result/aceb5266-eb69-4bad-aa30-6d7551dca82d/11:41
evrardjpchandankumar: if you really want you can mess up with USER_CONFIG_DIR but I wouldn't recommend it11:41
noonedeadpunkThe point is that rocky wasn't ready to work with the new lxc, which is now shipped, so container creation fails afterwards11:41
chandankumarevrardjp: os_tempest needs sudo privilages for installing tempest relatd dustro package11:41
noonedeadpunkbut it's another thing to fix...11:41
chandankumar*distro packages11:42
evrardjpchandankumar: I mean if you want to run as root anyway, why not making the user level config file available as root?11:42
evrardjpas you tried above, OS_CLIENT_CONFIG_FILE is something you can use too11:43
evrardjpnoonedeadpunk: oh I see11:43
evrardjpsorry I didn't check in details11:44
noonedeadpunksince http://logs.openstack.org/54/648854/12/check/openstack-ansible-lxc-dir-opensuse-150/a1e0966/logs/ara-report/ fails on lxc_container_create but not on lxc_host11:44
evrardjpyeah got it11:44
evrardjpjrosser: let's see how long this bad boy will take: https://review.opendev.org/#/c/668147/11:44
evrardjpjrosser: if that doesn't work, I will make something in bootstrap aio11:45
noonedeadpunkI'm really pretty afraid about execution time....11:46
evrardjpyup, but that's what we got when we decided to go for one repo :p11:47
evrardjpI said there was a reason we spread the tests into multiple repos11:47
evrardjp:D11:47
evrardjpI will think about something and propose an alternative patch11:47
chandankumarovercloud deployment is done by a normal user become_true is called when I am calling os_tempest role https://github.com/openstack/tripleo-quickstart-extras/blob/master/playbooks/tempest.yml#L5311:48
chandankumarcan I add one task in tempest resource to look for different places for clouds.yaml and set env var for os_client_config_file?11:48
*** hamzaachi has quit IRC11:49
evrardjpI would just change the your call to have that exposed11:49
noonedeadpunkIt looks good. The point is that your reason is pretty weighty one :)11:49
openstackgerritMerged openstack/openstack-ansible master: Restrict the number of octavia processes and threads in AIO  https://review.opendev.org/66794111:50
chandankumarevrardjp: I am a big idiot11:52
* chandankumar used export export os_client_config_file11:52
chandankumarthat's why export is getting exported11:52
chandankumarand there is on overcloud cloud found11:52
chandankumarsorry11:53
*** schwicht has quit IRC11:56
noonedeadpunkevrardjp: btw, I've added a disclaimer for https://review.opendev.org/#/q/topic:osa/service-refactor+(status:open+OR+status:merged) - thanks for this tip11:57
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-os_tempest master: Add barbican tempest plugin for distro installs  https://review.opendev.org/66815511:59
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-os_tempest master: Add barbican tempest plugin for distro installs  https://review.opendev.org/66815512:00
*** ansmith_ has joined #openstack-ansible12:02
*** ansmith has quit IRC12:02
openstackgerritMerged openstack/openstack-ansible master: Restrict the number of placement processes and threads in AIO  https://review.opendev.org/66789812:06
openstackgerritDirk Mueller proposed openstack/openstack-ansible-os_barbican master: Use secure persmissions for barbican configuration  https://review.opendev.org/66815912:10
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-os_tempest master: Add tempest plugin for distro installs  https://review.opendev.org/66815512:16
evrardjpthanks noonedeadpunk for the change12:17
evrardjpI have updated the tempest plugins things12:17
*** schwicht has joined #openstack-ansible12:18
openstackgerritDirk Mueller proposed openstack/openstack-ansible-os_heat master: Switch to openSUSE Leap 15.1  https://review.opendev.org/66805512:20
openstackgerritDirk Mueller proposed openstack/openstack-ansible-os_heat master: Tidy distro package lists for openSUSE Leap 15.1  https://review.opendev.org/66805512:20
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_octavia master: Updated certificate distribution task  https://review.opendev.org/65766212:21
*** udesale has quit IRC12:22
*** udesale has joined #openstack-ansible12:23
evrardjpdirk: on the barbican config, I understand why in this case we would do this, but I wonder if we shouldn't do this by default to all the config files12:26
evrardjpI am not sure about the impact for the service users to have write access to their config12:27
evrardjpbut I am also not seeing a reason why the services users should have write access to those at all12:28
*** electrofelix has joined #openstack-ansible12:29
*** schwicht has quit IRC12:30
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-galera_server master: Make mariadb bind address configurable  https://review.opendev.org/66816412:36
*** shyamb has joined #openstack-ansible12:37
*** jbadiapa has quit IRC12:37
*** schwicht has joined #openstack-ansible12:40
*** pcaruana has quit IRC12:40
dirkevrardjp: most services did actually have proper permissions (not writeable by the service itself)12:40
dirkevrardjp: yes, its an obvious security blunder.12:41
*** pcaruana has joined #openstack-ansible12:41
evrardjpchandankumar: ahah glad you found it12:42
evrardjpand... don't beat yourself !12:43
noonedeadpunkevrardjp: I'm not sure that it's worth adding extra variable, since this should be easily overridable. Probably I'm missing some important point (as usual)12:44
noonedeadpunkand by default everything is br-lxc and br-mgmt which tend to be pretty secure...12:45
noonedeadpunkexcept metal....12:45
*** KurtB has joined #openstack-ansible12:48
openstackgerritDirk Mueller proposed openstack/openstack-ansible stable/stein: Remove experimental opensuse jobs from periodic  https://review.opendev.org/66816712:50
*** schwicht has quit IRC12:53
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible master: Install iptables on AIO by default  https://review.opendev.org/66816912:55
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible master: Remove duplicate vars  https://review.opendev.org/66817012:56
openstackgerritDirk Mueller proposed openstack/openstack-ansible-os_cinder master: Install openSUSE distro packages selectively  https://review.opendev.org/66805612:57
openstackgerritDirk Mueller proposed openstack/openstack-ansible-os_glance master: Update distro package names for openSUSE Leap 15.1  https://review.opendev.org/66805812:58
*** ivve has quit IRC13:04
*** shyamb has quit IRC13:07
evrardjpnoonedeadpunk: I am adding this var for metal13:07
evrardjp(I suppose you're talking about bind_address)13:07
evrardjphaha my brain was confused with another config file13:08
noonedeadpunkyep about https://review.opendev.org/#/c/668164/13:09
noonedeadpunkI mean do we really-really need this?13:09
noonedeadpunkoh, you already abandoned it)13:09
*** shyamb has joined #openstack-ansible13:10
*** shyamb has quit IRC13:15
openstackgerritMerged openstack/openstack-ansible-os_zun master: Convert dynamic includes to static imports  https://review.opendev.org/66682913:16
*** gkadam_ has joined #openstack-ansible13:21
*** gkadam has quit IRC13:22
ionihttps://docs.openstack.org/project-deploy-guide/openstack-ansible/stein/targethosts.html13:24
ioniubuntu 16.04 is still supported in stein?13:24
evrardjpioni: isn't rocky the last xenial one?13:26
ionithat's why i'm asking13:26
ionii didn't updated to stein because i knew that 16.04 is not supported13:27
ionibut in documentation is different13:27
*** BjoernT has joined #openstack-ansible13:42
*** jbadiapa has joined #openstack-ansible13:42
*** schwicht has joined #openstack-ansible13:43
openstackgerritMerged openstack/openstack-ansible-os_keystone master: Convert dynamic includes to static imports  https://review.opendev.org/66513913:44
*** spatel has joined #openstack-ansible13:48
*** hamzaachi has joined #openstack-ansible13:49
openstackgerritMerged openstack/openstack-ansible-os_cinder master: Convert dynamic includes to static imports  https://review.opendev.org/66561213:49
*** trident has quit IRC13:56
*** trident has joined #openstack-ansible13:58
spatelCan someone help me related octavia lbaas-mgmt network setup, i think i am confused somewhere and need help to get out.14:11
spatelThis is my 3 node controller config - http://paste.openstack.org/show/753565/14:11
*** jbadiapa has quit IRC14:12
spatelMy question is how amphora vm hook up lbaas-mgmt over br-vlan?14:12
*** jbadiapa has joined #openstack-ansible14:12
spatelmnaser: i think you are running octavia, you may can help me out.14:13
spatelI found this article - https://github.com/rcbops/rpc-octavia/blob/master/INSTALLATION.md14:13
spatelvery few document on official website explaining details so hard to understand14:14
*** mwe1 has quit IRC14:18
openstackgerritMerged openstack/openstack-ansible-os_octavia master: Add support for using distribution packages for OpenStack services  https://review.opendev.org/65204914:18
openstackgerritMerged openstack/openstack-ansible-os_octavia master: db_setup: refactor database setup to a common file  https://review.opendev.org/66488814:18
guilhermespmornings14:20
guilhermesplogan-: around ?14:20
*** gkadam_ has quit IRC14:21
*** CeeMac has quit IRC14:26
*** SmearedBeard has joined #openstack-ansible14:29
openstackgerritBjoern Teipel proposed openstack/openstack-ansible master: Revert ansible-playbook link to the unmodified binary  https://review.opendev.org/66818514:32
openstackgerritBjoern Teipel proposed openstack/openstack-ansible master: Revert ansible-playbook link to the unmodified binary  https://review.opendev.org/66818514:36
Nick_Ahow would I modify lxc config with openstack-ansible? running lxd computes with nova-lxd14:41
*** cshen has quit IRC14:54
evrardjpNick_A: two different things: nova-lxd is for "tenants" of your openstack. We are using LXC for control plane of openstack (optional, but default). What do you mean here?14:54
jrosserNick_A: if you look at our nova CI tests you can see that we set one up to run nova-lxd15:04
*** ansmith_ has quit IRC15:04
jrosserNick_A: seeing how that test is set up should be a good starting point for making real nova-lxd computes15:04
jrosserNick_A: here is a ramdom example of that https://review.opendev.org/#/c/665648/ - see the "openstack-ansible-deploy-aio_metal_lxd-ubuntu-bionic" job15:05
jrosserspatel: the multi-node-aio in the ops repo was set up to do octavia tests, that should show you what is needed15:07
*** SmearedBeard has quit IRC15:09
*** SmearedBeard has joined #openstack-ansible15:10
Nick_ALet me rephrase - we're trying to modify lxd config for nova-lxd via lxc config commands. Is there a way to do that with openstack-ansible?15:11
spateljrosser: oh okay.. i have AIO but never deploy multi-node-aio15:11
spateljrosser: i am almost done with 3 node controller and just need final touch to finish it :)15:12
jrosserWell maybe don’t deploy it, use it as reference15:12
jrosserNick_A: what exactly are you trying to change?15:13
Nick_Asomething like images.remote_cache_expiry15:13
Nick_Abasically is there a way to run a command like "lxc config set images.auto_update_interval 0" with openstack-ansible ?15:17
jrosserso this is the extent of the setup we do for LXD https://github.com/openstack/openstack-ansible-os_nova/blob/377588a57c157611de108cde6d89bf769af168ab/tasks/drivers/lxd/nova_compute_lxd.yml15:20
logan-guilhermesp: o/15:22
guilhermespah nvm logan- I think I figured out... actually was about ceph rgw playbook15:25
guilhermespit adds swiftoperator role15:25
guilhermespbut ceph.conf needs to allow this role15:25
guilhermesplike15:25
guilhermesprgw keystone accepted roles = {accepted user roles}15:25
guilhermesphttp://docs.ceph.com/docs/mimic/radosgw/keystone/15:26
guilhermespwith a clean rgw installation, when I try to access the object storage in horizon it pops me out like I'm not authorized15:26
guilhermespso I think should be this missing config, which I'm going to apply using ceph_conf_overrides_rgw ( https://docs.openstack.org/openstack-ansible/latest/user/ceph/swift.html )15:27
jrosserNick_A: is that setting you need in an LXD profile? or is it a more global LXD configuration?15:27
Nick_Athe latter I believe15:28
Nick_Adouble checking15:29
jrosserif it's an LXD profile there is an ansible module for that so should be very easy to add some support15:30
jrosserguilhermesp: https://github.com/openstack/openstack-ansible/blob/4bc8c748a654b833c902268c6c0ae2ed4c52bdcf/inventory/group_vars/ceph-rgw.yml ?15:33
*** CeeMac has joined #openstack-ansible15:36
*** chandankumar is now known as raukadah15:40
Nick_Amaybe we're using a default profile, not sure. we will take a look.15:49
*** schwicht has quit IRC15:53
jrosserNick_A: if you can figure out if it's in a profile or a global config we can see what needs doing15:55
guilhermesphum jrosser I have added this in grou_vars/ceph-rgw.yml. Actually just the accepted roles option15:57
guilhermespbut seems to not work15:57
*** schwicht has joined #openstack-ansible15:58
Nick_Ajrosser it's just a server config, not a profile afaik15:58
jrosserNick_A: OK - we can maybe take a look at this next week. I have a ton of ansible for LXD setup stuff outside of OSA, i'm sure some of that deals with the server config16:00
Nick_Athank you16:02
*** ansmith has joined #openstack-ansible16:03
*** emine__ has quit IRC16:04
*** rgogunskiy has quit IRC16:13
jrosserguilhermesp: if you are looking at ceph/rgw things that is the last piece of brokennes to land ansible2.8/ceph-ansible4/nautilus in OSA master16:14
jrosseri've still not worked out what is wrong there16:14
*** udesale has quit IRC16:26
redkriegI'm having an issue where lxd-init.sh is being written out with a different lxd_init_storage_pool than I set in my user variables.  I've got `default/lxd` set for that but lxd-init.sh shows only `default` there.  If I change it manually in the shell script and run it, things work out fine and the script exits cleanly.  Any idea why it's getting modified?16:33
openstackgerritMerged openstack/openstack-ansible-os_barbican master: Use secure persmissions for barbican configuration  https://review.opendev.org/66815916:37
jrosserredkrieg: it doesnt appear in very many places http://codesearch.openstack.org/?q=lxd_init_storage_pool16:37
jrosserredkrieg: you may find however that things just don't work unless the pool name is 'default' though, at the time i last fixed the nova-lxd support in OSA there were bugs in nova-lxd related to that16:38
jrosseralso the only working backend was ZFS, at that time too16:39
redkrieginteresting, none of that code should have modified the value.  I really need to have a subpool for the storage pool because I have to have /var/lib/lxd on the same hardware pool on my computes.  this is using zfs16:40
redkriegis there a way to get openstack-ansible to print out all the variables it knows so I can see if it's set correctly after parsing?16:41
jrossersomething like this     ansible <host> -m debug -a "var=<foo>"16:43
jrosserprint the value of <foo> as seen by <host>16:44
spatelwhat is wrong here, getting this error during os-octavia-install.yml - fatal: [ostack-infra-2-3_octavia_server_container-e804ce0b]: FAILED! => {"msg": "'dict object' has no attribute 'ip_from_q'"}16:44
*** BjoernT has quit IRC16:46
redkriegweird, it tells me "VARIABLE IS NOT DEFINED" but it shouldn't have rendered that parameter in lxd-init.sh if that were the case: http://paste.openstack.org/show/753573/16:48
spateljrosser: any idea?  {"msg": "'dict object' has no attribute 'ip_from_q'"}16:50
jrosserredkrieg: probably you need this fix https://review.opendev.org/#/c/662032/116:50
openstackgerritDirk Mueller proposed openstack/openstack-ansible-os_octavia master: Add openSUSE support  https://review.opendev.org/66036716:51
openstackgerritDirk Mueller proposed openstack/openstack-ansible-os_octavia master: [WIP] Add openSUSE support  https://review.opendev.org/66036716:51
jrosserspatel: i would say that is trying to take an ip from a network for a container, but maybe the network name specified doesnt match the one defined in openstack_user_config.yml ?16:52
spateljrosser: this is what i have http://paste.openstack.org/show/753565/16:52
spatelwhat could be wrong here?16:58
openstackgerritMerged openstack/openstack-ansible-os_sahara master: db_setup: refactor database setup to a common file  https://review.opendev.org/66573817:01
jrosserspatel: i don't know, but i'd probably be putting a bunch of debug: tasks right at the start of the octavia role to print the values of these https://github.com/openstack/openstack-ansible-os_octavia/blob/master/defaults/main.yml#L330-L35517:02
jrosserbecasue you can see at least one of those vars is needing the ip_from_q entry, so i'd start with that17:03
spatelhow do i enable debug in task?17:03
jrosseri mean add some more ansible tasks using the debug module17:04
jrosserhttps://docs.ansible.com/ansible/latest/modules/debug_module.html17:04
spatellet me see.. i got this error since i changed type: flat   to type: raw17:05
*** SmearedBeard has quit IRC17:16
spateljrosser: after setting octavia_container_network_name: lbaas_address  i am not seeing error17:22
spatellook like this option was missing "octavia_container_network_name: lbaas_address"17:23
redkriegjrosser: found all instances where that patch could apply (/usr/local/bin/openstack-ansible and /opt/openstack-ansible/scripts/openstack-ansible.sh) and added the ${VAR1}, I can read the value with ansible -a now and it does correctly report `"lxd_init_storage_pool": "default/lxd"`, thank you.  running my playbooks again to see if it gets set correctly now17:26
jrosserredkrieg: excellent17:27
*** electrofelix has quit IRC17:30
jrosserredkrieg: btw I think that fix I pointed you to will only affect the “ad-hoc” debug command you did, shouldn’t affect the playbook runs17:33
redkriegahh, that's unfortunate.  so I still need to find the underlying issue but at least I know my user_ data is being parsed correctly17:34
jrosserMake sure you run the playbooks from the openstack-ansible fit to make sure your user variables get picked up too17:34
jrosserArgh autocorrect!17:34
jrosserFit/dir17:34
redkriegthanks, I usually do `cd /opt/openstack-ansible/playbooks && openstack-ansible setup-hosts.yml setup-infrastructure.yml setup-openstack.yml`.  I've had strange failures sometimes when I don't run all three back to back17:35
*** ivve has joined #openstack-ansible17:38
guilhermespjrosser: I have changed to ceph_config_overrides but seems that it is duplicating the entries in ceph.conf. I was looking this btw https://github.com/ceph/ceph-ansible/issues/215717:52
openstackgerritVadim Kuznetsov proposed openstack/openstack-ansible-os_octavia master: Updated certificate distribution task  https://review.opendev.org/65766218:07
*** hamzaachi has quit IRC18:20
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_glance master: service_setup: refactor service setup to a single file  https://review.opendev.org/66537218:49
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_cinder master: service_setup: refactor service setup to a single file  https://review.opendev.org/66560718:50
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_keystone master: service_setup: refactor service setup to a single file  https://review.opendev.org/66516718:50
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_nova master: service_setup: refactor service setup to a single file  https://review.opendev.org/66564818:51
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_keystone master: service_setup: refactor service setup to a single file  https://review.opendev.org/66516719:00
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_cinder master: service_setup: refactor service setup to a single file  https://review.opendev.org/66560719:02
openstackgerritMerged openstack/openstack-ansible-os_octavia master: Updated from OpenStack Ansible Tests  https://review.opendev.org/66473119:04
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: Drop support for Ubuntu Xenial  https://review.opendev.org/66823619:09
spateljrosser: one more issue - http://paste.openstack.org/show/753574/19:28
spateli am running octavia playbook and it getting stuck here19:28
*** ivve has quit IRC19:28
jrosseri have a patch here which i think is for that https://review.opendev.org/#/c/667791/19:28
spateloh!!! let me try.. that is what i was searching..19:32
spatelthanks...19:32
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_octavia master: Automatically create and import keypair if it doesn't exist  https://review.opendev.org/60614319:32
jrosseroctavia bugfixes ready to go now the tests are working again https://review.opendev.org/#/c/664551/ and https://review.opendev.org/#/c/667791/19:40
openstackgerritVadim Kuznetsov proposed openstack/openstack-ansible-os_octavia master: Updated certificate distribution task  https://review.opendev.org/65766219:49
openstackgerritJonathan Rosser proposed openstack/openstack-ansible stable/rocky: Restrict the number of octavia processes and threads in AIO  https://review.opendev.org/66823919:53
*** hamzaachi has joined #openstack-ansible19:55
*** kplant has quit IRC19:55
openstackgerritJonathan Rosser proposed openstack/openstack-ansible stable/stein: Restrict the number of octavia processes and threads in AIO  https://review.opendev.org/66824019:56
*** BjoernT has joined #openstack-ansible19:59
*** BjoernT has quit IRC20:04
*** BjoernT has joined #openstack-ansible20:08
spateljrosser: that patch works.. please push it to master :)20:19
jrosserI need reviews :)20:19
jrosser+1 it for me saying it works20:20
*** hamzaachi has quit IRC20:27
*** hamzaachi has joined #openstack-ansible20:28
*** kopecmartin has quit IRC21:13
*** pcaruana has quit IRC21:16
openstackgerritVadim Kuznetsov proposed openstack/openstack-ansible-os_octavia master: Updated certificate distribution task  https://review.opendev.org/65766221:19
*** spatel has quit IRC21:25
*** kplant has joined #openstack-ansible21:37
openstackgerritMerged openstack/openstack-ansible-os_octavia master: Drop private argument for include/import role  https://review.opendev.org/65975422:21
*** luksky has quit IRC22:52
*** CeeMac has quit IRC23:16
*** schwicht has quit IRC23:16
*** spatel has joined #openstack-ansible23:25
*** tosky has quit IRC23:26
*** spatel has quit IRC23:29
*** schwicht has joined #openstack-ansible23:59

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