Wednesday, 2020-12-16

*** tosky has quit IRC00:04
*** cshen has joined #openstack-ansible00:29
*** cshen has quit IRC00:33
*** yann-kaelig has quit IRC00:41
*** maharg101 has joined #openstack-ansible00:51
*** maharg101 has quit IRC00:56
*** macz_ has quit IRC00:58
*** spatel has joined #openstack-ansible01:59
*** dasp has quit IRC02:20
*** dasp has joined #openstack-ansible02:21
*** cshen has joined #openstack-ansible02:29
*** cshen has quit IRC02:33
*** macz_ has joined #openstack-ansible02:55
*** macz_ has quit IRC03:00
*** rfolco has joined #openstack-ansible03:11
snadgehttps://freedomben.medium.com/centos-is-not-dead-please-stop-saying-it-is-at-least-until-you-read-this-4b26b5c44877  .. this is a bit offtopic but it's an interesting read if you're at all concerned about this recent redhat/centos debacle03:27
*** jamesden_ has quit IRC03:29
snadgeits from the perspective of someone who works at redhat, but is not directly involved.. moreso a community / user perspective since its not an official redhat statement/opinion03:29
*** rfolco has quit IRC03:32
*** gyee has quit IRC03:43
*** macz_ has joined #openstack-ansible03:46
*** macz_ has quit IRC03:50
*** cshen has joined #openstack-ansible04:29
*** cshen has quit IRC04:33
*** shyamb has joined #openstack-ansible04:37
*** shyamb has quit IRC05:05
*** shyamb has joined #openstack-ansible05:05
*** evrardjp has quit IRC05:33
*** evrardjp has joined #openstack-ansible05:33
*** spatel has quit IRC05:36
*** shyamb has quit IRC05:41
*** rohit02 has joined #openstack-ansible05:43
rohit02@Team Openstack ansible ussuri failed on centos 8 with Error "   "msg": "file not found: /var/www/repo/os-releases/21.2.1.dev6/keystone-21.2.1.dev6-constraints.txt"05:46
rohit02in keystone container05:46
*** shyamb has joined #openstack-ansible05:58
*** cshen has joined #openstack-ansible06:00
*** cshen has quit IRC06:04
*** shyamb has quit IRC06:11
jrosserrohit02: yes, the release of centos 8.3 this week had a bunch of breaking changes unfortunately, and it's taken a while to work out how to deal with those06:21
jrosserplease can you check that you have this patch to openstack_hosts ansible role https://review.opendev.org/c/openstack/openstack-ansible-openstack_hosts/+/76670706:21
*** shyamb has joined #openstack-ansible06:21
*** SiavashSardari has joined #openstack-ansible06:44
*** shyamb has quit IRC07:03
*** shyamb has joined #openstack-ansible07:08
*** cshen has joined #openstack-ansible07:19
*** lkoranda has joined #openstack-ansible07:24
noonedeadpunkmorning07:31
noonedeadpunkuh, zun timedout :(07:32
*** pto has joined #openstack-ansible07:34
openstackgerritDmitriy Rabotyagov proposed openstack/openstack-ansible-os_glance stable/train: Trigger uwsgi restart  https://review.opendev.org/c/openstack/openstack-ansible-os_glance/+/76714507:34
*** lkoranda has quit IRC07:35
*** shyam89 has joined #openstack-ansible07:56
*** shyamb has quit IRC07:59
*** shyam89 has quit IRC08:00
*** andrewbonney has joined #openstack-ansible08:07
*** rpittau|afk is now known as rpittau08:18
*** rohit02 has quit IRC08:26
*** rohit02 has joined #openstack-ansible08:26
*** tosky has joined #openstack-ansible08:33
*** maharg101 has joined #openstack-ansible08:41
*** jawad_axd has joined #openstack-ansible08:43
jrossermorning08:45
SiavashSardarimorning08:47
SiavashSardariI have a question, how can I use another disk for galera containers? is it possible in OSA?08:48
SiavashSardarifor example I'm using sda for root and all containers and I wanna use sdb for mysql data path (or even the whole galera container)08:50
jrosserthat is down to how you configure the lxc_hosts role09:01
fricklerso IIUC nspawn is being phased out, seems that should be reflected in https://docs.openstack.org/project-deploy-guide/openstack-ansible/latest/app-aboutosa.html#when-not-to-choose-openstack-ansible09:02
jrosserif you look at the CI results for this job, you'll see that there are a number of storage backends that are tested for LXC09:02
jrosserhttps://review.opendev.org/c/openstack/openstack-ansible-lxc_container_create/+/75599609:02
jrosserSiavashSardari: currently you can choose to have lxc backed by either dir, overlayfs, btrfs or zfs09:03
SiavashSardarijrosser Thank you. I figured that I should look into lxc_hosts role, I just didn't find a way of how to make a special case for galera containers. I will check the CI results(y)09:06
jrosseryou can't make a special case for galera really09:06
jrosserit's the backing store for the whole of lxc on a particular host that you can decide09:06
jrosserfrickler: i'm somewhat struggling to find that text in the source code.....09:07
fricklerjrosser: https://opendev.org/openstack/openstack-ansible/src/branch/master/deploy-guide/source/app-aboutosa.rst09:08
jrosseroh! well thats becasue i'm looking in doc :)09:08
SiavashSardarijrosser hmmm, but isn't it a nice feature? what is your opinion in this matter? I wanna work on that and I'd like to contribute that to upstream.09:09
jrosserSiavashSardari: well, if lxc has the capability for different containers to be on different backing store, then sure09:10
jrosseri have them separated, operating system on one disk(s) and containers on others09:12
*** shyamb has joined #openstack-ansible09:17
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: Update deploy guide to reflect the current status of OSA  https://review.opendev.org/c/openstack/openstack-ansible/+/76728509:22
SiavashSardarijrosser I was thinking abount mounting galera container dir berfor initializing the container, this way doesn't complicate things on lxc storage backends09:25
SiavashSardarior even maybe mount sdb to galera data path before installing galera09:27
jrosserthere are native means in openstack-ansible to do all of this09:28
jrossereven now just looking at the lxc_container_create role there is this https://github.com/openstack/openstack-ansible-lxc_container_create/blob/master/defaults/main.yml#L5609:29
*** jawad_axd has quit IRC09:30
SiavashSardariyeah but that applies to all containers09:30
jrosseryou'd have to test it but certainly for the directory backend (i don't know which you are using?) it may just be that you need to override that variable in the group_vars for galera09:30
*** jawad_axd has joined #openstack-ansible09:30
jrosserno, it's ansible :)09:30
jrosseryou take advantage of host / group vars to set all the role defaults as you want them09:30
jrosserremember that user_variables is global09:31
jrosserhost/group vars can be specific09:31
jrosserthe same goes for bind mounts into containers etc etc09:31
SiavashSardarioh you're right, nice hint (y)09:32
jrosseryou'll find that there is a huge amount of flexibility already in all of the role defaults/main.yml09:32
jrossermost things that appear 'hard wired' are actually only really set as defaults that can be further overridden09:32
SiavashSardariyeah and I love this level of flexibility in OSA. funny thing is that I'm already using group vars for other stuff but never thought about them in this matter.09:35
*** shyam89 has joined #openstack-ansible09:36
SiavashSardariThanks jrosser09:36
*** KelvinLai has joined #openstack-ansible09:37
*** shyamb has quit IRC09:38
SiavashSardariBTW, I just found out that maas 2.9 has added OVS support. if anyone is interested to try...09:38
jrosserKelvinLai: can you paste the failing part from python_venv_build.log?09:39
KelvinLaithat's the thing I couldn't find it.09:40
KelvinLaiIs this the one? 2020-12-16T01:00:18,417   *** Error compiling '/openstack/venvs/cinder-22.0.0.0b2.dev54/lib/python3.8/site-packages/testtools/_compat2x.py'...2020-12-16T01:00:18,417     File "/openstack/venvs/cinder-22.0.0.0b2.dev54/lib/python3.8/site-packages/testtools/_compat2x.py", line 162020-12-16T01:00:18,417       raise exc_class, exc_obj,09:40
KelvinLaiexc_tb2020-12-16T01:00:18,417                      ^2020-12-16T01:00:18,417   SyntaxError: invalid syntax09:40
KelvinLaiI'm not too sure but don't think that's the error as the playbook error message was specific on netifaces09:42
KelvinLaiThere are only 2 paragraph in the whole file that has the Error word and it's the above and this one09:44
KelvinLai2020-12-16T01:00:18,417   *** Error compiling '/openstack/venvs/cinder-22.0.0.0b2.dev54/lib/python3.8/site-packages/testtools/_compat2x.py'...2020-12-16T01:00:18,417     File "/openstack/venvs/cinder-22.0.0.0b2.dev54/lib/python3.8/site-packages/testtools/_compat2x.py", line 162020-12-16T01:00:18,417       raise exc_class, exc_obj,09:44
KelvinLaiexc_tb2020-12-16T01:00:18,417                      ^2020-12-16T01:00:18,417   SyntaxError: invalid syntax09:44
jrosserthats from during the build of cinder09:45
KelvinLaiEh... Sorry.09:45
KelvinLai2020-12-16T01:16:19,220   *** Error compiling '/openstack/venvs/nova-22.0.0.0b2.dev54/lib/python3.8/site-packages/testtools/_compat2x.py'...2020-12-16T01:16:19,220     File "/openstack/venvs/nova-22.0.0.0b2.dev54/lib/python3.8/site-packages/testtools/_compat2x.py", line 162020-12-16T01:16:19,220       raise exc_class, exc_obj,09:46
KelvinLaiexc_tb2020-12-16T01:16:19,220                      ^2020-12-16T01:16:19,220   SyntaxError: invalid syntax2020-12-16T01:16:19,22009:46
KelvinLaicinder and nova build had this error in the whole of the log file.09:46
*** tosky_ has joined #openstack-ansible09:47
KelvinLaigrep -i error /var/log/python_venv_build.log didn't give any other errors other than the 2 listed above09:47
KelvinLaihttp://paste.openstack.org/show/801079/09:48
KelvinLaithis is the playbook error message09:48
jrossercould you look at the python_venv_build log with 'less' or an editor and skip right to the end09:49
*** tosky is now known as Guest2437209:49
*** tosky_ is now known as tosky09:49
jrossersee if there is anything bad looking, as it will be pretty much the last stuff in the file which has gone wrong09:49
*** Guest24372 has quit IRC09:50
KelvinLaithe playbook error message in paste.openstack.org above is "Building wheel for netifaces (setup.py): started\n  Building wheel for netifaces (setup.py): finished with status 'error'"09:50
KelvinLaihang on I'll check the log file09:51
jrossernoonedeadpunk: do you have any ideas on this? ^09:53
KelvinLaithe last few lines is this.09:56
KelvinLai2020-12-16T13:17:34,862 Installed version (0.35.1) is most up-to-date (past versions: 0.35.1)2020-12-16T13:17:34,862 Requirement already up-to-date: wheel==0.35.1 in /openstack/venvs/neutron-22.0.0.0b2.dev54/lib/python3.8/site-packages (from -c /openstack/venvs/neutron-22.0.0.0b2.dev54/global-constraints.txt (line 3))09:56
KelvinLai(0.35.1)2020-12-16T13:17:35,444 WARNING: You are using pip version 20.2.3; however, version 20.3.3 is available.2020-12-16T13:17:35,444 You should consider upgrading via the '/openstack/venvs/neutron-22.0.0.0b2.dev54/bin/python -m pip install --upgrade pip' command.2020-12-16T13:17:35,444 Removed build tracker: '/tmp/pip-req-tracker-vaprelfd'09:56
KelvinLaiThis is a recurring error. I did fresh setup of Ubuntu 20.04. And followed the instructions for AIO.09:57
jrosserwhats a bit confusing is that the error message is about stackviz here http://paste.openstack.org/show/801079/09:57
jrosserbut the things you are finding in the wheel build log are to do with cinder and neutron09:58
KelvinLaiI did a bit of google search and found some doc that mentioned the raise error was something that can be ignored.10:00
KelvinLaii mean article.10:01
jrosserhas this been reproducible?10:02
KelvinLaiyup. i reformatted and reinstalled everything from fresh.10:03
KelvinLaitwice10:03
jrosserok, i will make a focal AIO here and take a look10:03
jrosserand which branch / tag did you use?10:04
*** shyamb has joined #openstack-ansible10:06
jrosserKelvinLai: it looks like checking out master branch?10:06
KelvinLaimaster10:06
KelvinLaiyup the master branch10:06
jrosseri'm doing this in a VM from the ubuntu focal cloud image10:07
jrosserhopefully similar enough10:07
KelvinLaiok. Thanks :)10:08
*** shyam89 has quit IRC10:09
*** KelvinLai has quit IRC10:09
*** KelvinLai has joined #openstack-ansible10:12
KelvinLaijrosser dont know why my session got disconnected. will be waiting for your focal Ubuntu testing10:15
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: Update deploy guide to reflect the current status of OSA  https://review.opendev.org/c/openstack/openstack-ansible/+/76728510:25
*** SiavashSardari has quit IRC10:41
*** kukacz has quit IRC11:04
noonedeadpunkhm, interesting but have no idea what went wrog here. as I believe we do install stackviz with all ci jobs11:07
KelvinLainot too sure if it's stackviz but the message seemed to be pointing to netifaces "Successfully built stackviz\nFailed to build netifaces"11:16
noonedeadpunkit doesn't seem that stackviz required netifaces at all?11:18
*** macz_ has joined #openstack-ansible11:18
KelvinLaiI'm not sure. It's all new to me.11:22
*** macz_ has quit IRC11:23
*** kukacz has joined #openstack-ansible11:26
noonedeadpunk99% you don't need stackwiz then :)11:28
noonedeadpunkyou can easily define `tempest_run_stackviz: false` in user_variables.yml11:29
KelvinLaibut is the problem with stackviz? why is the error saying that stackviz is success but netifaces fail?11:30
noonedeadpunkanyway according to paste issue is raised during stackviz installation into it's dedicated venv. Once you won't need to install it, the issue won't happen I guess. But I'm not sure what's wrong with netifaces module and if we need them somewhere except stackviz. Considering stackviz installation should be the last step of openstack deployment, everything else should have passed11:32
*** cshen has quit IRC11:33
noonedeadpunkAccording to https://pypi.org/project/netifaces/ module just do not have py3.8 support...11:33
KelvinLaiok will try again after this 3rd install try. in the middle of 3 time trying.11:37
*** mensis has joined #openstack-ansible11:48
*** shyamb has quit IRC11:51
*** KelvinLai has quit IRC12:00
*** rfolco has joined #openstack-ansible12:01
*** mgariepy has quit IRC12:02
jrossernoonedeadpunk: you know i'm not sure that constraints are applied here https://github.com/openstack/openstack-ansible-os_nova/blob/master/tasks/nova_db_post_setup.yml#L2312:04
jrosserargh wrong ling12:05
jrosserhere https://github.com/openstack/openstack-ansible-os_tempest/blob/master/tasks/tempest_install.yml#L36-L4412:05
jrosserso this is totally possible to be the new pip resolver12:05
noonedeadpunkwelll....... it could be.....12:07
*** KelvinLai has joined #openstack-ansible12:10
KelvinLaiTHANKS for all the help :)12:11
KelvinLaitempest_run_stackviz: false  did the trick12:12
noonedeadpunkit feel like really new resolver since it's the only place we're not sure about :)12:12
jrosserfirst think i'll check is if this has effect for stackviz https://opendev.org/openstack/openstack-ansible/src/branch/master/inventory/group_vars/all/all.yml#L14912:13
KelvinLaifinally managed to get the setup-openstack.yml to run successfully12:13
jrosserawesome! sorry for the trouble, it shouldnt break like that12:13
jrosserparticularly as for some reason it all passes in CI ......12:13
KelvinLaibtw i guess why the python logs aren't showing might be because the built is running inside the containers?12:14
jrosseroh well yes, the python_venv_build log will be inside the repo container12:14
jrosserwhen it's an lxc deployment12:14
KelvinLaijrosser no worries man. You all did a heck of a great job and made it easier for lots of people to try openstack out.12:16
KelvinLaiyeah I thought so. Cause the log wasn't updating and I looked closely and noticed the continer built.12:17
jrosserwhen you've got a host being the repo server, that one does the wheel builds once on behalf of all the other hosts12:17
noonedeadpunkwe also have some interminent issue during galera deployment which results in timeouts....12:19
jrosserwhich step did that happen at?12:19
jrosserbecasue i just had something wierd in this AIO when "adding users to db"12:20
noonedeadpunkI was noticing on root user removal12:20
jrosseri didnt debug it, just delete/recreate galera lxc and it worked straight away, so yes intermittent12:20
noonedeadpunkyeah :( and I'm not sure at all why this is hapenning... not removing root user was causing some other issues iirc12:23
jrosserwell we could 10.5.6 -> 10.5.8 but .......12:26
jrosserno seeing anything really related in the changelog though12:28
jrosser10.5.7 does seem to have a large number of fixes mind you12:28
noonedeadpunkI was given some recomendations from the mariadb folks (to be specific from monty) but can't find them12:29
noonedeadpunkand it was specificly about the way we operate with users...12:29
noonedeadpunkwell, we anyway need to bump mariadb version12:30
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-galera_server master: Bump mariadb version to 10.5.8  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/76734112:32
noonedeadpunkbtw, new ansiblebase just released as well:)12:33
noonedeadpunkiirc the idea was not to touch system root user12:36
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: Bump ansible version to 2.10.4  https://review.opendev.org/c/openstack/openstack-ansible/+/76734312:39
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-tests master: Bump ansible version to 2.10.4  https://review.opendev.org/c/openstack/openstack-ansible-tests/+/76734412:41
*** KelvinLai has quit IRC12:45
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: Bump ansible collection versions  https://review.opendev.org/c/openstack/openstack-ansible/+/76734512:45
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-tests master: Bump ansible collection versions  https://review.opendev.org/c/openstack/openstack-ansible-tests/+/76734612:47
*** KelvinLai has joined #openstack-ansible13:02
*** mgariepy has joined #openstack-ansible13:09
jrosserKelvinLai: i now have a easier to read version of the stackviz error http://paste.openstack.org/show/801088/13:20
*** spatel has joined #openstack-ansible13:22
KelvinLaiit's so missleading the building message where it says Successfully built stackviz13:23
jrosseron line 66 the wheel for stackviz is correctly built13:25
KelvinLaibtw, how can I install zun now that I've managed to finish the setup-openstack.yml? I read the docs, it says I can just go run openstack-ansible os-install-zun.yml but that doesn't work because the inventory wasn't set. Do I need to run the bootstrap-aio.sh script again?13:25
jrosserit can perhaps be done like that13:28
jrosserbootstrap_aio.sh understands the SCENARIO environment variable, and depending on the setting you can get extra components added13:28
jrosserexport SCENARIO=aio_lxc_zun would be an example of that13:29
KelvinLaiok will try. Praying that I don't need to resetup everything. 😅13:29
jrosserbut there is a big caveat for zun, you will totally need this patch to the os_zun ansible role https://review.opendev.org/c/openstack/openstack-ansible-os_zun/+/763141/13:30
*** sep has left #openstack-ansible13:30
jrosseralternative to adjusting SCENARIO is adding hosts to the inventory yourself and adding the conf.d files that the bootstrap script would have done13:31
jrosserthe bootstrap script is really a helper for AIO testing and CI jobs, no more than that13:31
jrossernoonedeadpunk: heres the failure for building netifaces http://paste.openstack.org/show/801089/13:35
jrosserand the reason it is pulled in at all is this https://github.com/openstack/oslo.utils/blame/master/requirements.txt#L1613:40
KelvinLaijrosser how would I go about patchine the os_zun role? I cant seem to find the role under the /opt/openstack-ansible structure13:45
KelvinLaipatching13:45
jrosserthe ansible roles are in /etc/ansible/roles13:45
KelvinLaioh... stupid me.13:45
jrosserif you click the link for the patch first13:45
jrosserthen sort of top-right there is a menu with 3 little blobs, click that13:46
jrosserchoose "download patch"13:46
jrosserand press the button at the right hand end of the "cherry pick" line in the pop up dialog13:46
jrosserthats copied a command to your clipboard13:47
jrosserthen cd /etc/ansible/roles/os_zun13:47
jrosserpaste the command and run it, it should download and apply that patch to your local copy of the zun role13:47
jrosseryou can confirm that with git log / git show13:48
admin0KelvinLai, what tag are yuo using ?13:54
admin0i sometimes see this on master13:54
admin0but on a tagged one, should be good13:54
admin0i see you are trying to use dev 22.013:54
admin0i have not(yet) tried aio on the 22.0 b branch13:55
KelvinLaino worries. I will try it. I just followed the doc and  git checkout master. So i guess it's the latest tag13:57
KelvinLaino worries. I'll just try13:57
KelvinLaiI just patched my os_zun will try to install later.13:58
admin0KelvinLai, if possible, stick to tagged branches ?13:59
KelvinLaiok. Just checked it's 22.0.0.0b114:01
tbarronI'd like to check on the status of manila in OSA.  How integrated is it now?  What manila backends are supported?  Are there obstacles from OSA viewpoint?14:02
noonedeadpunktbarron: hi! a the moment we test in CI ganesha+nfs backends14:03
tbarron^^ This is for a doc I'm writin in manila proper, where I'm collecting status w.r.t. various deployment tools.14:03
tbarronnoonedeadpunk: working out for you?14:03
noonedeadpunkbut we don't test ha mode of it yet - had no time to add backend in front and test containers deployment14:03
noonedeadpunkwell, I think it does and ppl were reporting that they managed to use it as well with small adjustments14:04
noonedeadpunkI think we're also running basic backend (can't recall how properly it's called) here internally14:05
noonedeadpunkunder test I mean we're running tempest14:05
tbarronnoonedeadpunk: do you know if the "basic" back end is the "generic" backend?  or possibly the lvm back end?14:06
noonedeadpunkit's generic, yes :)14:06
tbarronnoonedeadpunk: ty14:06
tbarronnoonedeadpunk: I will mention that we are starting to pursue an alternative to ganesha as an gateway for native CephFS14:07
tbarronand actually for other remote fiilesystems as well14:07
tbarronnoonedeadpunk: https://etherpad.opendev.org/p/nova-manila-virtio-fs-support-vptg-october-202014:07
tbarronnoonedeadpunk: one motivation is the HA challenges with ganesha that you mentioned14:08
tbarronnoonedeadpunk: we have pacemaker machinery in tripleo to assure fault tolerance for ganesha but it"s pretty heavy-weight and limits scale out14:09
noonedeadpunkeventually out of tempest we just run test_mount_share_one_vm and  test_write_with_ro_access from manila_tempest_tests.tests.scenario.test_share_basic_ops.TestShareBasicOpsNFS14:09
tbarronnoonedeadpunk: thanks, I get why you'd use generic for those tempest tests14:09
noonedeadpunkno, for these test we use ganesha and cephfs :)14:10
tbarronnoonedeadpunk: ah, better, didn't look hard aat the tests you mentioned :)14:10
*** macz_ has joined #openstack-ansible14:11
tbarroncephfs with ganesha will work for the tests that don't require so-called DHSS=true mode14:11
*** kukacz has quit IRC14:11
noonedeadpunkwell, in our case we have keepalived anyway along with haproxy for balancing, so giving ha for ganesha is totally ok for us - just needs a bit of love and time14:11
tbarronnoonedeadpunk: will be interested to follow when you get to that.  NFS HA is tricky ...14:12
noonedeadpunkwell yes, agree....14:13
noonedeadpunkwell looked blueprint briefly and it sounds really good14:13
tbarronearly stages, but wanted to give a heads up to folks who may be interested14:14
noonedeadpunkNot sure at the moment what challenges will rise from the deployer prespective though14:14
noonedeadpunkBut I'df love to get this implemented in osa once it will release14:15
*** macz_ has quit IRC14:15
noonedeadpunkit seems that libvirt support is even in progress at the moment :(14:16
tbarronnoonedeadpunk: yes, this relies on bleeding edge libvirt/qemu.  Looks like it's happening though.14:17
tbarronnoonedeadpunk: the idea is to be ready for it by developing in parallel.14:18
noonedeadpunkIt would require some time for libvirt to land on OS as well..14:18
noonedeadpunkyeah, agree and really looks very nice but also pretty challenging from development prespective :)14:18
tbarronnoonedeadpunk: Then when it's ready I think deployment projects should be able to use it more simply than today's manila integration.14:18
tbarronnoonedeadpunk: agree.  And most of the work will be in nova.14:19
noonedeadpunkand what will be manila future? as eventually it seems like manila will become kind of redundant once it's implemented?14:20
*** KelvinLai has quit IRC14:21
noonedeadpunk(I really did very brief look though)14:21
tbarronnoonedeadpunk: manila won't be redundant, it will still be the self-service shared filesystem service.  It's just14:21
tbarronthat if you mount the shares from Nova VMs (vs bare metal compute, say) then14:21
tbarronyou'd be able to "attach" them to Nova VMs more or less like you can attach Cinder volumes.14:22
tbarronBut you'd do all the CRUD operations, etc. on the shares using Manila.14:22
tbarronSimilar to Nova/Cinder.14:23
tbarronAnd simpler for deployment projects because you don't have to stand up ganesha with HA in order to get highly available "safe" CephFS shares.14:24
tbarronIf a compute node crashes and the guest VM goes to another node then it will find a virtiofs gateway there and the same share export location for mounts14:25
noonedeadpunkoh, ok, got it!14:25
noonedeadpunkthanks much for clarifying14:25
tbarronnoonedeadpunk: well thanks for your time catching me up on manila status in OSA!14:26
noonedeadpunktbarron: sure, anytime!14:26
*** jbadiapa has joined #openstack-ansible14:48
jrossertbarron: that sounds very interesting and a really nice architectural improvement14:50
*** rohit02 has quit IRC14:51
jrossernoonedeadpunk: i know why the stackviz fails, it's 2020-12-16T13:27:43,619     netifaces.c:1:10: fatal error: Python.h: No such file or directory14:52
jrosserbecasue it builds on the utility rather than repo containers, so the header is missing14:52
jrosserbut as to why this does not happen in CI, i'm not sure14:53
jrosserperhaps the wheel is in the cache in zuul14:53
noonedeadpunkuh....14:54
noonedeadpunkI just thought that in case of wheel build failure it should fallback just to package build14:55
noonedeadpunkwas didn't really pay attention to that part14:55
noonedeadpunkbut we probably should delegate it14:56
*** spatel has quit IRC15:09
*** kukacz has joined #openstack-ansible15:11
noonedeadpunkwhy zun can't just merge....15:24
*** spatel has joined #openstack-ansible15:28
*** rohit02 has joined #openstack-ansible15:35
*** rohit02 has quit IRC15:49
spateljrosser: How did you generated hash password for autoinstall Ubuntu 20.04 ?15:55
spateli had command earlier but i think i lost my notes15:56
spatelI think i can copy paste one from /etc/shadow same cipher15:57
*** macz_ has joined #openstack-ansible16:04
*** mgariepy has quit IRC16:04
*** kukacz has quit IRC16:20
*** jawad_axd has quit IRC16:23
jrosserspatel: yes i'm sure thats where the one in my example would have come from16:39
*** mgariepy has joined #openstack-ansible16:41
spateljrosser: if i don't specify storage section then does ubuntu create automatically disk partition?16:41
spatelI am trying to create universal autoinstall file so it can fit on any kind of disk size (i don't want to specify partition size)16:43
*** kukacz has joined #openstack-ansible16:43
mgariepyspatel i thing the last partition will take all the remaining space16:46
spatelsomething strange going on i am getting this error - https://ibb.co/pPtpDHM16:48
spatelNo disk space left16:48
mgariepyhow do you boot ?16:49
spatelPXE boot16:49
spatelmgariepy: here is my pxe file - http://paste.openstack.org/show/801093/16:50
spatelI have 50G disk and trying to create two partition 1G - /boot  15G - /16:50
spatelwhat is this filesystem for - disk-sda, size: 1M, flag: bios_grub16:51
noonedeadpunkfolks, ansible question :) If I already running play with become (ie connect to VM as user "ubuntu") should I be able for specific task set become_user to something different? It feels like ansible does not expect doing double become...16:51
mgariepyspatel,  that's the user-data what is the pxe options ?16:53
spatelnoonedeadpunk: i think yes task specific you can be different become16:54
mgariepyi have something like: imgargs vmlinuz root=/dev/ram0 ramdisk_size=1500000  i16:55
mgariepyvia ipxe16:55
noonedeadpunkwell, I get ` Operation not permitted\nchown: changing ownership of '/tmp/ansible-tmp-1608137696.4008777-598087-244490161738678/AnsiballZ_command.py': Operation not permitted\n})` :(16:55
spatelmgariepy: here its TFTP config - http://paste.openstack.org/show/801095/16:55
noonedeadpunkI belive the reson might be that I login as user ubuntu, then become root for all tasks, and for specific task I want to become user 'mysql'...16:56
mgariepyhow much ram ?16:56
spatel2GB16:56
mgariepyi guess it's not enough..16:57
mgariepycan you bump it to 4G to see ?16:57
spatelhmm.. this is vmware box to test kickstart16:57
noonedeadpunkbut https://docs.ansible.com/ansible/latest/user_guide/become.html#risks-of-becoming-an-unprivileged-user says it's possible.... uh...16:58
spatelI built many centOS 8.x VM using 2GB memory16:58
mgariepyyep.16:58
mgariepysure but.16:58
mgariepythis is not centos..16:58
spatellook like ubuntu asking more..16:58
mgariepy;p16:58
spatellet me try 4G16:58
mgariepythe installer do download the entire iso..16:58
mgariepytwice if i'm not mistaken .. ;p16:58
spatelcan i handover folder instead of ISO ?16:59
spatelmgariepy: look like 4G passed that stage17:01
spatelnoonedeadpunk: does that user has permission to become_user?17:02
spatelbelieve me you are more expert in ansible than me :)17:03
noonedeadpunkyep, I eventually create another user with it, and then I want to run command as newly created user...17:03
mgariepyanything needs review ?17:04
mgariepyi can give a push on some patches today and tomorrow before end of year vacation.17:05
spateldidn't you see anything in logs? try to set temporary dir and give world r/w permission (just gessing)17:05
spatelmgariepy: Thanks for the help17:05
mgariepyi don't know if it's possible to boot it from nfs or something else.17:06
spatelmgariepy: so best option is ISO right? anyway i will try something and see if possible because its double work for installer to take ISO and then mount etc..17:07
*** gyee has joined #openstack-ansible17:07
spatelit would be great if http:// directly serve files.17:08
*** rpittau is now known as rpittau|afk17:11
noonedeadpunkspatel: I had to define `allow_world_readable_tmpfiles`17:30
spatelcool17:30
*** kukacz has quit IRC17:40
noonedeadpunkuh, or just install `acl` on dest host...17:40
*** kukacz has joined #openstack-ansible18:07
jrosserspatel: you were asking about what the first bios_grub partition was for18:18
jrosserit's because the disk layout in my example is two drives mirror18:18
spatelyes 1M ?18:18
jrossersmall partition on the front not mirrored for booting and bios to understand18:18
jrosserthe rest of the disk mirrored18:18
jrossermirrored with md, then lvm volume on top of that18:19
spatellet me understand 1M is for bios_grub and then 1G is for /boot18:19
jrosserwhich the bios/booting will not understand18:19
spatelmay be UEFI using 1M size18:19
jrosser /boot is a partition on the md device18:20
jrosserthe rest of the md device is lvm18:20
jrosseri think you probably want a diagram if trying to visualise this18:21
jrosserchunk on the front of both disks for grub -> raid0 with md -> /boot on 1G of the md -> rest of the md as lvm18:22
jrosserlvm then divided into root / var / swap / split18:22
jrossersplit is "the rest of the disk" which we have an ansible role which comes along and makes anything specific out of that spare space if needed18:23
openstackgerritMerged openstack/openstack-ansible stable/train: Make upgrade jobs get role relevant versions  https://review.opendev.org/c/openstack/openstack-ansible/+/76704818:23
jrosserspatel: this is quite complicated tbh, but mirrored boot/root disks seem to be awkward with software raid18:24
jrosserand i just don't like bios raid at all, so would rather never use that18:24
spatelI have hardware raid controller so i never used software raid18:24
*** maharg101 has quit IRC18:24
jrosseroh right so you can get rid of most of my example then18:24
spatelI did that but just had confusion about that 1M partition but anyway i am keeping it, look like ubuntu need that18:25
jrosserbut the syntax in the lvm bit will be similar for your 1G /boot 15G /root then a '-1' for 'whatever is left'18:25
spateljrosser: first time its very confusing but now everything make sense how this storage section layout18:27
spateljrosser: question when you running POST script are you using /target filesystem or plain bash script?18:28
spatelubuntu doc saying you should do  curtin in-target --target /target18:28
*** dpaclt has joined #openstack-ansible18:47
admin0this is the right channel for this dpaclt18:47
dpacltThanks for pointing out18:47
dpacltHi All18:48
kleinigrub became to large to fit into the master boot record of the msdos partition table. therefore bios_grub partition is necessary where grub stores its majority of its code. only a small loader for grub in bios_grub partition is placed into master boot record18:48
dpacltplease18:48
spatelkleini: Thanks got it, so it use that 1M partition to load first stage of grub and then pull rest of the world from /boot18:55
spatelI heard that BIOS can only read first sector of disk to load bootloader and that is where this design coming from.18:56
kleininot exactly. first stage of grub is in master boot record, second stage in bios_grub partition. configuration, modules, themes and fonts then in /boot/grub19:03
spatelmaster boot record located on that 1M partition?19:08
spatelshould i keep Snapd on ubuntu server for OSA or remove it?  trying to clean up all unwanted packages and services19:08
kleinihttps://wiki.archlinux.org/index.php/GRUB#BIOS_systems <- this one clearly describes that bios_grub is only necessary for a BIOS booting a GPT partitioned disc. it is not required for msdos partitioned discs19:20
*** nsmeds has quit IRC19:20
kleiniSo even I did not exactly know, what was going on.19:20
*** kukacz has quit IRC19:21
*** andrewbonney has quit IRC19:26
jrosserspatel: here is a late_command script like used in my user_data example http://paste.openstack.org/show/801098/19:38
spatelThank you, so its plain shell script19:40
*** pto has quit IRC19:41
jrosserwell, from the original it is wget then executed as a shell script19:41
jrosserso it's been our choice to do it that way19:42
spateljrosser: i like that19:43
jrosserlate_commands is literally commands, iirc in the old preseed stuff on bionic you could only do one command there19:43
*** kukacz has joined #openstack-ansible19:44
spatelI was looking at these example - https://gist.github.com/s3rj1k/55b10cd20f31542046018fcce32f103e19:44
jrosserso you needed some funky one-liner to wget then execute all in one go, when you had a ton of stuff to do in late_command19:44
spatel - curtin in-target --target=/target -- apt-get clean19:44
spatelI will sure go with wget/script way19:44
*** kukacz has quit IRC19:45
* jrosser not even sure really what curtin is19:46
spatelMy ubuntu is ready and seeing bunch of stuff running on top output. trying to understand what i can remove like snapd etc..19:46
spateli want very small footprint19:46
jrosserbut really what i showed you is the smallest change we made to get our old preseed stuff working with autoinstall19:46
spatelI am doing it script way now.19:46
*** pto has joined #openstack-ansible19:49
spatelnow trying to configure bonding in ubuntu19:49
spateljrosser: do you prefer systemd-networkd supported resolver.conf or configure manually?19:53
spateli meant systemd-resolved.service19:54
admin0in one deployment, new one, rabbit always fails with this: https://gist.github.com/a1git/643c5a18e7c427c8c7bb57ae94423fe719:54
admin0someone knows what exact this is ?19:54
spatelassuming no issue with node connectivity, they can talk to each other19:56
admin0there is no issue with connectivity19:56
admin0iperf gives a 9gbps between them19:56
spatelpick one node and run command manually and check logs19:56
admin0i have destroyed the containers, deleted the inventory.json so that they get diff ips ..19:57
admin0but everytime, it gets stuck on c2 on this exact issue19:57
spatelhmm that is very odd, can you ping using name ?19:57
spatelping c1-rabbit-mq-container-a30243a019:57
admin0spatel, https://gist.github.com/a1git/18467f943f2a000bcb2a1e09d2735e3920:00
admin0from one container to another ?20:00
admin0one container can ping the other just fine20:01
admin0using name/ip20:01
spatelyes each container maintain /etc/hosts file for name resolution20:02
spatelmaintained*20:02
spatelso they can ping each other using name not IP  (i had issue about name resolution in past so i always make sure /etc/hosts is correct)20:03
*** kukacz has joined #openstack-ansible20:17
*** maharg101 has joined #openstack-ansible20:21
*** maharg101 has quit IRC20:25
*** Martouf has joined #openstack-ansible20:29
admin0i am going to re-do the whole bootstrap ..delete stuff and re-clone again20:43
*** rfolco has quit IRC20:56
spateldid you find something or just go to re-build it21:16
admin0i am doing a rebuild now21:17
admin0not the OS but everything else, including bootstrapping it21:17
admin0will try 21.1.0 insead of 21.2.0 -- though i already setup like 10x 21.2.0 since it came out21:17
admin0all on prod and never got this issue21:18
spatel21.x is ussuri right?21:19
admin0yep21:20
spatelor may be bad version of rabbitmq but then CI-CD job also fail21:21
jrosseradmin0: really all this swapping branches will not just magically fix rabbitmq21:21
admin0:D21:21
jrosserthere is nothing changed with rabbit for the whole ussuri release21:21
*** dpaclt has quit IRC21:30
spateladmin0: what is wrong here - http://paste.openstack.org/show/801102/21:36
admin0space21:39
spatelhmm21:39
admin0the vlans and bonds and bridges and ethernet should all be in the same spacing21:39
spatellet me check21:40
spatelis this looks good - http://paste.openstack.org/show/801103/21:43
spatelstill not working21:43
admin0yu give a name to vlan21:52
admin0not bond0.6421:52
admin0that conflicts with it21:52
admin0just call it vlan6421:52
admin0or v6421:52
admin0after netplan apply, do cat /proc/net/vlan/config and see if its up and activated .. or you might have something else or multiple 6421:53
admin0if its done then it will show vlan64  bond0 6421:53
spatelhttps://bugs.launchpad.net/netplan/+bug/178120321:54
openstackLaunchpad bug 1746419 in nplan (Ubuntu) "duplicate for #1781203 bond parameters are not changed by 'netplan apply'" [Undecided,Confirmed]21:54
spatelits not working i tried all spacing etc..21:54
spateli did change bond0.64 to vlan.6421:55
spateladmin0: ^21:55
admin0why do you need a . ?21:55
admin0what is wrong with just vlan64 :)21:55
spatelremoved (.) and still same error - bond0: reverting custom parameters for bridges and bonds is not supported21:56
spatellook like issue is something else.. how to debug netplan config to see what is doing behind the screen21:57
spateli used 2 space instead of 4 space (hope that is not problem21:57
admin0what does netplan generate give ?21:58
admin0same error ?21:58
spatelit was my bad, my interface name was wrong :)22:10
spatelthanks admin022:10
spateleverything looks good22:10
admin0\o/22:10
spatelnetplan rocks :)22:12
admin0lol22:12
spatelThank you and now i have to go.. making dinner22:12
spatelsee you tomorrow!22:12
*** mensis has quit IRC22:16
*** spatel has quit IRC22:28
*** spatel has joined #openstack-ansible22:30
*** spatel has quit IRC22:34
*** spatel has joined #openstack-ansible22:40
*** spatel has quit IRC22:43
openstackgerritDmitriy Rabotyagov proposed openstack/openstack-ansible master: Remove duplicated defenition of tempest_run_concurrency  https://review.opendev.org/c/openstack/openstack-ansible/+/76743022:59
*** kukacz has quit IRC23:02
*** jbadiapa has quit IRC23:14
*** kukacz has joined #openstack-ansible23:30
*** stee has joined #openstack-ansible23:48

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