-
-
Notifications
You must be signed in to change notification settings - Fork 363
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
Creating Hetzner robot admin sub-account fails (2017) #778
Comments
@basvandijk: Yep, Hetzner has changed their login mechanism for the Robot, see aszlig/hetzner#26. I tried to fix it but it's a bit more involved, so maybe by the end of the week if there aren't any more surprises. |
As a side note, we might want to make it easier to do that step manually if the scraper fails the next time this happens. Right now you need to temporarily set
|
@aszlig thanks for showing the workaround! Let me know if I can help in any way with fixing the login problem. Do you have to reverse engineer the login procedure or is there any API documentation? |
@basvandijk: I've fixed the login with aszlig/hetzner@2ed0b03, can you try whether it works now with the latest master version of the |
@aszlig with the latest master of the hetzner library nixops can now successfully create a sub-account. Thanks! Now I face a new problem:
|
It's working now. The problem was that by default I specify:
I had to temporarily switch it to 22. |
@basvandijk: Hm, I wonder why it failed on reboot and not way before rebooting while |
@aszlig it did fail when trying to reboot to the rescue system. I think it's a good idea to make a new release of your |
New features: * Support for retrieving reverse PTRs. * Support for subnet-ranges. * Add logging (aszlig/hetzner#14). Fixes: * Hide internal methods from the public API. * Fix Python 3 compatibility. * Fix for creating admin accounts with Hetzner's new login site. * Fix __repr__/__str__ issue with some exceptions (aszlig/hetzner#23). * Fix login for RobotWebInterface Changes for the hetznerctl utility: * show: Show subnets * show: Show reverse PTRs * New 'rdns' subcommand for getting/setting/removing reverse-PTRs. * Use 'argparse' instead of 'optparse'. * Add command for managing admin accounts. * New '--debug' flag for printing debugging information. This also fixes NixOS/nixops#778. Tested building against Python 2.7 and Python 3.6. Signed-off-by: aszlig <aszlig@nix.build> (cherry picked from commit 6841064) Reason: This unbreaks the NixOps Hetzner target, because the admin sub-account couldn't be created on initial deploy.
I get a
hetzner.WebRobotError
exception when provisioning a new Hetzner machine. This is with nixops-1.5.2 on NixOS-17.09.When I upgrade nixops to the latest HEAD (9203440) I get the same error:
When I upgrade the
hetzner
python library to the latest HEAD with the following bugfix: aszlig/hetzner#28 I get a different error:@aszlig any idea what's going wrong?
The text was updated successfully, but these errors were encountered: