Friday, 2020-12-18

*** akrpan-pure has quit IRC00:19
tristanCwhen akrpan-pure comes back, we might want to try running the same command with REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-bundle.crt00:33
*** lseki has joined #softwarefactory01:44
*** lseki has quit IRC04:11
*** jpena|off is now known as jpena08:17
sfbenderMerged software-factory/sf-config master: Avoid wipe of /var/lib/software-factory/ansible/group_vars/all.yaml  https://softwarefactory-project.io/r/2040410:19
sfbenderMerged software-factory/sf-elements master: nodepool-minimal: ensure the ca trust source directory exists  https://softwarefactory-project.io/r/2037710:22
sfbenderJavier Peña created DLRN master: [kojidriver] Refresh downstream git before updating hash  https://softwarefactory-project.io/r/2041411:45
*** rfolco has joined #softwarefactory12:37
*** jpena is now known as jpena|lunch13:00
*** apevec has joined #softwarefactory13:32
*** jpena|lunch is now known as jpena14:00
sfbenderTristan de Cacqueray created software-factory/dhall-zuul master: examples: normalize main package binding  https://softwarefactory-project.io/r/2041514:04
sfbenderTristan de Cacqueray created software-factory/dhall-zuul master: Add Zuul.Pipeline  https://softwarefactory-project.io/r/2041614:04
sfbenderTristan de Cacqueray created software-factory/dhall-zuul master: Add Zuul.Pipeline.periodic helper function  https://softwarefactory-project.io/r/2041916:47
*** akrpan-pure has joined #softwarefactory17:04
akrpan-pureHey tristanC, saw your message last night, I'll give that a try (REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-bundle.crt)17:04
*** jpena is now known as jpena|off17:16
sfbenderTristan de Cacqueray created software-factory/dhall-zuul master: Add Zuul.Pipeline.post helper function  https://softwarefactory-project.io/r/2042017:25
akrpan-pureSweet, that worked! Thanks again tristanC, I'm sure I'll have some other issue in a bit but making good progress now17:26
tristanCakrpan-pure: great, that's good to know. I guess we forgot to add that environment variable for local sfmanager usage when using self signed certificate17:27
akrpan-pureWell now I'm in Gerrit (User Settings -> HTTP Password) and trying to generate a new HTTP password to push some config updates and it's throwing 403's at me; is this even the right way to go about pushing config changes? I couldn't get SSH keys to work right17:33
akrpan-pure... oh I'm dumb, disregard, found out how17:35
*** lseki has joined #softwarefactory18:16
akrpan-pureIs the config-update job supposed to show up in Zuul? I don't see it in there (and thus am unable to get my nodepool changes to apply)18:33
akrpan-pureNVM, got it manually18:41
akrpan-pureAnd noooowwww the config-update job has a permission denied (publickey) trying to run the update playbook18:54
akrpan-pureAnd also permission denied trying to create the logs directory18:55
akrpan-pureLooks like /var/www is owned by root:root, and /var/www/logs doesn't exist18:57
tristanCakrpan-pure: what is the name of the failing task?19:24
akrpan-pureIn the job itself it failed on "run config update" (that's the publickey error), the post-run failed on "Create log directories" with "There was an issue creating /var/www/logs as requested: [Errno 13] Permission denied: '/var/www/logs'"19:26
akrpan-pureAlso my apologies that I just keep dumping errors here XD I'm never quite sure if it's a misconfiguration on my side or if I found an actual issue, so I want to check just in case19:27
tristanCakrpan-pure: trying to understand the ssh permission denied, could you check the `fqdn` attribute of the secret in your config project zuul.d/_secret_install_server.yaml file is equal to the hostname of the install server?19:39
akrpan-pureFQDN matches, yep19:39
tristanCand from the install-server, could you run `chmod 400 /var/lib/software-factory/bootstrap-data/ssh_keys/zuul_worker_rsa; ssh -i /var/lib/software-factory/bootstrap-data/ssh_keys/zuul_worker_rsa root@localhost` ?19:41
akrpan-pureSSH works with that19:42
akrpan-pureWant me to re-run the config job?19:42
tristanCakrpan-pure: just to be sure it's not a fluke yes please19:44
tristanCakrpan-pure: otherwise it's an odd issue, looking at the `run config update` task, it should be executing something similar to the test ssh command19:44
akrpan-pureSame failure, hrmmm19:45
tristanCakrpan-pure: how about the `ssh_known_hosts` attribute of the install_server_.yaml secret, does it match too?19:47
akrpan-pureIt does match one (not all) in /root/.ssh/known_hosts, if that's what you mean?19:48
tristanCit needs to match the output of `ssh-keyscan -t rsa install-server-host`19:49
akrpan-pureNow that everything is in one node (including install server), it does match if I run `ssh-keyscan -t rsa os-ci-sf-all.cinder-ci.dev.purestorage.com` (which is the FQDN of the node)19:50
akrpan-pureAlso sorry, heading out for an hour then stuck in meetings, but if you leave anything to run I'll do it asap19:50
tristanCif the services was moved after deployment, then it might be worth restarting zuul to ensure it is using the right secrets19:51
tristanCe.g., when sf-config push config repo change to update secrets, i think we need to force a zuul-scheduler reconfiguration to ensure it is in sync19:53
tristanCand about the post-run failure, it seems like it is not running on the correct logserver host either, e.g. the host should have been configured with: https://softwarefactory-project.io/cgit/software-factory/sf-config/tree/ansible/roles/sf-logserver/tasks/setup.yml#n1319:56
*** apevec has quit IRC20:06
sfbenderTristan de Cacqueray created software-factory/dhall-zuul master: Add Zuul.Semaphore  https://softwarefactory-project.io/r/2042320:08
sfbenderMerged software-factory/dhall-zuul master: examples: normalize main package binding  https://softwarefactory-project.io/r/2041520:39
*** rfolco has quit IRC20:40
*** rfolco has joined #softwarefactory20:40
sfbenderMerged software-factory/dhall-zuul master: Add Zuul.Pipeline  https://softwarefactory-project.io/r/2041620:58
sfbenderTristan de Cacqueray created software-factory/dhall-nodepool master: Add 0.2.0 release notes  https://softwarefactory-project.io/r/2042520:58
sfbenderMerged software-factory/dhall-zuul master: Add Zuul.Pipeline.periodic helper function  https://softwarefactory-project.io/r/2041920:59
sfbenderMerged software-factory/dhall-zuul master: Add Zuul.Pipeline.post helper function  https://softwarefactory-project.io/r/2042021:01
sfbenderMerged software-factory/dhall-nodepool master: Add 0.2.0 release notes  https://softwarefactory-project.io/r/2042521:02
sfbenderMerged software-factory/dhall-zuul master: Add Zuul.Semaphore  https://softwarefactory-project.io/r/2042321:04
*** sduthil has quit IRC22:16
akrpan-puretristanC: I didn't do any moves, this is a one-node install that's been one-node since I installed it, that's why it's so confusing. Is the logserver host configurable in sfconfig.yaml? Or is it autogenerated?22:28
tristanCakrpan-pure: then there is some wrong somewhere... let's see, in the other issue you mentioned /var/www being owned by root:root22:32
akrpan-pureCorrect, yeah22:32
tristanCakrpan-pure: that seems to indicate the setup phase didn't worked as expected, it should have gone through https://softwarefactory-project.io/cgit/software-factory/sf-config/tree/ansible/roles/sf-logserver/tasks/setup.yml#n1322:33
akrpan-pureWant me to run sfconfig again? Perhaps with skip install?22:33
tristanCakrpan-pure: i meant /var/www/logs not existing (or owned by root:root)22:33
akrpan-pureYeah, /var/www/logs doesn't exist and /var/www is owned by root:root22:34
tristanCakrpan-pure: yes please, re-run sfconfig and makes sure your arch file at least contains the role listed here: https://softwarefactory-project.io/cgit/software-factory/sf-config/tree/refarch/minimal.yaml22:34
akrpan-pureIt's got all the roles: running again now22:35
sfbenderMerged software-factory/sf-config master: Feed custom-links from sfconfig.yaml to info.json  https://softwarefactory-project.io/r/2040322:35
akrpan-pureJust hit that ansible step and it says changed, so that's a good sign: wonder why it didn't get caught beforE?22:38
tristanCthat's a good question, it's odd because it seems like further task got applied (such as the install-server authorized_keys for zuul_worker)22:39
akrpan-pureI know the first time I ran it it hit a Kibana error because it wasn't up all the way (503 I think), then I ran it again and it fixed it since it was up22:40
akrpan-pureYeah, this re-run has changed=29, ok=830. Some were expected because of the fact I've changed some config before, but some were definitely missed steps22:41
akrpan-pure*shrug*22:41
tristanChmm, weird. let's see if config-update works now22:43
akrpan-pureHurrah! It all worked, both logs and the config-update itself22:44
akrpan-pureI guess something just *didn't finish* for some reason22:44
tristanCha great, that's good to hear!22:44
tristanCakrpan-pure: i'm about to go on vacation until next year, but the other maintainers might be able to help next week if you have other issues. Just ask here or through taiga22:46
akrpan-pureSure thing, thanks a ton for all your help! Hopefully at this point it's like old nodepool/zuul config that I'm kinda familiar with so I can wrestle with that22:46
tristanCakrpan-pure: you're welcome, happy to help :-)22:48
akrpan-pureAnd the cherry on top, my nodepool config change went through and the image is already uploaded22:49
akrpan-pureAdmittedly thoroughly impressed with the end result, definitely liking what you all have built here, just have to get it set up first :P22:49
tristanCthank you for the kind words, it's good to see software factory being put to work22:50
akrpan-pureDefinitely. Have a good vacation!22:55
*** akrpan-pure has quit IRC22:56
*** dmsimard5 has joined #softwarefactory23:50
*** dmsimard has quit IRC23:52
*** dmsimard5 is now known as dmsimard23:52

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