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

How to efficiently hack / debug initial deployment issues? #6

Open
paluh opened this issue Jan 20, 2020 · 0 comments
Open

How to efficiently hack / debug initial deployment issues? #6

paluh opened this issue Jan 20, 2020 · 0 comments

Comments

@paluh
Copy link

paluh commented Jan 20, 2020

Thanks a lot for building nixops and also providing nixops-hetzner out of the box!

I've tried during last few days to debug some issues related to the initial machine provisioning and partitioning. I've ended up commenting some lines and adding some debug prints into the code and rerunning nixops deploy etc. because upload of boostrap file was really slow in case of my network and I needed access to the current rescue mode. I've few related questions:

  • Do you think that adding something like boostrapUrl with an image url for download to avoid time consuming upload would be desired?

  • Do you think that in debug mode "hetzner rescue mode password" (it is one time password) can be printed out from the nixops-hetzner so when it fails in initial phase it is possible to access this machine in its current state easily?

  • I've tried to add some options to HetznerState using attr_property somewhere here and using it here and in machine config (through hetzner.someNewOption) without success. I had received xml parsing errors from nixops package. Could you please suggest me how to add an attribute to the state?

  • The most general question is how to debug nixops and nixops-hetzner at the same time?

Sorry if my questions are imprecise or basic but I'm still learning Nix ;-)

@paluh paluh changed the title How to efficiently hack / debug initial deployment issues How to efficiently hack / debug initial deployment issues? Jan 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant