Friday, 2021-03-12

*** anticw has joined #airshipit01:00
*** ianychoi_ has joined #airshipit03:27
*** ianychoi__ has quit IRC03:30
*** thansen has quit IRC05:34
*** thansen has joined #airshipit05:47
*** ianychoi_ has quit IRC08:32
airship-irc-bot1<ratnopam.chakrabarti> Hi, I am trying to use NetworkCatalogue for subcluster-networking from treasuremap/manifests/site/virtual-network-cloud/ and the validate_docs is failing with below error  ```accumulateFile error: "accumulating resources from 'nodes': '/tmp/default/treasuremap/manifests/site/virtual-network-cloud/target/workers/nodes' must resolve to a file"         * accumulateDirector error: "recursed accumulation of path15:13
airship-irc-bot1'/tmp/default/treasuremap/manifests/site/virtual-network-cloud/target/workers/nodes': loading generator plugins: expected file with Go object code at: airshipit.org/v1alpha1/networkcatalogue/NetworkCatalogue.so"``` Any thoughts on how to fix this error?15:13
airship-irc-bot1<kk6740> I think that may mean that annotation with plugin kustomization is missing15:17
airship-irc-bot1<kk6740> @aodinokov may have more experience with it15:18
airship-irc-bot1<ratnopam.chakrabarti> Thanks @kk6740.  airshipctl phase render workers-target results with same error. whereas initinfra-target works fine.15:19
airship-irc-bot1<mf4716> HCO Cores, review and WF+1 needed please - https://review.opendev.org/c/airship/hostconfig-operator/+/77917615:19
airship-irc-bot1<ratnopam.chakrabarti> I am wondering if some clean up patch needs to be added for NetworkCatalogue15:19
airship-irc-bot1<ratnopam.chakrabarti> not sure where to add it though15:19
airship-irc-bot1<aodinokov> yes, you need to add some cleanup .. here is the example  https://github.com/airshipit/airshipctl/tree/master/manifests/site/test-site/target/catalogues/cleanup15:27
airship-irc-bot1<aodinokov> typically we're adding cleanup directory to the directory where catalog is located15:27
airship-irc-bot1<aodinokov> it's conveneint -because you're using that catalogs as resources, but after that you need to clean that up and you just call in transformers <the same folder>/cleanup15:28
airship-irc-bot1<aodinokov> like here15:29
airship-irc-bot1<aodinokov> https://github.com/airshipit/airshipctl/blob/master/manifests/site/test-site/target/controlplane/hostgenerator/kustomization.yaml15:29
airship-irc-bot1<aodinokov> you have in resources ../../catalogues15:29
airship-irc-bot1<aodinokov> and we calling ../../catalogues/cleanup to make them disappear :slightly_smiling_face:15:30
airship-irc-bot1<aodinokov> @ratnopam.chakrabarti15:30
airship-irc-bot1<ratnopam.chakrabarti> Thanks a lot @aodinokov , I'll try it out.15:33
airship-irc-bot1<sirajudeen.yasin> Team, can i request some reviews on this PS https://review.opendev.org/c/airship/airshipctl/+/774251  => generate ssh key pair as part of the generate-secret step => use the public key from the generate keypair to inject into manifest using replacements => to access target and worker nodes using ssh, user has to render secrets and extract the private key portion of it and use that to ssh to nodes => This will be used for17:26
airship-irc-bot1the HCO to prepare ansible inventory of nodes to perform any Day2 operations17:26
airship-irc-bot1<ratnopam.chakrabarti> thanks @aodinokov, i got it working by adding the delete patch.17:47
*** thansen has quit IRC19:50
*** thansen has joined #airshipit19:50

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