Tuesday, 2018-07-31

*** mmercer has joined #openstack-ansible00:21
*** tux_ has joined #openstack-ansible00:29
*** vollman has quit IRC00:37
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-tests master: Add missing services and collect journal logs  https://review.openstack.org/58725900:46
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-tests master: Add missing services and collect journal logs  https://review.openstack.org/58725900:50
cloudnullbgmccollum nice!00:50
bgmccollumcloudnull seen this before? -- http://paste.openstack.org/show/726890/00:54
cloudnullnormally that happens when the mirror is not listed in the pip.conf as a trusted host00:56
cloudnulli've not seen that in the gate for some time?00:57
bgmccollumnew mirror?00:57
cloudnullcould be .00:57
bgmccollumis there a gate config that needs adjusting?00:58
cloudnullI'm not sure. where are you seeing that ?01:00
cloudnullis it in the gate jobs?01:00
cloudnullif you have access to the system you can change it in ~/.pip/pip.conf01:00
bgmccollumGate -- http://logs.openstack.org/29/587229/1/check/openstack-ansible-deploy-aio_metal-ubuntu-xenial/621a4e2/ara-report/01:01
bgmccollumhttp://logs.openstack.org/29/587229/1/check/openstack-ansible-deploy-aio_metal-ubuntu-xenial/621a4e2/job-output.txt.gz#_2018-07-30_23_27_11_69100701:05
cloudnullyea that's an odd one. that should get picked up by the pip_install role and added into the local config, but maybe that's just not happening?01:07
cloudnullodyssey4me and evrardjp might know better?01:07
*** gregoryo has joined #openstack-ansible01:16
*** gyee has quit IRC01:40
*** threestrands has quit IRC02:10
*** tux_ has quit IRC02:11
*** tux_ has joined #openstack-ansible02:12
*** mmercer has quit IRC02:17
*** Bhujay has joined #openstack-ansible02:22
tux_cloudnull: ^^02:34
tux_need hint http://paste.openstack.org/show/726887/02:34
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_cinder master: Convert role to use a common systemd service role  https://review.openstack.org/57481702:56
*** Bhujay has quit IRC02:57
*** coreywright has quit IRC02:57
*** prasen has joined #openstack-ansible02:59
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-tests master: Add missing services and collect journal logs  https://review.openstack.org/58725903:00
cloudnullanyone around this evening want to give https://review.openstack.org/#/c/587093 a push through ?03:00
cloudnulltux_ I'd suspect something is not right in the /usr/local/bin/openstack-ansible.rc file which is setup when the the script `bootstrap-ansible.sh` is run03:02
cloudnullMy suspicion is from the output "/var/opt/openstack-ansible/playbooks/OSA_INVENTORY_PATH/dynamic_inventory.py"03:02
tux_hmmm03:02
cloudnullOSA_INVENTORY_PATH should be replaced with the playbooks path03:02
tux_I made this changes to fix my lvm issue https://github.com/openstack/openstack-ansible/commit/8c8e4beda733648946140a5a14d23a346d3b5292#diff-0f8043cab00abbe1ccddb1444b0a304303:03
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_designate master: Convert role to use a common systemd service role  https://review.openstack.org/58719603:05
*** prasen has quit IRC03:05
tux_cloudnull: its the same file, not sure why OSA_INVENTORY_PATH not getting set https://github.com/openstack/openstack-ansible/blob/8c8e4beda733648946140a5a14d23a346d3b5292/scripts/openstack-ansible.rc03:08
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_cloudkitty master: Convert role to use a common systemd service role  https://review.openstack.org/58718703:09
cloudnulltux_ after you pulled in that change into openstack-ansible did you rerun the bootstrap script ?03:10
tux_yes i did but let me give it a try again and see03:11
cloudnullmaybe you had an environment variable set ?03:11
*** exodusftw has quit IRC03:11
cloudnullthat it read it?03:11
tux_i will try to clear set -o and will see03:12
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_barbican master: Convert role to use a common systemd service role  https://review.openstack.org/58710103:13
*** exodusftw has joined #openstack-ansible03:15
openstackgerritKevin Carter (cloudnull) proposed openstack/ansible-hardening master: Add option to skip sudoers NOPASSWD check  https://review.openstack.org/56595903:18
openstackgerritKevin Carter (cloudnull) proposed openstack/ansible-hardening master: Add option to skip sudoers NOPASSWD check  https://review.openstack.org/56595903:18
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_cinder master: Convert role to use a common systemd service role  https://review.openstack.org/57481703:24
*** threestrands has joined #openstack-ansible03:26
tux_cloudnull: one more question, I have upgraded PIKE -> QUEENS and Queens using ceph-ansible module instead of individual roles from previous version03:26
cloudnullnice!03:27
tux_http://paste.openstack.org/show/726898/03:27
tux_If you look at this dir.. shouldn't i delete those ceph-mon, ceph-osd etc.. ?03:28
tux_queens using ceph-ansible roles not ceph-mon & ceph-osa etc03:28
tux_cloudnull: you are right here "My suspicion is from the output "/var/opt/openstack-ansible/playbooks/OSA_INVENTORY_PATH/dynamic_inventory.py""03:29
tux_I set OSA_INVENTORY_PATH manually and it works03:29
cloudnullthe script should set that assuming there's no variable in your bash environment that is overriding it03:32
cloudnullas for the roles,  if it's a clean installation, using the vanilla roles, i'd probably delete the ones you don't need03:33
tux_cloudnull: thanks for super duper hint :)03:35
cloudnull++ glad i could help :)03:35
*** indistylo has joined #openstack-ansible03:38
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-tests master: Add missing services and collect journal logs  https://review.openstack.org/58725903:40
tux_cloudnull: now got this error http://paste.openstack.org/show/726900/03:41
tux_but this is something else not broken playbook03:42
cloudnullseems like whatever is feeding that task needs "osd_pool_default_pg_num" defined03:43
cloudnullI'm not sure where that is though03:43
tux_i will dig and see..03:44
tux_cloudnull: thanks man!!03:45
cloudnullanytime03:45
tux_I think this is the solution https://github.com/ceph/ceph-ansible/issues/245303:48
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_designate master: Convert role to use a common systemd service role  https://review.openstack.org/58719603:48
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_cloudkitty master: Convert role to use a common systemd service role  https://review.openstack.org/58718703:49
tux_cloudnull: Now i realized why it didn't set "OSA_INVENTORY_PATH" variable correct, Because i was running bootstrap script on terminal-A and running playbook on terminal-B :(03:52
*** poopcat has quit IRC03:56
*** gkadam has joined #openstack-ansible04:05
*** andreykurilin has quit IRC04:07
*** yolanda has quit IRC04:09
*** jmccrory has quit IRC04:09
*** chason has quit IRC04:09
*** jmccrory has joined #openstack-ansible04:13
*** andreykurilin has joined #openstack-ansible04:13
*** chason has joined #openstack-ansible04:15
*** yolanda has joined #openstack-ansible04:24
*** tux_ has quit IRC04:24
*** asettle has quit IRC04:50
*** udesale has joined #openstack-ansible04:50
*** asettle has joined #openstack-ansible04:50
*** asettle is now known as Guest4352704:50
*** eumel8 has quit IRC04:51
*** eumel8 has joined #openstack-ansible04:51
*** coreywright has joined #openstack-ansible04:58
*** aruns has joined #openstack-ansible05:02
*** taseer1 has joined #openstack-ansible05:02
*** indistylo has quit IRC05:04
*** Taseer has quit IRC05:06
*** hwoarang has quit IRC05:07
*** taseer1 is now known as Taseer05:08
*** hwoarang has joined #openstack-ansible05:09
*** aruns has quit IRC05:13
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-tests master: Add missing services and collect journal logs  https://review.openstack.org/58725905:18
cloudnulltux_ it happens :)05:19
*** cshen has joined #openstack-ansible05:20
*** armaan has joined #openstack-ansible05:21
*** armaan has quit IRC05:23
*** armaan has joined #openstack-ansible05:24
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible master: Add networkd prefix when creating networks  https://review.openstack.org/57189805:25
*** cshen has quit IRC05:25
*** Bhujay has joined #openstack-ansible05:27
*** armaan has quit IRC05:28
*** indistylo has joined #openstack-ansible05:33
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_designate master: Convert role to use a common systemd service role  https://review.openstack.org/58719605:33
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_cloudkitty master: Convert role to use a common systemd service role  https://review.openstack.org/58718705:34
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_cinder master: Convert role to use a common systemd service role  https://review.openstack.org/57481705:35
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_barbican master: Convert role to use a common systemd service role  https://review.openstack.org/58710105:35
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_ceilometer master: Add systemd journal logging to the service config  https://review.openstack.org/58717005:36
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_aodh master: Add systemd journal logging to the service config  https://review.openstack.org/58707405:36
openstackgerritMerged openstack/openstack-ansible-os_blazar master: Remove unnecessary RabbitMQ setup/vars  https://review.openstack.org/58647205:47
openstackgerritMerged openstack/openstack-ansible-os_blazar master: Remove unnecessary inventory configuration  https://review.openstack.org/58648905:47
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_barbican master: Convert role to use a common systemd service role  https://review.openstack.org/58710105:57
*** gvrangan has joined #openstack-ansible05:58
*** gkadam has quit IRC06:04
*** gkadam has joined #openstack-ansible06:05
openstackgerritMerged openstack/openstack-ansible-os_blazar master: Add the project source code repository in README  https://review.openstack.org/58678506:08
openstackgerritMerged openstack/openstack-ansible-os_blazar master: Optimize the link address in docs  https://review.openstack.org/57981106:08
openstackgerritMerged openstack/openstack-ansible-ops master: Delete duplicate 'Release notes' in README  https://review.openstack.org/58677606:13
*** madorn has quit IRC06:15
*** madorn has joined #openstack-ansible06:17
openstackgerritMerged openstack/openstack-ansible-ops master: Undefine existing VM configurations during rebuild  https://review.openstack.org/58500106:19
openstackgerritwangqi proposed openstack/openstack-ansible-os_trove master: remove unnessary '='  https://review.openstack.org/58729206:19
openstackgerritwangqi proposed openstack/openstack-ansible-os_searchlight master: remove unnecessary '='  https://review.openstack.org/58729406:21
openstackgerritwangqi proposed openstack/openstack-ansible-os_panko master: remove unnecessary '='  https://review.openstack.org/58729606:25
openstackgerritwangqi proposed openstack/openstack-ansible-os_trove master: remove unnecessary '='  https://review.openstack.org/58729206:27
*** cshen has joined #openstack-ansible06:29
openstackgerritcaoyuan proposed openstack/openstack-ansible-os_blazar master: Add the project source code repository in README  https://review.openstack.org/58483406:32
openstackgerritMerged openstack/openstack-ansible-os_searchlight master: Clean up vars, tests and overrides  https://review.openstack.org/58653906:32
*** pcaruana has joined #openstack-ansible06:37
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_designate master: Convert role to use a common systemd service role  https://review.openstack.org/58719606:44
jrossermorning o/06:44
*** indistylo has quit IRC06:48
*** vnogin has joined #openstack-ansible06:51
*** indistylo has joined #openstack-ansible06:51
*** vnogin has quit IRC06:52
openstackgerritMerged openstack/openstack-ansible-os_designate master: Trivial: Fix the pep8 warning  https://review.openstack.org/57677706:59
openstackgerritMerged openstack/openstack-ansible-os_designate master: Add the project source code repository in README  https://review.openstack.org/58483806:59
*** ppetit has joined #openstack-ansible07:04
openstackgerritMerged openstack/openstack-ansible-ops master: Convert logstash groks to a multi-pipeline setup  https://review.openstack.org/58641907:15
*** pmannidi has quit IRC07:18
*** epalper has joined #openstack-ansible07:19
*** Bhujay has quit IRC07:22
*** Bhujay has joined #openstack-ansible07:23
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_cinder master: Convert role to use a common systemd service role  https://review.openstack.org/57481707:27
odyssey4meo/07:28
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_barbican master: Convert role to use a common systemd service role  https://review.openstack.org/58710107:30
*** aruns has joined #openstack-ansible07:36
*** indistylo has quit IRC07:38
*** electrofelix has joined #openstack-ansible07:40
openstackgerritMerged openstack/openstack-ansible-os_glance master: Remove glance v1 api and tests  https://review.openstack.org/58709307:40
*** DanyC has joined #openstack-ansible07:42
*** threestrands has quit IRC07:45
*** suggestable has joined #openstack-ansible07:47
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_cloudkitty master: Move MQ vhost/user creation into role  https://review.openstack.org/58678407:47
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_cloudkitty master: Cleanup vars and overrides  https://review.openstack.org/58687807:47
*** shardy has joined #openstack-ansible07:47
*** udesale has quit IRC07:49
*** udesale has joined #openstack-ansible07:49
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_cloudkitty master: Update to use oslo.messaging service RPC and Notify  https://review.openstack.org/58658607:50
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_cloudkitty master: Move MQ vhost/user creation into role  https://review.openstack.org/58678407:50
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_cloudkitty master: Cleanup playbook, vars and overrides  https://review.openstack.org/58687807:50
jrosserodyssey4me: if you have a moment these would be the next things needed to unblock the bionic work https://review.openstack.org/#/q/topic:lxc3+(status:open)07:50
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_ceilometer master: Add systemd journal logging to the service config  https://review.openstack.org/58717007:55
*** tosky has joined #openstack-ansible07:55
*** threestrands has joined #openstack-ansible08:00
*** hachi has joined #openstack-ansible08:00
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_blazar master: Convert role to use a common systemd service role  https://review.openstack.org/58711408:01
*** threestrands has quit IRC08:03
odyssey4mejrosser: looking08:04
odyssey4mejrosser: https://review.openstack.org/#/c/586692/3 looks like it's an exact copy of the xenial vars file - could we rather just rename that file to 'ubuntu.yml' so that the same applies to both?08:06
jrosserodyssey4me: use yes, in fact ive done them all like that, so leave the "Add vars for bionic" and i'll redo them08:07
jrosserthe only one that is different is nova, and i wanted to ask why the dosfstools-dbg was needed?08:07
odyssey4meok thanks - yeah if the exact copy works then we may as well rename08:07
jrosserif that can go then then nova can use the same vars file too08:08
odyssey4methis way the next ubuntu release will possibly be very close to a no-op08:08
jrosserodyssey4me: this doesnt exist in bionic https://github.com/openstack/openstack-ansible-os_nova/blob/master/vars/ubuntu-16.04.yml#L9308:09
odyssey4meI onder whether it's even needed08:10
odyssey4me*wonder08:10
jrosserthe only thing in it is debug symbols, i'm really not ssure why those are required08:10
odyssey4mehere's the thing that added it: https://github.com/openstack/openstack-ansible-os_nova/commit/e771983f2cb05f8b6912bcf02e661658d9970fc008:11
odyssey4meyeah, I suspect that they aren't required - perhaps do a patch to remove that package, then do the rename patch on top of that08:11
jrosserthats looks suspect imho08:11
odyssey4methat way it's easy to revert if needed08:12
odyssey4menone of the other distro package lists have the debug symbols08:12
*** udesale has quit IRC08:13
*** udesale has joined #openstack-ansible08:16
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_octavia master: Move MQ vhost/user creation into role  https://review.openstack.org/58338808:17
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_octavia master: Clean up test override vars  https://review.openstack.org/58704608:17
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_octavia master: Clarify the octavia-neutron event stream config options  https://review.openstack.org/58714008:17
openstackgerritMerged openstack/openstack-ansible stable/ocata: Update all SHAs for 15.1.25  https://review.openstack.org/58485808:19
openstackgerritMerged openstack/openstack-ansible-os_almanach master: Convert role to use a common systemd service role  https://review.openstack.org/58707008:20
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_octavia master: Execute service setup against a delegated host using Ansible built-in modules  https://review.openstack.org/58232408:27
*** gkadam has quit IRC08:31
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_swift master: Execute service setup against a delegated host using Ansible built-in modules  https://review.openstack.org/58235408:31
*** gkadam has joined #openstack-ansible08:37
*** hachi has quit IRC08:39
*** gvrangan has quit IRC08:41
*** gkadam has quit IRC08:41
*** hachi has joined #openstack-ansible08:42
*** aruns has quit IRC08:46
openstackgerritMerged openstack/openstack-ansible-os_glance master: Add lxc3 compatibility to tests  https://review.openstack.org/58688508:48
eumel8odyssey4me: Hi , for https://review.openstack.org/#/c/586866/ I have the same question. Why is the config tag required for translation tasks?08:50
*** aruns has joined #openstack-ansible08:50
*** gvrangan has joined #openstack-ansible08:51
*** gregoryo has quit IRC09:03
openstackgerritMerged openstack/openstack-ansible-os_neutron master: Add lxc3 compatibility to tests  https://review.openstack.org/58688709:07
*** vnogin has joined #openstack-ansible09:12
*** hachi has quit IRC09:12
mbuildoes anybody know how to scape a . symbol inside curly braces?09:13
odyssey4meeumel8: the standard tags are divided in two - {role}-config and {role}-install... the second is used for anything which is a non-runtime task and the first is for runtime tasks... that task seems to me like a runtime task, so it should have the -config tag09:13
odyssey4membuil: a var shouldn't have a . symbol, unless the vars is referring to a dict - what's the situation you're trying to solve for?09:14
mbuilodyssey4me: if mgmt_interface is eth0 and mgmt_vlan is 10, I'd like the variable name to be eth0.10. However, I need to check if mgmt_vlan is 'native', in that case I want name to be eth0. I was trying this ==> name: "{{ (mgmt_vlan == 'native') | ternary(mgmt_interface, mgmt_interface.mgmt_vlan) }}"09:16
*** taseer1 has joined #openstack-ansible09:19
*** Taseer has quit IRC09:19
odyssey4membuil: oh that should just work, no escaping required given you're referring to a dict09:24
odyssey4membuil: you can also express it as mgmt_interface['mgmt_vlan']09:24
mbuilodyssey4me: no, I am not. mgmt_interface is a string and mgmt_vlan is another string, I just want them to be concatenated with a point in between09:25
odyssey4meok, so mgmt_interface is a dict that you want to retrieve a var from? or is it a var which changes to the appropriate dict09:26
*** hachi has joined #openstack-ansible09:27
odyssey4membuil: maybe a test playbook with some data to show what you're trying to achieve would be useful to help09:27
mbuilodyssey4me: mgmt_interface is a string. I just want to build something like {{ mgmt_interface }}.{{ mgmt_vlan }}, which results in eth0.10 or eth2.30, etc. But when I use it inside the ternary, then it considers mgmt_interface as a dictionary because of the point09:29
openstackgerritFrank Kloeker proposed openstack/openstack-ansible-os_horizon master: fix execution of horizon_translations_update.yml  https://review.openstack.org/58686609:30
eumel8odyssey4me: ok, thx ^^09:30
mbuilodyssey4me: A solution could be to build the variable mgmt_interface_with_vlan: {{ mgmt_interface }}.{{ mgmt_vlan }} in vars/main.yml and then inside the ternary ==> ternary(mgmt_interface, mgmt_interface_with_vlan)09:31
odyssey4membuil: ok, and is 'mgmt_interface' also a var - or is the intended output just a string?09:32
odyssey4mebecause if you want just a string then do: ternary('mgmt_interface', 'mgmt_interface.mgmt_vlan')09:32
mbuilodyssey4me: it is also a var. mgmt_interface and mgmt_vlan are vars09:32
odyssey4meah ok09:33
odyssey4mein that case I think you might have to do it using script rather than ternary09:33
*** hachi has quit IRC09:34
odyssey4melemme think a bit09:34
*** hachi has joined #openstack-ansible09:34
odyssey4membuil: can you give me a sample data structure - one with and one without the vlan09:38
mbuilodyssey4me: not sure if I understand you, sorry. You mean what the result should be? Let's say mgmt_interface: 'eth0' and mgmt_vlan could be 'native' or any integer09:41
odyssey4membuil: no, I mean if you can give me a yaml sample of what the source data looks like then it'd help me think it through09:42
*** taseer1 is now known as Taseer09:43
odyssey4membuil: including a sample of the reulting eth0 with or without vlan I mean09:44
odyssey4meI guess maybe I don't need that09:45
mbuilodyssey4me: one second, perhaps the problem I am facing had nothing to do with what I explained you :P. Unfortunately, the error message is quite cryptic ==> 'ansible.utils.unsafe_proxy.AnsibleUnsafeText object' has no attribute 'public_vlan'09:46
mbuilI thought it meant: I am trying to fetch the attribute public_vlan from a string09:47
odyssey4membuil: so in your thing you want to access something like the 'address' in this structure? https://gist.github.com/odyssey4me/7def43fef79564edc7aa6d918f34413509:47
mbuilodyssey4me: ok, I understand now what you wanted from me! Sorry. Not exactly what you wrote. This would be the structure ==> https://gist.github.com/manuelbuil/297cd506d76940e68a4b629e656dbebe09:51
mbuilodyssey4me: that information should be fed to ==> https://github.com/opnfv/releng-xci/blob/master/xci/playbooks/roles/bootstrap-host/tasks/network_debian.yml#L39-L53 changing ansible_local.xci.network.xci_interface by mgmt_interface and not hardcoding the vlan_id (e.g. 10) but reading it from mgmt_vlan09:54
odyssey4membuil: not sure if this helps at all? https://gist.github.com/odyssey4me/7def43fef79564edc7aa6d918f34413509:58
odyssey4meyou'd either have to use a jinja script to prep the var before using it, or you'd have to use a set_fact task ahead of time... or something like that09:59
*** tux_ has joined #openstack-ansible10:01
mbuilodyssey4me: I see, thanks :)10:02
*** tux_ has quit IRC10:06
odyssey4membuil: updated with another way to achieve the same thing in a single task10:06
*** taseer1 has joined #openstack-ansible10:11
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_octavia master: Execute service setup against a delegated host using Ansible built-in modules  https://review.openstack.org/58232410:11
mbuilodyssey4me: ok, I was more thinking in this direction. THanks again!10:11
odyssey4membuil: no problem10:11
*** Taseer has quit IRC10:12
*** taseer2 has joined #openstack-ansible10:12
*** electrofelix has quit IRC10:12
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_ceilometer master: Use generic vars file for ubuntu  https://review.openstack.org/58668910:14
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_cinder master: Use generic vars file for ubuntu  https://review.openstack.org/58669010:15
*** taseer1 has quit IRC10:15
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_designate master: Use generic vars file for ubuntu  https://review.openstack.org/58669110:15
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_glance master: Use generic vars file for ubuntu  https://review.openstack.org/58669210:16
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_gnocchi master: Use generic vars file for ubuntu  https://review.openstack.org/58669310:17
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_heat master: Use generic vars file for ubuntu  https://review.openstack.org/58669610:17
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_ironic master: Use generic vars file for ubuntu  https://review.openstack.org/58669810:18
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_molteniron master: Use generic vars file for ubuntu  https://review.openstack.org/58670110:18
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_neutron master: Use generic vars file for ubuntu  https://review.openstack.org/58670210:18
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_nova master: Use generic vars file for ubuntu  https://review.openstack.org/58670410:19
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_nova master: Remove dosfstools-dbg package from ubuntu installs  https://review.openstack.org/58737410:19
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_octavia master: Use generic vars file for ubuntu  https://review.openstack.org/58670510:20
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_sahara master: Use generic vars file for ubuntu  https://review.openstack.org/58670710:21
*** Bhujay has quit IRC10:22
*** kedorlaomer has joined #openstack-ansible10:24
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_trove master: Use generic vars file for ubuntu  https://review.openstack.org/58671110:25
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-tests master: Implement clouds.yaml for swift installs  https://review.openstack.org/58737610:25
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_swift master: Execute service setup against a delegated host using Ansible built-in modules  https://review.openstack.org/58235410:25
openstackgerritMaxime Guyot proposed openstack/openstack-ansible-ops master: Add Prometheus node_exporter  https://review.openstack.org/58709010:28
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_tacker master: Use generic vars file for ubuntu  https://review.openstack.org/58670810:29
*** kedorlaomer has quit IRC10:29
*** kedorlaomer has joined #openstack-ansible10:37
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_trove master: Switch to using project-templates  https://review.openstack.org/58675710:38
*** taseer3 has joined #openstack-ansible10:39
*** taseer2 has quit IRC10:42
kedorlaomerHi, folks. I am trying to deploy openstack-ansible (as plain vanilla as possible) on a few boxes. But sadly, I cannot get past `setup-hosts.yml`. During execution, on each LXC container, `yum update` is being executed (we are using CentOS 7). It does not run through since none of the containers is even able to ping anything besides its host. That is apparently a network issue, and I have been trying to find the problem for the10:47
*** electrofelix has joined #openstack-ansible10:47
*** kedorlaomer has quit IRC10:50
*** savvas has quit IRC10:56
*** savvas has joined #openstack-ansible10:56
*** kedorlaomer has joined #openstack-ansible10:57
kedorlaomerHi, folks. I am trying to deploy openstack-ansible (as plain vanilla as possible) on a few boxes. But sadly, I cannot get past `setup-hosts.yml`. During execution, on each LXC container, `yum update` is being executed (we are using CentOS 7). It does not run through since none of the containers is even able to ping anything besides its host. That is apparently a network issue, and I have been trying to find the problem for the10:58
hakonwyour text is getting cut off btw kedorlaomer10:59
savvasHi guys11:01
jrosseranyone with centos foo before i start digging into this? http://logs.openstack.org/15/586815/8/check/openstack-ansible-functional-centos-7/6d5e6eb/job-output.txt.gz#_2018-07-30_13_11_08_22787711:03
*** kedorlaomer has quit IRC11:07
evrardjpfolks, I am sorry to announce that m3 will be requested without any freeze of the roles. We didn't manage to get things in on time, we tried hard to make things pass, but timeouts of infrastructure are beating us everytime for a few days.11:21
evrardjpMy next steps would then be to refactor the testing to get rid of the tempest testing. People that still want to use it still can.11:22
evrardjpI will also work on refactoring the releases to make sure this will never happen again.11:22
evrardjpI hope you're all okay with this.11:22
*** taseer4 has joined #openstack-ansible11:22
*** vnogin has quit IRC11:22
*** taseer4 is now known as Taseer11:23
*** vnogin has joined #openstack-ansible11:24
*** Taseer has quit IRC11:24
*** Taseer has joined #openstack-ansible11:24
*** taseer3 has quit IRC11:26
evrardjpcloudnull: are you there?11:28
*** ansmith has quit IRC11:29
evrardjpcloudnull: I'd like to discuss nspawn testing11:32
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_swift master: Execute service setup against a delegated host using Ansible built-in modules  https://review.openstack.org/58235411:44
*** lvdombrkr has joined #openstack-ansible11:44
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_aodh master: Execute service setup against a delegated host using Ansible built-in modules  https://review.openstack.org/58739511:54
odyssey4meevrardjp: I think it's fine, and yes I think it's time for a change in how releases are done to relieve the pressure.11:55
*** vnogin has quit IRC11:59
odyssey4mecores, I have a metric tonne of patches up for review which really need some eyes: https://goo.gl/k9cCfF12:00
*** vnogin has joined #openstack-ansible12:05
*** tux_ has joined #openstack-ansible12:06
bgmccollumevrardjp odyssey4me can y12:07
bgmccollumevrardjp odyssey4me can you tell whats going on here? lots of gates failing with this same error -- http://logs.openstack.org/29/587229/1/check/openstack-ansible-deploy-aio_metal-ubuntu-xenial/ee5864f/job-output.txt.gz#_2018-07-31_01_41_10_75143012:07
bgmccollumThe repository located at mirror.mtl01.inap.openstack.org is not a trusted or secure host and is being ignored.12:08
odyssey4mebgmccollum: that should be a warning, not a failure12:09
odyssey4mebgmccollum: the real fail is: "Could not find a version that satisfies the requirement pbr<=4.0.4"12:09
odyssey4mebgmccollum: what patch is that from?12:10
odyssey4methis one? https://review.openstack.org/#/c/587229/12:10
bgmccollumYes, I noticed it in mine first, but also noticed the same issues with other patches...12:11
bgmccollumhttp://mirror.mtl01.inap.openstack.org/wheel/ubuntu-16.04-x86_64/pbr/ has pbr-4.0.2-py2.py3-none-any.whl12:11
odyssey4mebgmccollum: oh, but that didn't cause the whole thing to fail - that's a try/rescue, and the rescue succeeded12:12
bgmccollumAh OK...i need a big red HERE IS THE REAL FAILURE12:13
odyssey4meright here: http://logs.openstack.org/29/587229/1/check/openstack-ansible-deploy-aio_metal-ubuntu-xenial/ee5864f/job-output.txt.gz#_2018-07-31_02_20_50_37169612:13
odyssey4mebgmccollum: go into 'logs' -> 'ara-report' and you'll get a much easier to grok report12:14
odyssey4methis is the task failing, but we're not sure why - most likely a missing secret or something12:15
odyssey4mehttps://github.com/openstack/openstack-ansible-os_swift/blob/master/tasks/main.yml#L118-L13012:15
*** aruns__ has joined #openstack-ansible12:17
odyssey4meyep, looks like swift_oslomsg_notify_password is not correctly defined, will push a patch up now to fix12:17
*** aruns has quit IRC12:19
*** ppetit has quit IRC12:22
bgmccollumthanks12:22
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_swift master: Unblock gate: Provide default rabbitmq password  https://review.openstack.org/58740112:25
odyssey4meevrardjp https://review.openstack.org/587401 should resolve the issue bgmccollum just mentioned - it's a hack, but given we can't merge stuff easily into the integrated build this is the fastest way to get it out the way12:25
odyssey4meI'll update another patch I have in flight to properly resolve the issue now.12:26
evrardjpodyssey4me: I expected this.12:26
evrardjpI was wondering if it would show up on smaller roles like masakari12:26
evrardjpbut there is probably no wiring there.12:26
evrardjpswift being a different one that's fun too.12:26
*** kedorlaomer has joined #openstack-ansible12:34
*** savvas has quit IRC12:34
odyssey4meevrardjp: I'm working on a patch now to remove the wiring from the integrated build, because once they're all merged into the roles there's no need for it any more12:34
*** savvas has joined #openstack-ansible12:35
evrardjpodyssey4me: there is a need of this wiring for upgrades12:35
*** ppetit has joined #openstack-ansible12:35
evrardjpso if you remove it, please add in the upgrade tool12:35
odyssey4meyep, good call - will add that to the same patch12:35
evrardjp(renaming variable _rabbitmq_ to _oslo_rpc_ )12:36
*** savvas has quit IRC12:39
*** savvas has joined #openstack-ansible12:40
*** tux_ has quit IRC12:40
*** savvas has quit IRC12:41
*** savvas has joined #openstack-ansible12:41
kedorlaomer... apparently a network issue, and I have been trying to find the problem for the past few weeks --- without success. So I am asking the pros now :-) What additional infos do you need? I just jot down a few peculiarites I found along the way: There are interfaces eth0 (connected to lxcbr0) and eth1 (connected to br-mgmt); if I `ip link delete` eth1, I can reach everything via eth0. This does not hold if I only set it `ip link12:42
kedorlaomer... of approximately five to seven seconds in which I can reach everything (that is, from eth0, not eth1). I am just using the default configuration (that comes with queens) with a few IP addresses changed to match our network setup, so this strange error is less than expected.12:43
odyssey4mekedorlaomer: not sure how or what you're trying to communicate through, but it always gets cut off and your client fails uot12:43
odyssey4metry smaller sentences12:43
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: [WIP] Remove all MQ vhost/user and DB create tasks  https://review.openstack.org/58550412:44
*** aruns has joined #openstack-ansible12:49
jrosserhere's the next lot of bionic stuff ready for review https://review.openstack.org/#/q/topic:bionic-vars+(status:open)12:50
*** aruns__ has quit IRC12:51
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: Remove all MQ vhost/user and DB create tasks  https://review.openstack.org/58550412:52
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible master: Add more systematic healthchecks  https://review.openstack.org/58740812:56
*** gillesMo has joined #openstack-ansible12:57
odyssey4meevrardjp: I think https://review.openstack.org/585504 will cover it.12:57
evrardjpodyssey4me: haha the healthcheck infrastructure still relies on https://review.openstack.org/#/c/585504/3/playbooks/common-tasks/rabbitmq-vhost-user.yml12:58
*** savvas has quit IRC12:58
evrardjpit's fine12:58
odyssey4meevrardjp: see my patch - not any more ;)12:58
evrardjpodyssey4me: haha12:58
evrardjpI am refactoring those plays12:59
*** savvas has joined #openstack-ansible12:59
evrardjpto be more inline with the current order of the plays12:59
evrardjpand I will increase coverage slowly12:59
evrardjpand when it's ready I will add them in place of tempest.12:59
odyssey4meevrardjp: the one thing I was thinking about with those is to delete anything created13:00
odyssey4meso if a new rabbitmq user is created, then delete it afterwards13:00
odyssey4meotherwise it leaves things behind which isn't good13:00
jamesdentonodyssey4me evrardjp when you guys have some time, mind giving this a look and some advice on implementation? https://goo.gl/cCA78113:01
evrardjpodyssey4me: it does it13:01
evrardjp"Remove guest user for rabbitmq"13:01
openstackgerritMaxime Guyot proposed openstack/openstack-ansible-ops master: Add Prometheus node_exporter  https://review.openstack.org/58709013:01
odyssey4meah ok, missed that13:01
evrardjpodyssey4me: it might have some gaps13:02
*** savvas has quit IRC13:02
*** savvas_ has joined #openstack-ansible13:02
*** aruns__ has joined #openstack-ansible13:06
*** aruns has quit IRC13:07
*** ansmith has joined #openstack-ansible13:07
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible master: Add more systematic healthchecks  https://review.openstack.org/58740813:07
odyssey4mejamesdenton: eish, I'll leave that review set to mbuil and evrardjp given they've the networking expertise.13:09
jamesdentondon't be scared13:09
openstackgerritMerged openstack/openstack-ansible-os_barbican master: Move MQ vhost/user creation into role  https://review.openstack.org/58336313:09
jamesdentonbut ok :)13:10
openstackgerritAndy Smith proposed openstack/openstack-ansible-os_nova master: Setup oslo.messaging extra packages for optional drivers  https://review.openstack.org/58445013:13
openstackgerritAndy Smith proposed openstack/openstack-ansible master: [WIP] Add qdrouterd role for messaging backend deployment  https://review.openstack.org/57026113:14
evrardjpodyssey4me: could you please adapt with my comments of https://review.openstack.org/#/c/585504/3 ?13:18
odyssey4meevrardjp: sure13:18
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_nova master: Switch to using project-templates  https://review.openstack.org/58675513:19
*** chandankumar has left #openstack-ansible13:19
cloudnullevrardjp ping - re: nspawn testing - I'm here now for a little bit.13:19
openstackgerritMerged openstack/openstack-ansible-openstack_hosts stable/pike: Do not install linux-image-extra by default  https://review.openstack.org/58707513:20
evrardjpcloudnull: great13:20
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: Remove all MQ vhost/user and DB create tasks  https://review.openstack.org/58550413:20
cloudnullMornings all btw13:20
odyssey4meevrardjp: done13:20
odyssey4me-974 +56 ... now that's a good code change13:20
cloudnullHa!13:20
evrardjpodyssey4me: yeah13:21
evrardjplet's see if things pass.13:21
evrardjpcloudnull: so no need to recheck that m3 patch anymore -- I have said a little above what I plan to do13:21
evrardjp #tired13:21
evrardjpbut thanks cloudnull and odyssey4me for helping me in my rechecking times :)13:21
odyssey4memostly just a bunch of group_vars, but of course that means we eat less memory after that - happy days :)13:21
evrardjpodyssey4me: also: double tasks13:21
evrardjpno double tasks, faster runs!13:22
openstackgerritMerged openstack/openstack-ansible-openstack_hosts stable/queens: Do not install linux-image-extra by default  https://review.openstack.org/58707613:22
odyssey4meevrardjp: ok, so are you abandoning the M3 pin and revert patches then?13:22
evrardjpodyssey4me: yes.13:23
odyssey4mecould do with some core eyes on https://review.openstack.org/586586 when anyone has a moment13:23
evrardjpI will just tag with what's in repo13:23
evrardjptoo bad13:23
odyssey4meevrardjp: yep, fair enough13:23
odyssey4mehopefully we can unblock everything and get it moving again13:23
odyssey4mealso, implementing a simpler release mechanism as we discussed will be really helpful to take the pressure off13:24
evrardjpodyssey4me: we'll see13:24
evrardjpyeah13:24
evrardjpI am working on both, I kinda dropped the ball on my other works, but it's fine I guess? :p13:24
evrardjphahaha13:24
jrosserso bionic tests - should i add a temporary voting: true for bionic to the roles that i've addressed?13:25
mbuilodyssey4me, jamesdenton: I'll try to review it today. Sorry, I am quite busy :(13:25
odyssey4mejrosser: well, if the passing rate is good across most roles, then perhaps we should adjust the template to make it voting and then go to the roles which aren't and set it no-voting temporarily13:26
jamesdentonno worries mbuil - thanks for any time you can give it.13:26
jrosserodyssey4me: everything in a-r-r.txt should be good except octavia and tempest13:28
odyssey4mecloudnull: if you have a cup of coffee in hand, most of these are pretty straightforward: https://goo.gl/k9cCfF13:28
odyssey4mejrosser: sounds to me like we should make the template voting then and we can either get the last ones fixed, or make them non-voting until we get the chance to13:29
*** tux_ has joined #openstack-ansible13:30
ebbex_Can I override a single requirement in the ansible-hardening? Say I don't care about 'chrony' being installed.13:31
ebbex_I tried setting 'security_enable_chrony: false' in user_variables.yml, but that didn't seem to work.13:31
*** savvas_ has quit IRC13:31
*** aruns__ has quit IRC13:33
*** jwitko_ has joined #openstack-ansible13:34
openstackgerritMerged openstack/openstack-ansible-galera_server master: Remove the unnecessary space  https://review.openstack.org/58709413:34
*** jwitko_ has quit IRC13:35
*** jwitko_ has joined #openstack-ansible13:36
*** gvrangan has quit IRC13:36
*** aruns__ has joined #openstack-ansible13:39
*** savvas has joined #openstack-ansible13:41
lbragstadcloudnull: yeah - i started removing some of the files in /etc/system/ and then restarted13:41
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-tests master: Implement clouds.yaml for root user  https://review.openstack.org/58737613:41
*** tux_ has quit IRC13:45
lbragstadstill seeing things like "Unit var-lib-nova-instances.mount has failed." because /var/lib/nova/instances doesn't exist13:47
lbragstadattempting to clean up some of those unit with systemd now13:51
openstackgerritMaksim Malchuk proposed openstack/openstack-ansible stable/queens: [DNM] test  https://review.openstack.org/57790213:55
odyssey4meevrardjp: answered your Q in https://review.openstack.org/#/c/586878/413:56
evrardjpodyssey4me: this is a series of group vars we will be able to remove in the future too.13:58
evrardjpor we should at least aim to remove13:58
odyssey4meevrardjp: ye13:58
openstackgerritMerged openstack/openstack-ansible-os_monasca master: Upgrade kafka repository  https://review.openstack.org/58717314:00
openstackgerritMerged openstack/openstack-ansible-os_designate stable/queens: Use designate_galera_database  https://review.openstack.org/58572214:03
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-tests master: Change bionic to be voting  https://review.openstack.org/58747814:04
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_aodh master: Add systemd journal logging to the service config  https://review.openstack.org/58707414:04
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_cloudkitty master: Convert role to use a common systemd service role  https://review.openstack.org/58718714:06
*** tux_ has joined #openstack-ansible14:13
*** prasen has joined #openstack-ansible14:13
Adri2000after a pike->queens upgrade, what could explain that neutron agents are not running on bare metal? I don't have anything in /etc/openstack_deploy/env.d/14:17
Adri2000neutron_agents_container group (from inventory-manage.py -G) only has the containers, not the bare metal hosts14:17
*** vnogin has quit IRC14:18
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: [TEST] bionic  https://review.openstack.org/58660714:20
evrardjpAdri2000: not all are on bare metal14:20
evrardjpiirc14:21
odyssey4meAdri2000: I think that's working as designed, but I'm not entirely sure. I think you have to move them yourself. cloudnull may be able to advise.14:21
Adri2000evrardjp: I have none on bare metal actually. l3-agent, dhcp-agent and linuxbridge-agent are still running only inside the container14:22
Adri2000odyssey4me: relnote says "14:22
Adri2000    When upgrading there is nothing a deployer must immediately do to run neutron agent services on hosts within the network_hosts group. Simply executing the playbooks will deploy the neutron servers on the baremetal machines and will leave all existing agents containers alone.14:22
Adri2000"14:22
odyssey4meI would have thought that there'd at least be new agents on bare metal, and you'd have to manually remove your old ones. But (this was some time ago) when I tried I found the same as you.14:22
cloudnullAdri2000 post upgrade you should have neutron agents running in containers and baremetal14:22
Adri2000that's what I expected from reading the relnote14:22
cloudnullwith the upgrade script there a few post upgrade tasks that have to be run to clean up those extra containers.14:23
*** tux__ has joined #openstack-ansible14:23
cloudnulldevx and I did an upgrade to queens just the other day and that's how it worked for us ?14:23
odyssey4meAdri2000: do you happen to have some old env.d files in /etc/openstack_deploy ?14:24
Adri2000odyssey4me: cleaned that up after what you told me yesterday14:25
Adri2000so, no14:25
cloudnulla lot of folks have the neutron agents running on the infra hosts, are you sure the agents aren't started installed there (maybe just not started)?14:25
odyssey4mecloudnull: as far as I know there's nothing in the upgrade stuff to clean up, because when I was building the ones to clean up cinder, ironic, trove I vaguely remember seeing not host agents and not being sure how to proceed14:25
odyssey4methen I ran out of time14:25
ivveyo guys14:25
ivvethis variable still required or fix implemented? nova_spicehtml5_git_repo: https://gitlab.freedesktop.org/spice/spice-html5.git14:25
odyssey4meivve: fix implemented some time ago14:26
ivvein latest pike/stable14:26
*** armaan has joined #openstack-ansible14:26
ivveodyssey4me: cool thanks!14:26
Adri2000my guess is that the issue is at the inventory level, given that the bare metal hosts are not part of the neutron_agent and neutron_agents_container ansible groups14:26
cloudnull++ a custom env.d file would change the default behavior.14:26
odyssey4meAdri2000: if that is the case, then we have a bug somewhere14:26
*** tonyontopic has joined #openstack-ansible14:26
cloudnullsomthing in /etc/openstack_deploy/env.d14:26
*** tux_ has quit IRC14:26
*** zenirc369 has joined #openstack-ansible14:27
ivvecloudnull: btw that environment with that later keepalived worked better (the bionic repo one)14:27
cloudnullfor the upgrade we just did, we simply ran the run_upgrade.sh script and all was well with the world14:27
cloudnullivve nice! was taht installed through the UCA repo or by pulling the bionic packages directly ?14:28
Adri2000to be fair, I still have one env.d/ file, which is cinder-volume.yml and puts cinder-volume inside a container. but absolutely nothing related to neutron :(14:28
ivvecloudnull: bionic directly for both hosts & neutron_agents container14:28
ivveno issues found after a good couple of weeks now during summer14:29
cloudnullAdri2000 if you run `openstack-ansible os-neutron-install.yml --list-hosts` do you see any of the hosts that were running the neutron agents containers before?14:29
cloudnullivve that's actually great news14:30
Adri2000cloudnull: that lists only neutron containers (server and agents) as well as compute nodes14:30
Adri2000doesn't list bare metal network_hosts14:31
spotzgreetings peeps14:31
odyssey4meneed another core review for https://review.openstack.org/587401 if anyone has a moment, and also https://review.openstack.org/58658614:31
cloudnullAdri2000 can you have a look at your local neutron env.d file within the osa playbooks, do you have  https://github.com/openstack/openstack-ansible/blob/stable/queens/inventory/env.d/neutron.yml#L71  ?14:32
ivvecloudnull: basic instruction is install universe & main restricted repos (bionic) and then update keepalived and debsums14:33
cloudnullAdri2000 also in the file /usr/local/bin/openstack-ansible.rc is the inventory path pointed to the playbook location with the correct env.d files?14:33
Adri2000cloudnull: in /opt/openstack-ansible/inventory/env.d/neutron.yml, I do yes, is_metal: true. I have tried copying that file in /etc/opentack_deploy/env.d/ just in case, but that doesn't change the generated inventory14:33
Adri2000`export ANSIBLE_INVENTORY="${ANSIBLE_INVENTORY:-/opt/openstack-ansible/inventory/dynamic_inventory.py,/etc/openstack_deploy/inventory.ini}"`14:34
Adri2000that dynamic_inventory.py is next to the env.d/ directory, looks good to me14:35
cloudnull++ that all looks good to me14:35
cloudnullAdri2000 anything in the openstack_user_config or conf.d files that is setting is_metal?14:38
cloudnullunder /etc/openstack_deploy14:38
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_designate master: Convert role to use a common systemd service role  https://review.openstack.org/58719614:40
openstackgerritMerged openstack/openstack-ansible-os_watcher master: Move MQ vhost/user creation into role  https://review.openstack.org/58339714:40
openstackgerritMerged openstack/openstack-ansible-os_rally stable/queens: Implement pypi-based install and package pinning for non u-c packages  https://review.openstack.org/58517014:40
Adri2000cloudnull: "container_skel: cinder_volumes_container: properties: is_metal: false" in env.d/*. then nothing apart from "is_metal"s in openstack_inventory.json14:40
openstackgerritMerged openstack/openstack-ansible-os_congress master: Move MQ vhost/user creation into role  https://review.openstack.org/58336914:42
spotzhey odyssey4me - in https://review.openstack.org/#/c/586586/4/tests/test-install-cloudkitty.yml password is secret and in the readme it's different, I'm assuming that's fine but want to double check before voting14:42
spotzhttps://review.openstack.org/#/c/586586 for reference14:42
Adri2000I've just started again the VM where I did a pike AIO deployment + queens upgrade last week: same issue there. neutron agents only in the lxc container14:43
cloudnullAdri2000 are the cinder volumes containers on the same host as the neutron agents? maybe the property is bleeding over ?14:43
* cloudnull grasping at straws14:43
cloudnullhaving just done this in a prod environment the other day, it was working as expected.14:44
cloudnullso im not quite sure what is going on14:44
openstackgerritMerged openstack/openstack-ansible-os_heat master: Default MQ RPC/Notify credentials/vhosts to match  https://review.openstack.org/58702114:44
openstackgerritDavid Wilde proposed openstack/openstack-ansible-ops master: Deploy ELK in MNAIO  https://review.openstack.org/58661214:44
Adri2000cloudnull: could you confirm that the network_hosts bare metal machines are supposed to be in the neutron_agent ansible group? in the neutron_agents_container ansible group as well14:46
Adri2000?14:46
openstackgerritMerged openstack/openstack-ansible-tests master: Remove all MQ vhost/user creation tasks/vars  https://review.openstack.org/58652414:47
openstackgerritMerged openstack/openstack-ansible-os_glance master: Default MQ RPC/Notify credentials/vhosts to match  https://review.openstack.org/58599014:48
cloudnullAdri2000 I dont have access to the environment at this time however I can get someone to take a look a little later today14:49
openstackgerritMerged openstack/openstack-ansible-os_keystone master: Default MQ RPC/Notify credentials/vhosts to match  https://review.openstack.org/58702614:49
Adri2000thanks14:49
cloudnullanyone around want to give these a review https://review.openstack.org/#/q/starredby:cloudnull+status:open,n,z14:50
*** vnogin has joined #openstack-ansible14:51
openstackgerritMerged openstack/openstack-ansible-os_trove master: Add missing domain_id argument to os_project task  https://review.openstack.org/58705714:51
openstackgerritMerged openstack/openstack-ansible-os_tacker master: Move MQ vhost/user creation into role  https://review.openstack.org/58339414:51
*** vollman has joined #openstack-ansible14:52
openstackgerritMerged openstack/openstack-ansible-os_trove master: Default MQ RPC/Notify credentials/vhosts to match  https://review.openstack.org/58703614:52
openstackgerritMerged openstack/openstack-ansible-os_aodh master: Default MQ RPC/Notify credentials/vhosts to match  https://review.openstack.org/58701114:53
openstackgerritMerged openstack/openstack-ansible-os_aodh master: Remove unnecessary MQ vhost/user creation tasks/vars  https://review.openstack.org/58652914:53
*** KeithMnemonic has joined #openstack-ansible14:54
openstackgerritMerged openstack/openstack-ansible-os_cinder master: Default MQ RPC/Notify credentials/vhosts to match  https://review.openstack.org/58702214:55
openstackgerritMerged openstack/openstack-ansible-tests master: Set lxc_* vars in one place  https://review.openstack.org/58324114:55
*** armaan has quit IRC14:58
openstackgerritMerged openstack/openstack-ansible-os_zun master: Move MQ vhost/user creation into role  https://review.openstack.org/58339914:59
*** weezhard has joined #openstack-ansible15:00
*** FrankZhang has joined #openstack-ansible15:01
jrossercan i get some more eyes on these https://review.openstack.org/#/q/topic:bionic-vars+(status:open+OR+status:merged)15:04
cloudnulljrosser looking15:08
*** pcaruana has quit IRC15:10
openstackgerritMerged openstack/openstack-ansible-os_sahara master: Default MQ RPC/Notify credentials/vhosts to match  https://review.openstack.org/58703315:13
openstackgerritMerged openstack/openstack-ansible-os_magnum master: Default MQ RPC/Notify credentials/vhosts to match  https://review.openstack.org/58702715:13
openstackgerritMerged openstack/openstack-ansible-os_trove master: Remove unnecessary MQ vhost/user creation tasks/vars  https://review.openstack.org/58653515:13
openstackgerritMerged openstack/openstack-ansible-tests master: Add openstack client to Ansible venv  https://review.openstack.org/58249415:13
openstackgerritMerged openstack/openstack-ansible-os_ceilometer master: Default MQ RPC/Notify credentials/vhosts to match  https://review.openstack.org/58701715:13
openstackgerritMerged openstack/openstack-ansible-os_ceilometer master: Remove unnecessary MQ vhost/user creation tasks/vars  https://review.openstack.org/58653015:13
openstackgerritMerged openstack/openstack-ansible-os_glance master: Convert role to use a common systemd mount role  https://review.openstack.org/55218515:13
openstackgerritMerged openstack/openstack-ansible-os_neutron master: Default MQ RPC/Notify credentials/vhosts to match  https://review.openstack.org/58702915:13
openstackgerritMerged openstack/openstack-ansible-os_ironic master: Default MQ RPC/Notify credentials/vhosts to match  https://review.openstack.org/58702315:13
*** dabukalam has quit IRC15:14
jrossercloudnull: cheers!15:15
openstackgerritMerged openstack/openstack-ansible-os_nova stable/queens: Map instances to cell_v2 only once.  https://review.openstack.org/58515615:15
odyssey4meevrardjp: could you revisit your vote on https://review.openstack.org/585157 and https://review.openstack.org/585158 with queens now merged?15:16
openstackgerritMerged openstack/openstack-ansible-os_magnum master: Remove unnecessary MQ vhost/user creation tasks/vars  https://review.openstack.org/58653415:17
openstackgerritMerged openstack/openstack-ansible-os_nova master: Default MQ RPC/Notify credentials/vhosts to match  https://review.openstack.org/58703115:18
openstackgerritMerged openstack/openstack-ansible-os_octavia master: Default MQ RPC/Notify credentials/vhosts to match  https://review.openstack.org/58703815:18
*** armaan has joined #openstack-ansible15:18
*** vinsh has joined #openstack-ansible15:19
jrosserseeing quite a few centos7 "Failed to connect to copr-be.cloud.fedoraproject.org" which is sad15:22
cloudnullfairly typical, sadly15:22
*** udesale has quit IRC15:23
openstackgerritMerged openstack/openstack-ansible-os_cloudkitty master: Update to use oslo.messaging service RPC and Notify  https://review.openstack.org/58658615:24
openstackgerritMerged openstack/openstack-ansible-os_cloudkitty master: Move MQ vhost/user creation into role  https://review.openstack.org/58678415:24
openstackgerritMerged openstack/openstack-ansible-os_cloudkitty master: Cleanup playbook, vars and overrides  https://review.openstack.org/58687815:24
cloudnullgiven the flakiness of the that repo I'd like to transition all of the cent7 testing to nspawn and get rid of lxc for the distro but it'll have to be something for the next cycle.15:24
cloudnullbtw: evrardjp still want to talk about nspawn testing ?15:24
*** cshen has quit IRC15:25
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_swift master: Execute service setup against a delegated host using Ansible built-in modules  https://review.openstack.org/58235415:25
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_cloudkitty master: Convert role to use a common systemd service role  https://review.openstack.org/58718715:27
mnasercloudnull: hopefully nspawn for centos nexy cycle15:27
mnasernext cycle**15:27
cloudnull++15:27
cloudnullhows it mnaser ?15:27
odyssey4mecloudnull: Well, I'm inclined to think that perhaps CentOS should just be distro installs and no containers. Given the low helper count on that front, and the complexity of keeping source-based builds going on there - I'm inclined to suggest we go for simplicity.15:28
cloudnullthat might be a good way forward for cent, for the time being.15:29
odyssey4meThat said, it seems that we've managed to get it to a reasonably stable state now. It'd kinda be a shame to go backwards. :p15:29
openstackgerritMerged openstack/openstack-ansible-os_molteniron master: Use generic vars file for ubuntu  https://review.openstack.org/58670115:31
odyssey4meI'm honestly just getting to a place where I wonder what the point is of using containers at all in our builds. We're using slices, so we have process isolation. We now also have complete distribution package vs venv isolation, so we're not needing any form of binary isolation.15:31
cloudnullI think we're on a pretty good trajectory ATM but cent7 needs some more love for sure.15:31
odyssey4meContainers are adding a ton of networking complexity, and I'm not really understanding their value.15:32
*** dabukalam has joined #openstack-ansible15:33
*** dabukalam has quit IRC15:33
*** dabukalam has joined #openstack-ansible15:33
evrardjpI am trying to see what's the minimum testing required to be accurate -- so less things to run.15:33
evrardjpI realize we have tons of duplications15:33
cloudnullodyssey4me you're not wrong. with all of the service isolation we do in the default units its very container like without the extra filesystem. that said the service isolation is not giving any network isoaltion for a service without a container and that's been useful in a lot of production cases.15:34
odyssey4mecloudnull: I'm just kinda feeling that perhaps container usage should be opt-in, rather than opt-out.15:34
openstackgerritMerged openstack/openstack-ansible-os_swift master: Unblock gate: Provide default rabbitmq password  https://review.openstack.org/58740115:35
odyssey4meWith that approach, we could actually just ditch LXC and have nspawn - and nspawn would only need to be something people care about if they opt into using it.15:35
TahvokWill there be a meeting today?15:35
jrosseri like being able to destroy/recreate a thing entirely as if its a machine15:35
jrosserand there is a lot to be said for nothing much mattering on the hosts themselves, i rarely worry i'm going to mess up container X by fiddling in container Y15:36
cloudnulljrosser ++15:36
cloudnullThere's a lot of benefits to the current architecture in that regard.15:37
cloudnullOne of the things i'd like to figure out this cycle is how to call openstack_hosts/pip_install less. deploying queens/rocky to prod seems like its running that role (or parts of it) 100000000000000 times.15:37
odyssey4mejrosser agreed, although I was thinking that if we just used chroots we could achieve the same thing without the network complexity... and then we could actually commit to the same pattern for absolutely everything (compute service included)15:37
odyssey4mecloudnull: uh, pike was doing that - it got cut down dramatically in queens15:38
cloudnullits very much still there.15:38
odyssey4mepip_install gets run in repo_server/repo_build as a meta dep - and I think that can get cleaned up15:39
cloudnullmaybe less so than pike?15:39
odyssey4meit also gets run in openstack_hosts, and in the utility play - that is it as far as I know15:39
odyssey4meopenstack_hosts gets run once for hosts and once for containers, and that's it, as far as I know15:39
odyssey4meif it's running more often than that, I'd be surprised15:40
cloudnullwe saw a lot of it over the weekend doing a queens upgrade.15:40
*** priteau has joined #openstack-ansible15:40
cloudnullit felt like we were spending a lot of time watching tasks fly by with no change.15:41
odyssey4mehmm, we should look into that - whatever the fix, it's probably back portable15:41
cloudnull++15:42
cloudnullwe're still compiling notes on the upgrades.15:42
cloudnullhopefully we'll get some prs in soon.15:42
cloudnullnewton>queens in an evening, much fun was had by all.15:43
priteauodyssey4me: Hello. I am a Blazar core dev, I have recently started following openstack-ansible-os_blazar. I just noticed that https://review.openstack.org/#/c/586472/ got merged. I don't think it's right, Blazar uses RabbitMQ to send RPC betwen API and Manager.15:44
odyssey4mepriteau: ah, that got merged because there didn't appear to be anything in the role using it15:45
priteauOops, I didn't realize you were in your weekly meeting.15:45
TahvokShouldn't it start in 15 minutes?15:46
odyssey4mepriteau: if you could put together a new patch to implement the right config entries, similar to the pattern in the other roles, that'd be a great help15:46
odyssey4meoh, and we're not in our meeting yet15:46
priteauRight, UTC time.15:46
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: [TEST] bionic  https://review.openstack.org/58660715:47
openstackgerritJames Denton proposed openstack/openstack-ansible-os_neutron master: Adds networking-ovn support  https://review.openstack.org/58406715:48
priteauodyssey4me: I can take a look, but I am not familiar with openstack-ansible yet.15:48
*** tonyontopic has quit IRC15:50
odyssey4mepriteau: it should mostly be a copy/paste/sed affair from one of the other roles - but if you find you're not comfortable doing it then ping me and I'll pick it up for you15:50
odyssey4meI'm very happy to help you through the process, and you'll find as a community we're usually helpful if we can be.15:51
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_blazar master: Convert role to use a common systemd service role  https://review.openstack.org/58711415:53
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_blazar master: This patch ensures that the functional tests for Blazar pass.  https://review.openstack.org/57138815:53
cloudnulloh, priteau ^ was rebasing blazar due to merge conflicts from the other changes. sorry if that's getting in the wya.15:54
cloudnull**in the way of something you were working on15:54
priteauodyssey4me: Thanks for the offer, I'll give it a try.15:56
*** epalper has quit IRC15:56
openstackgerritPierre Riteau proposed openstack/openstack-ansible-tests master: Fix link to mq_setup.yml  https://review.openstack.org/58750815:56
priteau^^^ My first patch ;-)15:56
evrardjpwho is hosting today's meeting?15:57
mnasero/15:57
evrardjpchairing*15:57
mnaserjust about to highlight $world15:57
evrardjpgo ahead15:57
mnasercloudnull, DimGR, andymccr, d34dh0r53, hughsaunders, b3rnard0, palendae, odyssey4me, serverascode, rromans, erikmwilson, mancdaz, _shaps_, BjoernT, claco, echiu, dstanek, jwagner, ayoung, prometheanfire, evrardjp, arbrandes, scarlisle, luckyinva, ntt, javeriak, spotz, vdo, jmccrory, alextricity25, jasondotstar, admin0, michaelgugino, ametts, bgmccollum, darrenc, JRobinson__, colinmcnamara, thorst, adreznec, eil397,15:57
mnaserqwang,nishpatwa_, cathrichardson, drifterza, hwoarang, cshen, ullbeking, Tahvok, mnaser, nicolasbock, jrosser15:57
spotzboo15:57
mnaser5 minute (or 3 minute warning) :)15:57
mnaserevrardjp: could you do me the wonderful favour you always do? :D15:57
evrardjpit's already done15:57
cloudnullanyone want to hit https://review.openstack.org/#/c/573509/ through ?15:57
mnaseryou da bess15:57
cloudnull:)15:58
evrardjpEditing the agenda15:58
mnasercloudnull: doneso15:58
cloudnullTYVM!15:58
mnasermeetings always happen at lunch time here15:58
mnaser:'(15:58
evrardjpmnaser: or dinner time.16:00
evrardjp:)16:00
cloudnullor brunch time!16:00
mnaser#startmeeting openstack_ansible_meeting16:00
guilhermespmy plate is always making me company :P16:00
evrardjpwe can do it earlier.16:00
openstackMeeting started Tue Jul 31 16:00:35 2018 UTC and is due to finish in 60 minutes.  The chair is mnaser. Information about MeetBot at http://wiki.debian.org/MeetBot.16:00
openstackUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.16:00
*** openstack changes topic to " (Meeting topic: openstack_ansible_meeting)"16:00
mnaser#topic roll call16:00
openstackThe meeting name has been set to 'openstack_ansible_meeting'16:00
evrardjpo/16:00
*** openstack changes topic to "roll call (Meeting topic: openstack_ansible_meeting)"16:00
cloudnullo/16:00
mnasero/16:00
guilhermesp\m/16:00
Tahvoko/16:01
odyssey4meo/16:01
mnaserhow's everyone doing on this lovely day16:01
jrossero/16:01
mnaser(everyone is doing great apparently)16:02
mnasercool so lets dive in16:02
mnaser#topic last week  highlights16:02
*** openstack changes topic to "last week highlights (Meeting topic: openstack_ansible_meeting)"16:02
mnaserodyssey4me: Reminded we need more work done on Bionic.16:02
odyssey4meand jrosser has picked up the challenge!16:02
mnaserjrosser: has been putting in work, hopefully he's been getting the reviews he needs (i am getting back to OSA 'officially' today)16:03
jrosseryes i have been - thanks everyone16:03
mnasergreat16:03
jrosseri can cover some detail there?16:03
d34dh0r53o/16:03
mnasersure if there's something we need to be up to date on :)16:03
jrossertop line is most stuff looks ok16:04
jrosserrabbitmq verion needed a bump16:04
openstackgerritMerged openstack/openstack-ansible-os_heat master: Use generic vars file for ubuntu  https://review.openstack.org/58669616:04
jrosserbionic uses lxc 3.x which has some config keys changed16:04
mnaserthat'll be a tricky one16:04
spotzo/16:04
jrosservars/ubuntu-16.04.yml -> ubuntu.yml fixes most things16:04
jrosserand glance v1 api removed16:05
jrosserthats been it really16:05
mnaseryeah i think it's good, it would maybe be good to have per-distro and per-version files16:05
mnaserso we can override if any specific distros have weird things per version16:05
mnaserbut yeah, thanks for your awesome work16:05
* mnaser will be putting in some centos 7 works again soon hopefully16:06
mnaserhwoarang: Leap 15 is blocked due to lxc, sudo and mariadb bugs. Will work on that after holidays (and once aio_distro_basekit is in).16:06
evrardjpfor the key changes we can use their converter tool16:06
openstackgerritMerged openstack/openstack-ansible-os_ceilometer master: Use generic vars file for ubuntu  https://review.openstack.org/58668916:06
odyssey4memnaser: well, I've asked to converge to one file where possible - so that new versions are more of a no-op if possible16:06
odyssey4meless code churn16:06
jrosserno worries :) - again thanks for the reviews everyone16:06
mnaserodyssey4me: ++ absolutely agree16:06
evrardjpjrosser: maybe we should make sure the converter tool is used for upgrades?16:06
openstackgerritMerged openstack/openstack-ansible-os_tacker master: Use generic vars file for ubuntu  https://review.openstack.org/58670816:06
andymccryeah thats a good idea16:06
andymccrthe converter tool looks pretty useful16:07
odyssey4meconverter tool?16:07
*** tonyontopic has joined #openstack-ansible16:07
andymccrlxc 3.0 comes with a tool to convert old conf --> new16:07
mnaserwe're going to have to be careful about still supporting older lxc16:07
jrosserso far there has only been one key thats been a problem16:08
mnaserfor things like centos16:08
*** shardy has quit IRC16:08
odyssey4meoh, interesting - although I suspect our upgrades for in-place would be more complex - not just converting existing config16:08
odyssey4mein the past it's been to refresh the whole host16:08
andymccri ran into 2 i think, there is one for unconfined. but it may be a good idea - e.g. deploy as is now and then run the tool against the conf (or something similar)16:08
evrardjpodyssey4me: well that's why I bring the idea here: before starting full heads on renewing things,maybe we should just incorporate the tool16:08
jrosserlxc.aa_profile -> lxc.apparmor.profile16:08
evrardjpandymccr: ++16:09
jrosserhoever there is a massive list of aparrently deprecated keys and a bunch of them are used16:09
jrosserto there is follow up work to check those16:09
openstackgerritMerged openstack/openstack-ansible-os_trove master: Use generic vars file for ubuntu  https://review.openstack.org/58671116:09
jrosserto/so16:09
*** vnogin has quit IRC16:09
andymccruntil a point where we only support lxc 3.0 + and then drop the tool? i dunno thats just an idea really16:09
evrardjpIf the tool doesn't break the file with new keys, we can just use them both16:10
evrardjpI mean always use the tool16:11
evrardjpI don't know16:11
mnaserim assuming lxc3 vars break lxc216:11
evrardjpthat's not what I meant16:11
mnasercan we actually carry *both* lxc2 and lxc3 vars?16:11
openstackgerritMerged openstack/openstack-ansible-os_sahara master: Use generic vars file for ubuntu  https://review.openstack.org/58670716:11
evrardjpI meant, for greenfields: run the new templating and always use the tool, for upgrades: do not template, just use the tool16:11
evrardjpwell16:11
evrardjplong story short, making conditionals on the version and running the tool?16:12
evrardjpI misexplained myself again16:12
*** vnogin has joined #openstack-ansible16:12
openstackgerritMerged openstack/openstack-ansible-os_gnocchi master: Use generic vars file for ubuntu  https://review.openstack.org/58669316:13
mnaseri dont want us to dive toooo much into this discussion, perhaps we can discus this outside meeting?16:13
evrardjpgenerate things for lxc2, run the tool to migrate to lxc3 always -- so upgrades will have no problems as things haven't changed -- but greenfield will be auto migrated16:13
openstackgerritMerged openstack/openstack-ansible-os_glance master: Use generic vars file for ubuntu  https://review.openstack.org/58669216:13
evrardjpok16:13
mnaserit is a very important subject but we are a bit limited on time, got a few bugs16:13
mnaserhwoarang: Leap 15 is blocked due to lxc, sudo and mariadb bugs. Will work on that after holidays (and once aio_distro_basekit is in).16:13
mnaseri dont think hwoarang is around so that probably hasnt progressed much16:13
mnaseror maybe it has16:13
openstackgerritMerged openstack/openstack-ansible-os_ironic master: Use generic vars file for ubuntu  https://review.openstack.org/58669816:14
mnaseranyone know a bit more details? :>16:14
mnaseri gueeeess not :<, we'll follow up next week for this16:14
mnaserevrardjp: M3 was last Thursday but we were waiting for a patch that never merged: https://review.openstack.org/#/c/585720/ . AP: Refactor testing to be lighter, refactor releasing, and release without the pin.16:14
mnaserso looks like we're struggling to get m3 patch in16:15
mnaserlooks like cinder timeouts :\ at least the most recent runn16:15
mnasercan we have more people do rechecks and pay attention to that change if possible16:16
evrardjpmnaser: I have taken action points, I will release without the role pins. And I am working on the refactor testing already16:16
mnaserok cool16:16
evrardjpmnaser: I don't want any more rechecks16:16
mnaserthat seems reasonable.16:16
evrardjpthat's useless now16:16
mnaserdo we want to abandon that change then?16:16
evrardjpmore than 20 rechecks on infra timeouts16:16
evrardjpI am abandonning the chain of changes and will do things differently.16:16
mnaserok, sounds good16:16
evrardjptoo bad for the reproducibility of m316:16
mnaserdoubt anyone is deploying m3 release :X16:17
*** vnogin has quit IRC16:17
mnaserevrardjp: Congratulations on our next PTL: mnaser!16:17
mnaser^^ well thats technically not official yet :p16:17
mnaserbut just an fyi as evrardjp put it up16:17
mnaserevrardjp: Congratulations on our new core: jrosser!16:17
mnasercongrats jrosser !  welcome and thanks for all the work you've done, look forward to bothering you for reviews :D16:17
jrosser:)16:17
mnaser#topic bug triage16:17
*** openstack changes topic to "bug triage (Meeting topic: openstack_ansible_meeting)"16:18
mnaser#link https://bugs.launchpad.net/openstack-ansible/+bug/178466016:18
openstackLaunchpad bug 1784660 in openstack-ansible "[WIP] Implement Neutron OVS-DPDK Support" [Undecided,New]16:18
TahvokCongrats guys!16:18
d34dh0r53grats!16:18
mnaserwell thats a nice to have, do we wanna put this as like confirmed/wishlist?16:18
mnaseror maybe in progress and assign to james as it looks like they might be wanting to pick up the work16:19
odyssey4meoh jamesdenton already has patches up for it16:19
mnaseri assume that this is just a 'tracking' bug16:20
odyssey4meI expect so - wishlist/in progress16:20
TahvokIs the open discussion after the bug triage? I was thinking it's the other way around..16:20
odyssey4meand assign to jamesdenton16:20
mnaserTahvok: it is after :>16:20
Tahvokmnaser: ok, thanks!16:20
mnaserso its in progress/wishlist/james16:20
mnaser#link https://bugs.launchpad.net/openstack-ansible/+bug/178453716:20
openstackLaunchpad bug 1784537 in openstack-ansible "Resource Usage tab doesn't appear in Horizon after installing Ceilometer" [Critical,New]16:20
mnaserdid ceilometer get its own dashboard16:21
odyssey4mewell, it used to a long time ago - it was terrible16:21
mnaseryeah but it was part of horizon afaik16:22
odyssey4meno idea16:22
mnaseri cant find a ceilomter dashboard project16:22
mnaserbut16:22
mnaseri think it would make sense "Resource Usage" is not visible because16:22
mnaserceilometer has no api anymore16:22
mnaserso horizon would poll the keystone service catalog and find nothing16:22
*** zenirc369 has quit IRC16:23
TahvokI could only find some screenshots of it on google..16:23
*** armaan has quit IRC16:23
mnaserone sec i tihnk it was removed16:23
d34dh0r53wayback, like icehouse-ish16:24
odyssey4meunless 'resource usage' is that pie chart thing which shows how many computes used, etc16:24
mnaserhttps://github.com/openstack/horizon/commit/20ea82b9efe78516286c4b35c5dc644b296b4313#diff-23a06074ccaed6243de4f9b416f50c5f16:24
mnaserhttps://github.com/openstack/horizon/commit/20ea82b9efe78516286c4b35c5dc644b296b431316:24
mnaserit was removed16:24
*** suggestable has quit IRC16:25
mnaserso invalid/undecided16:25
mnaseradding a commit with that16:25
mnasererr16:25
mnasercomment with that commit16:25
mnaserenglish is hard16:25
mnaser#link https://bugs.launchpad.net/openstack-ansible/+bug/178436916:25
openstackLaunchpad bug 1784369 in openstack-ansible "Pike to queen failed to cleanup nova container" [Undecided,New]16:25
odyssey4melooks like it hit a transient error16:26
odyssey4memaybe could do with retry/until on that task16:27
mnaseryeah it looks like rerunning it localyl worked fine16:27
*** hachi has quit IRC16:27
mnaserconfirmed/low because it's upgrade related and only rarely might happen?16:28
*** kaiokmo has quit IRC16:28
odyssey4meyeah16:28
mnasercool, confirmed/low16:28
mnaser#link https://bugs.launchpad.net/openstack-ansible/+bug/178426416:28
openstackLaunchpad bug 1784264 in openstack-ansible "Pike to queen upgrade failed at repo-use.yml" [Undecided,New]16:28
odyssey4mewith a suggestion to add retries to the task, and perhaps add the low-hanging-fruit tag16:28
openstackgerritMerged openstack/openstack-ansible-tests master: Add missing services and collect journal logs  https://review.openstack.org/58725916:28
openstackgerritMerged openstack/openstack-ansible-os_neutron master: Use generic vars file for ubuntu  https://review.openstack.org/58670216:28
mnaserodyssey4me: done!16:29
mnaserok so for that16:29
mnaseri think i know what happened16:29
odyssey4methis one should be resolved at the head of stable/queens now - so it'd be good to know the SHA/tag they were using16:29
mnaserwe ran into this16:29
*** lvdombrkr has quit IRC16:29
mnaserthe 404 one?16:29
mnaseraka 1784264?16:29
odyssey4meyep16:30
mnaserwe ran into it if operating systems dont match16:30
mnaserso like if your repo is running centos 7.416:30
mnaserbut your compute is 7.516:30
odyssey4meoh, that's interesting - no idea about that16:30
mnasercompute tries to download centos-7.516:30
mnaserbut that doesnt exist in the repo16:30
* mnaser thinks we should use centos-7 only rather than centos-716:30
odyssey4methat'd definitely do it16:30
mnaserlike major release only16:30
mnaserthe workaround is to upgrade your repo and all containers16:31
odyssey4methere has to be a single repo container for every distro/version/arch combo you want to serve16:31
mnaserright, but centos 7.4 and 7.5 is similar (i think?)16:31
odyssey4meso if you have a mix of target hosts, you need a mix of repo containers16:31
mnaseri mean the difference isnt like 18.04 and 16.0416:31
odyssey4meyeah, I dunno - I'm just saying what it was designed to do16:31
mnaserodyssey4me: i think your build code might fix all of this too16:32
mnaseri think?16:32
odyssey4meall of that will hopefully go away soon, because that was implemented because of special packages like python-libvirt, which we no longer build16:32
Tahvokcentos is supporting only the latest version.. I think even the deployers just want the latest...16:32
odyssey4meso given we no longer build them, we could revert to a simpler deployment16:32
odyssey4meanyway, that's a ton of work still to come in the next cycle.. so for now the reporter needs to know what you just said16:33
*** sdake has quit IRC16:33
*** sdake has joined #openstack-ansible16:33
*** sdake has quit IRC16:33
*** sdake has joined #openstack-ansible16:33
mnaseradded a commenty16:33
mnaserconfirmed/medium16:33
mnaser#link https://bugs.launchpad.net/openstack-ansible/+bug/178425316:34
openstackLaunchpad bug 1784253 in openstack-ansible "Upgrade pike to queens failed " [Undecided,New]16:34
mnaserid say16:35
mnaserrepo server is broken16:35
mnaserso haproxy is returning 50316:35
mnasersetting to invalid and adding comment that the repo server is down so thats the root cause16:36
evrardjpI think there is a message coming: more ppl should work on upgrades since I don't work on those anymore :(16:36
mnaserupgrades worked fine for me :\16:36
mnaser(all these bugs are teh same user)16:37
mnaser#link https://bugs.launchpad.net/openstack-ansible/+bug/178423016:37
openstackLaunchpad bug 1784230 in openstack-ansible "Error while running setup-openstack.yml" [Undecided,New]16:37
mnaseri am going to guess setup-infrasttructure.yml isnt running or there is a firewall16:38
* mnaser notices hostname of system is ceph-mon16:38
openstackgerritMerged openstack/openstack-ansible-os_cinder master: Use generic vars file for ubuntu  https://review.openstack.org/58669016:38
openstackgerritMerged openstack/openstack-ansible-os_nova master: Remove dosfstools-dbg package from ubuntu installs  https://review.openstack.org/58737416:38
mnaserincomplete will ask for info if they ran it?16:38
openstackgerritMerged openstack/openstack-ansible-os_nova master: Use generic vars file for ubuntu  https://review.openstack.org/58670416:38
evrardjpjust a sec16:38
odyssey4mewell, that error tends to come back if the galera_server haproxy connecitivity is flaky/broken16:39
evrardjpyeah it's  weirdly skipping hosts too16:39
evrardjpwe don't know the branch, the cli call, nor if setup-infra ran fine16:39
evrardjpincomplete is the proper triage, but there is no message there16:40
evrardjpfor the bug reporter16:40
mnaseri just added a message.16:40
mnaseri was waiting because of the 'just a sec'16:40
mnaser:)16:40
evrardjpok I saw your message16:40
evrardjpok16:40
evrardjpgreat16:40
evrardjpnex16:40
mnaser#link https://bugs.launchpad.net/openstack-ansible/+bug/178406616:40
openstackLaunchpad bug 1784066 in openstack-ansible "ceph-install.yml using older version of ceph-ansible 3.0.9" [Undecided,New]16:40
evrardjpnext16:40
*** kaiokmo has joined #openstack-ansible16:40
mnaserare we running newer ceph-ansible in queens or16:41
*** hakonw has quit IRC16:42
*** hakonw has joined #openstack-ansible16:42
mnaserhttps://github.com/openstack/openstack-ansible/blob/stable/queens/ansible-role-requirements.yml#L185-L18816:43
evrardjpwell16:43
evrardjpif he removes the version of ceph ansible16:43
evrardjpsorry16:43
evrardjpif he removes the roles16:43
odyssey4methe upgrade should have something to remove the old roles16:43
evrardjpthen "rebootstrap" ceph ansible16:43
odyssey4meif it doesn't, that's a bug16:43
evrardjphe is still with a version of ansible coming from OSA which may not be compatible with ceph-ansible16:44
odyssey4me'ceph-ansible' and 'ceph_client' are correct - the others are old16:44
evrardjpwell we never said we will support ppl randomly bumping ceph-ansible with the current code16:44
mnaseroh look at comments they rebootstrapped16:45
evrardjpexactly16:45
evrardjpfirst line is osa was 3.0.9 I needed 3.1.x so I used the roles of 3.1 and now it doesn't work ...16:45
guilhermespso non-osa roles needs to be replaced in case of upgrades, right?16:45
evrardjpwell... we can point to why it's fialing16:46
mnaserinvalid/unsupported use case?16:46
mnaserbugs are being used as support :\16:46
TahvokIs there other official place for support?16:46
Tahvokexcept irc...16:46
mnasermailing lists16:46
guilhermespthey are all from tux__16:46
logan-i think it is a valid bug looking at the upgrade playbooks16:46
logan-https://github.com/openstack/openstack-ansible/blob/master/scripts/upgrade-utilities/playbooks/ceph-galaxy-removal.yml something like that should have been created when the role-requirements moved to use the ceph-ansible repo instead of the galaxy role breakoust for -mon, -osd, etc16:47
evrardjplogan-: oh16:47
evrardjpso https://github.com/openstack/openstack-ansible/blob/stable/queens/ansible-role-requirements.yml#L188 is not enough16:47
logan-right that just checks out the ceph-ansible repo, butthe old galaxy roles are still sitting higher in the roles path precedence16:48
evrardjpok16:48
evrardjpthat's the trick16:48
evrardjpthanks logan- !16:48
odyssey4meyep, this is a typical feature implementation without considering the upgrade tooling16:49
odyssey4mesomething we should be more wary of16:49
evrardjpit's super hard and we should all think about it in the reviews16:49
evrardjpbut we are all hoomans16:49
mnaserso status?16:49
guilhermespI think that could be important for monasca role, that has at least 5 role requirements16:49
mnaserconfirmed medium?16:50
evrardjpconfirmed high16:51
odyssey4meyeah, sounds fine to me - it'd be good to reference the discussion via an eavesdrop link16:51
mnaser k done16:51
evrardjplogan-: can you push up a simple patch ?16:51
mnaserill put a comment to meeting after16:51
*** aruns__ has quit IRC16:51
mnaser#link https://bugs.launchpad.net/openstack-ansible/+bug/178388616:51
openstackLaunchpad bug 1783886 in openstack-ansible "haproxy_server: rsyslog unable to log haproxy locally" [Undecided,New]16:51
mnaserneed to up the pace to have some open discussion time.16:51
logan-evrardjp ya16:51
openstackgerritKaio Kassiano Moura Oliveira proposed openstack/openstack-ansible-os_monasca-agent master: Add Ubuntu Bionic 18.04 support  https://review.openstack.org/58693316:51
odyssey4meperhaps better to just cut the bug triage off now16:51
odyssey4methere are always bugs, those we miss this week we can cover next16:52
mnaserodyssey4me: i agree16:52
odyssey4mewe have to make time for discussion16:52
mnaser++16:52
mnaserlets cut it off here then16:52
mnaser#topic open discussion16:52
evrardjpok16:52
*** openstack changes topic to "open discussion (Meeting topic: openstack_ansible_meeting)"16:52
mnaserOpenvswitch configuration does not handle configuration properly on compute nodes. It should be configured with different interfaces on neutron agent container and compute hosts.16:52
mnaserTahvok: ^ all yours16:52
TahvokYep16:52
odyssey4mewell, queens/rocky have no neutron agent containers any more ;)16:53
TahvokI've created some drawing for better understanding of the issue16:53
Tahvokodyssey4me: so... What do they have?16:53
mnaserthey sit on baremetal afaik16:53
odyssey4meIt goes onto the host instead.16:53
mnaserget deployed directly on the host16:53
mnaserso this only affects pike and older i assume16:53
TahvokWhat was the reasoning to go bare metal on this?16:54
odyssey4meTahvok: sorry - shouldn't have interrupted you, please continue16:54
*** Darcidride has joined #openstack-ansible16:54
TahvokYou didn't... If it's bare metal, then the interface name on controller and compute is the same - issue sovled :/16:55
mnaseri think there is a way of setting variables *per host* i think?16:55
odyssey4meTahvok: It moved to bare metal so that L3 doesn't go down during major upgrades.16:55
mnaserso you can configure vars for specific containers to work around this issue16:55
odyssey4meAnd just generally that container changes don't affect the networking layer.16:55
evrardjp(because we had many issues of container rebootings)16:55
TahvokUnless it would be cherry picked to pike?16:55
mnaseri dont think we'd have such a major change get cherry picked16:56
odyssey4meno, that's not going to happen16:56
mnaserhowever you can run it on baremetal16:56
mnaserby using env.d and is_metal16:56
evrardjpagreed16:56
TahvokNot the bare metal thing16:56
TahvokThe ovs configuration thing16:56
odyssey4meyes, if you want to you can grab the env.d file and put it into your user space16:56
mnasercontext for ovs configuration?16:57
odyssey4meoh yeah - so ovs config has always been partial and incomplete, but I've never seen anyone push up a patch to fix that16:57
TahvokSec16:57
mnaserovs works for us :X16:57
mnaserthats on queens tho16:57
mnasercloudnull: we're picking up your topic shortly after if you are around / have the info :p16:57
odyssey4memnaser: just became the ovs expert in OSA :p16:57
mnaserdamnit16:57
mnaser:p16:57
TahvokDown here: https://docs.openstack.org/openstack-ansible-os_neutron/latest/app-openvswitch.html16:57
TahvokIt says to configure network_interface var to set the interface16:58
mnaseroh but that uses openvswitch for the br-mgmt bridge, we don't use ovs for br-mgmt, only for neutron16:58
mnaserso i wouldn't be able to help out much as it's a different usecase :X16:58
tux__guilhermesp: Yes i have created those bug issue16:58
odyssey4meI'd venture to say that using OVS for the container back-end is probably over complicating your life.16:59
TahvokAll I'm saying if the neutron agents are containerized, the interface name would differ between it and the compute hosts16:59
odyssey4meUse linuxbridge for OSA's things, and use OVS for the neutron things - and keep them seperate.16:59
mnaserand i think there is a way in osa to override variables per host/container16:59
mnaserthat is the same issue that you might run into if you run different hardware16:59
mnaseryour port might be eth0 somewhere and eth1 elsewhere17:00
TahvokAnyway, as you have said, starting from queens, it's bare metal, so there is no interface name difference17:00
mnasercloudnull: are you around? :>17:00
TahvokIssue solved I guess :/17:00
mnaserTahvok: ++ sorry about that, you can run baremetal with OSA in queens17:00
mnaserokay, cool, well, we're over time and i think cloudnull might be afks17:00
Tahvokmnaser: no, there won't be such difference, as you need to create br-vlan bridge - doesn't matter what interface is under it17:00
mnaserTahvok: true17:01
mnaser#endmeeting17:01
*** openstack changes topic to "Launchpad: https://launchpad.net/openstack-ansible || Weekly Meetings: https://wiki.openstack.org/wiki/Meetings/openstack-ansible || Review Dashboard: https://goo.gl/tTmdgs"17:01
openstackMeeting ended Tue Jul 31 17:01:08 2018 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)17:01
odyssey4mewell, I know a little about what cloudnull wanted to raise17:01
openstackMinutes:        http://eavesdrop.openstack.org/meetings/openstack_ansible_meeting/2018/openstack_ansible_meeting.2018-07-31-16.00.html17:01
openstackMinutes (text): http://eavesdrop.openstack.org/meetings/openstack_ansible_meeting/2018/openstack_ansible_meeting.2018-07-31-16.00.txt17:01
mnaseroh17:01
mnaseroops17:01
openstackLog:            http://eavesdrop.openstack.org/meetings/openstack_ansible_meeting/2018/openstack_ansible_meeting.2018-07-31-16.00.log.html17:01
odyssey4meoh well17:01
mnaserwe can still talk about it17:01
*** vnogin has joined #openstack-ansible17:01
TahvokThanks a lot guys!17:01
mnaserfor the future, i will try to timebox things17:01
mnasereven if we cut bug triage short17:01
mnaseri kinda felt like we always had to finish it but yeah17:01
odyssey4mewell, it sorta comes down to how we're doing the distro installs - basically some of the packages have different names for the services - so we end up with our unit file and their unit file competing17:02
openstackgerritMerged openstack/openstack-ansible-os_magnum master: Add packages required for osprofiler  https://review.openstack.org/57350917:02
odyssey4memnaser: well, possibly best to get non bug things out the way first - then do bugs for as long as people participate17:02
odyssey4methat way we can get commitments to chair the meeting and any other decisions out the way17:02
mnaserodyssey4me: yeah, i agree17:03
mnaserodyssey4me: we shouldn't install unit files if its source deployments?17:03
mnaserand service names can be variable-ized i guess?17:03
TahvokOk, gtg, was nice to talk with you all!17:03
odyssey4memnaser: well, as far as I know - I haven't really looked - how hwoarang set it up is that we overwrite our unit file over the package one17:03
mnaseroh that's no good :\17:04
odyssey4meand for centos I think there are unit file differences, and he catered to those here and there IIRC17:04
jrosseri have struggled with wanting different networking arrangements on my network and compute nodes17:04
jamesdentonodyssey4me that was/is an issue for me with OVN. Package installs in /etc/init.d17:04
odyssey4meI guess we need to decide whether we do package installs the way they do it and don't interfere - or we do the mix and match approach.17:04
odyssey4meThe trouble with the distribution deployment doing things differently is that we end up having to deal with two totally different architectures.17:05
odyssey4meFor example, to uwsgi or not to uwsgi.17:05
mnaserodyssey4me: yeah, i agree, each distro has their own 'way'17:05
odyssey4meWe don't really have the time or people to deal with every distribution's style of doing things - which is why I like how hwoarang went ebout it.17:06
*** vnogin has quit IRC17:06
mnaseryeah i dont mind using uwsgi still etc17:06
odyssey4meThis way we have a uniform deployment style regardless of whether it's source or not, and regardless of the distro.17:06
mnaserbut things like unit files.. i feel like we should stick to upstream17:06
mnaseroh wait17:06
mnaserbut the upstream one doesnt have uwsgi17:06
mnaserok, i get it17:06
odyssey4meyep17:06
odyssey4meso, to solve the immediate problem we'd have to do an audit and implement something to cater for name differences17:07
mnaseryeah17:07
*** gyee has joined #openstack-ansible17:07
mnaserbtw, eyes on https://review.openstack.org/#/c/583745/ and pathc above would be nice, fix to make magnum work17:07
cloudnullohai, im back now. sorry.17:08
odyssey4mewe'd have to get more detail from cloudnull about where he saw it17:08
mnaserodyssey4me: pastebin shows designate17:08
odyssey4memnaser: eh? magnum needs all that stuff duplicated?17:09
*** vnogin has joined #openstack-ansible17:09
cloudnullwhat odyssey4me said, sums up the issue at hand17:10
*** Darcidride has quit IRC17:10
mnaserodyssey4me: yes, keystone_authtoken is used to authenticate incoming requests, keystone_auth is used to talk to the actual apis17:10
* odyssey4me is getting lost in all this nonsense17:10
mnaseryep17:10
cloudnullexample https://review.openstack.org/#/c/587196/7/vars/ubuntu-16.04.yml@4317:10
mnaserit's really confusing17:10
odyssey4mecloudnull: I vaguely recall some of hwoarang's patches catering to different service names17:10
cloudnullfor designate I am masking conflicting units17:11
odyssey4meperhaps for centos especially, but I didn't hunt for long enough17:11
cloudnullsome distros bundle services, some done, some rename them from what they are upstream, some are just doing <WhateverTheyWant>17:11
cloudnulla lot of the distro package installs will work on a greenfield deployment17:12
cloudnullbut wont survive a reboot17:12
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_almanach master: Switch to using project-templates  https://review.openstack.org/58753117:12
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_congress master: Switch to using project-templates  https://review.openstack.org/58753217:12
cloudnullor a container restart for that matter.17:12
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_monasca master: Switch to using project-templates  https://review.openstack.org/58753317:12
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_watcher master: Switch to using project-templates  https://review.openstack.org/58753417:12
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_zaqar master: Switch to using project-templates  https://review.openstack.org/58753517:12
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_zun master: Switch to using project-templates  https://review.openstack.org/58753617:12
odyssey4methat's a really good find cloudnull17:13
cloudnullso we need to either map conflicting units and mask them, like i was trying on designate, or create lists of what the units are supposed to be for the given distro packages.17:13
odyssey4meI wonder if it may be worth a bug report to associate any patches to, and perhaps hwoarang can help sort it out when he returns.17:14
cloudnullmasking the conflicts seems like the best solution IMHO. creating a service map for specific distros seems like it's going to be a nightmare17:14
cloudnullhowever IDK ?17:14
odyssey4mehow would you mask the conflicts without effectively doing all the mappings?17:15
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_searchlight master: Switch to using project-templates  https://review.openstack.org/58754117:15
cloudnullwe'd let our service units run as expected and mask anything outside of that17:15
odyssey4memasked services would work, but it'd be a bit confusing to have these arbitrary masked things left behind17:16
mnaseryeah i wouldn't feel great masking things17:16
mnaseri'd rather do mappings17:16
odyssey4memapping them is nice but then we have the inconsistencies between distributions17:16
mnaserwell i feel like that would be a one time pain17:16
odyssey4meI think mapping would be better, but more painful obviously.17:16
mnaser++17:17
cloudnullcreating the distro map would effectively be creating https://github.com/openstack/openstack-ansible-os_cinder/blob/master/defaults/main.yml#L294-L323 for each distro + source17:17
mnaseri mean we already her per-os var files17:17
mnasercloudnull: im thinking only service_name is the one that has to be changed17:17
mnaserso maybe like17:17
mnasercinder_scheduler_service_name in each os var file, and then that's added in the defaults file17:17
cloudnullsadaly its not quite that easy, some distros dont deploy all of the service binaries .17:18
cloudnulllike ubuntu has designate-agent, and that's not a real thing17:18
mnasercould we leverage `condition` in there?17:18
cloudnullwe could.17:18
mnaserit's not ideal.. but yeah :\17:18
mnaseri cant think of a better way17:18
mnaserwe work on standarizing apis17:19
mnaserbut distros make our lives painful17:19
mnaser :'(17:19
openstackgerritAndy Smith proposed openstack/openstack-ansible-os_nova master: Setup oslo.messaging extra packages for optional drivers  https://review.openstack.org/58445017:19
mnasercloudnull: https://review.openstack.org/#/c/583745/2 if you don't mind kick this out.. and i'll get hacking on os_cinder to fix for centos17:19
* cloudnull links to my talk about how I hate distros and chef. :)17:19
cloudnulldone.17:20
mnaserthank you sir17:20
mnaserso in source based installs17:20
mnaseri am failing with "cinder-rtstool is not installed correctly: OSError: [Errno 2] No such file or directory" in my os_cinder change17:20
mnaserdoes anyone know much about something where stuff doesnt appear in $PATH17:20
*** aruns__ has joined #openstack-ansible17:21
odyssey4memnaser: where's your review?17:21
mnaserhttps://review.openstack.org/#/c/584604/17:21
cloudnullso re: distro - I don't really know what to do to resolve the issue. folks should think about it though. if we leave things the way they are, come rocky, users that want to leverage this capability are going to have a miserable time (in prod).17:21
mnasercloudnull: 100%. i intend to try and play catch up with this before end of cycle .. or we can put distro installs as a 'preview' or so17:22
odyssey4mecloudnull: could you register a bug for it so that next week when hwoarang is back he can pick it up17:22
mnaserto set expectations17:22
openstackgerritAndy Smith proposed openstack/openstack-ansible-os_nova master: Setup oslo.messaging extra packages for optional drivers  https://review.openstack.org/58445017:22
cloudnull++17:22
cloudnullI'm happy to help get things done and have an environment(s) to test with. I know folks need or want distro installs so I'm excited to see it being worked on, even if I will only ever install from source :)17:23
*** ppetit has quit IRC17:23
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible master: [WIP] Do no use tempest  https://review.openstack.org/58754417:24
openstackgerritAndy Smith proposed openstack/openstack-ansible-os_glance master: Setup oslo.messaging extra packages for optional drivers  https://review.openstack.org/58449617:25
guilhermespppl I'm gonna get this fruit https://bugs.launchpad.net/openstack-ansible/+bug/178436917:25
openstackLaunchpad bug 1784369 in openstack-ansible "Pike to queen failed to cleanup nova container" [Low,Confirmed]17:25
odyssey4memnaser: so, cinder-rtstool appears to be used via rootwrap, which gets its path from https://github.com/openstack/openstack-ansible-os_cinder/blob/master/templates/rootwrap.conf.j2#L1317:26
odyssey4meguilhermesp: thanks for helping out!17:26
guilhermespbasically add a retry in the task. But I'm wondering, this script is only at pike17:26
guilhermespso should I submitt a patch directly or we need to backport (I cant see how backport)17:26
odyssey4meguilhermesp: yes, so no master patch - straight to that one because it only applies to that upgrade17:26
guilhermespright odyssey4me thanks17:27
*** DanyC has quit IRC17:27
mnaserodyssey4me: so i think it should be there.. i assume17:28
*** DanyC has joined #openstack-ansible17:28
mnaserhttps://github.com/openstack/cinder/blob/master/setup.cfg#L6817:28
mnaserit should be installed the same way other things are installed there17:28
odyssey4memnaser: http://logs.openstack.org/04/584604/1/check/openstack-ansible-functional-centos-7/6f4abed/logs/etc/host/cinder/rootwrap.conf.txt.gz17:28
odyssey4meit's configured right17:29
mnaser(im running it locally as we speak)17:29
*** vnogin has quit IRC17:29
mnaserhttp://logs.openstack.org/04/584604/1/check/openstack-ansible-functional-centos-7/6f4abed/logs/etc/host/cinder/rootwrap.d/volume.filters.txt.gz the filter is there too17:29
odyssey4meyeah, so it's almost like it just wasn't installed - which seems odd17:30
mnaserfwiw i think this is the last issue to get centos jobs to pass17:31
mnaser:>17:31
odyssey4meperhaps it's not the rtstool that's not found, but something it uses17:31
mnaserthats what im suspecting17:31
mnaserlike maybe the OSError is actually raised inside the rtstool17:31
mnaserlike thats actual stderr output17:31
odyssey4meyep17:31
odyssey4meyou have a build going to figure it out, right?17:32
mnaseryeah im running it locally right now to see  whats going on17:32
*** DanyC has quit IRC17:32
odyssey4meok, then time for me to check whether I broke the world with my patches17:32
mnaserD:17:33
*** armaan has joined #openstack-ansible17:34
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_swift master: Execute service setup against a delegated host using Ansible built-in modules  https://review.openstack.org/58235417:37
cloudnulls/odyssey4me/mhayden/g ?17:38
cloudnull:P17:38
*** cshen has joined #openstack-ansible17:39
odyssey4me:D17:39
mnaseri really wish we could speed up ansible17:41
mnaser:<17:41
bgmccollumexport SPEED_MULTIPLIER=1017:42
mnaserright17:42
mnaseri forgot about that17:42
*** vnogin has joined #openstack-ansible17:44
cloudnullmnaser have you given mitogen a try ?17:44
mnasernope17:44
cloudnullits worth a try :)17:44
mnaserhttps://mitogen.readthedocs.io/en/stable/ ?17:44
cloudnullthat's the one.17:44
openstackgerritGuilherme  Steinmuller Pimentel proposed openstack/openstack-ansible stable/queens: Add retries to collect ID's for nova services  https://review.openstack.org/58756317:45
*** tonyontopic has quit IRC17:47
odyssey4mecould I get another set of eyes on this patch please, other than cloudnull: https://review.openstack.org/58739517:48
lbragstaddoes osa have a set of scripts for fixing the networking on a new 16.04 install?17:49
cloudnullmnaser we can selectively add mitogen for host based playbooks and watch magic happen. also i experimented with it by subclassing the strategy plugin so that it worked with our container connection plugin. it wokred, ok, but would need some more love.17:49
* cloudnull goes to see if i can find the things I was hacking on . 17:50
*** priteau has quit IRC17:50
*** hachi has joined #openstack-ansible17:50
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_magnum master: Execute service setup against a delegated host using Ansible built-in modules  https://review.openstack.org/58229617:52
cloudnullmnaser http://paste.openstack.org/show/726967/17:52
cloudnullit might be something worth playing with .17:52
cloudnulli had it +/- working, but there are some edge cases.17:53
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_magnum master: Execute service setup against a delegated host using Ansible built-in modules  https://review.openstack.org/58229617:53
mnaseri wonder how much faster it is though17:54
cloudnullI think adding somthing like mitogen to our available strategies and including it on playbooks where we know we only target hosts would do wonders.17:54
cloudnullIt's a lot faster.17:55
*** tonyontopic has joined #openstack-ansible17:55
*** vnogin has quit IRC17:55
mnaserand if we can leverage it's whole concept of trees17:55
mnaserand have the host call out to containers17:55
cloudnullyea I was just using the basic setup17:55
cloudnullsomething worth exploring maybe.17:55
cloudnullif folks have time to tinker.17:55
mnaser"Expect a 1.25x - 7x speedup and a CPU usage reduction of at least 2x"17:56
mnaserugh i really wish i had time for tihs17:56
mnaserhaha17:56
cloudnullme too :)17:56
mnaserbut i really gotta get centos passign17:56
*** jwitko_ has quit IRC17:56
cloudnullmaybe something we can hack-on at the PTG17:56
*** jwitko_ has joined #openstack-ansible17:57
mnaserlol @ one of the testimonials17:57
mnaser“The runtime was reduced from 1.5 hours on 4 servers to just under 3 minutes. Thanks!”17:57
*** DanyC has joined #openstack-ansible17:57
mnaser1.5 hour ansible run on 4 server :X17:57
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_cinder master: Convert role to use a common systemd service role  https://review.openstack.org/57481717:58
mnaserhttps://mitogen.readthedocs.io/en/stable/ansible.html#connection-delegation17:58
mnaser!!!17:58
openstackmnaser: Error: "!!" is not a valid command.17:58
mnaserTo enable connection delegation, set mitogen_via=<inventory name> on the command line, or as host and group variables.17:58
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_ceilometer master: Add systemd journal logging to the service config  https://review.openstack.org/58717017:59
cloudnullfixing merge conflicts ^17:59
mnaserdoes that mean we literally can drop our connection plugin and use mitogen_via only17:59
cloudnullpotentially, yes17:59
*** mattinator has joined #openstack-ansible18:00
mnaserhttps://mitogen.readthedocs.io/en/stable/ansible.html#method-lxc18:00
cloudnullwe'd need to probably carry a patch for some of the file transfer bits, but it'd be close18:00
mnaserit literally already exists18:00
mnaserok so we use the ssh connection plugin in our own stuff to manage containers18:01
mnaserand guess who's going to lose productivity right now implementing this18:01
mnaser<==18:01
cloudnullhahaha18:01
mnaserif this works well it might be *really* easy to push up a patch and change the way it works18:01
mnaserit would just be a matter of fixing up inventory.18:01
cloudnullsorry for putting you on a tangent :)18:02
mnaserphysical_host becomes becomes mitogen_via18:02
cloudnull++18:02
mnaserconnection becomes lxc18:02
mnaserand thats it?!18:02
*** DanyC has quit IRC18:02
mnaseri totally have time while i wait for cinder to go up18:02
* cloudnull runs off to another meeting. 18:02
cloudnullbbl18:02
*** cshen has quit IRC18:02
*** electrofelix has quit IRC18:07
*** mmercer has joined #openstack-ansible18:11
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-repo_server master: Remove repo_requires_pip_packages and pip_install meta-dep  https://review.openstack.org/58757518:12
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-repo_build master: Remove pip_install meta-dep  https://review.openstack.org/58757718:16
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-repo_server master: Remove repo_requires_pip_packages and pip_install meta-dep  https://review.openstack.org/58757518:16
*** poopcat has joined #openstack-ansible18:17
mnasercloudnull: weird, just ran int against a 100+ node inventory and i didnt see that much of a speed up :X18:19
mnasermaybe i should try delegating out of a remote host18:21
mnaserodyssey4me: /openstack/venvs/cinder-testing/bin/cinder-rtstool exists perfectly normally18:23
mnaser>:(18:23
evrardjpmnaser: cloudnull I have a poc for mitogen18:23
mnaserbe fun to hack on that18:24
evrardjpjust fyi18:24
evrardjpI think it's not the most urgent thing we have to do18:24
mnaserof course18:24
mnaserunless it speeds up deploys/ci18:24
mnaserthat would be a nice thing to have18:24
odyssey4megiven the smallness of CI, I don't think it'll make any difference18:24
*** cshen has joined #openstack-ansible18:25
odyssey4mebut meh, would be nice to see18:25
mnaserso apparently its useful as in it helps jobs run faster rather than scale more, but idk18:25
mnaseri just ran it and didnt see a speed up so not sure18:25
odyssey4mefolks, https://github.com/openstack/molteniron appears to be quite dormant - any objections to pulling it out of the integrated build?18:25
odyssey4meit's not an official project - we probably shouldn't have ever let it get into the integrated build in the first place18:26
mnaseryeah if its not an official project i dont think it should be part of integrated :X18:26
odyssey4meevrardjp: any effect on our releasing/deliverables/whatever?18:27
mnaseri think cinder-rtstool is not being executed with rootwrap.18:28
*** armaan has quit IRC18:28
mnaserhttp://paste.openstack.org/show/726970/18:28
*** armaan has joined #openstack-ansible18:28
mnaserugh truncated 1 sec18:28
mnaserhttp://paste.openstack.org/show/726971/18:29
evrardjpmnaser: I started by working on finding out what would win from mitogen, basically the with_items loop18:29
evrardjpit's not that much18:29
evrardjpwe are quite efficient by ourselves18:29
evrardjpI have an idea on how to be very fast though18:29
evrardjpbut it means multi-processing, locks, and strategy plugins.18:30
mnasersounds like something that should land upstream ansible18:30
evrardjpodyssey4me: what do you mean by removing it18:30
evrardjpI don't tag it18:30
odyssey4meevrardjp: take the play and the repo pin out of the integrated build18:30
odyssey4meand the a-r-r ref18:31
evrardjpfine for me.18:31
evrardjpsend a message to the ML18:31
*** cshen has quit IRC18:31
evrardjpI think it would be a good idea to make it self-contained18:31
evrardjpand applicable18:31
evrardjpwell18:31
evrardjplet's not talk about these18:31
evrardjp: )18:31
tux__Folks i have question, I have testing ceph cluster running, now i want to flip all OSD to lvm scenario, there is no data on cluster yet. what would be the best way to do this?18:32
*** cshen has joined #openstack-ansible18:33
evrardjpso... is there someone checking at http://logs.openstack.org/periodic/git.openstack.org/openstack/openstack-ansible/master/openstack-ansible-deploy-aio_lxc-ubuntu-xenial/668db2d/job-output.txt.gz#_2018-07-31_07_43_23_285047 ?18:34
evrardjpelse there is no use of tagging m3 on the latest merge commit18:34
mnaserodyssey4me: uncovered the issue, cinder-rtstool verify runs without root so it doesnt use rootwrap, and it looks like $PATH does not include /openstack/venvs/cinder-testing/bin and thats why it fails18:36
mnaserso i think we need to update the systemd to include the path18:36
odyssey4memnaser: hmm, I think cloudnullhas a patch up to make it systemd all the things which may solve that18:36
*** Bhujay has joined #openstack-ansible18:38
evrardjpcloudnull: odyssey4me mnaser where is this patch?18:38
mnaserhttps://review.openstack.org/#/c/574817/18:38
mnaserdoes the systemd stuff actually add the correct $PATH18:38
odyssey4mehttps://review.openstack.org/57481718:38
openstackgerritMohammed Naser proposed openstack/openstack-ansible-os_cinder master: Add target_helper to backend_defaults  https://review.openstack.org/58460418:40
savvashey guys , does anyone know how to force Ceph Ansible to rerun the OSD part as part of deployment?18:43
evrardjpit looks very much like the first patch who broke the integrated. No change in the commit message to explain why things are done, and new features included in the patch.18:43
savvasIt wouldn't configure the OSD on one node on its first run so I figured I'd empty the partition table and remove the ceph files to try and see if the playbook would rerun it, but it doesn't18:43
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: Remove the molteniron service from the integrated build  https://review.openstack.org/58758618:43
kaiokmoguys, I have a quick question: which behavior/function do openstack-ansible-role-jobs template encapsulate?18:45
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_molteniron master: Move playbooks/config files into role examples  https://review.openstack.org/58758718:45
evrardjpkaiokmo: you can see the definitions in test18:45
evrardjphttps://github.com/openstack/openstack-ansible-tests/blob/master/zuul.d/project-templates.yaml18:45
kaiokmothank you evrardjp18:46
evrardjpyw18:46
kaiokmoI did find some info at https://docs.openstack.org/infra/openstack-zuul-jobs/project-templates.html18:46
kaiokmonow I know that I was looking at the wrong place :)18:46
*** Bhujay has quit IRC18:48
cloudnullevrardjp what are you on about here https://review.openstack.org/#/c/574817 ?18:50
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_rally master: Remove rally_requires_pip_packages  https://review.openstack.org/58758818:50
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible master: Use ansible module instead of command  https://review.openstack.org/58758918:50
cloudnullI already got the keystone patch merged as the canary this is implementing the accepted pattern ?18:50
kaiokmoodyssey4me: does it make sense to switch to project-templates here as well? https://review.openstack.org/#/c/586933/18:51
cloudnullthis patch is simply adding the parts we missed in the first pass, which should've included journal logging.18:51
odyssey4mekaiokmo: can do, or can do on top of that as a different patch18:52
cloudnullif you're saying i should submit a pr to first ensure we have no logging to correct it later, i'd say no.18:53
evrardjpcloudnull: yes it's a new feature.18:53
cloudnullno.18:53
*** DanyC has joined #openstack-ansible18:53
evrardjpall features should be documented18:53
evrardjpit's not a 1->1 patch18:53
*** cshen has quit IRC18:53
evrardjpit's not simply moving to an equivalent18:54
evrardjpnothing is documented there18:54
evrardjpyou add packages with no explanations18:54
evrardjpif other patches were wrongly merged in the past... well, that's the past, I don't see why we shouldn't improve18:55
*** vnogin has joined #openstack-ansible18:55
kaiokmoodyssey4me: ok. I prefer to add this on another patch, since it's more related to jrosser's work on bionic18:55
*** DanyC has quit IRC18:55
cloudnullso then you want me to make sure all of the services have no ability to collect logs, then go back and fix it?18:55
*** DanyC has joined #openstack-ansible18:56
*** weezhard has quit IRC18:57
mnaserevrardjp: ^18:58
*** cshen has joined #openstack-ansible18:58
mnaseralso, i'm kinda torn between sticking to upstream nginx or epel nginx18:58
mnaserwhat is everyone's thoughts about this?18:58
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-openstack_hosts master: Ensure virtualenv is installed on centos  https://review.openstack.org/58759818:59
*** DanyC has quit IRC19:00
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-openstack_hosts master: Ensure virtualenv is installed on centos  https://review.openstack.org/58759819:01
evrardjpcloudnull: you're being silly there19:01
odyssey4memnaser: you have a centos box up and running, right?19:01
evrardjpcloudnull: just explain why19:01
mnaserodyssey4me: yeah19:01
odyssey4mecould you check to see what the version of python-virtualenv and python-pip is that's available from your repositories?19:02
mnasercause right now i think its failing to install in the containerized CI because it's trying to pull the nginx gpg files19:02
evrardjpcloudnull: right now I don't know where does this come from, so I can't imagine 1 year from now.19:02
mnaserodyssey4me: sure one moemnt19:02
evrardjpodyssey4me: python-pip is not easily available on centos19:02
evrardjpvirtualenv is19:02
openstackgerritMerged openstack/openstack-ansible-os_aodh master: Execute service setup against a delegated host using Ansible built-in modules  https://review.openstack.org/58739519:02
mnaserit is via rdo release19:02
mnaserwhich we deploy19:02
evrardjpmnaser: virtualenv is even from centos repos, right?19:02
mnaseri think rdo publishes updated versions for both19:03
evrardjpI mean non rdo19:03
evrardjpok19:03
evrardjpthat's great19:03
odyssey4mewe're only concerned about what rdo provides afaik19:03
evrardjpI thought pip was not in RDO19:03
evrardjpbut was in software collections19:03
openstackgerritMerged openstack/openstack-ansible-os_magnum master: Use keystone_auth for credentials  https://review.openstack.org/58374519:04
openstackgerritMerged openstack/openstack-ansible-os_magnum master: Disable sending metrics for clusters  https://review.openstack.org/58375119:04
mnaserpython-pip-8.1.2-1.el7.noarch and looks like virtualenv is from upstream as evrardjp said19:04
evrardjpmnaser: that's not too bad 8.1.219:04
evrardjpI will install it on the nodes then19:05
odyssey4meok, those versions look good evrardjp - I think we can add both packages and inally be done with get-pip.py :)19:05
*** mattinator has quit IRC19:05
mnaserthey're also tested and integrated inside rdo19:05
odyssey4memnaser: virtualenv is 15, right?19:05
mnaserwhich means they should work19:05
mnaserpython-virtualenv.noarch                      15.1.0-2.el7             base19:05
odyssey4mefantastic19:05
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-openstack_hosts master: Ensure virtualenv/pip are installed on centos  https://review.openstack.org/58759819:06
evrardjpodyssey4me: mnaser ^19:06
mnaserdoes this mean we get rid of pip_install19:06
evrardjpyes.19:06
evrardjpfinally!19:06
odyssey4mewell, not exactly19:06
evrardjpwell19:06
evrardjpwe are closer!19:06
evrardjp:)19:06
odyssey4mebut we can now change it to only drop the config file19:06
evrardjpodyssey4me: that's until we won't need the config file anymore.19:07
evrardjp:D19:07
odyssey4meevrardjp: yep, that's next cycle19:07
evrardjpmeh we are closer everyday19:07
evrardjpwe can do it19:07
*** aruns__ has quit IRC19:08
mnaserso19:08
mnasernginx from epel or upstream19:08
mnaserthoughts?19:08
evrardjpupstream19:08
evrardjpwait19:08
evrardjpno19:08
*** hachi has quit IRC19:08
evrardjpI don't care in fact.19:08
odyssey4medoesn't epel have a broader test group?19:08
evrardjpup to you19:08
evrardjpodyssey4me: yes but versions fluctuate19:08
mnaserit probably moves less but that means we cant ensure the same version across distros19:09
odyssey4mebetter or worse than from nginx themselves?19:09
mnaserif we go upstream we can just deploy the same version all across19:09
odyssey4meI am definitely against using upstream across all distributions.19:09
odyssey4meWe have enough moving parts - I'd like to reduce them, not increase them.19:10
mnaserbut you feel that having diffferent nginx versions across distros is an easier problem to solve than having an extra repo we pull things from?19:10
mnaserit's the tradeoff19:10
odyssey4meyeah, we only use very basic capabilities anyway - so we don't need the latest of all the things19:11
mnaserfair to me19:11
odyssey4meWe could also probably just as easily just switch to using Apache across the board and stop this dichotomy.19:11
mnaseri mean that's totally what upstream does and tests afaik19:12
odyssey4meWe switched to using nginx due to upstream recommendations.19:12
mnaseroh19:12
odyssey4meWe were implored to switch to nginx/uwsgi because it was so much better.19:12
odyssey4meBut given we're using nginx as a reverse proxy, it could just as well be Apache.19:13
odyssey4menginx, I believe, is more lightweight19:13
mnaserit is19:13
mnaserodyssey4me: hell, why not use uwsgi built in http server :X19:13
odyssey4mewe actually wanted to move to using the uwsgi fastrouter instead of nginx/apache anywhere we could19:14
odyssey4methere's a spec up for that, and it totally makes sense to do19:14
odyssey4meit's only keystone federation that keeps us using apache for keystone19:14
odyssey4meanywhere else we use nginx/apache is changable as far as I know19:15
odyssey4meunfortuately we've not had time to get that all done19:15
mnaserim kinda tempted to drop nginx and switch to uwsgi http server to pave the way for fastrouter eventually odyssey4me :X19:16
mnaserone less thing to run.19:16
odyssey4mea nice thing about nginx over apache is that it logs to the systemd journal directly... the apache versions we have access to do not support that yet19:16
*** mattinator has joined #openstack-ansible19:16
odyssey4memnaser: well, we don't use nginx in very many places19:17
mnaserwell for keystone at least19:17
mnaserclarification19:17
mnaserkeystone *without* federation19:17
odyssey4merepo_server (requires a web server of some ind), os_keystone (requires a web server for federation)19:17
odyssey4meI think zaqar uses a web server too.19:17
odyssey4meAny other places are probably just legacy.19:18
mnaserhttps://uwsgi-docs.readthedocs.io/en/latest/StaticFiles.html19:18
mnaser:X19:18
mnaserso that can be reused for repo_server19:19
mnaseros_keystone will probably still need apache for federation19:19
openstackgerritKaio Kassiano Moura Oliveira proposed openstack/openstack-ansible-os_monasca master: Add Ubuntu Bionic 18.04 support  https://review.openstack.org/58693219:20
odyssey4meyeh, so I'd suggest that we discuss (at the PTG) standardising on apache then for any web server needs, and uwsgi fastrouter for any services19:20
odyssey4methat makes cross-distro work easier and cuts tech debt19:21
*** mattinator has quit IRC19:21
mnaserodyssey4me: to get centos to pass, i need to figure out what to do with nginx.. i will push up a patch that uses uwsgi as an http server (which will actually pave the way to fastrouter i guess)19:22
odyssey4meis this for keystone?19:22
mnaseryeah19:22
mnaseralso19:23
mnaserlol19:23
mnaser"TODO (odyssey4me): Convert the SP implementation to use nginx instead so that we do not have to be concerned with multiple web servers."19:23
mnaser:P19:23
mnaserlooks like you've been there :P19:23
odyssey4meyeah, I did the work to switch it to nginx - and it converted it from apache/mod_wsgi to nginx/uwsgi without dropping an auth request19:24
mnaserthats awesome19:24
odyssey4mewell, I guess it could convert from nginx -> apache in the same way19:25
odyssey4meuwsgi's already done19:25
odyssey4mehmm, you know - you can set the web server with a var19:25
odyssey4mehttps://github.com/openstack/openstack-ansible-os_keystone/blob/master/defaults/main.yml#L18819:26
odyssey4mejust change that conditional to also set 'apache' if it's centos19:26
odyssey4mejob done19:26
*** hachi has joined #openstack-ansible19:26
mnaserthats if you wanna run apache :P19:27
savvashe guys, just pasting this again hoping somebody knows the answer to this: does anyone know how to force Ceph Ansible to rerun the OSD part as part of deployment? It wouldn't configure the OSD on one node on its first run so I figured I'd empty the partition table and remove the ceph files to try and see if the playbook would rerun it, but it doesn't19:27
odyssey4mewell, that's a simple way to get this done for rocky without creating too much work for ourselves19:27
mnasertry ceph-disk zap19:27
*** canori01 has quit IRC19:28
odyssey4menext cycle we'll have plenty of time to change things up in the role19:28
mnaseri just dont wanna have our infra switch from nginx and back to uwsgi back and forth19:28
mnaserso thats why i don't mind taking on the work *if* i can present it in a clean way19:28
mnaserso not a pain to review and very clear on what's going on19:29
* mnaser has been trying to get centos up for pretty much the entire cycle :(19:29
odyssey4mewell, take a crack at it if you want to - I was just giving you an easy way out to get centos passing ;)19:29
mnaseraha :)19:29
odyssey4meno nginx, means no epel - happy days19:29
odyssey4meoh, I think we still have it for lsync/nginx in the repo server19:30
odyssey4mebut that's a small price to pay19:30
openstackgerritMerged openstack/openstack-ansible-os_horizon master: Reenable designate dashboard for openSUSE  https://review.openstack.org/58576319:31
*** gillesMo has quit IRC19:38
*** KeithMnemonic1 has joined #openstack-ansible19:39
*** KeithMnemonic has quit IRC19:40
*** KeithMnemonic2 has joined #openstack-ansible19:42
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_congress master: Convert role to use a common systemd service role  https://review.openstack.org/58719119:43
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-pip_install master: Use distribution packages for pip  https://review.openstack.org/58760919:43
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_barbican master: Convert role to use a common systemd service role  https://review.openstack.org/58710119:44
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-pip_install master: Use distribution packages for pip  https://review.openstack.org/58760919:44
*** KeithMnemonic1 has quit IRC19:44
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_aodh master: Add systemd journal logging to the service config  https://review.openstack.org/58707419:45
*** epalper has joined #openstack-ansible19:45
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_designate master: Convert role to use a common systemd service role  https://review.openstack.org/58719619:47
openstackgerritMerged openstack/openstack-ansible stable/pike: Update all SHAs for 16.0.17  https://review.openstack.org/58481219:47
tux__In Openstack can i put policy like only 2 VM will get created most on compute node ?19:48
tux__I want to create only 2 instance per compute node19:48
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_blazar master: Convert role to use a common systemd service role  https://review.openstack.org/58711419:48
openstackgerritMohammed Naser proposed openstack/openstack-ansible-os_keystone master: Drop Admin API from Keystone  https://review.openstack.org/58761119:50
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_cloudkitty master: Convert role to use a common systemd service role  https://review.openstack.org/58718719:50
mnaser^ scary keystone patch but a good cleanup19:51
odyssey4meevrardjp: ok, confirmed that I did not break the integrated build - yay!19:51
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_cinder master: Convert role to use a common systemd service role  https://review.openstack.org/57481719:52
odyssey4methe bad news is that the integrated build is still failing on tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario very, very frequently19:52
cloudnullevrardjp ^ there you go19:52
*** KeithMnemonic2 has quit IRC19:53
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_designate master: Convert role to use a common systemd service role  https://review.openstack.org/58719619:55
openstackgerritMohammed Naser proposed openstack/openstack-ansible-os_keystone master: Import GPG key for NGINX via Ansible  https://review.openstack.org/58761219:55
mnasercloudnull: odyssey4me ^ that's a workaround for centos for now19:56
mnasercloudnull: does your os_cinder patch do things that allow for adding the venv into $PATH?19:56
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_blazar master: Convert role to use a common systemd service role  https://review.openstack.org/58711419:56
cloudnullmnaser no.19:57
cloudnullI could make it do that though ?19:57
mnaseris there a way using the role to append things to PATH?19:57
mnaseryeah so cinder-rtstool is a tool that cinder uses on centos but it calls it sometimes without rootwrap19:57
cloudnulldoes it have to be the global path or just the service path ?19:57
*** KeithMnemonic has joined #openstack-ansible19:57
mnaserand because it does it without rootwrap, /openstack/venvs/cinder-testing/bin is not in the path19:58
mnaserjust the service19:58
cloudnullcan we just add the path to the sudoers?19:58
mnaserit would work if it was sudoers but this is executed not as root19:58
cloudnullah19:58
mnaserit runs a 'verify' on service start up that apparently doesnt need root19:58
*** DanyC has joined #openstack-ansible19:58
mnaserso thats why it doesnt pick up the path from there19:58
evrardjpodyssey4me: I am working on the skip of the tempest19:59
evrardjpcloudnull: thanks19:59
evrardjpI will review19:59
odyssey4meevrardjp: awesome, thanks19:59
*** epalper has quit IRC20:03
evrardjpcloudnull: what do you mean by the "service was written in python" ? That's far from clear to me20:03
evrardjpthe thing was running before without it, so there is obviously something changing -- that's what I want to know20:04
mnaserevrardjp: we're at 13 patch sets for something that we've merged all over the place :\20:04
cloudnullevrardjp ^ its in the commit message. and the docs are there.20:04
mnaserthe docs do tell that you need python-systemd20:05
*** v1a4 has joined #openstack-ansible20:07
*** v1a4 has quit IRC20:07
*** vnogin has quit IRC20:08
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible-os_cinder master: Convert role to use a common systemd service role  https://review.openstack.org/57481720:10
cloudnullmnaser ^20:10
cloudnullI added a environemnt variable which will set the path for the service20:10
cloudnullhttps://review.openstack.org/#/c/574817/15/tasks/cinder_install.yml@6320:11
openstackgerritMerged openstack/openstack-ansible-os_nova master: Switch to using project-templates  https://review.openstack.org/58675520:11
evrardjpmnaser: I don't think it's silly to ask if it's unclear. Good for you if you understand.20:12
evrardjpmnaser: The thing is that if you're only two to understand it, then you'll be only two to maintain it.20:12
evrardjpI don't think I am unreasonable.20:13
mnaseri think that as OSA has less contributors, we have to a tad bit more reasonable in terms of asks20:14
mnaserchurning through a change many times taking up CI cycles and with every iteration taking up 1~2 hours more means it slows us doooown20:14
*** vnogin has joined #openstack-ansible20:14
mnaseri'm all for being strict on things that are important and are fundamentally not working20:14
evrardjpmnaser: we've got history of cruft that's there because we didn't know we could clean up20:16
evrardjpif we don't learn of our mistakes, we will just repeat them forever.20:17
mnaserit's easy to know what we can and can't clean up.  we remove it and the tests either pass or fail.  and hopefully if we can run integrated repos on role jobs20:17
mnaserthen no one has to worry about puling the wrong thing20:17
mnaserwe can document the heck out of it and still pull it out and it breaks some other dependency if we have poor test coverage20:17
cloudnullevrardjp: is there more you want changed with those reviews?20:17
*** mattinator has joined #openstack-ansible20:17
jrossercan anyonr see why this seemed to just stop? https://review.openstack.org/#/c/586607/ i feel im missing something obvious20:18
mnaserjrosser: looking20:18
evrardjpcloudnull: with this dicussion: I'd say no: I am beyond caring. I'd like to know, personally now, why this package is needed.20:18
mnaseri think log_instance_info is failing jrosser20:19
cloudnullhave you read the OSLO log documentation: "In order to enable the support you must have Python bindings for systemd installed." ?20:20
cloudnullhttps://docs.openstack.org/oslo.log/3.28.1/journal.html20:20
openstackgerritMerged openstack/openstack-ansible-openstack_hosts master: Ensure virtualenv/pip are installed on centos  https://review.openstack.org/58759820:20
jrossermnaser: is that a zuul thing - i chopped most of the tests out there and wondered if id broken it20:21
mnaserhttps://github.com/openstack/openstack-ansible/blob/master/scripts/scripts-library.sh20:21
mnaseri feel like get_instance_info is failing somewhere20:21
cloudnullmnaser jrosser based on http://logs.openstack.org/07/586607/3/check/openstack-ansible-deploy-aio_lxc-ubuntu-bionic/382ce0b/job-output.txt.gz#_2018-07-31_17_10_54_068501 seems like it tried to ssh to itself and failed?20:21
cloudnulllike br-mgmt wasn't up at that time20:22
mnaseri might be wrong yeah cloudnull might be more accurate20:22
*** mattinator has quit IRC20:22
mnaserjrosser: maybe run it in a local env?20:23
mnaseri nkow thats a bit of a pain but..20:23
jrosseryes i think so20:23
mnaserjrosser: OR you can ask infra for a hold on job openstack-ansible-deploy-aio_lxc-ubuntu-bionic20:23
mnaserand what will happen is when that job fails next (which is when you recheck)20:23
jrosserits very unclear what point it was at when that error happened20:23
mnaseryou can give them your ssh keys and they'll add  them and you can ssh to the machine20:23
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible master: [WIP] Do no use tempest  https://review.openstack.org/58754420:24
*** hachi has quit IRC20:24
mnaserdo we run a full tempest run or smoke tests20:25
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible master: [WIP] Do no use tempest  https://review.openstack.org/58754420:25
cloudnullwe used to run the ops tests. im not sure now though20:25
mnaseri think maybe we should run the smoke tests and blacklist any which are often failing20:25
mnaserinstead of not using tempest, i'm a bit not comfortable with the idea of not using *the* framework to test openstack20:26
mnaserlet me see what tests we're running20:26
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible master: [WIP] Do no use tempest  https://review.openstack.org/58754420:26
cloudnullmnaser do you have an environment w/ cinder to test that env change to see if it help the pathing situation ?20:26
mnaseri can spin up one20:27
mnaseror i can rebase on yours20:27
cloudnullnot that you need that patch20:27
cloudnullyou could just add Environment=... to the service uit20:27
cloudnull**unit20:27
cloudnullthen restart it to see if it's happya20:27
mnaseryeah i kinda destroyed my env already :<20:28
openstackgerritMohammed Naser proposed openstack/openstack-ansible-os_cinder master: Add target_helper to backend_defaults  https://review.openstack.org/58460420:28
mnaserrebased ^20:28
mnaserso i think once that + https://review.openstack.org/#/c/587612/ land, we should be getting much better for centos20:29
odyssey4memnaser: we run a limited set of tests - always aiming for scenario tests before anything else20:32
*** ansmith has quit IRC20:32
odyssey4methe trouble is they're very inconsistent, and very unstable20:33
admin0how do we handle regions  the OSA way  ?20:33
mnaserodyssey4me: i see, well, are there certain tests that are unstable, maybe we can blacklist those and continue to run smoke tests on tempest20:33
odyssey4memnaser: https://github.com/openstack/openstack-ansible-os_tempest/blob/master/defaults/main.yml#L68-L79 is the test set from the integrated buid20:34
odyssey4me*build20:34
odyssey4memnaser: bear in mind that running the 'smoke' tests is a total waste of time for us20:34
odyssey4mewe're testing different things to the upstream projects20:34
mnaserhttps://github.com/openstack/puppet-openstack-integration/blob/master/run_tests.sh#L264-L32820:35
mnaseris what we ran in puppet openstack and it pretty much never failed, ever20:35
odyssey4methey're testing api compatibilities and that sort of things - whereas we're testing function only20:35
cloudnulladmin0 typically I've deployed regions as two seperate deployments that share keystone20:35
mnaserlet me look at our average runtime20:35
admin0cloudnull, how do you share the keystone ?20:35
odyssey4meheh, that's a tiny test set and totally skips the nova scenario test which is what's failing for us20:36
admin0a single deploy server that has access to both regions ? ..or one keystone+horizon outside of the deployment20:36
cloudnulladmin0 https://github.com/cloudnull/osad-regions20:36
odyssey4meadmin0: several methods - share a database, or share an ldap store, or use federation20:36
cloudnullthat's old but kinda has what weve done befor e20:36
evrardjpI will wait that periodics are green before doing a m3 release if you all don't mind.20:37
cloudnulladmin0 effectively auth region, compute region 1/2. now a days folks seem to gravitate toward Okta/LDAP20:38
cloudnullwhich IMHO is a lot easier20:38
mnaserodyssey4me: smoke tests will do things like upload to swift, create and delete subnets.. create a server and list,create volumes and list, etc20:39
mnaserso they're not just a ping20:39
mnaserthey're actual functional tests, just very short ones20:39
cloudnullevrardjp +1 soungs good20:39
evrardjpmnaser: feel free to push up a patch then changing the whitelist.20:40
odyssey4memnaser: I defer to your better knowledge - please go right ahead and adjust that whitelist :)20:40
admin0cloudnull, LDAP is already in 3 places .. so individually, i can setup a cluster per region and they are standalone in their own horizon ..so for example   region1.domain.cloud  region2.domain.cloud and region3.domain.cloud are all up and running ..  what i want to do is create something like    private.domain.cloud and if people login here, they can see the 3 as regions20:40
evrardjpmaybe I should stop building this healthcheck thing then.20:40
*** armaan has quit IRC20:40
*** armaan_ has joined #openstack-ansible20:40
mnaserhonestly we rarely have issues in puppet ci world so i want to try and bridge those things together and hopefully bring some of the stability we have there20:41
odyssey4memnaser: most of us are totally tempest ignorant and have really just tried to keep things going based on what we received20:42
mnaserodyssey4me: i feel ya on that20:43
odyssey4meyou've got a lot more experience with all that20:43
cloudnulladmin0 hand-waving over all of the intra-region networking, I'd probably setup an "identity" region that has access to the compute regions.20:43
mnaserwe can look over the list afterwards together to make sure the checks are sufficnet20:43
openstackgerritMohammed Naser proposed openstack/openstack-ansible-os_tempest master: Run smoke and dashboard tests by default  https://review.openstack.org/58761720:44
cloudnulladmin0 the compute regions would have all of the OS services minus keystone.20:44
odyssey4meas far as I'm concerned, if that gets us more stable - that's fine20:45
cloudnull^ ++20:45
mnaserhow do we feel about running 4 scenarios similar to these -- https://github.com/openstack/puppet-openstack-integration#description20:46
evrardjpmnaser: just propose the patch20:46
evrardjpand we'll see how it fares in gates.20:46
mnaseri did as step 1 here https://review.openstack.org/#/c/587617/20:46
odyssey4memnaser: well, it was cloudnull who was dead against random scenario names at the last PTG ;)20:47
mnaserhaha :p20:47
mnaserwell right now for example we have 'metal' jobs which are cool and fast but.. does anyone deploy metal?20:47
mnaserdo we even list a fully metal deployment as something that is supported and possible20:48
odyssey4meyes, the point of the tests was to make it possible20:48
evrardjpmnaser: well yes it's in our docs for a while now20:48
mnaserok so its documented, cool20:48
odyssey4meand, quite frankly, I think metal should be our default - with container opt-in20:48
evrardjpanyway, you can change it the way you like20:48
evrardjpit's your thing now!: p20:48
mnaseroh i was just asking20:48
evrardjpwell20:48
odyssey4medoing that would take away the majority of the first user confusion20:48
mnaserits not my thing :)20:48
cloudnullodyssey4me I'm kinda against changing the default .20:49
mnaserideally i would want to put nspawn jobs as nv and having voting lxc jobs, the20:49
mnasermaybe i'm wrong but i feel like we're not testing heavily our defaults20:50
evrardjpcloudnull: would you explain why?20:50
evrardjpmnaser: what do you mean, and why do you have this impression?20:50
mnaseri agree that the whole container thing is kinda been a staple for now and we might need to take sometime before we can make such a switch20:50
mnaserwell, aio_nspawn jobs exist but our defaults are not nspawn, aio_lxc only exists for ubuntu (and not other os)20:51
mnaseri assume aio_basekit runs lxc20:51
cloudnullevrardjp: a container based deployment has been the default for the entirety of this projects existence. I think we have a fairly sensible approach to containerization.20:51
odyssey4memnaser: aio_lxc only doesn't exist for the other platforms because the other all time out20:51
admin0cloudnull, so step1, setup-hosts, run infra playbook and then only the keystone and horizon playbook to create this identity region ,   then in all other regions ( run all except # the os-keystone and #os-horizon playbook so that they are without keystone .. and somehow (user_variables) point to the identity keystone ?20:51
evrardjpodyssey4me: ++20:52
mnaserodyssey4me: ah i see20:52
mnaserso what you're saying is we need more POWERRRRRR20:52
evrardjpmnaser: and basekit was introduced because they couldn't run it20:52
evrardjpbut we didn't want to reduce scope for existing20:52
admin0what this will do is make everything dependent on this one identity provider .. isn't it much easier to make them seperate that they work on thier own, but also provide one set of horizon via which they can access it as regions ?20:52
odyssey4mewell, my general idea to get tests done would be to make 2 basic config bases - nothing and compute_kit20:53
mnaserso really that means the aio_nspawn jobs might just never pass20:53
cloudnullall metal is great for folks who want that. but a number of large deployers (myself included) greatly benefit from the mechanics we have, and making that opt-in seems like we're throwing away what makes out project quite unique.20:53
odyssey4methen all role use those, plus whatever else they need - with a list kinda like devstack20:53
mnaserfor centos at laest20:53
mnaseri see tremenedous value in containers tbh20:53
mnaserespecially because it allows you to maintain seperate releases of openstack20:53
evrardjpcloudnull: it has been containerized, but we've stepped towards putting more agents on metal recently -- and we've been doing great. I can't remember the amount of ppl asking me to run everything on metal. I just don't think these are opposite approaches, I just think they complement each other quite well20:53
*** savvas has quit IRC20:53
mnaseri can upgrade keystone today and then worry about nova in 3 weeks20:54
evrardjpcloudnull: I am in favor of keeping containerized systems, but I am also in favor of simplicity.20:54
*** savvas has joined #openstack-ansible20:54
cloudnullagreed, I think the agents on hosts is an example of us doing the right things with contianers.20:54
odyssey4memnaser: you could be doing that regardless of the containers - all the services are isolated into venvs20:54
odyssey4mebut meh20:54
mnaserodyssey4me: you know i gave that thought not long ago but then... libvirt reminded me20:54
mnaser:P20:54
mnaserthings like python-libvirt and other possible binary based runtime dependencies20:55
odyssey4mequite honestly the missing gap for non-containering would be to isolate the binary deps properly20:55
mnaser++20:55
mnaseri would agree20:55
evrardjpcloudnull: for me I'd say everything on bare metal for "gate" testing to have light systems, but when we want to do things well, we should run containerized and multi-node20:55
cloudnullneutron agents in containers was a bad decision when we did all so long ago. but we kept with it for $REASONS.20:55
odyssey4meso using a chroot for non-containering would basically complete the whole thing quite nicely, but it'd have to be done across everything - compute, libvirt, etc20:55
mnaseri wonder how much faster or slower things would be if we ran multinode jobs in the gate20:56
cloudnullit was a dirty hack, along with us running cinder volumens and nova compute in containers.20:56
evrardjpI oppose tho things in this vision "production ready" and "developer ready"20:56
evrardjpbut my vision might be different than others :)20:56
odyssey4memnaser: multinode brings us nothing for speed - for RPC we do multi-node tests and they take 4+ hours on *very* good hardware20:56
tux__cloudnull: I want to create subnet in neutron and want to set route but i don't want to set default route on that subnet, what is the option in neutron ?20:56
mnaserodyssey4me: boo20:56
odyssey4memnaser: to speed things up, we have to fundamentally change how we deploy20:57
tux__my instance has two nic and want to make 1st nic default route20:57
mnaserodyssey4me: a profiling session all together would seem like a good exercise perhaps20:57
odyssey4methat's what the python build simplification work has been about, and what staged deployments will be next20:57
admin0pre-packaged docker ? kolla way ?20:57
admin0:)20:57
tux__2nd nic specific route20:57
admin0:P20:57
odyssey4memnaser: it's a bit dated now, but this is what comes next: https://github.com/openstack/openstack-ansible-specs/blob/master/specs/queens/deployment-stages.rst20:58
odyssey4meit'll need updating with lessons learned20:58
cloudnulltux__ there's a route option, though idk if it can help with a multi-nic setup20:58
*** savvas has quit IRC20:59
odyssey4metrying to make fundamental changes, without breaking upgrades and keeping things operational is hard - so it's taken a *lot* more time than anticipated20:59
mnaserodyssey4me: absolutely. it is hard20:59
odyssey4menever mind the fact that it's been a part-time activity20:59
tux__cloudnull: if i use "--host-route destination=1.1.1.0/24,nexthop=192.168.5.254" in that cause does it going to set default route also or just specific route?20:59
mnaseralso, mordred totally pinged me on this20:59
mnaseror not me, but infra20:59
mnaserhttps://docs.ansible.com/ansible/latest/user_guide/playbooks_loops.html?highlight=with_items#migrating-from-with-x-to-loop20:59
evrardjpyep known thing21:00
odyssey4meyep, ansible 2.6 has some new quirks21:00
evrardjpI don't like the with_dict21:00
evrardjpI mean the new with_dict :)21:00
evrardjpblabla | dict2items!21:00
evrardjpso cool21:00
evrardjpI am off for today21:01
mnasertake care21:01
evrardjpI will stop this crusade on tempest then and tomorrow will tag m3.21:01
cloudnulljust to note: our deployment speed isn't really all that slow. I mean deploying a new cloud to roughly 500 nodes (we did this just last week)  takes a couple hours (like 3 total), so what? its a 500 node cloud. When the deployment was done I had a 500 compute node cloud that was 100% functional.21:03
cloudnullI'm all for improving the gate speed21:03
cloudnullbut not if it sacrifices capabilities21:03
mnasercloudnull: i agree21:04
mnasermy focus here is focus on improvements that can help the gate so we can iterate faster21:04
admin0i have deployed a lot using osa:  i do not find the containers to be bad or slow . in fact, like them because i can install extra packages on a specific container based on scripting or other needs21:04
cloudnulllike i ran the deployment, i got lunch. i checked on it, i got coffee, done.21:04
admin0everything neatly separated21:05
cloudnull++21:05
cloudnullI like odyssey4me chroot idea for the on metal services21:05
cloudnullto give us that host separation still21:05
cloudnullI also think we can do things better in a lot ways.21:06
*** armaan_ has quit IRC21:06
odyssey4mecloudnull: yeah, so the issue with our speed is that 1 node takes as long as 5 - pretty much21:06
cloudnullpretty much .21:06
odyssey4methe only way to cut that time is to be able to seperate out the build part into a seperate process which isn't used for gates21:06
cloudnullthe deployment is as fast as the slowest node in the bunch21:06
odyssey4meso basically build the chroot/packages/whatever in one process, and consume it in another21:07
mnaserso for me i think things like say21:07
odyssey4meof course the hilarious thing is that doing distro package builds is proving that whole idea wrong :p21:07
cloudnullthere's always doing things like so https://review.openstack.org/#/c/497742 - which cut roughly 45 min out of the gate21:08
cloudnull:D21:08
cloudnullgranted that was 8 months ago21:08
odyssey4meyeah, so if we take on building a cli - then we can take on stuff like that without all the bash21:09
mnaserand i mean technically21:09
mnaserwe have a cli already21:09
mnaser:p21:09
cloudnullodyssey4me ++ the distro gates are just as long, if not longer than the source gates. which is kinda funny.21:09
mnasercloudnull: you know that's what has been bothering me21:09
cloudnullmnaser you're not wrong :)21:09
mnaseri feel like there's something wrong with that21:09
mnasereverytime i say i'll take sometime to check it out beucase it really doesnt add up!21:10
mnaseropenstack-ansible-functional-centos-7 and openstack-ansible-functional-distro_install-centos-7 are both exactly 38 minutes in some random change i picked21:10
cloudnullwe should look into that. It something in source polluting distro, or viseversa21:10
*** savvas has joined #openstack-ansible21:10
cloudnull**it could be something...21:11
odyssey4memnaser cloudnull evrardjp well, if we build a python cli then it'd be a lot easier for us to make the bootstrapping and configuration process more elegant, and streamlined - and we could make OSA more pluggable21:11
odyssey4meyou only download and use what you need, rther than everything21:11
mnaserabsolutely21:11
cloudnullthis all could simply be proving my anti-distro-religion right :)21:11
odyssey4meit'd be easier to also then put a structure into the roles, including the playbooks and all that - then the integrated repo can be much more lightweight21:12
cloudnullthat might be a good .21:13
mnaser14 minutes until it reaches running os_keystone21:13
mnaser2 minutes longer to run os_keystone with source21:14
mnaserbut a lot of tasks can be skipped which are not being skipped21:15
mnaserex: creating keystone folders and stuff21:15
*** savvas has quit IRC21:15
cloudnullw/ distro the time it takes to install is constant, with source the repo is built but the actual deployment time of the service should then be faster.21:15
cloudnullthe time we see in the gates is distro install installing pckages, and source making packages.21:16
mnasermaybe we should prebuild the image and then ship them out... oh wait..21:16
mnaserP21:16
mnaser:P21:16
cloudnulli mean we kinda have that with the repo server.21:17
*** mattinator has joined #openstack-ansible21:17
cloudnullmaybe we can publish our repo server bits on tarballs.o.o21:17
mnaseri always thought it would be nice to have official OSA artifacts21:17
mnaser^^ yes21:17
cloudnullthen just consume that in the gates and rebuild them using a periodic job?21:17
* cloudnull handwaves over getting that all done 21:17
mnaseror21:17
tux__cloudnull: trying to set "--gateway none" but it doesn't like21:18
mnaserwe do a periodic that actually proposes changes to openstack-ansible with pins/rebuilds21:18
mnaserso we only change the pin when things pass21:18
cloudnull++ that might work too21:18
mnaserthat way downstream can never break us in a way21:18
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_designate master: Default MQ RPC/Notify credentials/vhosts to match  https://review.openstack.org/58702021:19
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_designate master: Remove unnecessary MQ vhost/user creation tasks/vars  https://review.openstack.org/58653221:19
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_designate master: Move handler flush to after MQ setup  https://review.openstack.org/58709721:19
mnaserhey i think you broke the world odyssey4me21:19
mnaser:p21:19
mnaserNo package matching 'python-pip' found available, installed or updated21:19
cloudnulltux__ what's the error?21:19
cloudnullis it setting up the route at lease?21:19
odyssey4mecloudnull: well, our need to build wheels is going away, because services are now published to pypi21:19
*** savvas has joined #openstack-ansible21:20
cloudnullthat's cool!21:20
odyssey4meso we can just stop building from git by default, and have that be an optional path instead21:20
cloudnullhttps://pypi.org/project/cinder/ ?21:21
cloudnullor is that coming soon21:21
cloudnullwhat's old is new again :)21:21
odyssey4mewell, yeah - not all of them are done yet21:21
odyssey4mehttps://pypi.org/project/neutron/21:21
*** mattinator has quit IRC21:21
odyssey4meof course it's not useful to us until they get that done21:21
tux__cloudnull: "Invalid input for gateway_ip. Reason: 'none' is not a valid IP address."21:21
tux__"neutron subnet-create net-odmz-vlan11 10.11.0.0/21 --name sub-odmz-vlan11 --allocation-pool start=10.11.1.1,end=10.11.7.254 --dns-nameservers 10.30.0.10 10.30.0.11 8.8.8.8 --host-route destination=10.0.0.0/8,nexthop=10.11.0.1 --gateway=none"21:22
odyssey4memnaser: where'd you see that?21:22
cloudnullodyssey4me that's good news though.21:22
mnaserhttps://review.openstack.org/#/c/587612/21:22
mnaserand im noticing it in other stuff21:22
cloudnullhaving that as an option should greatly speed up the integrated build.21:22
odyssey4memnaser: *we* broke the world ;) https://review.openstack.org/58759821:23
odyssey4melooks like maybe RDO isn't present at the right time?21:23
mnaserhow the hell did it pass ci then21:23
cloudnullrutro shaggy21:23
tux__cloudnull: in document they said you can set "none" but not working https://docs.openstack.org/python-openstackclient/pike/cli/command-objects/subnet.html21:24
*** jwitko_ has quit IRC21:24
odyssey4memnaser: the task right before is to add the RDO repo21:24
*** savvas has quit IRC21:24
cloudnulltux__ I think if you set a static route the gateway has to be defined.21:24
cloudnullor set to auto21:24
tux__I want to set two nic on VM (public/Private) public will use default gateway and private will use host specific route21:25
mnaserwhere and how21:25
mnasergr21:25
cloudnullmnaser odyssey4me yup its everywhere http://logs.openstack.org/96/587196/9/check/openstack-ansible-functional-centos-7/6a6849e/job-output.txt.gz#_2018-07-31_20_38_13_28853021:25
tux__if both subnet will use default gateway then it will create issue21:25
*** yolanda has quit IRC21:25
mnaserodyssey4me: i assume you're close to eod21:26
mnaserso wanna propose the revert for now?21:26
odyssey4memnaser: ok, so perhaps we should revert that one21:26
mnaser++21:26
odyssey4mealthough it's weird - I see RDO everywhere here: http://logs.openstack.org/12/587612/1/check/openstack-ansible-functional-centos-7/1eabec6/logs/ara-report/result/24d898ce-936a-40b3-a514-08ed639555b1/21:26
cloudnulltux__ when the networks were created , did you define a gateway for both?21:26
tux__cloudnull:  "--no-gateway" it works :)21:26
mnasermaybe it's another repo that contains the dependencies21:26
cloudnulltux__ cool21:27
mnaserlets revert till we figure it out21:27
odyssey4meyou reverting, or me?21:27
tux__cloudnull: http://paste.openstack.org/show/726983/21:27
cloudnulltux__ you could set a route metric in the instance to force it, if that doesn't work21:27
openstackgerritMohammed Naser proposed openstack/openstack-ansible-openstack_hosts master: Revert "Ensure virtualenv/pip are installed on centos"  https://review.openstack.org/58763021:27
mnaserodyssey4me: cloudnull ^21:27
tux__cloudnull: thanks21:27
cloudnulltux__ nice!21:28
* cloudnull had not remembered there was a --no-gateway flag 21:28
*** savvas has joined #openstack-ansible21:29
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-openstack_hosts master: Remove unused openstack_host_use_distro_pip var  https://review.openstack.org/58763521:30
*** ansmith has joined #openstack-ansible21:30
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-openstack_hosts master: Install virtualenv vor CentOS via distro packages  https://review.openstack.org/58763721:31
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible master: Change command for shell  https://review.openstack.org/58763821:32
odyssey4memnaser cloudnull so python-pip was the trouble package, so I've added two patches to restore the other bits: https://review.openstack.org/587637 & https://review.openstack.org/58763521:32
odyssey4memnaser cloudnull mind giving a review for https://review.openstack.org/582354 & https://review.openstack.org/#/c/587376/21:38
cloudnulldone and done21:40
odyssey4metyvm21:44
*** cshen has quit IRC21:48
*** tux__ has quit IRC21:51
openstackgerritMerged openstack/openstack-ansible-openstack_hosts master: Revert "Ensure virtualenv/pip are installed on centos"  https://review.openstack.org/58763021:59
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_designate master: Default MQ RPC/Notify credentials/vhosts to match  https://review.openstack.org/58702022:02
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_designate master: Remove unnecessary MQ vhost/user creation tasks/vars  https://review.openstack.org/58653222:02
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_designate master: Move handler flush to after MQ setup  https://review.openstack.org/58709722:02
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_designate master: Disable functional tests temporarily  https://review.openstack.org/58764522:02
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_designate master: Revert "Disable functional tests temporarily"  https://review.openstack.org/58764622:02
odyssey4memnaser cloudnull ^ that will get designate back to operating again22:02
odyssey4methat whole chain22:02
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_designate master: Use generic vars file for ubuntu  https://review.openstack.org/58669122:05
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_designate master: Convert role to use a common systemd service role  https://review.openstack.org/58719622:05
*** DanyC has quit IRC22:05
*** jwitko_ has joined #openstack-ansible22:05
odyssey4meThat's me out for the night - cheers folks!22:07
cloudnulltake care odyssey4me22:11
*** cshen has joined #openstack-ansible22:13
*** mattinator has joined #openstack-ansible22:16
*** cshen has quit IRC22:18
*** FrankZhang has quit IRC22:20
*** mattinator has quit IRC22:21
*** kaiokmo has quit IRC22:22
*** DanyC has joined #openstack-ansible22:27
*** DanyC has quit IRC22:42
*** tonyontopic has quit IRC22:51
*** mattinator has joined #openstack-ansible22:53
*** mattinator has quit IRC22:57
*** vnogin has quit IRC23:04
*** ThomasWhite has quit IRC23:06
*** mattinator has joined #openstack-ansible23:16
*** mattinator has quit IRC23:20
*** pmannidi has joined #openstack-ansible23:21
*** threestrands has joined #openstack-ansible23:24
*** threestrands has quit IRC23:24
*** threestrands has joined #openstack-ansible23:24
*** tux_ has joined #openstack-ansible23:28
*** tux_ has quit IRC23:33
*** tosky has quit IRC23:35
*** kaiokmo has joined #openstack-ansible23:38
*** mattinator has joined #openstack-ansible23:54
*** mattinator has quit IRC23:58

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