Wednesday, 2021-03-10

airship-irc-bot1<sidney.shiba> Hi team, I am using the `treasuremap`  `airship-core` type `test-site` as baseline to create the `subcluster` type and `subcluster-test-site`. Got stuck on the web of `subcluster-test-site` kustomization so decided to check if I can at least deploy `test-site` and it is erroring and need help. I am running the tools/deployment scripts and it failed in `sudo tools/deployment/24_build_images.sh`. Snippet of error below.  Can00:18
airship-irc-bot1someone let me know if treasuremap `test-site` works?  `...`  `Failed to get the data key required to decrypt the SOPS file.`  `Group 0: FAILED`   `FBC7B9E2A4F9289AC0C1D4843D16CEE4A27381B4: FAILED`     `- | could not decrypt data key with PGP key:`       `| golang.org/x/crypto/openpgp error: Could not load secring:`       `| open /tmp/secring.gpg: no such file or directory; GPG binary`       `| error: exit status 2`  `Recovery failed because00:18
airship-irc-bot1no master key was able to decrypt the file. In` `order for SOPS to recover the file, at least one key has to be successful,` `but none were.`  `accumulating resources: 2 errors occurred:` `* accumulateFile error: "accumulating resources from '../kubeconfig': '/tmp/default/treasuremap/manifests/site/test-site/kubeconfig' must resolve to a file"` `* accumulateDirector error: "recursed accumulation of path00:18
airship-irc-bot1'/tmp/default/treasuremap/manifests/site/test-site/kubeconfig': accumulating resources: 2 errors occurred:\n\t* accumulateFile error: \"accumulating resources from '../target/catalogues': '/tmp/default/treasuremap/manifests/site/test-site/target/catalogues' must resolve to a file\"\n\t* accumulateDirector error: \"recursed accumulation of path '/tmp/default/treasuremap/manifests/site/test-site/target/catalogues': accumulating resources: 200:18
airship-irc-bot1errors occurred:\\n\\t* accumulateFile error: \\\"accumulating resources from '../generator/results': '/tmp/default/treasuremap/manifests/site/test-site/target/generator/results' must resolve to a file\\\"\\n\\t* accumulateDirector error: \\\"recursed accumulation of path '/tmp/default/treasuremap/manifests/site/test-site/target/generator/results': couldn't execute function: exit status 1 \\\"\\n\\n\"\n\n"`00:18
airship-irc-bot1<raliev> @sidney.shiba looks like you have to initialize following env variables to proceed ```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```00:20
airship-irc-bot1<sidney.shiba> Hi Ruslan, I'm still getting the same error.00:26
airship-irc-bot1<raliev> you are trying to do perform this command, right? `sudo tools/deployment/24_build_images.sh`00:27
airship-irc-bot1<sidney.shiba> yes00:28
airship-irc-bot1<sidney.shiba> ok, added the env variables in the script and now moving ahead. Thanks.00:29
airship-irc-bot1<raliev> :+1:00:30
airship-irc-bot1<sidney.shiba> Now getting a strange error: `...` `gpg:       secret keys read: 2` `gpg:   secret keys imported: 2` `[airshipctl] 2021/03/10 00:29:58 opendev.org/airship/airshipctl@/pkg/cluster/clustermap/map.go:64: cluster  is not defined in cluster map &{{ClusterMap airshipit.org/v1alpha1} {main-map      0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[airshipit.org/deploy-k8s:false] map[config.kubernetes.io/path:clustermap_main-map.yaml] []00:31
airship-irc-bot1[]  []} map[ephemeral-cluster:0xc000f44be0 target-cluster:0xc000f44c30]}` `error creating new loader with git: uri looks like abs path: /tmp/default/treasuremap/manifests/site/test-site/empty, dir: evalsymlink failure on '/tmp/default/treasuremap/manifests/site/test-site/empty' : lstat /tmp/default/treasuremap/manifests/site/test-site/empty: no such file or directory, get: invalid source string:00:31
airship-irc-bot1/tmp/default/treasuremap/manifests/site/test-site/empty`00:31
airship-irc-bot1<sidney.shiba> Hi @raliev, any idea or should I create a new post to the airshipit channel?00:37
airship-irc-bot1<raliev> I believe it's because treasuremap pins specific version of airshipctl and it has to bumped due to recent changes. current version is defined here `https://github.com/airshipit/treasuremap/blob/v2/playbooks/airship-treasuremap-gate-runner.yaml#L19` try to bump it to this SHA1 at least `6523c800ad2d9c593cca67a86e8b3cc7eda3f6f9` since `empty`  folder was introduced here https://review.opendev.org/c/airship/airshipctl/+/77435000:39
airship-irc-bot1<raliev> @sidney.shiba ^00:39
airship-irc-bot1<sidney.shiba> ok, thanks for the help.00:42
airship-irc-bot1<sidney.shiba> @raliev I passed the previous error but not getting error when `sudo tools/deployment/25_deploy_ephemeral_node.sh`:  `...` `gpg:       secret keys read: 2` `gpg:   secret keys imported: 2` `[airshipctl] 2021/03/10 00:48:17 opendev.org/airship/airshipctl@/pkg/inventory/baremetal/baremetal.go:73: Using selector {node02  } to filter one baremetal host` `[airshipctl] 2021/03/10 00:48:1700:51
airship-irc-bot1opendev.org/airship/airshipctl@/pkg/remote/redfish/client.go:283: Bootstrapping ephemeral host with ID 'air-ephemeral' and BMC Address 'redfish+https://10.23.25.1:8443/redfish/v1/Systems/air-ephemeral'.` `[airshipctl] 2021/03/10 00:48:47 opendev.org/airship/airshipctl@/pkg/events/processor.go:60: Received error on event channel {redfish client encountered an error: HTTP request failed. Redfish may be temporarily unavailable. Please try again.00:51
airship-irc-bot1original error Get https://10.23.25.1:8443/redfish/v1/Systems/air-ephemeral: dial tcp 10.23.25.1:8443: i/o timeout}` `Error events received on channel, errors are:` `[redfish client encountered an error: HTTP request failed. Redfish may be temporarily unavailable. Please try again. original error Get https://10.23.25.1:8443/redfish/v1/Systems/air-ephemeral: dial tcp 10.23.25.1:8443: i/o timeout]`00:51
airship-irc-bot1<raliev> looks loke smth happened with redfish. you should probably run build_gate script first00:58
airship-irc-bot1<raliev> since it's responsible for establishing redfish server00:59
airship-irc-bot1<sidney.shiba> ooh, ok.  I was running the scripts from `treasuremap/tools/deployment` manually instead of running the `airshipctl/tools/gate` scripts. Thanks.01:07
airship-irc-bot1<raliev> just run the build_gate.sh script from airshipctl, then I believe you should be able to run scripts from  `treasuremap/tools/deployment` individually01:08
airship-irc-bot1<raliev> @sidney.shiba ^01:09
airship-irc-bot1<sidney.shiba> ok, trying it now. Btw, I saw that `treasuremap` has its own ansible playbooks so why isn't gate scripts in `treasuremap` so we don't have to go through this "joggling".01:11
airship-irc-bot1<sidney.shiba> Was just curious. No need to answer the last statement.01:12
airship-irc-bot1<raliev> I don't really know, I'm not active contributor of treasuremap repo, may be Drew or Matt knows :slightly_smiling_face:01:14
airship-irc-bot1<sidney.shiba> Working now. Thanks.01:14
airship-irc-bot1<raliev> :thumbsup:01:16
*** mattmceuen_ has joined #airshipit01:31
*** mattmceuen has quit IRC01:38
*** mattmceuen_ is now known as mattmceuen01:39
*** uzumaki has joined #airshipit04:48
*** uzumaki has quit IRC05:45
*** SRao has joined #airshipit15:58
airship-irc-bot1<ratnopam.chakrabarti> While running validate_docs in treasuremap, running into the following error : ```+ for phase in $phases + echo -e '\n*** Rendering target-cluster/workers-classification'  *** Rendering target-cluster/workers-classification + /usr/local/bin/airshipctl --airshipconf /tmp/tmp.GsMBnOJ88Y/config phase render workers-classification -s executor -k CustomResourceDefinition error creating new loader with git: uri looks like abs16:07
airship-irc-bot1path: /tmp/default/treasuremap/manifests/site/test-site/target/workers/provision, dir: evalsymlink failure on '/tmp/default/treasuremap/manifests/site/test-site/target/workers/provision' : lstat /tmp/default/treasuremap/manifests/site/test-site/target/workers/provision: no such file or directory, get: invalid source string: /tmp/default/treasuremap/manifests/site/test-site/target/workers/provision + cleanup``` anybody knows how to fix it? I16:07
airship-irc-bot1ran the 23_pull_documents.sh script but didn't help...16:07
airship-irc-bot1<sirajudeen.yasin> @ratnopam.chakrabarti, can you check if your repos are cloned in /tmp/default17:48
airship-irc-bot1<sirajudeen.yasin> both airshipctl and treasuremap17:48
airship-irc-bot1<sirajudeen.yasin> are you working on the open PS ( review PS ), document pull would fail to fecth a open PS17:50
airship-irc-bot1<ratnopam.chakrabarti> @sirajudeen.yasin I have them in $HOME and changed the target paths in ~/.airship/config to point to these...should I not do that and directly git clone in /tmp/default?18:10
airship-irc-bot1<ratnopam.chakrabarti> this is the PS https://review.opendev.org/c/airship/treasuremap/+/778359/18:12
airship-irc-bot1<sirajudeen.yasin> are you trying to test your PS in your local env ?18:15
airship-irc-bot1<ratnopam.chakrabarti> exactly18:16
airship-irc-bot1<sirajudeen.yasin> ok. one simple way is to run 22 script for config generation... do not update the target path.. rather cp -r airshipctl and treasuremap to /tmp/default and proceed with next step18:18
airship-irc-bot1<sirajudeen.yasin> see if that help for your local testing18:18
airship-irc-bot1<ratnopam.chakrabarti> ok will try that...thx18:22
*** uzumaki has joined #airshipit18:26
*** SRao has quit IRC18:31
*** SRao has joined #airshipit18:32
airship-irc-bot1<raliev> Team, please review the following PS (this code is no longer needed and should be removed): https://review.opendev.org/c/airship/airshipctl/+/779329 https://review.opendev.org/c/airship/airshipctl/+/779330 https://review.opendev.org/c/airship/airshipctl/+/77933119:20
*** mugsie__ has joined #airshipit19:37
*** mugsie has quit IRC19:42
*** irclogbot_2 has quit IRC19:44
*** mugsie__ is now known as mugsie19:47
*** sreejithp has joined #airshipit19:49
*** vdrok has quit IRC21:37
*** vdrok has joined #airshipit21:37
airship-irc-bot1<james.gu> Does anyone know where to find the network configuration data in the generated ephemeral iso? I can only find the /src/iamge/network_data, but not in the ephemeral.iso itself. The ephemeral node stuck during cloud-init when checking if the oam interface is up and pinging the gate way of the OAM. I was able to installthe vanilla Ubuntu os and have oam connected, so physical networking is fine. TIA!22:47
*** uzumaki has quit IRC23:49

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