Saturday, 2023-03-18

ElnazHi01:00
ElnazDo you separate any partition when you go to setup a Linux OS on the nodes?01:01
ElnazI mean, for example, do you create a partition for /var? or you leave them all to be a directory in the root partition? 01:04
MohaaRackspace is hiring OpenStack Ubuntu Architect: https://t.co/yu02pEADmt !04:53
MohaaChatGPT generates config files for an OSA deployment scenario: https://twitter.com/cloudnull/status/1628191600374317056?t=VclkRaGHPtaI-_bmb4KFuw&s=1905:00
MohaaAnsible 2 Cloud Automation Cookbook: https://www.amazon.com/dp/B076X4RL6K05:04
MohaaOPS env built with OSA, a Japanese blog post: https://valinux-hatenablog-com.translate.goog/entry/20220908?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=en&_x_tr_pto=wapp05:07
admin1i know this is not osa specific, but  is there a osa way to enable 2fa for keystone ?14:50
admin1 i found keystone_auth_methods: "password,token,application_credential" .. .. i guess just add totp there and see where it goes .. 14:53
jrosseradmin1: i think youve asked this before and its per user isnt it? rather that just "enable".....15:00
jrosserso as OSA doesnt provision users beyond the service users and admin user i'm not sure realy15:01
jrosserbut if you mean 2FA for the admin user - thats a different and more complicated topic15:01
admin1yeah .. last time asked of curiosity and if its possible .. now have an opportunity to actually implement it 15:17
admin1thank you .. i will take a look into the howto15:17
jrosserit's an API call to keystone as far as i remember15:18
jrosser enforcing 2fa for admin on the external endpoint whilst not break other things like deployment tooling is maybe not possible15:20
admin1so first step will still be to to do keystone_auth_methods  and add totp .. and then once its there, use the api to enable it per user 15:20
admin1i found some examples here .. https://docs.openstack.org/keystone/latest/user/multi-factor-authentication.html#multi-factor-authentication-user-guide  .. will give it a try 15:20
LosraioHello everyone15:41
LosraioI've ran into a problem once again with my deployment :(15:41
LosraioI ran the setup-openstack.yml but it failed at some point, it had to do something with nova15:42
LosraioThen I ran it again and this is what I get:15:42
Losraiohttps://paste.openstack.org/show/bkPHnRDFFCvddddPVLZZ/15:42
admin1Losraio, from the util container, if you do mysql ENTER , do you get logged into mysql ? 15:44
LosraioRemind me again please, how do I gain access to an lxc container?15:45
admin1ssh ( one of the controller) ; lxc-attach -n <tab>_util<tab> :) 15:45
Losraiookay im in the util15:46
LosraioNope15:47
LosraioTyping mysql failes15:47
Losraiofails*15:47
LosraioERROR 2002 (HY000): Can't connect to server on '10.1.0.12' (115)15:47
Losraio:(15:48
LosraioThe setup-hosts.yml and setup-infrastructure.yml have ran succesfully prior15:50
admin1do you have different ips in the controller 16:07
admin1different ip ranges, lots of ips .. its a mysql whitelist issue 16:07
admin1you need to whitelist your ips via galera_monitoring_allowed_source   .. 16:08
admin1re-run galera .. and test again via util container 16:09
jrosserLosraio: it’s a good to trace through in a logical manner…. can the utility container ping the internal VIP16:26
jrossercheck that you’ve not missed entries in “used_ips” and accidentally got something now using your VIP address for a container16:27
jrosserif that’s ok then check if haproxy thinks that the database is working - is the backend “UP” in hatop/haproxy log16:27
LosraioIm back17:24
LosraioHmm let me check the used_ips and VIPs of the config17:24
LosraioI think it's okay... Right?17:25
Losraiohttps://paste.openstack.org/show/bpExKg4y5szr58oC95SX/17:26
LosraioFYI, the internal and external VIPs are of the control node17:27
LosraioAnd the HAproxy host is also the controller, the .11 IP is also assigned to the controller17:28
jrosserLosraio: what is hua-openstack-lb?18:02
LosraioIt is the hua-openstack-controller host, just a different alias18:02
Losraiobecause I wanted to use a different IP address and 18:03
LosraioIt wouldn't let me do so with the same hostname18:04
jrosserthats kind of unusual setup so i don't know really if that has any effect18:06
jrosseralso personally i would have the VIP be a unique address that is not the address if any host in openstack_user_config18:06
jrosserbut regardless of this, you need to see if haproxy thinks that the database backend is up, or not18:07
LosraioI see18:07
LosraioI changed the haproxy host, let me try running the playbooks again18:07
LosraioOh  boy, this is gonna take a loooong time18:09
LosraioIn the meantime, how can I check what you recommended?18:10
jrosseryou can look either in the log of haproxy with journalctl, or use the `hatop` program to see it's status18:12
LosraioOkay18:12
LosraioOther than that, is my user_config correct?18:13
LosraioIn terms of used ips and such?18:13
admin1on used ips, you only give the ips on the cidr_networks 19:21
admin1other ips, osa does not use/know about 19:21
admin1i see you have put   - "10.100.59.215,10.100.59.217"  which is not the cidr_networks, so there is no need for it19:22

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