/* * Michael R. Hines * Platform Engineer, DigitalOcean. */
I have tried several times and just dont get the notification that it hit an error in time to stop the service before the termination request is sent.
On Tue, Feb 23, 2016 at 12:39 PM, Michael R. Hines <mhi...@digitalocean.com> wrote:
The reason for the error is located in a different log file: /var/log/cloudbench/XXXXX_remotescripts.log
This happens all the time when users make images from scratch ----- no biggie, we can help you.
Open up that log file and scan through it quickly......
Then, to reproduce the problem, just CTRL-Z cbtool (stop the process) when you see the "cb_post_boot.sh" log message, and then login to the VM and try to run the script manually, like this:
$ ~/cbtool/scripts/common/cb_post_boot.sh
At that point, the culprit error should appear (if you didn't already see it in the log file).
/*
* Michael R. Hines
* Platform Engineer, DigitalOcean.
*/
On 02/23/2016 11:26 AM, James Scollard wrote:
/* * Michael R. Hines * Platform Engineer, DigitalOcean. */
...
Hello James,
Just checked your pastebin output. Additional questions:
1) Can you confirm that the contents of OpenStack public key "root_default_cbtool_rsa" (checked with "nova keypair-show root_default_cbtool_rsa") and the contents of cbtool/credentials/cbtool_rsa.pub are the same?
2) Can you confirm, on a newly booted instance (please use the "vmdev" command on CB's CLI before attaching a new VM), that this public key was indeed injected (by cloud-init) on /home/ubuntun/.ssh/authorized_keys?
Regards,
Marcio
-------------------------------------------------------------
Marcio A. Silva, PhD.
Software Engineer
DataCenter Systems Software
IBM Thomas J. Watson Research Center
Yorktown Heights NY 10598-0218
phone: 1-914-945-2911, fax: 1-914-945-4254
e-mail: mar...@us.ibm.com
James Scollard ---02/29/2016 09:23:02---Apparently I spoke too soon. After a reload (./cb -x) I am back to getting the ssh key errors:
/* * Michael R. Hines * Platform Engineer, DigitalOcean. */
Hello James,
Is it possible for you access the instances through the (VNC) console (e.g., in Horizon)?
Assuming that the contents of both "root_default_cbtool_rsa" and cbtool/credentials/cbtool_rsa.pub are the same, and that the instance was indeed booted with the "root_default_cbtool_rsa" pubkey, I can only conceive the problem as occurring on the instance initialization.
Since you asked, no, pubkey ssh problems are not normal at all. Usually, ssh pubkey injection through cloud-init "just works" in OpenStack and there isn't any need to further debug.
Regards,
Marcio
-------------------------------------------------------------
Marcio A. Silva, PhD.
Software Engineer
DataCenter Systems Software
IBM Thomas J. Watson Research Center
Yorktown Heights NY 10598-0218
phone: 1-914-945-2911, fax: 1-914-945-4254
e-mail: mar...@us.ibm.com
James Scollard ---02/29/2016 13:37:54---Since i can no longer SSH to instances that CB is creating with its key that it created and manages
From: James Scollard <spyde...@gmail.com>
To: cbtool-users <cbtool...@googlegroups.com>
Cc: spyde...@gmail.com, Marcio A Silva/Watson/IBM@IBMUS
Date: 02/29/2016 13:37
Subject: Re: Cloudbench Instance Failures after Successful Bootstrap
Sent by: cbtool...@googlegroups.com
Since i can no longer SSH to instances that CB is creating with its key that it created and manages there is no way to see what the current error is. Why do SSH keys keep breaking? Is this normal? We haven't made any changes.
Thanks.
On Monday, February 29, 2016 at 10:26:29 AM UTC-5, Marcio A Silva wrote:
/* * Michael R. Hines * Platform Engineer, DigitalOcean. */
/* * Michael R. Hines * Platform Engineer, DigitalOcean. */
...
/* * Michael R. Hines * Platform Engineer, DigitalOcean. */
...
/* * Michael R. Hines * Platform Engineer, DigitalOcean. */