Monday, 2022-02-28

noonedeadpunkspatel: there's no cloud-init in coreos35, so it will never work. User-data must be provided manually there in the format coreos understands08:33
admin1i had success with this image: fedora-coreos-33.20210426.3.0-openstack.x86_64.qcow209:56
noonedeadpunkcoreos replaced cloud-init with ignition10:06
noonedeadpunkso you would need to write ignition file https://docs.fedoraproject.org/en-US/fedora-coreos/producing-ign/#_writing_the_butane_config10:07
noonedeadpunkand then pass it with --user-data flag during instance creation10:07
noonedeadpunkmagnum does support that atm just in case 10:07
opendevreviewMarios Andreou proposed openstack/openstack-ansible-os_tempest stable/wallaby: Add centos-9 tripleo standalone job for wallaby zuul layout  https://review.opendev.org/c/openstack/openstack-ansible-os_tempest/+/83119610:49
opendevreviewMarios Andreou proposed openstack/ansible-role-python_venv_build stable/wallaby: Add centos-9 tripleo standalone job for wallaby zuul layout  https://review.opendev.org/c/openstack/ansible-role-python_venv_build/+/83119811:00
*** sshnaidm|off is now known as sshnaidm11:38
mgariepygood morning eveyone13:35
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible stable/xena: Bump SHAs for Xena  https://review.opendev.org/c/openstack/openstack-ansible/+/83039813:39
noonedeadpunko/13:39
jrosserhello13:59
opendevreviewJames Denton proposed openstack/openstack-ansible-os_neutron stable/xena: Change os_region to region_name  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/83118114:26
mgariepyanyone seen a volume that get to state: reserved once the vms to which it's attached is deleted? 14:58
mgariepyi'm on latest U (almost, only missing the commit related to : https://bugs.launchpad.net/nova/+bug/194564615:01
mgariepyabout the same thing as this: https://github.com/zonca/jupyterhub-deploy-kubernetes-jetstream/issues/4015:06
mgariepyhmm dangling entry in cinder DB.15:33
opendevreviewJonathan Rosser proposed openstack/ansible-role-pki master: Add molecule testing  https://review.opendev.org/c/openstack/ansible-role-pki/+/83123617:38
jrossernoonedeadpunk: ^ theres a start on some role testing17:39
jrosseri have done nothing yet to make that work as a zuul job but (with properly configured) vm it passes some validation tests17:39
opendevreviewJonathan Rosser proposed openstack/ansible-role-pki master: Add molecule testing  https://review.opendev.org/c/openstack/ansible-role-pki/+/83123617:42
jamesdentonwas the openstack_ prefix dropped for vars in the pki-related playbooks?18:16
jrosserjamesdenton: the role is hopefully used outside of openstack, so all the vars in the pki role are pki_<foobar>18:18
jrosserthen in openstack-ansible we connect those up to a whole bunch of openstack_pki_<foobar>18:18
jrosserlike this https://github.com/openstack/openstack-ansible/blob/master/playbooks/certificate-authority.yml#L25-L2818:19
jamesdentoni see, thank you18:20
jamesdentonthis page references a 'openstack_pki_regen_ca' var, but i don't see it being references anywhere. there are others like it. maybe i'm dense.18:22
jamesdentonhttps://docs.openstack.org/openstack-ansible/latest/user/security/index.html18:22
jrosserhuh thats a bug, nice spot18:24
jrosserhttps://codesearch.opendev.org/?q=openstack_pki_regen_ca&i=nope&literal=nope&files=&excludeFiles=&repos=18:24
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Connect openstack_pki_regen_ca variable to pki role  https://review.opendev.org/c/openstack/openstack-ansible/+/83124218:26
jamesdentoni'll pass it along, thank you18:27
jamesdentonwill that actually create the pki dir in openstack_deploy?18:28
jamesdentonrather, does the role create the pki dir18:30
jrosseryes, it makes /etc/openstack_deploy/pki/<stuff> by default18:32
jrosserit's primarily about internal SSL rather than the public endpoint18:32
jamesdentonok, sure18:35
jamesdentonthanks for the quick turnaround18:35
spatelI have question related Magnum deployment. 20:08
spatelMy openstack running on rfc1918 address space, including horizon all endpoint. Now i am trying to deploy k8s cluster and its getting fail 20:09
spatelafter debug found kube-master container trying to talk to Keystone and its failing20:10
spatelk8s create own private network and that network not able to talk to keystone because they are totally isolated 20:10
spatelHow does people running k8s in this kind of scenario ? 20:11
spateljrosser Do you have any idea about that?21:37
jrosserspatel: you need to have access from inside the magnum vm to the keystone external endpont21:54
spatelHmm! in short to fix my issue i have to move my keystone to public IP. right?21:54
jrosserit doesnt matter rfc1918 or not, you need and IP route from whatever network the VM are on to get to the APIs21:54
jrosserif it's an OSA deploy then you have internal and external VIP?21:55
spatelk8s creates private network itself so not sure how do i make that routable 21:55
jrosserright, but theres a neutron router or something?21:56
spatelneutron router need to hook up with public network or routable network 21:56
spatellet me try more debug and see.. 21:58
jrosseryou have external_network_id in the cluster template?\21:58
spatelYes, that where i use public subnet 21:59
spatelI have private1 and public1 two network 21:59
jrosserwhat happens is a bunch of software gets deployed into the magnum vm21:59
spatelwhen i create k8s i use external_network_id=public1 21:59
jrosserand the only way that heat knows that the deployment is complete is if the heat agent in the vm contacts the API endpoint and makes a callback to say it is done22:00
spatelYes you are correct, heat-container-agent process talks to keystone22:00
jrosserso several things have to line up22:00
jrosserthe details of the API endpoint have to be correctly passed into the vm from magum through cloud-init22:01
jrosserthen the callback has succeed contacting the endpoint / validating the certificate blah blah22:01
spatelI think easy solution is to move endpoint to public IP otherwise i have to make some routing adjustment 22:02
jrosserthat is probably the simplest, then it will be just via the default route of the neutron router22:02
jrosseri'm not sure to what extent the service catalog is involved, this may be quite messy inside heat/magnum22:03
spatelYes, if VIP is setup on public then anyone can talk 22:03
jrosserso i would check that the catalog is updated for the new public vip22:03
spatelYes i can do that 22:04
spatelOne more question, in centos7 i am getting error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618)\nYou are using pip version 9.0.122:05
spatelIts pip SSL related issue 22:05
spatelYou told me how to fix it but i forgot :(22:05
spateli vaguely remember that you told me edit /etc/pip.conf and change cert path or something22:06
jrossererrm22:06
spatelhttps://paste.opendev.org/show/bTOcYTkSVXX12E2QiK6u/22:06
jrosseris this becasue of letsencrypt new root CA?22:06
spatelis this correct?22:06
spatelThis is stein release of openstack very older version 22:07
jrosserwhere do you get that error?22:07
spatelIts running on CentOS722:07
spatelI am adding more compute hw and at this point i got that error - TASK [python_venv_build : Upgrade pip/setuptools/wheel to the versions we want]22:08
spatelhttps://paste.opendev.org/show/bR2iDaLzAyXSbCThscDI/22:09
spatelI did yum install ca-certificates to update CA 22:10
jrosserok, in all hosts/containers?22:10
spatelpip still doesn't like it22:10
jrosserooooh right yes22:10
jrosserpip/python use their own CA store independant of the system one22:10
spatelhow do i update that one? 22:11
jrosseryou pretty much cant22:12
spateli didn't run ca-certificates on all LXC container but just run on new compute nodes22:12
jrosserjust a moment22:12
spatelsome folks saying you should do this create /etc/pip.conf file with this - https://paste.opendev.org/show/bTOcYTkSVXX12E2QiK6u/22:12
spatelhttps://stackoverflow.com/questions/25981703/pip-install-fails-with-connection-error-ssl-certificate-verify-failed-certi?page=1&tab=scoredesc#tab-top22:13
jrosserit's not clear which url you are failing with though22:13
jrosseri know why it is22:13
jrosseryour paste doesnt show which url it failes with https://paste.opendev.org/show/bR2iDaLzAyXSbCThscDI/22:14
jrosserbut this is not too difficult22:15
jrosseryou need updated ca-certificates everwhere22:15
jrosserthen you can tell python that it needs to *use* those certificates by setting REQUESTS_CA_BUNDLE=/etc/pki/tls/certs/ca-bundle.crt22:16
jrosserthat should go in /etc/environment or somewhere like that22:16
spatelhmm 22:16
jrosserpython requests library does not use the system ca store22:17
spatelcurrently in pip.conf i have only this line - cert = /etc/pki/tls/certs/ca-bundle.crt22:17
spatelrunning playbook with -vvvv and see if i can find URL 22:19
jrosserit will be in the contstraints file22:20
spatellet me check /var/log/python_venv_build.log22:20
jrosserlook in /openstack/venvs/nova-19.0.0.0rc3.dev6/constraints.txt22:20
spateljust movement 22:21
jrosserthe you can activate the nova venv and try to use the requests library manually22:21
jrosserreally trivial to try, see this https://docs.python-requests.org/en/master/user/quickstart/22:21
spatelhttps://paste.opendev.org/show/br457WKEozTx1T7LDi3h/22:23
spatelI did activate venv and try those test which work22:25
spatelalso i did install some random package using pip install foo and that works too22:26
jrosserif that comes from pypi using a CA which is still trusted then that will work22:30
jrosserbut opendev.org uses an LE cert which will no longer be trusted22:30
jrosseri have to go now but REQUESTS_CA_BUNDLE is what you need22:30
spatelI did this which pass that task - https://paste.opendev.org/show/bvOx5TiwuggyE1QYZ2Ac/22:32
spatelnow getting different error related nova parsing issue or something which i am trying to debug22:33
spatelThat was it.. now everything works after adding https://paste.opendev.org/show/bvOx5TiwuggyE1QYZ2Ac/22:46
spateljrosser damn it issue is, we have to run this command after ca-certificates update - update-ca-trust23:01
jrosserreally?23:02
jrossersounds like a failure of the rpm package to do that automatically imho23:02
jrosserunless thats special RH behaviour23:03
*** mac189_ is now known as mac18923:39

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