Thursday, 2020-10-22

*** rfolco has joined #openstack-ansible00:02
*** tinwood has quit IRC00:03
*** tinwood has joined #openstack-ansible00:03
*** Muran has joined #openstack-ansible00:16
*** Muran has quit IRC00:20
*** gyee has quit IRC00:24
*** rfolco has quit IRC00:30
*** cshen has joined #openstack-ansible00:31
*** cshen has quit IRC00:36
*** MickyMan77 has quit IRC01:13
*** MickyMan77 has joined #openstack-ansible01:14
*** MickyMan77 has quit IRC01:23
*** MickyMan77 has joined #openstack-ansible01:59
*** MickyMan77 has quit IRC02:08
*** rfolco has joined #openstack-ansible02:14
*** rfolco has quit IRC02:18
*** mcarden has quit IRC02:18
*** karanveersingh56 has joined #openstack-ansible02:20
*** rh-jelabarre has quit IRC02:20
*** rh-jelabarre has joined #openstack-ansible02:21
karanveersingh56Hi guys , facing issues in openstack deployment02:21
karanveersingh56can anybody share a openstack_user_config.yml format , is any other file i have to make changes02:21
karanveersingh56root@node3:/opt/openstack-ansible/playbooks# openstack-ansible setup-hosts.yml -vvvv --syntax-check02:22
karanveersingh56'/etc/ansible/roles/plugins/library', '/etc/ansible/roles/ceph-ansible/library']02:22
karanveersingh56setting up inventory plugins02:22
karanveersingh56as it did not pass its verify_file() method02:22
karanveersingh56execution error:02:22
karanveersingh56169, in parse02:22
karanveersingh56"/opt/ansible-runtime/lib/python3.8/site-packages/ansible/inventory/manager.py", line 289, in parse_source02:22
karanveersingh56please give some pointers so that i can proceed02:22
*** cshen has joined #openstack-ansible02:32
karanveersingh56can anybody share a openstack_user_config.yml format , is any other file i have to make changes02:32
karanveersingh56---------------------------------------------------------------------------------------------------------------02:32
karanveersingh56root@node3:/opt/openstack-ansible/playbooks# openstack-ansible setup-hosts.yml -vvvv --syntax-check02:32
karanveersingh56'/etc/ansible/roles/plugins/library', '/etc/ansible/roles/ceph-ansible/library']02:32
karanveersingh56setting up inventory plugins02:32
karanveersingh56as it did not pass its verify_file() method02:32
karanveersingh56execution error:02:32
karanveersingh56169, in parse02:32
karanveersingh56"/opt/ansible-runtime/lib/python3.8/site-packages/ansible/inventory/manager.py", line 289, in parse_source02:33
*** cshen has quit IRC02:36
*** MickyMan77 has joined #openstack-ansible02:36
*** cshen has joined #openstack-ansible02:41
*** MickyMan77 has quit IRC02:44
*** cshen has quit IRC02:46
*** rfolco has joined #openstack-ansible02:54
*** rfolco has quit IRC02:59
*** karanveersingh56 has quit IRC03:04
*** MickyMan77 has joined #openstack-ansible03:15
*** recyclehero has quit IRC03:36
*** MickyMan77 has quit IRC04:19
*** evrardjp has quit IRC04:33
*** evrardjp has joined #openstack-ansible04:33
*** cshen has joined #openstack-ansible04:41
*** cshen has quit IRC04:46
*** nurdie has quit IRC05:10
*** karanveersingh56 has joined #openstack-ansible05:11
karanveersingh56anyone , need help on openstack ansible deployment05:12
karanveersingh56i am facing issue in the initial phase05:13
*** MickyMan77 has joined #openstack-ansible05:15
*** MickyMan77 has quit IRC05:24
*** cshen has joined #openstack-ansible05:30
*** cshen has quit IRC05:35
*** jbadiapa has joined #openstack-ansible05:46
*** recyclehero has joined #openstack-ansible05:53
*** MickyMan77 has joined #openstack-ansible05:57
*** rh-jelabarre has quit IRC06:05
*** MickyMan77 has quit IRC06:05
*** rh-jelabarre has joined #openstack-ansible06:06
*** recyclehero has quit IRC06:07
*** macz_ has joined #openstack-ansible06:19
noonedeadpunkmorning06:19
noonedeadpunkreturning to our biggest issue at the moment - ubuntu images06:20
noonedeadpunkI think we shouldn't use versioned images now once they drop them06:21
noonedeadpunkas it means that one day we will face with that again and it will be pretty soon actually06:21
noonedeadpunkwhen all our releases will be broken due to this06:21
noonedeadpunkso choice is between lxd image which is not really base, or daily build of base06:22
*** macz_ has quit IRC06:24
*** noonedeadpunk has quit IRC06:31
*** cshen has joined #openstack-ansible06:32
*** cshen has quit IRC06:36
*** noonedeadpunk has joined #openstack-ansible06:39
noonedeadpunkah, well, or write soma nasty thing to pick up always the latest release06:40
*** pto has quit IRC06:42
*** pto has joined #openstack-ansible06:43
*** recyclehero has joined #openstack-ansible06:44
*** cshen has joined #openstack-ansible06:44
karanveersingh56Hi Dmitriy06:46
karanveersingh56https://bugs.launchpad.net/openstack-ansible/+bug/190088406:46
openstackLaunchpad bug 1900884 in openstack-ansible "ubuntu-base-20.04-base-amd64.tar.gz is missing" [Undecided,In progress] - Assigned to Dmitriy Rabotyagov (noonedeadpunk)06:46
noonedeadpunkkaranveersingh56: we were trying to cover that with https://review.opendev.org/#/c/758992/06:47
noonedeadpunkbut it's not final06:47
noonedeadpunkissue here that ubuntu has dropped all images except latest ones, which it used to store06:47
karanveersingh56correct , I was trying to deploy the stack06:49
*** cshen has quit IRC06:49
karanveersingh56any workaround where I can change it to ubuntu-base-20.04.1-base-amd64.tar.gz06:49
noonedeadpunkyep, you can override it with lxc_hosts_container_image_url: http://cdimage.ubuntu.com/ubuntu-base/releases/20.04/release/ubuntu-base-20.04.1-base-{{ lxc_cache_map.arch }}.tar.gz06:50
karanveersingh56which file I can find this variable06:51
noonedeadpunkcurrently it's here https://opendev.org/openstack/openstack-ansible-lxc_hosts/src/branch/master/vars/ubuntu-20.04.yml#L1606:53
noonedeadpunkbu I mean you should put it in user_variables and that's it06:53
noonedeadpunk*you can put06:53
karanveersingh56let me give a try , thanks buddy06:54
*** rpittau|afk is now known as rpittau06:54
*** jawad_axd has joined #openstack-ansible06:54
*** recyclehero has quit IRC07:02
*** recyclehero has joined #openstack-ansible07:03
*** Muran has joined #openstack-ansible07:03
jrossermaybe stat the file and only download the latest if it's not missing07:04
*** karanveersingh56 has quit IRC07:04
*** pto has quit IRC07:04
*** pto has joined #openstack-ansible07:05
jrosserwe already have # Set this option to true to pull a new cached image.07:05
jrosserlxc_image_cache_refresh: false07:05
*** pto has quit IRC07:06
*** karanveersingh56 has joined #openstack-ansible07:06
*** pto has joined #openstack-ansible07:06
*** pto has quit IRC07:09
*** pto has joined #openstack-ansible07:10
noonedeadpunkyeah but we set explicitly it's tll07:10
noonedeadpunk*ttl07:10
noonedeadpunkso you mean drop it and storebase image until lxc_image_cache_refresh is explicitly true?07:10
jrossersomething like that07:11
noonedeadpunkI started thinking about the way to get available image out of checksums07:11
jrosserand we can add that maybe to minor upgrade instructions07:11
noonedeadpunkie http://cdimage.ubuntu.com/ubuntu-base/releases/20.04/release/SHA256SUMS07:11
jrosserah yes07:11
recycleheromorning07:12
noonedeadpunkbut probably your option is good as well and the way easier07:12
noonedeadpunkas ofc if we get checksum it's easy for us to verify integrity of the imge07:13
noonedeadpunkbut overriding of the source would be pretty much painful then07:13
jrosserI do that now07:13
jrosserhave some offline installation07:13
noonedeadpunkand I guess you don't store SHAs?:)07:14
noonedeadpunkwhat makes things worse that this should be something backportable07:15
noonedeadpunkso option with removal of image ttl seems better here07:16
jrosserI have to be away for a bit, back in hour or so07:17
noonedeadpunksure07:17
karanveersingh56Guys , just a basic Q , do we need to create these bridges manually and wat all are mandatory bridges07:18
karanveersingh56br-mgmt , br-storage , br-vxlan , br-vlan07:18
noonedeadpunkyep, we don't touch underlying networks, so they need to be created manualy before the deployment07:19
noonedeadpunkI think you named all of them if you don't deploy octavia or designate as they may require additional ones07:20
karanveersingh56yea , I did expose these in user config yaml  but haven't created so all the containers failed07:22
karanveersingh56lxc-start node1_rabbit_mq_container-67075c91 20201022071431.293 ERROR    cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1143 - File exists - Failed to create directory "/sys/fs/cgroup/cpuset//lxc.monitor.node1_rabbit_mq_container-67075c91"07:22
karanveersingh56cgroups/cgfsng.c:mkdir_eexist_on_last:1143 - File exists - Failed to create directory "/sys/fs/cgroup/cpuset//lxc.payload.node1_rabbit_mq_container-67075c91"07:22
karanveersingh5620201022071431.304 ERROR    network - network.c:lxc_ovs_attach_bridge:2387 - Failed to attach "67075c91_eno1" to openvswitch bridge "br-mgmt": lxc-start: node1_rabbit_mq_container-67075c91:07:22
karanveersingh56"67075c91_eno1" to bridge "br-mgmt"07:22
karanveersingh56network07:22
karanveersingh56lxc-start node1_rabbit_mq_container-67075c91 20201022071431.349 ERROR    lxc_start - tools/lxc_start.c:main:311 - To get more details, run the container in foreground mode07:22
karanveersingh56and --logpriority options07:22
karanveersingh56can I get any sample user config file as well , which I can take as a reference , like minimalistic openstack to start with07:23
*** andrewbonney has joined #openstack-ansible07:24
*** pto has quit IRC07:30
*** pto has joined #openstack-ansible07:31
*** cshen has joined #openstack-ansible07:32
*** pto has quit IRC07:33
*** pto has joined #openstack-ansible07:33
*** karanveersingh56 has quit IRC07:36
*** tosky has joined #openstack-ansible07:44
*** pto has quit IRC07:49
*** pto has joined #openstack-ansible07:50
*** pto has quit IRC07:53
*** pto has joined #openstack-ansible07:57
*** macz_ has joined #openstack-ansible08:07
*** macz_ has quit IRC08:12
*** pto_ has joined #openstack-ansible08:17
*** pto_ has quit IRC08:18
*** pto_ has joined #openstack-ansible08:19
*** pto_ has quit IRC08:20
*** pto_ has joined #openstack-ansible08:20
*** pto has quit IRC08:20
*** nurdie has joined #openstack-ansible08:27
*** sshnaidm|afk is now known as sshnaidm|rover08:29
*** nurdie has quit IRC08:30
*** pto_ has quit IRC08:38
*** pto has joined #openstack-ansible08:39
*** nurdie has joined #openstack-ansible08:41
*** klamath_atx has joined #openstack-ansible08:43
*** nurdie has quit IRC08:45
*** pto has quit IRC08:46
*** pto has joined #openstack-ansible08:46
*** pto has quit IRC08:52
*** pto has joined #openstack-ansible08:53
*** gshippey has joined #openstack-ansible08:59
recycleheroin which cases the interfaces should be unnumbered?09:03
*** pto has quit IRC09:03
*** pto has joined #openstack-ansible09:04
recycleheroin particular can an interface be presented for physical flat network mapping via host_bind_interface and also get an address to be used as external_lb_address09:08
*** pto has quit IRC09:09
*** pto has joined #openstack-ansible09:10
*** pto has quit IRC09:21
noonedeadpunkjrosser: oh, well, maybe we should just return to legacy url fetch process09:21
*** pto has joined #openstack-ansible09:22
jrosserlet me just see what we do right now for this09:24
noonedeadpunkhttps://uk.images.linuxcontainers.org/images/ubuntu/focal/amd64/default/20201022_07:42/09:25
noonedeadpunkbut it's not really base image as well09:25
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-lxc_hosts master: Determine latest base image available  https://review.opendev.org/75922909:26
noonedeadpunkjrosser: that's what I come up with09:27
noonedeadpunkbut honestly not sure in this solution - it really looks like this legacy part09:27
noonedeadpunkexcept legacy part is more reliable09:27
jrosserright currently i override lxc_hosts_container_image_url to some local URL09:29
noonedeadpunkWell I think the biggest question now is what image do we want to take as base one09:31
noonedeadpunkwell, probably worth creating etherpad09:31
* jrosser meetings all morning :(09:31
noonedeadpunkah, I see09:31
noonedeadpunkhttps://etherpad.opendev.org/p/osa-ubuntu-image-source09:45
*** pto has quit IRC09:57
*** pto has joined #openstack-ansible09:58
*** pto has quit IRC09:58
*** pto has joined #openstack-ansible09:59
*** pto has joined #openstack-ansible10:00
*** pto has quit IRC10:01
*** pto has joined #openstack-ansible10:01
*** pto has quit IRC10:05
*** pto has joined #openstack-ansible10:06
*** pto has quit IRC10:42
*** pto has joined #openstack-ansible10:42
*** mgariepy has quit IRC11:04
*** pto has quit IRC11:08
*** pto has joined #openstack-ansible11:09
recycleherothe only way I can think of wihtout adding a nic to the picture is to hapxory_ssl: flase11:09
recycleheroI dont hava an ip to assign for external_lb11:09
recycleherothe provider netowrk in infra one is used by the linux bridge agent so I shouldnt assign a address to it11:10
*** jawad_axd has quit IRC11:11
recycleherobut when I did this and rna haproxy playbook I am getting "regerer is insecure while host is secure "11:12
*** pto has quit IRC11:14
*** pto has joined #openstack-ansible11:15
recycleheroaha I serached haproxy_ssl in other roles so I should redplooy those too as it affect them11:23
recycleherobut I wish It was a way that I could have an ip address on the external in infra111:23
*** pto has quit IRC11:35
*** pto has joined #openstack-ansible11:36
recycleherocd /var/log11:37
recycleherols11:37
* recyclehero feels stupid 11:37
jrosserrecyclehero: i think you should take a look at how this is done in the AIO where the whole deployment is on one host11:43
jrosserthere is an extra interface eth12 which is given to neutron, and wired with a veth to the 'flat network'11:43
jrosserthat lets you achieve what you are describing11:43
*** spatel has joined #openstack-ansible11:46
*** spatel has quit IRC11:51
*** mgariepy has joined #openstack-ansible11:59
*** nurdie has joined #openstack-ansible12:01
*** pto has quit IRC12:06
*** pto_ has joined #openstack-ansible12:06
*** nurdie has quit IRC12:06
*** pto_ has quit IRC12:10
*** pto has joined #openstack-ansible12:10
*** jawad_axd has joined #openstack-ansible12:19
*** rfolco has joined #openstack-ansible12:20
*** pto has quit IRC12:27
*** pto has joined #openstack-ansible12:28
*** nurdie has joined #openstack-ansible12:36
*** nurdie has quit IRC12:53
*** pto has quit IRC13:01
*** pto has joined #openstack-ansible13:03
*** sep has quit IRC13:10
dmsimardara 1.5.2 is out with the handler recording and performance improvements13:18
dmsimardlet me know if you see any problems, thanks :)13:19
*** nurdie has joined #openstack-ansible13:24
*** jawad_axd has quit IRC13:28
noonedeadpunkdo we install just latest?:)13:30
dmsimardI don't think you pin so it should install latestyeah13:32
*** sep has joined #openstack-ansible13:48
*** sshnaidm|rover is now known as sshnaidm|afk13:54
mgariepyanyone here have seen : ERROR! Unexpected templating type error occurred on ({{ (lxc_container_networks_combined.values() | list) | sort(attribute='interface') }}): '<' not supported between instances of 'str' and 'NoneType' ?14:05
mgariepyhuh.. silly me. missing interface on the host..14:07
mgariepylol.14:07
*** spatel has joined #openstack-ansible14:19
kleini@noonedeadpunk, is that image problem an acute problem? tried to deploy 21.1.0 on Ubuntu 18.04 and it fails downloading a 18.04.3 base image. So it seems to me, that I need to overwrite lxc_hosts_container_image_url14:20
noonedeadpunkkleini: you can set lxc_hosts_container_image_download_legacy: true and this should work out14:21
*** cshen has quit IRC14:21
* noonedeadpunk working on proper fix14:21
kleiniDoes it help to test https://review.opendev.org/759229 ?14:28
noonedeadpunkwell, yes:)14:29
kleiniAnything else I can help with as I am already stumbling over this?=14:29
noonedeadpunkI'm currently looking into what is wrong with centos, I think it's the only point for the moment14:30
noonedeadpunkactually I have etherpad here with options how to work this through https://etherpad.opendev.org/p/osa-ubuntu-image-source14:30
noonedeadpunkand if you have some input - feel free to share14:30
kleiniI read that etherpad but actually I do not have any good idea, how to improve the situation? Your current solution in the patch looks good to me. I only found a typo, if it is a typo: "cheksum" instead of "checksum"14:38
*** LowKey has joined #openstack-ansible14:38
*** d34dh0r53 has quit IRC14:40
noonedeadpunkah, good catch14:43
noonedeadpunkwell, if current patch is good for you it's also great input14:43
*** d34dh0r53 has joined #openstack-ansible14:43
noonedeadpunkjust need more eyes so asked:)14:43
*** macz_ has joined #openstack-ansible14:45
*** macz_ has quit IRC14:45
*** macz_ has joined #openstack-ansible14:45
*** sshnaidm|afk is now known as sshnaidm|rover14:48
*** pto has quit IRC14:50
*** pto has joined #openstack-ansible14:52
*** jawad_axd has joined #openstack-ansible14:55
jamesdentonnoonedeadpunk i've not seen linters errors like these before. any suggestions? or just a recheck? https://zuul.opendev.org/t/openstack/build/e397aba2473a4c1392e4b44d72e0b91b14:59
*** pto has quit IRC14:59
noonedeadpunkjamesdenton: ah. it's not happy with how when statement are used ie here https://review.opendev.org/#/c/736336/5/tasks/ironic_conductor_post_install.yml15:01
noonedeadpunkthere shouldn't be "{{ }}" in when15:01
jamesdentongotcha15:03
jamesdentonthank you15:03
noonedeadpunkwe've replaced ansible-lint excludes with warnings, to remeber about technical debt :p15:04
noonedeadpunkbut the real issue is in this ascii box15:05
*** jawad_axd has quit IRC15:05
jamesdentonNo Jinja2 in when15:05
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-lxc_hosts master: Determine latest base image available  https://review.opendev.org/75922915:08
jamesdentonok, i didn't know how to decipher the box. makes sense now15:10
openstackgerritJames Denton proposed openstack/openstack-ansible-os_ironic master: Add iPXE support to Ironic Conductor  https://review.opendev.org/73633615:24
*** gregwork has joined #openstack-ansible15:26
noonedeadpunkuh, damn it15:26
noonedeadpunkwe're in bade shape with centos mages as well....15:26
noonedeadpunkthey don't ship layers as a standalone image - only docker ones https://cloud.centos.org/centos/8/x86_64/images/15:26
noonedeadpunkseems I crossed out option 4 too early15:28
recycleherojrosser: thank u jrosser. it was what I was looking for.15:28
jrosserrecyclehero: excellent!15:29
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-lxc_hosts master: Determine latest base image available  https://review.opendev.org/75922915:30
jamesdentonwhat is layers?15:33
noonedeadpunkwell, it's docker thing. eventually it's how docker packs images15:35
noonedeadpunkand centos was providing only rootfs previously, but modern image has only this http://paste.openstack.org/show/799288/15:35
noonedeadpunkand layer.tar is rootfs15:35
noonedeadpunkI think https://medium.com/@jessgreb01/digging-into-docker-layers-c22f948ed612 kind of explains15:36
noonedeadpunkhttps://cameronlonsdale.com/2018/11/26/whats-in-a-docker-image/ is probably better15:36
noonedeadpunkok. let's close this with pretty backportable https://review.opendev.org/#/c/759229 and will talk about how to resolve this in a better way during PTG15:52
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-lxc_hosts master: Determine latest base image available  https://review.opendev.org/75922915:53
*** rpittau is now known as rpittau|afk15:57
*** yann-kaelig has joined #openstack-ansible15:58
openstackgerritamolkahat proposed openstack/openstack-ansible-os_tempest master: Migrate to content provider jobs/templates  https://review.opendev.org/75928716:00
*** mgariepy has quit IRC16:02
openstackgerritamolkahat proposed openstack/openstack-ansible-os_tempest master: Migrate to content provider jobs/templates  https://review.opendev.org/75928716:02
noonedeadpunkso, should we merge https://review.opendev.org/#/c/759229/4 ?16:29
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-lxc_hosts stable/ussuri: Determine latest base image available  https://review.opendev.org/75929816:47
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-lxc_hosts stable/train: Determine latest base image available  https://review.opendev.org/75929916:50
recycleherodo u have plans to update ussuri docs to checkout 21.1.0 instead of 21.0.116:54
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-lxc_hosts stable/stein: Determine latest base image available  https://review.opendev.org/75930016:54
noonedeadpunkrecyclehero: docs are designed to be auto updated but it's not working at the moment for $reason16:55
*** mgariepy has joined #openstack-ansible16:55
noonedeadpunkwhich I can't really recall, but it's something we need to look into16:55
* jrosser tries to review 75922916:56
jrosserbeen very very long day :/16:56
noonedeadpunkto sum up - I think it's just small backportable change we will need to replace pretty soon16:56
noonedeadpunkas I've started to work on option 4 https://etherpad.opendev.org/p/osa-ubuntu-image-source and it's pretty deep dive16:56
noonedeadpunkwell not so much, but we have https://opendev.org/openstack/openstack-ansible-lxc_hosts/src/branch/master/defaults/main.yml#L200 which we made as list for $reason16:58
noonedeadpunkand have no idea at the moment what to do with that....16:58
noonedeadpunkand probably we can discuss more during ptg16:58
jrosserthe conditional on here is hurting my head https://review.opendev.org/#/c/759229/4/tasks/lxc_cache_prestage.yml16:59
noonedeadpunkyeah... so we run it only if all required variables are set, and we don't have lxc_hosts_container_image_url17:00
jrosserthe first two conditions are somehow combined in a complex way17:01
jrosserbecasue of whats in defaults/main.yml17:01
jrosseror an override will change that17:01
noonedeadpunk_lxc_hosts_container_image_url_base is defined only for suse...17:02
noonedeadpunkand regarding lxc_hosts_container_image_url - yes it will be overriden either with user overrides, or with _lxc_hosts_container_image_url for centos17:03
jrosseroh my17:03
jrosserlike needs some whole document writing above that task17:04
noonedeadpunkI hope we will replace it tbh.... as we have issue with centos images as well17:04
noonedeadpunkbut what I come up with.. breaks my head as well...17:05
noonedeadpunkbut I'm ok with documenting it17:05
jrossertheres like option 5 being DIB17:06
jrosserdon't know if thats even remotely sane idea17:06
noonedeadpunknot sure if dib can make us tar archive17:07
noonedeadpunkwe can bind mount raw or qcow...17:07
noonedeadpunkbut that will resolve issue with our custom scripts17:08
noonedeadpunkthat we run against retrieved image17:08
noonedeadpunkbut it may take the way more time17:09
jrosseryeah, it was something jesse talked about a long time ago17:09
noonedeadpunklets write it down?:)17:09
*** cshen has joined #openstack-ansible17:12
*** jawad_axd has joined #openstack-ansible17:17
*** cshen has quit IRC17:19
spatelnoonedeadpunk: can i deploy victoria using OSA or its still under work?17:20
noonedeadpunkspatel: under work:(17:21
noonedeadpunkwe need to merge several things and https://review.opendev.org/#/c/755973/17:21
spatelnext week i am planning to rollout my production cloud. I can go with ussuri and later upgrade to victoria when stable ready available17:21
noonedeadpunkafter that I think we will make some milestone release (ie beta)17:22
spatelcool, thank you17:22
*** ChiTo has joined #openstack-ansible17:24
ChiToHi OSA team17:24
spatelChiTo: Hello17:24
ChiTois there any mechanism to remove a specific set of packages that previously were installed on a bare metal node within the venvs?17:24
noonedeadpunknope:(17:25
ChiTogot it, manually only right?17:25
ChiToI mean just removing my venvs related to those projects17:25
noonedeadpunkwell, you can run ad-hoc ansible command17:25
ChiTotrue, that makes sense too17:25
ChiTosince I am relocating some services I decided to not use someones who were previously insstalled on a different server17:26
ChiTobut I want to purge everythiing related to those services17:26
*** andrewbonney has quit IRC17:26
noonedeadpunkyeah, we don't have anything prepared for that17:26
ChiToit is fine I think I can just remove them to avoid being registered against my controllers, and previously disable them to avoid struggling with the new ones17:27
ChiTomy main goal is because I am deploying my compute nodes to act as neutron node as well, but I would like to separate the Neutron APIs from the data plane services like metadata, dhcp, l3, l2, agents in general, etc, but I am afraid that is not possible right?17:28
ChiTobecause the host group is only referred as a network_hosts from the inventory perspective17:28
ChiTobut not sure if I can break down the neutron-server component which exposes the API and separate the other services to be deployed on my compute nodes17:28
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-tests stable/stein: Pin virtualenv<20 for python2 functional tests  https://review.opendev.org/75930817:28
ChiToI am doing a HA/DVR on computes17:28
noonedeadpunkwell by default neutron-api is separated from all other agents17:29
noonedeadpunk*neutron-server17:29
ChiTofinally I was able to deploy the VXLAN properly for tunnels on the computes but now I am dealing with the br-provider/br-vlan for my external network and I would like to make the compute nodes to route their VMs17:29
jrossergerritbot seems to be gone but this is needed for unbreaking stein https://review.opendev.org/#/c/759308/117:30
noonedeadpunkpretty sure it won't pass due to broken ubuntu images17:30
ChiTonoonedeadpunk: Agreed, but how can I group them separately in my openstack_user_config.yaml because I only have my network_hosts which contain the compute nodes so far17:30
jrosseryeah17:30
jrossernoonedeadpunk: imho we should change neutron-api to always be on the infra host17:32
ChiTojrosser: exactly something like tht17:32
jrossereveryone here who ever makes dedicated network nodes always wants to move them17:32
ChiTojust to separate my API access for my haproxies17:32
*** jawad_axd has quit IRC17:32
noonedeadpunkhave nothing against it17:33
jrosserChiTo: leaving aside all the dvr and stuff it's totally possible to adjust env.d to do this17:33
noonedeadpunkwe kind of have neutron_server_container but yeah, it's part of general network_containers17:33
jrosserit's because the agents used to be in containers, so kind of history that is long now removed17:34
ChiTojrosser: understood, so i have to create my own variables to group something like "neutron-api" on x or y server within my env.d on that specific group?17:35
ChiToI mean I have to customize my inventory right?17:35
noonedeadpunkI still a bit confused in what we can set in openstack_user_config and what not from env.d17:35
jrosserif CeeMac is around he had a example in a paste of what to do17:35
jrosseri'm not on my work computer to copy this from my deployment right now17:36
noonedeadpunkbut I thought that we can set either from container_skel or component_skel ?17:36
CeeMacjrosser: to move neutron server to controller?17:37
jrosseryeah, you shared a recipie a loooong time ago to do that17:37
CeeMacI'm just making dinner but I can dig it out later.17:37
ChiToI tried something like http://paste.openstack.org/show/799290 but not sure if that makes sense17:38
CeeMacShould probably put it in an ether pad or something17:38
CeeMacChiTo: will you be around for a while?17:38
jrosseris that how dvr works?17:38
jrosseri thought the centralised L3 agent was still needed for some traffic17:39
ChiToCeeMac: sure thing!, thx a lot17:39
* jrosser never done this though17:39
CeeMacPretty sure central l3 agent still sits on network nodes too in DVR, I prepped my environment for it but didn't implement it yet17:40
CeeMacI should probably scroll up and read the conversation history for context :)17:41
jrossersomething something snat17:41
ChiTojrosser, CeeMac: In my case I just set the compute nodes to work as network hosts too, so essentially my l3 agents are working on HA mode per compute17:41
ChiTojrosser: yep, usually dvr_snat as the mode on the computes17:41
ChiToand also enable_distributed_routing = True in the openvswitch_agent.ini17:42
ChiToso essentially "I don't have" neutron nodes separately17:43
*** sshnaidm|rover is now known as sshnaidm|off17:45
CeeMacChiTo: makes sense. I have dedicated network nodes to limit point of presence on the Internet, but with DVR that becomes moot anyway I guess17:52
ChiToCeeMac: Agreed, at the end the physical network infrastructure admin is the main responsible to track 100% on what is going on those nodes. Also I find it useful because of the zero-SPOF and eventually better L3 optimization techniques per compute when it comes to larger clouds17:54
CeeMacChiTo: true, but that guy is me too >_<17:55
ChiToCeeMac: hehe, agreed, when we have full control I rather suggest a separated architecture to control the neutron hosts but the cloud I am working on has a a lot of siloed-approaches when it comes to operations.17:57
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-lxc_hosts master: Determine latest base image available v4  https://review.opendev.org/75931018:02
noonedeadpunkjrosser: well, it's option from variant 4 which gets from images.linuxcontainers.org18:02
*** alvinstarr has quit IRC18:04
*** MickyMan77 has joined #openstack-ansible18:05
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-lxc_hosts master: Determine latest base image available v4  https://review.opendev.org/75931018:13
*** MickyMan77 has quit IRC18:13
recycleheroguys, whats unbound?18:32
noonedeadpunkdns18:32
recycleherolike bind but unbound?18:33
*** KurtB has quit IRC18:35
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-lxc_hosts master: Determine latest base image available v4  https://review.opendev.org/75931018:35
noonedeadpunkwell yes18:35
noonedeadpunkjust lightweight and simple18:35
noonedeadpunkhttps://github.com/NLnetLabs/unbound18:36
recycleherothanks18:36
CeeMacChiTo: http://paste.openstack.org/show/799291/ this should do the trick18:40
noonedeadpunkI guess valid env.d should be like this http://paste.openstack.org/show/799292/18:45
noonedeadpunkexcept c omponent_skel not omponent_skel18:45
noonedeadpunk* component_skel18:46
*** MickyMan77 has joined #openstack-ansible18:48
CeeMacnoonedeadpunk: I used the one in the paste and it worked? *shrug*18:50
CeeMacNot sure if it would merge in bits from the default neutron-server?18:51
noonedeadpunkwell, if you add it to already generated inventory, it probably should work...18:52
noonedeadpunkas you have agents already in place...18:52
CeeMacI'm happy to bow to your experience though if the override should be complete as you put it.18:53
CeeMacNoonedeadpu18:53
CeeMacBah18:53
CeeMacnoonedeadpunk: I see, hadn't thought of that18:53
noonedeadpunkanyway better safe then sorry)18:54
CeeMacI'll update my records accordingly :)18:54
ChiTonoonedeadpunk, CeeMac: Thanks guys, I think I have to include the containers_skel independently if I use metal only18:54
CeeMacTrue fact18:54
noonedeadpunkI think we should make this change upstream18:54
ChiToI am going to try them during my day18:54
noonedeadpunkbut we will need to update group names as well...18:54
CeeMacI think it's more intuitive to keep the neutron api with the other api containers18:55
*** MickyMan77 has quit IRC18:55
noonedeadpunkit totally is18:55
noonedeadpunkjust agents were in containers one day, so it's kind of historical thing18:55
CeeMacNot sure what convention you would use for group names18:55
CeeMacYeah, evolution etc18:56
noonedeadpunkwho knows... probably just replace `-` with `_`18:56
noonedeadpunkas having dash in group names is obsolete in terms of ansible for a qwhile18:57
CeeMacI have a feeling I copied the formating from compute-infra_containers, but I could be wrong18:57
noonedeadpunkyeah, we have that type across all services I think18:57
noonedeadpunkincluding repo, cinder, placement, etc18:58
CeeMacOh, so it's an upstream ansible convention?18:58
noonedeadpunkosa upstream or ansible upstream?:)18:58
CeeMacHah I mean the reasoning to remove the -18:59
noonedeadpunkansible is about to prohivit usage of `-` in group names, so we're balancing here18:59
noonedeadpunkyeah, it is18:59
CeeMacRight, makes sense18:59
*** yann-kaelig has quit IRC18:59
CeeMacI have so much to learn still haha18:59
noonedeadpunkthey have even this https://docs.ansible.com/ansible/latest/reference_appendices/config.html#transform-invalid-group-chars19:00
noonedeadpunkwell, here's the list http://paste.openstack.org/show/799293/ :p19:05
CeeMacHah, just a couple to clear up!19:14
*** cshen has joined #openstack-ansible19:15
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-lxc_hosts master: Determine latest base image available v4  https://review.opendev.org/75931019:17
*** cshen has quit IRC19:19
*** gyee has joined #openstack-ansible19:26
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-lxc_hosts master: Use lxc_image_cache_server_mirrors as image source  https://review.opendev.org/75931019:40
*** wpp has quit IRC19:42
*** Muran has quit IRC19:47
*** Muran has joined #openstack-ansible19:48
*** Muran has quit IRC19:52
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-lxc_hosts master: Use lxc_image_cache_server_mirrors as image source  https://review.opendev.org/75931020:05
*** Muran has joined #openstack-ansible20:17
*** Muran has quit IRC20:22
recycleherowhere unbound host are defined,20:22
recycleherodoh, accidental enter!20:23
*** yolanda has quit IRC20:24
*** yolanda has joined #openstack-ansible20:24
*** nurdie has quit IRC20:26
*** Muran has joined #openstack-ansible20:29
*** Muran has quit IRC20:34
recycleheroCeeMac: I was following what your paste for learning purposes. --limit network-infa_all: does the all have special syntax meaning as I dont see it. and is it necessary to use limit with openstack-ansbile os-neutron-install.ynl ?20:42
*** mgariepy has quit IRC20:48
*** mgariepy has joined #openstack-ansible21:02
*** rfolco has quit IRC21:03
*** nurdie has joined #openstack-ansible21:13
*** nurdie has quit IRC21:14
*** cshen has joined #openstack-ansible21:15
CeeMacrecyclehero: that's one of the dynamic inventory groups21:16
CeeMacYou dont have to use limit, but it's useful to restrict the playbook to specific hosts or containers21:17
*** cshen has quit IRC21:20
CeeMacrecyclehero: you can view the dynamic inventory to see the various groups etc and then the inventory groups can be used to limit the plays. https://docs.openstack.org/openstack-ansible/queens/reference/inventory/manage-inventory.html21:21
CeeMacOr https://docs.openstack.org/openstack-ansible/latest/reference/inventory/manage-inventory.html for the latest version even21:21
*** sum12 has joined #openstack-ansible21:35
*** spatel has quit IRC21:50
*** odyssey4me has quit IRC21:53
*** nurdie has joined #openstack-ansible21:54
*** nurdie has quit IRC21:58
*** tosky has quit IRC22:54
*** rh-jelabarre has quit IRC23:15
*** cshen has joined #openstack-ansible23:16
*** cshen has quit IRC23:20
*** gshippey has quit IRC23:21
recycleheroCeeMac: thanks23:22
recycleheroI am having trouble with this allocation_ratio23:22
recycleheroI cant set it to anything and it isnt as noonedeadpunk said that I could lunch no matter what shows in horzion hypervisor section23:22
recycleheroI deployed clean, applyed jrosser patch. set cpu_allocation_ratio: ''23:23
recycleheroset initial_cpu_allocation_ratio: 16 with via overriders in user_variable.yml23:23
recycleherobut no luck23:24
*** macz_ has quit IRC23:24
recycleherowhen I use the openstack cli openstack resource provider inventory show vcpu it shows allocation_ratio as 16.0 but there is problem with total23:25
*** macz_ has joined #openstack-ansible23:25
recycleherototal is still 823:25
recycleheroI am doing api calls which have resource_genration which is some int that resource tracker keeps I guess for knowing where is it23:25
recycleheroafter a successful api call I can check with cli that total is set to 128 and generation++23:26
recycleherobut then it override that and I saw another generation++ and total back to 823:26
recycleheroI have read every thing I could get hold of23:27
recycleheronova/resource_tracker.py  and OSA are my suspects23:28
recycleheroI need to lunch with allocation ratio more than 123:28
* recyclehero goes to sleep23:28
*** macz_ has quit IRC23:35

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!