Friday, 2021-02-05

*** ianychoi__ has quit IRC00:37
*** ianychoi__ has joined #airshipit00:37
*** raildo has quit IRC01:10
*** raildo has joined #airshipit01:10
*** dasp has quit IRC02:04
*** dasp has joined #airshipit02:32
*** uzumaki has joined #airshipit07:10
*** GoldenBear has joined #airshipit07:58
*** GoldenBear has quit IRC08:30
*** uzumaki has quit IRC09:32
*** uzumaki has joined #airshipit13:30
*** uzumaki has quit IRC13:36
airship-irc-bot1<outbackdingo> trying to deploy airship based on https://docs.airshipit.org/airshipctl/developers.html and its failing at Step 5  sudo -E ./tools/deployment/24_build_images.sh  https://pastebin.com/sjAZjeig15:33
airship-irc-bot1<kk6740> i think u are missing encryption key variable exported15:34
airship-irc-bot1<kk6740> can u check if SOPS_IMPORT_PGP variable is populated with the correct value? echo $SOPS_IMPORT_PGP15:35
airship-irc-bot1<outbackdingo> @kk6740 seems like its there... you see anything wrong ? https://pastebin.com/8MWi1WkM15:42
airship-irc-bot1<kk6740> @aodinokov maybe u can help to understand why decryption failing?15:44
airship-irc-bot1<kk6740> https://pastebin.com/sjAZjeig15:44
airship-irc-bot1<alexander.hughes> pastebin is blocked on my machine, this *may* be related, but the dev guide changed recently, and removed the systemwide_executable script15:46
airship-irc-bot1<alexander.hughes> https://review.opendev.org/c/airship/airshipctl/+/773938/5/docs/source/developers.md15:46
airship-irc-bot1<sirajudeen.yasin> Also i dont see quote in the content when i try echo $SOPS_IMPORT_PGP in the console, not sure if thats only on the editor or even apperas on console15:47
airship-irc-bot1<sirajudeen.yasin> can you also pls check if this quoted as well, echo $SOPS_PGP_FP15:50
airship-irc-bot1<sirajudeen.yasin> in my local environment i just see the content without any quotes15:50
airship-irc-bot1<kk6740> ```export SOPS_IMPORT_PGP="$(cat /tmp/key.asc)"```15:50
airship-irc-bot1<kk6740> that is how it is populated, should be alirght15:51
airship-irc-bot1<outbackdingo> echo $SOPS_PGP_FP ”FBC7B9E2A4F9289AC0C1D4843D16CEE4A27381B4”15:51
airship-irc-bot1<sirajudeen.yasin> I think i got the issue15:51
airship-irc-bot1<sirajudeen.yasin> when i copy paste the command from doc, it adds quote15:52
airship-irc-bot1<outbackdingo> yupp just saw that15:52
airship-irc-bot1<sirajudeen.yasin> can u pls type that command instead of copy paste15:52
airship-irc-bot1<sirajudeen.yasin> something to do with the copy paste when it has "15:52
airship-irc-bot1<alexander.hughes> is there any reason why these steps are manual?  can we just script them and add to the tools folder15:52
airship-irc-bot1<alexander.hughes> ```     curl -fsSL -o /tmp/key.asc https://raw.githubusercontent.com/mozilla/sops/master/pgp/sops_functional_tests_key.asc     export SOPS_IMPORT_PGP="$(cat /tmp/key.asc)"     export SOPS_PGP_FP="FBC7B9E2A4F9289AC0C1D4843D16CEE4A27381B4"```15:53
airship-irc-bot1<sirajudeen.yasin> sure @alexander.hughes, we will check options to hook it into gate scripts15:53
airship-irc-bot1<alexander.hughes> thanks15:54
airship-irc-bot1<outbackdingo> @alexander.hughes i just copies what you put in  slack now, and it does work, your right copying from the devel page it failsd15:55
airship-irc-bot1<sirajudeen.yasin> yes, this is formated text15:56
airship-irc-bot1<kk6740> @sirajudeen.yasin nice catch!15:57
airship-irc-bot1<sirajudeen.yasin> i think wrapping those commands in some code/pre block in doc should help now15:57
airship-irc-bot1<alexander.hughes> +115:57
airship-irc-bot1<outbackdingo> sudo -E ./tools/deployment/30_deploy_controlplane.sh is also failing  https://pastebin.com/uJx2Sg8q16:09
airship-irc-bot1<kk6740> this looks like namespace is not defined17:24
airship-irc-bot1<kk6740> are u using latest master?17:25
*** yarokifor has joined #airshipit19:13
yarokiforHello! I was wondering if there's a reference document for all the schemas19:14
*** yarokifor has quit IRC19:41
airship-irc-bot1<mattmceuen> yarokifor: hello!  can you be more specific - what kind of schemas are you looking at?19:44
airship-irc-bot1<mattmceuen> @alexander.hughes I'm looking for the right place to plug in IP reservation into the vino controller, and I think it's right in the middle of your commented out code :slightly_smiling_face:  e.g., we now have a way to generate values that can be plugged into these:  https://opendev.org/airship/vino/src/branch/master/pkg/controllers/vino_controller.go#L13419:46
airship-irc-bot1<mattmceuen> What are the steps toward getting your initial BMH generation uncommented?19:46
*** YaroKifor has joined #airshipit20:00
*** raildo has quit IRC20:18
airship-irc-bot1<alexander.hughes> @mattmceuen I'm actually handing this work off to @kk6740 since I got reassigned to something else.  what I would think is that for initial testing we can uncomment this and just plug it in as a constant -- but the current code will try to create multiple vBMH as "airship-test-cr"  the solution I wanted to work towards is adding some additional code that would read in the CR (WIP here:20:21
airship-irc-bot1https://review.opendev.org/c/airship/vino/+/773473 ) and then lookup the needed information per node and compare it to what the CR is requesting, and create the vBMH that way20:21
*** raildo has joined #airshipit20:23
airship-irc-bot1<mattmceuen> Perfect, thanks @alexander.hughes - that gives me something to chew on21:02
*** raildo_ has joined #airshipit21:24
*** raildo has quit IRC21:26
airship-irc-bot1<alexander.hughes> my pleasure21:29
*** raildo__ has joined #airshipit21:29
*** raildo_ has quit IRC21:32
*** raildo__ has quit IRC21:35
*** dasp_ has joined #airshipit22:18
*** dasp has quit IRC22:20
airship-irc-bot1<aodinokov> oh... just noticed that. your pastebin says that you have not complete set of keys... you need a private key with fp: FBC7B9E2A4F9289AC0C1D4843D16CEE4A27381B4 , but you imported only public key that ends with the same fp '3D16CEE4A27381B4'. and since there is no private key sops can't decrypt22:44
airship-irc-bot1<aodinokov> probably need to include it to the documentation22:56
airship-irc-bot1<kk6740> Fixed :)22:57
*** YaroKifor has quit IRC23:55

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