Thursday, 2019-06-13

openstackgerritPRATEEK REDDY DODDA proposed airship/promenade master: Coredns: Add pod/container security context  https://review.opendev.org/66466200:20
openstackgerritRahul Khiyani proposed airship/promenade master: ETCD: Add pod/container security context  https://review.opendev.org/66233400:25
*** AlexNoskov has quit IRC01:23
*** happyhemant has quit IRC01:28
*** michael-beaver has joined #airshipit01:38
openstackgerritRahul Khiyani proposed airship/promenade master: ETCD: Add pod/container security context  https://review.opendev.org/66233401:58
openstackgerritRahul Khiyani proposed airship/promenade master: ETCD: Add pod/container security context  https://review.opendev.org/66233402:01
*** jamesgu has quit IRC02:12
*** licanwei has joined #airshipit02:13
*** cheng1 has quit IRC02:51
openstackgerritPRATEEK REDDY DODDA proposed airship/promenade master: Coredns: Add pod/container security context  https://review.opendev.org/66466202:53
*** cheng1 has joined #airshipit02:53
*** KeithMnemonic has quit IRC03:08
*** cheng1 has quit IRC03:20
*** cheng1 has joined #airshipit03:25
*** michael-beaver has quit IRC03:48
*** nishantkr has quit IRC04:12
openstackgerritPRATEEK REDDY DODDA proposed airship/promenade master: Coredns: Add pod/container security context  https://review.opendev.org/66466204:58
*** pgaxatte has joined #airshipit06:49
*** mikkos has joined #airshipit07:00
*** ianychoi has joined #airshipit07:02
mikkoshttps://etherpad.openstack.org/p/Airship_OpenDesignDiscussions/timeslider#17477 has not latin alphabets07:03
*** kskels has quit IRC07:22
*** lemko has joined #airshipit07:58
*** gkadam has joined #airshipit08:16
*** gkadam has quit IRC08:17
*** mikkos has quit IRC08:42
*** mikkos has joined #airshipit08:43
*** viktor_t has quit IRC08:59
*** viktor_t has joined #airshipit09:15
*** mikkos has quit IRC09:26
*** mikkos has joined #airshipit09:27
*** mikkos has quit IRC09:40
*** mikkos has joined #airshipit09:42
*** mikkos has quit IRC10:04
*** mikkos has joined #airshipit10:06
*** obravo has joined #airshipit10:13
*** viktor_t has quit IRC10:30
*** sthussey has quit IRC10:40
*** viktor_t has joined #airshipit10:43
*** mikkos has quit IRC11:00
*** mikkos has joined #airshipit11:01
*** mikkos has quit IRC11:13
*** mikkos has joined #airshipit11:15
*** arunkant has quit IRC11:59
*** arunkant has joined #airshipit12:00
*** mikkos has quit IRC12:34
*** mikkos has joined #airshipit12:36
*** aaronsheffield has joined #airshipit12:56
*** howell has joined #airshipit13:10
*** roman_g has joined #airshipit13:19
*** mikkos has quit IRC13:43
*** amalrajgenocidex has joined #airshipit13:59
*** pkaralis has quit IRC14:01
amalrajgenocidexHi, I'm deplying airship airsloop and got below error on step "tools/airship shipyard commit configdocs"14:01
amalrajgenocidexReason: Validation - Error: Required substitution source document [deckhand/CertificateAuthority/v1] kubernetes was not found, yet is referenced by [armada/Chart/v1] kubernetes-proxy14:01
amalrajgenocidexAny idea?14:01
*** viktor_t has quit IRC14:05
*** nishantkr has joined #airshipit14:08
evgenylamalrajgenocidex: Hi, `[armada/Chart/v1] kubernetes-proxy` manifest, references a Certificate `[deckhand/CertificateAuthority/v1]` which does not exist in your site directory.14:10
amalrajgenocidexHow to generate it?14:12
*** sreejithp has joined #airshipit14:17
amalrajgenocidexYes, I did.14:22
amalrajgenocidexI exported username and password and then ran the collect script14:22
amalrajgenocidexAnything else needs to be done before that?14:22
*** kskels has joined #airshipit14:24
evgenylAfter you generate the certificates using promenade, you need to copy those to collected and site directories: https://airship-treasuremap.readthedocs.io/en/latest/authoring_and_deployment.html#building-the-promenade-bundle14:27
openstackgerritIan Pittwood proposed airship/pegleg master: Upgrade Promade dependency  https://review.opendev.org/66514914:29
openstackgerritIan Pittwood proposed airship/pegleg master: Upgrade Promenade dependency  https://review.opendev.org/66514914:31
amalrajgenocidex@evgenyl Does this needs to be done before implementing genesis node?14:32
amalrajgenocidexI completed genesis node installation without copying promenade and genesis node setup went without any issues14:33
amalrajgenocidexFYI, I'm setting up airsloop not seaworthy14:35
kskelsyeah - when you are pushing the documents into shipyard (including certificates) - they need to match the ones with promenade (as they are used for k8s)14:36
kskelsmeaning if you will generate a new set of certs - they will be failing to join the cluster14:36
kskelsI will take a note to add this part more clearly in airsloop docs - people have been stumbling upon this one multiple times now14:37
kskelsgenerating certs should always be 1x thing14:37
kskelsas later you may want to update the site, etc as well14:37
kskelsif you are going to re-install genesis - there is a Promenade cleanup script you can use to wipe the node14:42
kskelshttps://github.com/airshipit/promenade/blob/master/tools/cleanup.sh14:42
kskels'sudo promenade/tools/cleanup.sh -f' will completely remove all k8s things14:42
kskelsdue to ceph mounts, etc - it will hang in the middle and you will need to hard reboot the server and run the script 2nd time to fully clean the server14:43
amalrajgenocidexThank you kskels for detailed explanation. I did try cleanup yesteday and I wanted to reboot, thought it was my issue14:53
kskelsyeah - you will need to hard reboot it via iDRAC/iLO else it will hang14:55
amalrajgenocidexIs there any other doc with you that explain steps to install airsloop? Going back and forth on deployment site and airsloop site for commands is very confusing.14:55
kskelsAirsloop is really the same as any regular site14:55
kskelsjust configuration is a little more streamlined for small deployment14:55
openstackgerritIan Pittwood proposed airship/pegleg master: Upgrade Promenade dependency  https://review.opendev.org/66514914:56
kskelsso going back and forth is kind a in your favor later when you will install more full HA sites and get general concepts of site deployment14:56
kskelsthe cleanup.sh is more of a unofficial tools in a way - as normally you would need to simply re-install ubuntu to make it clean14:56
kskelsthere is https://github.com/airshipit/treasuremap/blob/master/tools/gate/Jenkinsfile14:56
amalrajgenocidexOk. I understand. Let me restart the installation once again :)14:57
kskelscan be a good guidance of what pipeline does to re-deploy the site over and over again14:57
kskelsand final detail14:57
kskelsalso clean your OSD disks14:57
kskelshttps://github.com/airshipit/treasuremap/blob/master/tools/gate/Jenkinsfile#L17214:57
kskelsoh never mind - it's not relevant for airsloop :)14:57
kskels..as we only use 1 root disk for everything in simplified case14:58
amalrajgenocidexOk. Thanks kskels. You are a life saver :)14:59
*** sthussey has joined #airshipit15:02
*** pgaxatte has quit IRC15:36
*** jsun3 has quit IRC16:24
openstackgerritMerged airship/pegleg master: Upgrade Promenade dependency  https://review.opendev.org/66514916:33
openstackgerritIan Pittwood proposed airship/pegleg master: [WIP] Implement PBR for Pegleg  https://review.opendev.org/66517116:36
*** lemko has quit IRC16:47
openstackgerritAlexander Hughes proposed airship/pegleg master: Requests Dependency Error  https://review.opendev.org/66496916:51
openstackgerritEvgeniy L proposed airship/treasuremap master: [aiab] Add a site linting gate to Zuul  https://review.opendev.org/66500716:54
*** obravo has quit IRC16:55
*** amalrajgenocidex has quit IRC17:03
*** AlexNoskov has joined #airshipit17:09
openstackgerritEvgeniy L proposed airship/treasuremap master: [aiab] Add a site linting gate to Zuul  https://review.opendev.org/66500717:18
openstackgerritEvgeniy L proposed airship/treasuremap master: [aiab] Add a site linting gate to Zuul  https://review.opendev.org/66500717:20
openstackgerritEvgeniy L proposed airship/treasuremap master: [aiab] Add a site linting gate to Zuul  https://review.opendev.org/66500717:30
openstackgerritEvgeniy L proposed airship/treasuremap master: Remove pegleg clone from Zuul lint jobs  https://review.opendev.org/66519017:48
openstackgerritMichael Beaver proposed airship/treasuremap master: Uplift Promenade  https://review.opendev.org/66470418:02
*** ianychoi has quit IRC18:13
*** arunkant has quit IRC18:16
openstackgerritNishant Kumar proposed airship/promenade master: [FIX] set correct key for Controller manager DS upgrade  https://review.opendev.org/66520318:17
openstackgerritMichael Beaver proposed airship/deckhand master: Remove required-projects from Airskiff gate  https://review.opendev.org/66439418:18
*** michael-beaver has joined #airshipit18:23
*** MattCoachCarter has joined #airshipit18:23
openstackgerritKaspars Skels proposed airship/treasuremap master: Revert ingress before emptydirs fix  https://review.opendev.org/66520618:31
openstackgerritKaspars Skels proposed airship/treasuremap master: Revert ingress/ceph-rgw before emptydirs fix  https://review.opendev.org/66520618:39
*** amalrajgenocidex has joined #airshipit19:15
amalrajgenocidexHi19:15
amalrajgenocidexWhich command should I use to generate certificates for airsloop? One in airsloop doc or the one in global site deployment?19:16
openstackgerritchinasubbareddy mallavarapu proposed airship/treasuremap master: [CEPH] uplift charts and enable helm tests  https://review.opendev.org/66521919:17
evgenylamalrajgenocidex: I would recommend using `tools/airship promenade generate-certs ...` for that, make sure to copy the certificates to your site directory after you generate those.19:22
amalrajgenocidex@evgenyl I need to delete the existing certificate file inside "site/airsloop/secrets/certificates/certificates.yaml", right?19:25
evgenylamalrajgenocidex: Yep, those are just defaults that need to be replaced.19:26
amalrajgenocidexI'm getting a lot of warning when generating the certificate after deleting the default one's19:26
amalrajgenocidex2019-06-13 19:26:06,554 WARNING  req_id=- ctx=- end_user=- user=- deckhand.engine.secrets_manager:secrets_manager.py:337:substitute_all Could not find substitution source document [deckhand/CertificateKey/v1] kubernetes-etcd-genesis among the provided substitution sources.19:26
evgenylamalrajgenocidex: I also have seen these warnings, they didn't affect the deployment in my case.19:28
amalrajgenocidexThank you, evgenyl. After moving the certificates to the right location. Which command should I run next to collect with new certificate?19:36
amalrajgenocidexOne in airsloop page or one in airship common deployment doc?19:37
evgenylamalrajgenocidex: Use the commands from airsloop documentation, the ones in site authoring guide will work, however they require some additional configuration (specifying correct versions of images) and this document needs to be updated to use tools/airsloop wrapper, which uses the correct versions automatically.19:39
amalrajgenocidexOk, So I don't need to run any commands like ' simple-deployment.sh' or scripts from repo 'airship-pegleg', right?19:45
openstackgerritIan Pittwood proposed airship/spyglass-plugin-xls master: [WIP] Implements data objects in excel extractor  https://review.opendev.org/66209319:45
amalrajgenocidex1. Edit all the files 2. Run these 3 commands tools/airship pegleg site -r /target collect airsloop -s collect tools/airship promenade generate-certs -o /target/certs /target/collect/*.yaml tools/airship promenade build-all -o /target/bundle /target/collect/*.yaml /target/certs/*.yaml 3. Copy genesis.sh script to control server and run it???19:46
amalrajgenocidexThese is all I'm required to do, right?19:47
kskelsyes19:50
evgenylamalrajgenocidex: Yes, looks correct, however I'm not sure if the usage of `*` is correct in the documentation, it will be unwrapped before it would be passed to `docker run`, you may have to specify these few files explicitly.19:50
kskels* works ok for me :)19:50
kskelsso I think it should be OK19:50
evgenylAlright :)19:51
kskelsI feel like long term we need to make the cert gen as seperate stage in the instructions19:51
amalrajgenocidexYes, * worked for me too and genesis worked properly last time19:51
kskelsas generally we want to generate them 1x and then keep re-collecting with the old certs especially when doing updates19:51
kskelsbut it still OK as you have it19:52
openstackgerritEvgeniy L proposed airship/treasuremap master: [wip] Uplift PostgreSQL  https://review.opendev.org/66522819:54
amalrajgenocidexI know I have become a lot annoying, so one final doubt. Why should I move the certificates back to site/airsloop/secrets/certificate/ ?? We are not using it again anywhere in airsloop implementation19:56
amalrajgenocidexWe are directly generating genesis.sh using the this script, right?  tools/airship promenade build-all -o /target/bundle /target/collect/*.yaml /target/certs/*.yaml19:56
kskelsright19:58
evgenylamalrajgenocidex: No worries, feel free to ask as many question as you have. If you want to manage your cluster afterwards, you want to have the certificates to be stored somewhere withing your site, this way you can change the charts configuration -> run collect -> push manifests to the site (using shipyard) and rerun the deployment.19:58
kskelsand in future do site updates, if needed, etc19:59
kskelsfor 1 time deployment - you are right - you don't really need to save these certs.19:59
evgenylYep, it is mostly for the site maintenance.19:59
kskelsalso you will see later - once the genesis is up you are following with shipyard deployment20:00
kskelsat that time - you are pushigng site YAMLs into shipyard and deploying rest of the site (in airsloop case only 1 or more compute nodes)20:01
kskelsbut in full HA - you would push in YAMLs and deploy your entire cluster - and later manage it20:01
amalrajgenocidexYou guys are cool!!! Thank you for the detailed explanation.20:02
amalrajgenocidexI'm running the genesis script once again. Hope the shipyard create goes without errors this time :)20:03
kskelsawesome! getting genesis up fully is more then 1/2 of work to get airsloop installed20:04
kskelsnext steps will be to make sure your PXE networking and host profile is correct for compute node deployment, etc20:04
kskelsso that MAAS/drydock can bootstrap the compute and get it deployed20:04
kskels(also, feel free to comment on doc gaps you see - so we can improve)20:05
amalrajgenocidexSure. :). I will also try to create a detailed doc of airsloop once it is up and running for me20:08
*** amalrajgenocidex has quit IRC20:12
openstackgerritEvgeniy L proposed airship/treasuremap master: [wip] Uplift PostgreSQL  https://review.opendev.org/66522820:18
openstackgerritEvgeniy L proposed airship/treasuremap master: [wip] Uplift PostgreSQL  https://review.opendev.org/66522820:19
openstackgerritAlexander Noskov proposed airship/promenade master: WIP  https://review.opendev.org/65267820:26
*** MattCoachCarter has quit IRC21:13
*** howell has quit IRC21:33
openstackgerritIan Pittwood proposed airship/spyglass master: [WIP] Implements data object models  https://review.opendev.org/66209221:36
*** sreejithp has quit IRC21:43
*** aaronsheffield has quit IRC22:45
*** sthussey has quit IRC23:48

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!