Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Charts[Network Node]: Use NMT To Install Node Software In ubi8-init-dind Root Container #176

Closed
Tracked by #111
leninmehedy opened this issue Jul 12, 2023 · 1 comment · Fixed by #178
Closed
Tracked by #111
Assignees
Labels
Feature Enhancement Enhancing an existing feature driven by business requirements. Typically backwards compatible. released
Milestone

Comments

@leninmehedy
Copy link
Member

leninmehedy commented Jul 12, 2023

User Story

As a FST user
I want to
Run node software from my local machine in the deployed network node container
So that
I can run my tests using the deployed hedera network.

Assumptions:

  • User is running a local kind cluster
  • User is able to run helm command
  • User is able to deploy FST helm chart
  • User is able to run kubectl locally
  • User has pre-generated hedera gossip and TLS keys (we can use NMT keys command node-mgmt-tool keys...)

Requirements:

  • Ability to install NMT release in the root container using kubectl
  • Ability to install local code in the root container using kubectl
  • Ability to copy and install key files in the root container using kubectl OR use nmt keys command
  • Ability to start the node using kubectl exec ... and ensure it is running
  • Create a bash script to do the above and save in charts/hedera-network/configs/tests/run-node-dind.sh so that we can use this to run automated tests later

Steps:

  • Ensure root-container can be run with ghcr.io/hashgraph/full-stack-testing/ubi8-init-dind:0.2.0
  • Ensure node software artifact build-v0.35.2.zip is copied using kubectl
  • Copy pre-generated gossip and TLS keys at the below locations:
    • TLS key file: hedera.* key files in /opt/hgcapp/services-hedera/HapiApp2.0/
    • Gossip Keys: *.pfx files in /opt/hgcapp/services-hedera/HapiApp2.0/data/keys
  • Install node software using NMT
  • Start node software using NMT
  • Ensure the node software is running by checking the logs
@github-project-automation github-project-automation bot moved this to 🆕 New in FST Suite Jul 12, 2023
@leninmehedy leninmehedy self-assigned this Jul 12, 2023
@leninmehedy leninmehedy added the Feature Enhancement Enhancing an existing feature driven by business requirements. Typically backwards compatible. label Jul 12, 2023
@leninmehedy leninmehedy moved this from 🆕 New to 🔖 Ready in FST Suite Jul 12, 2023
@leninmehedy leninmehedy moved this from 🔖 Ready to 🏗 In progress in FST Suite Jul 12, 2023
@leninmehedy leninmehedy linked a pull request Jul 13, 2023 that will close this issue
@nathanklick nathanklick added this to the v0.4.0 milestone Jul 18, 2023
@nathanklick nathanklick changed the title Charts[Network Node]: Use NMT To Install Node Software In ub8-init-dind Root Container Charts[Network Node]: Use NMT To Install Node Software In ubi8-init-dind Root Container Jul 27, 2023
@jeromy-cannon jeromy-cannon modified the milestone: v0.4.0 Jul 27, 2023
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in FST Suite Jul 27, 2023
@swirlds-automation
Copy link
Contributor

🎉 This issue has been resolved in version 0.4.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Enhancement Enhancing an existing feature driven by business requirements. Typically backwards compatible. released
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

4 participants