Saturday, 2024-03-16

gebzis there a special flag I need to pass to the SCENARIO environment variable to make the installation a bare metal install instead of LXC?07:25
noonedeadpunkgebz: just `metal` instead of `lxc`08:14
gebzyup, figured that much :D 08:14
gebzhey man08:14
noonedeadpunko/08:15
gebzcheck this out if you got the time: paste.opendev.org/show/82353708:15
noonedeadpunkgebz: regarding proxy questions you better ping jrosser - he uses them heavily08:16
gebzAlright, thanks :D08:17
noonedeadpunkgebz: but I think `http://172.29.236.101:8181` should never attempt to go through proxy08:17
noonedeadpunkas it's an mgmt network08:17
noonedeadpunkiirc - that should have been an internal VIP08:17
gebzI have a no_proxy variable with all the private IPs08:17
gebzeven added that particular IP in the no_proxy variable, and it's still failing08:18
noonedeadpunkso you're able to curl http://172.29.236.101:8181/constraints/upper_constraints_cached.txt for instance?08:18
gebzYup08:18
noonedeadpunkthere was smth more for PIP to work through proxy I guess08:18
gebzpip.conf?08:19
gebzcrap08:19
noonedeadpunkgebz: you have smth like that, right? https://opendev.org/openstack/openstack-ansible/src/branch/master/etc/openstack_deploy/user_variables.yml#L144-L15608:22
noonedeadpunksorry, missed also `no_proxy_env` on the L14308:23
gebzyyyup08:24
noonedeadpunkas these are register-dependent 08:24
noonedeadpunkhm08:25
noonedeadpunkI don't really know then :(08:25
gebzyou mean in /etc/openstack_deploy/user_variables.yml?08:25
noonedeadpunkwe're not using proxies in our air-gapped environements08:25
noonedeadpunkyeah08:26
gebzit's not there no08:26
gebzweird08:26
noonedeadpunkyeah, ok, gate-check-commit.sh is probably not suitable, as in your case you'd need to adjust user_variables .yml with proxy setup after bootstrap-aio.sh08:27
noonedeadpunkwe do have proxy scenario as well, but it will install proxy as well 08:28
noonedeadpunkwhich is not needed in your case I guess :D08:28
gebzwait, can i include the variables from the repo as they are, or do i have to fill in the blanks?08:30
noonedeadpunkwell, except proxy_env_url ?08:32
noonedeadpunkthat's basically correct selection: https://opendev.org/openstack/openstack-ansible/src/branch/master/etc/openstack_deploy/user_variables.yml#L131-L15608:33
noonedeadpunkso you'd need to setup `proxy_env_url` and rest can be "as is" I believe08:33
gebzyikes08:33
gebzhey, at least it's more progress than yesterday :D08:34
noonedeadpunkyeah, well, we for air-gapped env mirror quite some repos insteead of using proxies08:35
gebzHaven't done that before.. is there a playbook/role to do that?08:36
noonedeadpunkm. I don't think so... We didn't contributed that part, as it wasn't spawned by ansible at all08:36
noonedeadpunkand I can't even recall what tools we used lol08:37
gebzWell, I could personally work on that as a contribution08:37
noonedeadpunkbut can find out - they're for DEB though08:38
noonedeadpunkaha, it was pulp for github mirrorring and pypi08:39
gebzAlso setting up a local mirror is something security folks like08:39
gebzsince it's one place they can scan08:39
gebzwhy rhel/satellite are popular in air-gapped environments08:39
gebzit's plug-and-play08:40
noonedeadpunkwell, depending on setup, you might need more then that I guess08:40
noonedeadpunkit's probably fine until you don't need to install smth from pypi I assume08:40
noonedeadpunkwhile we do have asbility to setup from distro packages (and folks like ThiagoCMC does that), not all roles are covered08:41
gebzIs there a list of all the other repos openstack-ansible pulls from?08:42
gebzlike pypi, github, etc..08:42
noonedeadpunkwell08:50
noonedeadpunkthere's a list of roles: https://opendev.org/openstack/openstack-ansible/src/branch/master/ansible-role-requirements.yml08:50
noonedeadpunkthe collections: https://opendev.org/openstack/openstack-ansible/src/branch/master/ansible-collection-requirements.yml08:51
noonedeadpunkpreviously we had a better view about upstream services, but now they're split into small chunks...08:51
noonedeadpunkbasically under https://opendev.org/openstack/openstack-ansible/src/branch/master/inventory/group_vars/*/source_git.yml08:52
gebzI can start working on a role that sets up a local mirror08:52
noonedeadpunkie https://opendev.org/openstack/openstack-ansible/src/branch/master/inventory/group_vars/neutron_all/source_git.yml08:52
gebzBut I'll have to do some research on my own :D08:52
gebzoooh I see08:52
gebzthat will make things easier08:52
noonedeadpunkwell, we mainly build things from source, when it comes to openstack services08:53
noonedeadpunkexcept when `install_method: distro`08:53
gebzyou telling me there are distro packages ready to deploy for ubuntu for example? that don't need some license?08:53
noonedeadpunkwhen `install_method: source` (default), we install from distro packages not so much things08:53
noonedeadpunkgebz: yes08:54
noonedeadpunkand for rhel08:54
gebzrhel one needs a license08:54
noonedeadpunkubuntu ones provided by Ubuntu CLoud Archive, EL by RDO project08:54
noonedeadpunkit does not08:54
gebz:O08:54
gebzI'll give that a try08:54
noonedeadpunkbut we don't have full coverage of distro path08:54
noonedeadpunkdue to historically limited interest08:54
gebzyou said rocky and ubuntu, right?08:55
noonedeadpunkrocky, ubuntu, centos stream, debian08:55
gebzPerfect08:55
noonedeadpunkbut in CI mostly we test rocky and ubuntu08:55
gebzRocky's the new CentOS :D08:55
noonedeadpunkyeah, Neil as Rocky maintainer helps us a lot with it08:56
jrossergebz: my strong advice to you is to use “deployment_environment_variables” for setting proxies and absolutely do not put these things persistently in /etc/environment09:24
jrossermake minimal specific config for the package manager and pip, but nothing else09:25
jrosserthis is all discussed on the “limited connectivity” documentation09:25
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_skyline master: Re-add Zuul testing to the project  https://review.opendev.org/c/openstack/openstack-ansible-os_skyline/+/91233309:38
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_skyline master: Add EL distro support  https://review.opendev.org/c/openstack/openstack-ansible-os_skyline/+/91237009:38
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: [Feature] Add skyline deployment capability  https://review.opendev.org/c/openstack/openstack-ansible/+/85944609:39
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: [Feature] Add skyline deployment capability  https://review.opendev.org/c/openstack/openstack-ansible/+/85944611:38
noonedeadpunkso. I've spawned aio with horizon+skyline and things look pretty much nice11:40
noonedeadpunkI guess last thing left - deal with nginx11:40
noonedeadpunkif we wanna deal with it now ofc...11:40
noonedeadpunkit can be really trivial though.....11:41
noonedeadpunkwell... it looks less trivial now once I've tried :D12:09
noonedeadpunkit's really doing smth different then just pointing to API endpoint12:10
noonedeadpunkso I guess I'd leave that alone for now12:10
gebzpaste.opendev.org/show/82354614:35
gebzHostVarsVars must be a type no?14:36
gebzactually might be because it's hostvars[groups[*group_name*]]..etc, shouldn't it be groupvars?14:37
noonedeadpunkgebz: it sounds like this issue is 5y old or so....15:00
noonedeadpunkdiscovered_interpreter_python is supposed to be ansible "internal" variable IIRC15:01
noonedeadpunkthat get's auto-discovered assigned by it depending on the OS version15:01
noonedeadpunk(basically made for py2/3 compatibility iirc)15:01
noonedeadpunkI haven't seen that issue for a while frankly speaking15:02
noonedeadpunkyou catch it on... Rocky?15:02
noonedeadpunkI will try to spawn a sandbox with ceph and some EL on monday to check....15:03
noonedeadpunkbut like I was quite sure that today rocky should be fully known by ansible.... 15:03
gebzrocky 915:20
ThiagoCMCnoonedeadpunk, how can I try the Horizon+Skyline on AIO?15:26
gebz@noonedeadpunk apparently It flagged rocky as Centos stream 918:53

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