Monday, 2020-10-05

*** cshen has joined #openstack-ansible00:11
*** cshen has quit IRC00:16
*** MickyMan77 has joined #openstack-ansible00:44
*** MickyMan77 has quit IRC00:52
*** maharg101 has joined #openstack-ansible01:41
*** maharg101 has quit IRC01:45
*** cshen has joined #openstack-ansible02:12
*** cshen has quit IRC02:16
*** cp- has quit IRC02:25
*** cp- has joined #openstack-ansible02:28
*** cyberpear has joined #openstack-ansible02:46
*** macz_ has joined #openstack-ansible02:54
*** macz_ has quit IRC02:59
*** miloa has joined #openstack-ansible04:03
*** MickyMan77 has joined #openstack-ansible04:09
*** cshen has joined #openstack-ansible04:12
*** cshen has quit IRC04:16
*** MickyMan77 has quit IRC04:18
*** mindthecap has quit IRC04:29
*** mindthecap has joined #openstack-ansible04:29
*** evrardjp has quit IRC04:33
*** evrardjp has joined #openstack-ansible04:33
*** mindthecap has quit IRC04:43
*** MickyMan77 has joined #openstack-ansible04:44
*** MickyMan77 has quit IRC04:48
*** MickyMan77 has joined #openstack-ansible04:48
*** cyberpear has quit IRC04:55
*** recyclehero has quit IRC05:05
*** recyclehero has joined #openstack-ansible05:12
*** cshen has joined #openstack-ansible05:34
*** cshen has quit IRC05:38
*** maharg101 has joined #openstack-ansible05:42
*** maharg101 has quit IRC05:47
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible stable/ussuri: Bump SHAs for stable/ussuri  https://review.opendev.org/75597506:25
jrossermorning06:29
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_neutron master: Fix linter errors  https://review.opendev.org/75557306:33
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-ceph_client master: Fix linter errors  https://review.opendev.org/75569706:37
noonedeadpunkmornings!06:41
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_keystone master: Fix linter errors  https://review.opendev.org/75556806:43
noonedeadpunkargh https://zuul.opendev.org/t/openstack/build/4567735a5d5a4bf08b333d1459352d2d/log/job-output.txt#2074106:43
noonedeadpunkand they've dropped all pg_num options from the role06:44
jrosserlogs seem really slow to load recently06:46
noonedeadpunkyeah06:46
jrosseri think they just take away those vars we used to use, but the options are still there?06:46
* jrosser looks for patch06:46
jrosserit's this isnt it https://github.com/ceph/ceph-ansible/commit/cb44f655fc5921ae153bc737ff042e40e9b9aa77#diff-5a429d6364fa796579c46ab1ba5b99c8L8-L906:48
*** MickyMan77 has quit IRC06:49
noonedeadpunkah yes. but that means we need to override all pools...06:49
*** MickyMan77 has joined #openstack-ansible06:50
jrosserthe change to pg_num is really bad06:53
noonedeadpunkI will increase mon_max_pg_per_osd I guess06:54
noonedeadpunkoh my, just found this https://opendev.org/openstack/openstack-ansible/src/branch/master/playbooks/defaults/ceph_ansible.yml06:55
*** MickyMan77 has quit IRC06:58
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-lxc_container_create master: Fix linter errors  https://review.opendev.org/75570006:59
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-lxc_container_create master: Fix linter errors  https://review.opendev.org/75570006:59
*** MickyMan77 has joined #openstack-ansible07:04
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible master: Update ansible-lint==4.3.5, flake8==3.8.3, bashate>=0.5.1  https://review.opendev.org/75506507:05
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-lxc_container_create master: Fix linter errors  https://review.opendev.org/75570007:08
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-lxc_container_create master: Add centos-8/focal/bionic zuul jobs for the different storage backends  https://review.opendev.org/75599607:08
*** andrewbonney has joined #openstack-ansible07:12
*** pcaruana has joined #openstack-ansible07:12
*** cshen has joined #openstack-ansible07:13
jrossernoonedeadpunk: we should unblock telemetry - starts here i think https://review.opendev.org/#/c/755866/07:16
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-os_gnocchi master: Use the utility host for db setup tasks  https://review.opendev.org/75472207:17
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-galera_server master: Explicitly use mysql collection  https://review.opendev.org/75559407:18
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-galera_server master: Use infra jobs instead of functional  https://review.opendev.org/75558607:19
*** yolanda has quit IRC07:21
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: Fix octavia tempest tests  https://review.opendev.org/75573707:21
*** rpittau|afk is now known as rpittau07:29
*** maharg101 has joined #openstack-ansible07:30
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-lxc_container_create master: Add centos-8/focal/bionic zuul jobs for the different storage backends  https://review.opendev.org/75599607:33
openstackgerritMerged openstack/openstack-ansible-os_gnocchi master: Fix linter errors  https://review.opendev.org/75586607:34
*** yolanda has joined #openstack-ansible07:37
*** tosky has joined #openstack-ansible07:42
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_neutron master: Fix linter errors  https://review.opendev.org/75557307:44
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-tests master: Trace execution of test-ansible-syntax.sh  https://review.opendev.org/75600308:03
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-lxc_container_create master: Add centos-8/focal/bionic zuul jobs for the different storage backends  https://review.opendev.org/75599608:07
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-lxc_container_create master: Fix linter errors  https://review.opendev.org/75570008:09
jrossernoonedeadpunk: i think these need to be removed http://codesearch.openstack.org/?q=defaults%2Fceph_ansible.yml08:19
jrosserbecause this is now deleted? https://review.opendev.org/#/c/755065/7/playbooks/defaults/ceph_ansible.yml08:19
noonedeadpunkah, yes08:19
noonedeadpunkeventually now I'm not so sure that I did right, but that looked very weird08:20
noonedeadpunkas we had  ceph_conf_overrides defined twice...08:21
jrosserthats bound to be confusing08:22
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible master: Update ansible-lint==4.3.5, flake8==3.8.3, bashate>=0.5.1  https://review.opendev.org/75506508:23
*** jbadiapa has joined #openstack-ansible08:27
openstackgerritMerged openstack/openstack-ansible-os_cloudkitty master: Updated from OpenStack Ansible Tests  https://review.opendev.org/75553208:39
*** cp- has quit IRC08:45
*** cp- has joined #openstack-ansible08:49
arxcruznoonedeadpunk: jrosser where the collect logs script is located for osa jobs? i need to figure out why the openstack-ansible-deploy-aio_distro_metal_tempestconf-centos-8 is failing08:56
arxcruzit says connection refused when tri to access the keystone api endpoint08:56
arxcruzbut I need to collect the .config/clouds.yaml and the tempest.conf files08:57
jrosserthe thing that collects the logs is here https://github.com/openstack/openstack-ansible/blob/master/scripts/log-collect.sh08:57
openstackgerritMerged openstack/openstack-ansible-galera_server master: Fix linter errors  https://review.opendev.org/75569808:59
recycleheromorning guys09:00
recycleherowhere can I find the logs for haproxy?09:00
recyclehero/var/lib/haproxy is the chroot from there /dev/log but thats a special file.09:01
recycleherofrom the infra host09:01
jrosserrecyclehero: journalctl -u haproxy09:02
jrosserarxcruz: i think your tempest.conf is here https://zuul.opendev.org/t/openstack/build/8e09c647b0504886b9e81f6a9031ad63/log/logs/etc/host/tempest/tempest.conf.txt09:07
arxcruzjrosser: nope, this is the default tempest.conf file09:23
jrosserok :) unfortunately we do not use tempestconf in OSA so i'm not surprised we don't collect the log files09:23
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-lxc_container_create master: Add centos-8/focal/bionic zuul jobs for the different storage backends  https://review.opendev.org/75599609:28
*** miloa has quit IRC09:29
ebbexif i define container_extra_networks in /etc/openstack_deploy/group_vars/dnsaas_containers.yml, how come all containers get this additional network?09:33
ebbexOr rather shouldn't this apply only to containers in dnsaas_containers group?09:34
*** pto has joined #openstack-ansible09:34
openstackgerritArx Cruz proposed openstack/openstack-ansible master: DNM - Storing home directory  https://review.opendev.org/75602509:36
*** sshnaidm|afk is now known as sshnaidm09:47
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_nova master: Updated from OpenStack Ansible Tests  https://review.opendev.org/75554109:49
openstackgerritArx Cruz proposed openstack/openstack-ansible-os_tempest master: Fix tempest init logic  https://review.opendev.org/75339309:51
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_keystone master: Fix linter errors  https://review.opendev.org/75556809:54
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible master: Update ansible-lint==4.3.5, flake8==3.8.3, bashate>=0.5.1  https://review.opendev.org/75506509:54
noonedeadpunkebbex: because you will also define network in provider_networks?09:56
noonedeadpunkare you referencing? https://docs.openstack.org/openstack-ansible/latest/reference/configuration/extra-networks.html09:57
*** recyclehero has quit IRC09:57
noonedeadpunkBut I think that it's probably worth setting container_extra_networks in group_vars anyway...09:57
*** pmannidi has joined #openstack-ansible09:58
noonedeadpunkI feel that container_vars are buggy for a while...09:58
jrosseryou should be able to add an interface to just one container group09:59
jrosseri do this09:59
jrosserto debug i would use a ad-hoc ansible debug command to print var=container_extra_networks for the group all_containers10:00
jrosserthen take it out of your group vars, double check for duplicate definition in user_variables etc10:00
ptoIm still trying to federated identities to work on OpenStack Quuens. The keystone table is "locked" because SQL triggers make them read only. Browsing the code, these triggers should be dropped during upgrade. Question is now - why are they not dropped?10:12
ptoE.g. https://opendev.org/openstack/keystone/commit/8c190a1a29dbb17fee044827fc9b651918dfc51e10:12
openstackgerritMerged openstack/openstack-ansible-os_nova master: Fix linter errors  https://review.opendev.org/75557410:28
jrosserpto: you are probably best asking that in openstack-keystone10:36
jrosserit's not really the OSA ansible code thats doing that directly, its internal to the service i think?10:37
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-lxc_container_create master: Add centos-8/focal/bionic zuul jobs for the different storage backends  https://review.opendev.org/75599610:39
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-lxc_container_create master: Add centos-8/focal/bionic zuul jobs for the different storage backends  https://review.opendev.org/75599610:43
ebbexnoonedeadpunk: Yeah pretty much, ah i think i see what i did there. it should probably say group_bind: [dnsaas_containers] in my case?10:44
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-lxc_container_create master: Add centos-8/focal/bionic zuul jobs for the different storage backends  https://review.opendev.org/75599610:45
ebbexor perhaps not at all, I'm not interested/can't set static ip's on the extra network for designate as it's not under my control (which i know is sorta a bad idea)10:46
ptojrosser: To me, it appears to be an update contract which is not applied correctly. Question is, if its a keystone internal thing or an command which needs to be applied. I will try in #openstack-keystone10:46
ebbexjrosser: thanks for the tip, i see that dnsaas_containers contains all containers, whilst designate_all contains what I'm looking for.10:51
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_senlin master: Use the utility host for db setup tasks  https://review.opendev.org/75603910:57
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_senlin master: Updated from OpenStack Ansible Tests  https://review.opendev.org/75289210:58
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-nspawn_hosts master: Fix CI jobs  https://review.opendev.org/75532211:04
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-nspawn_hosts master: Add CI jobs for ubuntu focal  https://review.opendev.org/75530511:04
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-nspawn_hosts master: Update supported operating systems  https://review.opendev.org/75530611:05
openstackgerritMerged openstack/openstack-ansible-os_rally master: Updated from OpenStack Ansible Tests  https://review.opendev.org/75554311:05
openstackgerritMerged openstack/openstack-ansible-openstack_hosts master: Fix linter errors  https://review.opendev.org/75570411:07
openstackgerritMerged openstack/openstack-ansible stable/train: Bump SHAs for stable/train  https://review.opendev.org/75597411:11
*** pto has quit IRC11:19
openstackgerritMerged openstack/openstack-ansible-os_trove master: Updated from OpenStack Ansible Tests  https://review.opendev.org/75554711:26
*** pto has joined #openstack-ansible11:27
*** shyamb has joined #openstack-ansible11:29
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-nspawn_hosts master: Add CI jobs for ubuntu focal  https://review.opendev.org/75530511:39
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-nspawn_hosts master: Update supported operating systems  https://review.opendev.org/75530611:39
*** mgariepy has quit IRC11:45
openstackgerritMarcus Klein proposed openstack/openstack-ansible-ceph_client master: Add configuration example for Ceph configuration from files.  https://review.opendev.org/75605111:54
openstackgerritMarcus Klein proposed openstack/openstack-ansible master: Add link to configuration example for Ceph configuration from files.  https://review.opendev.org/75579711:59
kleinijrosser, noonedeadpunk: ^^^ moved my documenation to ceph_client role.12:01
*** rfolco has joined #openstack-ansible12:06
noonedeadpunkcan I ask you to reference this doc from that section as well? https://opendev.org/openstack/openstack-ansible-ceph_client/src/branch/master/doc/source/configure-ceph.rst#user-content-configuration-file-overrides12:07
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: Fix octavia tempest tests  https://review.opendev.org/75573712:09
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-ceph_client master: Fix linter errors  https://review.opendev.org/75569712:09
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-ceph_client master: Allow to proceed with role if ceph_conf_file is set  https://review.opendev.org/75582012:10
openstackgerritJames Gibson proposed openstack/openstack-ansible-ops master: Change ansible tests to prefer Python3 over Python2 in vitualenv  https://review.opendev.org/75177312:11
ptojrosser: I think i have make it work. Commening out the task "- include: keystone_federation_sp_idp_setup.yml" and the play completes the play sucessful, and unlocks the SQL tables. Commenting it in again and running the same role makes everything seems to work.12:11
noonedeadpunkkleini: or may I edit it a little?12:12
jrosserpto: that sounds like the tasks may be a bit out of sequence?12:12
ptojrosser: It seems so. Sould I open a bug or pr on it or is the queens code dead?12:13
jrosserpto: like we are doing the idp setup bit at the wrong point during an upgrade12:13
openstackgerritMarcus Klein proposed openstack/openstack-ansible-ceph_client master: Add configuration example for Ceph configuration from files.  https://review.opendev.org/75605112:13
jrosserit would be better to do a patch if you can, i don't think we will have an easy way to reproduce this12:13
kleininoonedeadpunk, added the additional link12:14
jrosserpto: i think that the interesting thing will be if the issue is only ever for the version upgrade you are doing now12:15
jrosseror if this would affect any version12:15
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-ceph_client master: Allow to proceed with role if ceph_conf_file is set  https://review.opendev.org/75582012:16
*** mgariepy has joined #openstack-ansible12:17
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-ceph_client master: Allow to proceed with role if ceph_conf_file is set  https://review.opendev.org/75582012:17
arxcruznoonedeadpunk: jrosser so https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_c97/753393/8/check/openstack-ansible-deploy-aio_distro_metal_tempestconf-centos-8/c97338b/logs/home/.config/openstack/clouds.yaml.txt12:17
arxcruzdoes it sounds right for you guys?12:18
arxcruztempestconf is getting the http://172.29.236.100:5000/v3 but it's getting connection refused12:18
arxcruzchandankumar: ^12:18
noonedeadpunkis it in lxc?12:19
arxcruznot sure what you mean12:19
jrossernoonedeadpunk: it's the distro / metal / tempestconf job12:20
jrosserlooks like something listens on port 5000 https://zuul.opendev.org/t/openstack/build/c97338b87f0941b890f993fcd6b26169/log/logs/openstack/instance-info/ss_10-47-03.log.txt#3012:20
arxcruzmaybe is a firewall issue?12:21
noonedeadpunkarxcruz: are you sure it tries to reach that IP and not public one?12:22
openstackgerritAndrew Bonney proposed openstack/openstack-ansible-os_tempest stable/train: Pin designate-tempest-plugin to 0.7.0 for train branch  https://review.opendev.org/75605712:23
arxcruznoonedeadpunk: oh shit, you're right12:23
arxcruz    "2020-10-05 10:47:00.964 94398 ERROR tempest urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='158.69.76.30', port=5000): Max retries exceeded with url: /v3/projects (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb69c62d828>: Failed to establish a new connection: [Errno 111] Connection refused',))",12:23
openstackgerritAndrew Bonney proposed openstack/openstack-ansible-os_designate stable/train: Fix python interpreter bug for designate source installs on train  https://review.opendev.org/75572012:23
noonedeadpunkas on public... we don't have haproxy yet12:23
noonedeadpunkas we kind of need this to get public IP working https://review.opendev.org/#/c/733408/12:25
jrosserarxcruz: we recently merged a patch to ensure that services only bind to the internal IP rather than 0.0.0.012:25
jrosserand that needed to get in before we could land the haproxy for bare metal deploys patch12:25
noonedeadpunkjrosser: btw I guess magnum will be just broken until then...12:26
jrosserso it's possible this used to work by accident before due to the binding to 0.0.0.012:26
jrossernoonedeadpunk: yes i was looking at a few failing things earlier and they all look the say12:26
jrosser*same12:26
jrosserbut even haproxy will kind of not help12:26
jrosserbecasue everything will blow up on the self signed certitificate too unless can be told not to verify12:27
noonedeadpunkbut how we do with lxc? we don't have valid ssl there12:27
jrossertbh i don't know12:28
*** shyamb has quit IRC12:28
jrosserfeels like something else has changed very recently (maybe even in tempest) that makes this all break12:28
noonedeadpunkI mean that magnum iirc tries to reach keystone from master nodes or smth like this?12:28
jrosseroh well thats OK, we fixed heat for that a while ago12:29
jrosserthere is a config for that now in heat.conf12:29
arxcruznoonedeadpunk: it seems tempestconf only accepts publicURL12:29
noonedeadpunkthen you can try setting depends-on this https://review.opendev.org/#/c/733408/12:29
jrosseroh wow - is that actually working?12:30
*** cshen has quit IRC12:33
noonedeadpunkyeah, look at magnum) https://review.opendev.org/#/c/755569/412:37
noonedeadpunkit was failing in tempest without it - I didn't wait until posting logs unfortunatelly:(12:38
noonedeadpunkjrosser: btw, I'm a bit out of good ideas, how to distribute galera-ca.pem across all roles. This is neded for using galera SSL. We have variables like http://codesearch.openstack.org/?q=keystone_galera_ssl_ca_cert&i=nope&files=&repos= which exist but does not help in deploying certificates...12:44
noonedeadpunk*across all hosts12:44
noonedeadpunkwe create it here https://opendev.org/openstack/openstack-ansible-galera_server/src/branch/master/tasks/galera_server_ssl_self_signed.yml#L29-L3612:46
noonedeadpunkand we put it with galera_client part https://opendev.org/openstack/openstack-ansible-galera_server/src/branch/master/tasks/galera_client_ssl.yml12:46
noonedeadpunkrun galera_client part against all hosts?12:47
noonedeadpunkand eventually things work right now until galera_ssl_server == galera_server_bootstrap_node12:49
openstackgerritMarcus Klein proposed openstack/openstack-ansible-ceph_client master: Add configuration example for Ceph configuration from files.  https://review.opendev.org/75605112:51
kleininoonedeadpunk, anything I can do regarding the failing ansible-linters for my reviews? I don't think, those failures are due to my change, except the too long line, which is already fixed now12:52
jrossernoonedeadpunk: does this help? https://review.opendev.org/#/c/641445/12:53
noonedeadpunkpartially12:55
noonedeadpunkin case of self-signed, we create ca after openstack_hsts run...12:56
noonedeadpunkso for user-provided this might be ok12:57
*** weshay|ruck has joined #openstack-ansible12:57
jrosseri think this is where we would be better refactoring a bit12:58
jrossergenerally it would be simpler if all of these roles galera/hproxy/whatever just accept a cert from the deploy host12:59
jrosserand that can either be self signed or genuine12:59
jrosserthen as far as the role is concerned both cases work the same and we take out the complexity13:00
noonedeadpunkyeah...13:00
noonedeadpunkand use the same self-signed ssl for all these services, or only CA?13:02
*** cshen has joined #openstack-ansible13:03
* jrosser just meetings for a bit13:09
noonedeadpunkjust infra jobs were working nicely, unti I decided to test out SSL https://review.opendev.org/#/c/755586/13:11
noonedeadpunkand now I feel that this part needs to be handled in better way than it is now... but not sure I see good approcach without really rewriting the whole thing13:11
noonedeadpunkBut I think that at least CA should be really placed on deploy host and spread across hosts, and in case of self-signed we probably should use that CA13:13
noonedeadpunk(don't interrrupt on this during meetings ofc)13:14
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-ceph_client master: Add configuration example for Ceph configuration from files.  https://review.opendev.org/75605113:15
*** redrobot has joined #openstack-ansible13:31
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible master: Update ansible-lint==4.3.5, flake8==3.8.3, bashate>=0.5.1  https://review.opendev.org/75506513:32
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible master: Add infra testing scenario  https://review.opendev.org/75549713:35
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible master: Add infra testing scenario  https://review.opendev.org/75549713:35
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible master: Add infra testing scenario  https://review.opendev.org/75549713:36
*** spatel has joined #openstack-ansible13:37
*** pto has quit IRC14:01
*** rfolco is now known as rfolco|brb14:03
*** recyclehero has joined #openstack-ansible14:14
jrossernoonedeadpunk: long long ago i did make a start on something https://review.opendev.org/#/c/644555/14:19
jrosserthats probably most of the things needed to make a CA (new/fixed ansible modules may help make it nicer)14:21
noonedeadpunkthe question is also if we want to use same self-SSL for all services?14:41
jrosseri think there are two parts to this14:42
jrosserif the user does not supply a CA and key then a self signed one must be created14:42
jrosserthe for each service we create a cert/key signed by the original one, as they are needed14:43
jrosseri think my patch kind of looked at the first bit14:43
jrossernoonedeadpunk: lets make some notes? https://etherpad.opendev.org/p/osa-certificates-refactor14:46
*** macz_ has joined #openstack-ansible14:46
*** macz_ has joined #openstack-ansible14:47
noonedeadpunkI think that we probably need a role for this, which will have 2 path - create/deploy CA and create/deploy certificates14:49
noonedeadpunkor a module14:49
openstackgerritErik Berg proposed openstack/openstack-ansible-lxc_container_create master: Allow user to override UseRoutes in template  https://review.opendev.org/75608814:52
* noonedeadpunk following and has suggestions15:00
jrosseri'm kind of typed everything i'm thinking about - just hack in it if you've got more15:01
openstackgerritErik Berg proposed openstack/openstack-ansible-lxc_container_create master: Allow user to override UseDNS in template  https://review.opendev.org/75609615:02
noonedeadpunkdunno how comment there, so let me just say main point I was thinking about:) I think that self-singed certificates should be created per role, and in case we have not user provided one, but self-signed - no reason in re-using it?15:03
*** mgariepy has quit IRC15:03
noonedeadpunkso we can generate them not during deploy. but CA is generated during deploy and stored on the deploy host15:05
noonedeadpunkok, let me comment lol15:05
jrossersure :)15:05
openstackgerritMerged openstack/openstack-ansible-os_cinder master: Updated from OpenStack Ansible Tests  https://review.opendev.org/75553115:10
openstackgerritErik Berg proposed openstack/openstack-ansible-lxc_container_create master: Allow user to override UseDNS in template  https://review.opendev.org/75609615:18
openstackgerritMerged openstack/openstack-ansible-os_tacker master: Updated from OpenStack Ansible Tests  https://review.opendev.org/75554615:24
*** recyclehero has quit IRC15:26
noonedeadpunkjrosser: are certs issued even for IP addr agoing to be "verified"?15:28
*** recyclehero has joined #openstack-ansible15:28
jrosserthey can be - i was just digging around in the openstack-ansible-ops repo because cloudnull did all sorts of stuff like this with osquery and the other add-ons15:29
noonedeadpunkoh15:29
jrosserbut we still have /etc/hosts populated even without unbound so i think its do-able15:29
noonedeadpunkadding container names in haproxy, uh...15:30
noonedeadpunkbut I think it is15:30
jrosserit would be nice to be running this without --insecure or equivalent15:31
openstackgerritMerged openstack/openstack-ansible-os_keystone master: Fix linter errors  https://review.opendev.org/75556815:31
jrosserotherwise all sorts of problems will be hidden that only come up when real certs are used15:31
noonedeadpunkwhat we will be using for internal vip name?:) will just add something to hosts?15:32
recycleherohey guys, if I only have one infra and one compute is it normal that all of keepalived tasks either skips or have nothing written infront of them15:33
recycleherosetup-infrastructure.yml15:33
noonedeadpunkrecyclehero: totaly. you don't need keepalived when having <2 of haproxy instances15:33
recycleheroso whats the purpose of VIP in my case?15:34
recycleherowho handles the ARP proxy15:34
noonedeadpunkin your case just haproxy will listen on the VIPs15:34
*** gyee has joined #openstack-ansible15:34
jrosserVIP is a bit misleading name without keepalived, it's just an IP that typically you need to assign to br-mgmt on the infra host15:35
noonedeadpunkbut without keeaplived I think it needs to be configured on interface manually15:35
jrosseryou need to have two distinct IP, one for internal and one for external endpoint, otherwise bad-things will happen15:36
noonedeadpunkand internal vip on br-mgmt and public vip on public interface...15:36
recycleherointersting tell me more please15:36
recycleheroif keepalived was present the VIPs listend by proxing arp on br-vlan and br-mgmt15:38
recycleherojrosser: you mean change internal_lb_vip_address to the ip given to br-mgmt in network/interfaces15:39
noonedeadpunkno br-vlan is used only by neutron agents to provide vlan network for tenant vms15:39
recycleheronoonedeadpunk: aha ok the provider network which provides for the br-vlan15:40
noonedeadpunkyeh:)15:40
jrosserrecyclehero: yes i think you can do that for the internal vip address setting15:41
noonedeadpunkrecyclehero: I'd sayy just add this VIP maually to the interface as an alias IP15:41
noonedeadpunkrecyclehero: or you can eventually override `haproxy_use_keepalived: true` in your user_variables15:42
jrosserrecyclehero: you have to do that manually in this case because for an HA deployment as you point out keepalived would do this on your behalf15:42
recycleheronoonedeadpunk: so I'll set haproxy_use_keepalived: false, and change the internal_lb_vip_address to the br-mgmt ip15:44
noonedeadpunkjrosser: I like what we had written down. but please, let's not bring these changes in V?:) we can start working on role and testing things, but let's leave breaking changes after release?:)15:45
recycleherojrosser: make an VIP by doing ARP manually or just the above15:45
jrosserjust put the IP you want for the internal vip on br-mgmt, or use the one you already have there15:45
jrossernoonedeadpunk: oh yes i really want to get V done ASAP15:46
noonedeadpunkI'm just thinking about the time, when you decide to scale up, and you will need to have an extra IP anyway...15:46
jrosserkind of not so happy how much breakage with the linters and everything15:46
noonedeadpunk755065 - fingers crossed15:48
jrosseri was just looking at that myself :)15:49
noonedeadpunkceph passed15:49
*** ChiTo has joined #openstack-ansible15:50
jrosseri think we may be OK this time15:50
noonedeadpunkand debian as well...15:50
noonedeadpunkwe need to summon someone for +W15:50
* jrosser on it15:50
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible master: Switch integrated linters to focal  https://review.opendev.org/75575915:51
jrosserhmm great time for slack to be having a bad day15:51
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible master: Fix focal ceph jobs  https://review.opendev.org/75337615:51
noonedeadpunkoh, it's a bad guy today for me as well...15:51
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible master: Use haproxy for metal deployments  https://review.opendev.org/73340815:52
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible master: Fix octavia tempest tests  https://review.opendev.org/75573715:52
*** gshippey has joined #openstack-ansible15:53
*** recyclehero has quit IRC15:59
gshippeyin relation to https://review.opendev.org/#/c/755261/ - would it be a good idea to provision a read only back up user to galera, and use those credentials within the back up script? @noonedeadpunk16:00
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible master: Update integrated ansible-lint rules  https://review.opendev.org/75612116:00
noonedeadpunkgshippey: I'm not sure that read-only will be enough, as it might need table lock as well16:01
noonedeadpunkbut provision some extra user with specified permissions is a good idea:)16:02
gshippeyI will look into that then :)!16:03
*** rfolco|brb is now known as rfolco16:03
ChiToHi OSA team, I am still a little bit confused on the networking configurations, I am trying to deploy my own provider-network but I don't know If I have to previously configured my interfaces with OVS or Linux bridge or if both can live together?16:05
noonedeadpunkboth can't live together for sure16:05
ChiToMy deployment is on CentOS 7.x and I would like to get a provider network for my floating IP addresses with a VLAN assigned on a bond and a Vxlan for the overlay16:05
*** recyclehero has joined #openstack-ansible16:05
ChiTomy question is if the vxlan can be previously configured with my own linux-bridge approach and just let the br-provider to be managed by OVS on the computes and neutron servers?16:06
*** rpittau is now known as rpittau|afk16:06
ChiTonoonedeadpunk: oh I see, thanks, so ideally is to let OVS to configure both the vxlan and external/vlan/provider network right?16:07
noonedeadpunkyes, exactly16:07
jrosserChiTo: the defaults will be linux bridge for eveything, unless you have specifically configured it for OVS16:07
ChiTonoonedeadpunk: If that is the case, should I manage my ifcfg-br-vxlan internally assigning the OVSType and things like that?16:07
ChiToindependently on what the playbook does?16:08
ChiTojrosser: Yep, I changed it to OVS applying the neutron_openvswitch_agent on the group binds because eventually I need DVR16:08
jrosserok cool16:09
ChiTojrosser: So I can just let the playbook to manage my br-provider assigning it to a physical interface for the bridge mappings (In my case a bonding interface) but not configure it on the Operating System right?16:10
ChiToand automatically the bridges will be created by OVS?16:10
*** gillesMo has joined #openstack-ansible16:11
jrosserChiTo: there is some documentation here which may be useful https://docs.openstack.org/openstack-ansible-os_neutron/latest/app-openvswitch.html16:11
gillesMoHello ! I'm trying to upgrade from Rocky to Stein on Ubuntu 18.04. I don't use openstack-ansible to deploy Ceph, but just to configure the client part. But the setup-infrastructure.yml playbbok, launches ceph-install.yml wich fails with "ERROR! 'always_run' is not a valid attribute for a Task" in /etc/ansible/roles/ceph-defaults/tasks/check_socket_container.yml16:11
gillesMoI can't find a related bug. Aare the ceph roles always upgraded during the ansible bootstrap ?16:12
ChiTojrosser: Thanks, I have followed it, but since I am on CentOS I don't know if I have to configure my interfaces with OVS previously on the network-scripts/*16:12
recycleheroguys I changed the lb vip ip, before that on the task "python_venv_build : Upgrade pip/setuptools/wheel to the versions we want" I would get no route to host16:16
recycleheronow I get connection refused16:16
recycleherowhen I attach to the container which the task is being run against I can ping the IP which is said the connection is refures16:17
recycleherod16:17
jrosserrecyclehero: to get some context it's really helpful if you paste the error and surrounding output to paste.openstack.org16:17
recycleherook, will do.16:18
recycleherohttp://paste.openstack.org/show/798701/16:18
jrosserrecyclehero: 172.29.236.11 is your internal vip?16:21
recycleheroyes16:21
recycleheroalso infra116:21
jrossernormal debug flow for this would be to try to curl the url from the utility container, we probably expect that to fail16:21
jrosserthen go look at haproxy and see if the backend for the repo server is up or down (hatop is useful for this)16:22
*** tosky has quit IRC16:22
jrosserthen from the infra host try the same curl direct to the repo server IP rather than the vip16:22
jrosserso work backwards from the error toward the source16:22
recycleherojrosser: tnx16:23
recycleherojrosser: it also get refused on the same host16:30
jrosserok well that’s Nginx I think, so see if it’s running and look at logs16:35
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-rabbitmq_server master: Require the use of community.rabbitmq ansible collection  https://review.opendev.org/75465716:36
recycleherojrosser: I dont even have nginx on infra116:39
jrosserthe request is being made to the repo server container16:40
recycleherook I have nginx on the repo container. but the ip is for infra1 the host machine(infra1) for the repo container16:43
recycleheronginx doesnt have any error logs, empty16:44
*** mgariepy has joined #openstack-ansible16:46
recycleheroI see the connection you pointed out in /etc/haproxy/haproxy.cfg16:47
recycleherofrontend repo_all-front-116:47
recycleherobind 172.29.236.11:818116:47
recycleheroshoudnt haproxy be listneing on 8181 on the infra1?16:48
openstackgerritMerged openstack/openstack-ansible-nspawn_hosts master: Fix CI jobs  https://review.opendev.org/75532216:49
*** maharg101 has quit IRC16:50
openstackgerritMerged openstack/openstack-ansible-lxc_container_create master: Fix linter errors  https://review.opendev.org/75570016:54
openstackgerritMerged openstack/openstack-ansible-nspawn_hosts master: Add CI jobs for ubuntu focal  https://review.opendev.org/75530516:54
recycleherois there a way I could see haproxy log in /var/lib/haproxy/dev/log16:54
recyclehero?16:54
jrosserit's in the journal16:55
jrosseryou should be able to see haproxy listening with netstat or ss type of tool16:55
openstackgerritMerged openstack/openstack-ansible-nspawn_hosts master: Update supported operating systems  https://review.opendev.org/75530616:59
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-lxc_container_create master: Add centos-8/focal/bionic zuul jobs for the different storage backends  https://review.opendev.org/75599617:00
openstackgerritErik Berg proposed openstack/openstack-ansible-lxc_container_create master: Allow user to override UseDNS in template  https://review.opendev.org/75609617:01
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-lxc_container_create master: Add centos-8/focal/bionic zuul jobs for the different storage backends  https://review.opendev.org/75599617:04
openstackgerritMerged openstack/openstack-ansible-tests master: Trace execution of test-ansible-syntax.sh  https://review.opendev.org/75600317:07
*** andrewbonney has quit IRC17:08
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-lxc_container_create master: Remove support for Centos-7  https://review.opendev.org/74212017:09
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-lxc_container_create master: Remove support for LXC2 configuration keys  https://review.opendev.org/74212117:09
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-nspawn_hosts master: Updated from OpenStack Ansible Tests  https://review.opendev.org/75415817:15
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_senlin master: Updated from OpenStack Ansible Tests  https://review.opendev.org/75289217:21
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_senlin master: Use the utility host for db setup tasks  https://review.opendev.org/75603917:23
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_senlin master: Updated from OpenStack Ansible Tests  https://review.opendev.org/75289217:23
*** MickyMan77 has quit IRC17:24
*** recyclehero has quit IRC17:28
*** cyberpear has joined #openstack-ansible17:31
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: Use haproxy for metal deployments  https://review.opendev.org/73340817:33
*** cshen has quit IRC17:35
*** recycleh1ro has joined #openstack-ansible17:35
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: Use haproxy for metal deployments  https://review.opendev.org/73340817:35
*** cshen has joined #openstack-ansible17:40
recycleh1rohey, i get passed that. that was cuz I though it would work with the lb_exteranl ip for now. so didnt have the ip that I set in config file on the host17:41
*** recycleh1ro is now known as recyckehero17:41
*** maharg101 has joined #openstack-ansible17:42
recyckeheronow I have this17:43
recyckeherohttp://paste.openstack.org/show/798706/17:43
*** cshen has quit IRC17:45
*** gillesMo has quit IRC17:46
*** gillesMo has joined #openstack-ansible17:47
*** maharg101 has quit IRC17:49
*** recyckehero has quit IRC17:51
*** alistar has joined #openstack-ansible17:52
*** alistar is now known as recyclehero17:52
*** MickyMan77 has joined #openstack-ansible18:03
openstackgerritMerged openstack/openstack-ansible-nspawn_hosts master: Updated from OpenStack Ansible Tests  https://review.opendev.org/75415818:07
*** MickyMan77 has quit IRC18:12
fridtjof[m]..... i just accidentally deleted the admin project18:37
fridtjof[m]i feel stupid now :D18:37
fridtjof[m]while i'm at it, how do I nuke any state from my openstack environment? basically, how would I revert it to just after initial deployment (with the service and admin projects)18:38
openstackgerritMerged openstack/openstack-ansible master: Update ansible-lint==4.3.5, flake8==3.8.3, bashate>=0.5.1  https://review.opendev.org/75506518:47
recycleherofinally get to the final round setup-openstack.yml18:56
recycleherowhats this?18:56
recycleherohttp://paste.openstack.org/show/798708/18:56
jrosserrecyclehero: which branch are you installing?18:57
recycleheroha? where have I specified that?18:57
recycleheromaster?18:58
jrosserthe branch you checkout from your openstack-ansible repo decides which release of openstack you get installed18:58
recycleherolet me check18:58
recycleherothis is latest git log18:59
recycleherocommit eb44c5d05cf02a8f3add7c3c31ddb9fad8235a5a (HEAD -> master, origin/master, origin/HEAD)18:59
recycleheromaster and the url is opendev openstack-ansible19:00
recycleherolatest commit is at Date:   Mon Sep 28 21:06:16 2020 +000019:00
jrosserok so you are installing master branch, which is bleeding edge of what will become the next release19:00
recycleherojrosser: I should go find a release tag19:01
recyclehero?19:01
jrosserif you want something more stable you'll see that there are tags on the stable/ussuri branch19:01
jrosserabout every 2 weeks we have a process that creates new tag which has to pass an integration test19:01
recycleherothen do the 3 playbooks from start, or do I need do change configs ?19:01
jrosserin your openstack-ansible repo you should checkout the latest tag on the ussuri branch19:02
*** viks____ has quit IRC19:02
jrosserthen run scripts/bootstrap-ansible.sh again, that will sort out the contents of /etc/ansible/roles to be as you need19:02
recycleherook I forgot git for tag git checkout tag ussuri ?19:03
jrosseryou can then try to re-deploy, but an in-place downgrade is something quite unusual19:03
recycleheroso what? reinstall the target hosts?19:03
recycleheroi mean the underlying debian?19:03
recycleherois there some cleanup scripts?19:04
jrosser21.0.1 would be the latest tag on ussuri https://github.com/openstack/openstack-ansible/tree/21.0.119:04
jrosseras you've only run as far as keystone it'll probably be ok19:04
jrosserworst will be destroy/recreate the containers19:04
recycleheroi need to copy the files openstack_user_config and user_variables If they have changed/have diffrent structure?19:05
jrosserthose should be OK19:06
recycleherogreat thanks19:06
fridtjof[m]on that topic: what kind of state/facts are cached on the deployment hosts? suppose I want to make OSA completely reinitialize all my services (basically, as if I was installing OSA for the first time, setting up DBs, creating the admin + service projects, etc etc) - when does it do that?19:07
jrosserfridtjof[m]: each role carries a copy of https://github.com/openstack/openstack-ansible-os_glance/blob/master/tasks/db_setup.yml19:09
jrosserand https://github.com/openstack/openstack-ansible-os_glance/blob/master/tasks/service_setup.yml19:10
jrosserthats from glance but it's identical for each19:10
jrosserkeystone role has the stuff for bootstrapping the admin project19:10
fridtjof[m]ohh, i was just assuming they were all gated behind some magic "this is the first setup" variable19:12
jrosseransible idempotency helps there, only does what needs to be done19:13
fridtjof[m]background is that the nova-placement -> placement migration together with the haproxy config mishap seem to have corrupted the database in a way that now makes it impossible to start instances19:13
fridtjof[m](where ansible didn't delete the old placement config from haproxy anymore)19:14
fridtjof[m]I assume some other services were failing to talk to placement after the upgrade then, and something got out of sync leading to other errors further down the line19:14
fridtjof[m]so... I guess dropping all the databases should probably do the trick?19:15
jrosserthats pretty much where all the state is19:16
*** idlemind_ has quit IRC19:16
fridtjof[m]alright, i'll report on how well that went later then :D19:17
recycleherojrosser: I am getting lots of reference is not a tree on clone git repos19:18
jrosserok, clean out everything from /etc/ansible/roles19:18
recycleherook19:18
jrosserthe ansible git module has some really odd behaviour19:18
recycleherojust asking, the ansbile git module is git written in python?19:20
jrosserit's the cli wrapped in python https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/git.py19:22
*** tosky has joined #openstack-ansible19:29
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_senlin master: Use the utility host for db setup tasks  https://review.opendev.org/75603919:46
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_senlin master: Updated from OpenStack Ansible Tests  https://review.opendev.org/75289219:46
*** maharg101 has joined #openstack-ansible19:46
*** maharg101 has quit IRC19:51
*** jungleboyj_ has joined #openstack-ansible20:20
*** CeeMac_ has joined #openstack-ansible20:20
*** jungleboyj has quit IRC20:25
*** fridtjof[m] has quit IRC20:25
*** jroll has quit IRC20:25
*** CeeMac has quit IRC20:25
*** jungleboyj_ is now known as jungleboyj20:25
*** CeeMac_ is now known as CeeMac20:25
*** jroll has joined #openstack-ansible20:27
*** fridtjof[m] has joined #openstack-ansible20:28
*** spatel has quit IRC20:32
fridtjof[m]why could ansible include this file, but not run any tasks from it?20:32
fridtjof[m]https://github.com/openstack/openstack-ansible-galera_server/blob/stable/train/tasks/galera_setup.yml20:32
fridtjof[m]I don't see any when directives that would skip these20:34
fridtjof[m]nvm, i'll just recreate the galera containers20:41
*** rfolco has quit IRC21:04
openstackgerritMerged openstack/openstack-ansible-lxc_container_create master: Updated from OpenStack Ansible Tests  https://review.opendev.org/75415421:06
*** jbadiapa has quit IRC21:18
*** cshen has joined #openstack-ansible21:31
*** cshen has quit IRC21:36
*** maharg101 has joined #openstack-ansible21:47
*** d34dh0r53 has quit IRC21:52
*** maharg101 has quit IRC21:55
*** MickyMan77 has joined #openstack-ansible22:13
*** MickyMan77 has quit IRC22:21
*** PrinzElvis has quit IRC22:24
*** PrinzElvis has joined #openstack-ansible22:27
*** MickyMan77 has joined #openstack-ansible22:53
*** gshippey has quit IRC22:59
*** MickyMan77 has quit IRC23:02
*** tosky has quit IRC23:04
*** rfolco has joined #openstack-ansible23:09
*** cshen has joined #openstack-ansible23:32
*** cshen has quit IRC23:36
*** macz_ has quit IRC23:36
*** MickyMan77 has joined #openstack-ansible23:37
*** rfolco has quit IRC23:42
*** MickyMan77 has quit IRC23:45
*** maharg101 has joined #openstack-ansible23:52
*** maharg101 has quit IRC23:57

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