*** itlinux has quit IRC | 00:02 | |
*** jamesmcarthur has joined #openstack-trove | 01:14 | |
*** jamesmcarthur has quit IRC | 01:19 | |
*** rcernin has quit IRC | 03:25 | |
*** zhangfei has joined #openstack-trove | 03:26 | |
*** rcernin has joined #openstack-trove | 03:27 | |
*** rcernin has quit IRC | 03:28 | |
*** rcernin has joined #openstack-trove | 03:28 | |
*** zhangfei has quit IRC | 04:10 | |
*** Bhujay has joined #openstack-trove | 04:20 | |
*** Bhujay has quit IRC | 04:21 | |
*** Bhujay has joined #openstack-trove | 04:21 | |
*** Bhujay has quit IRC | 04:22 | |
*** Bhujay has joined #openstack-trove | 04:23 | |
*** zhangfei has joined #openstack-trove | 04:30 | |
*** itlinux has joined #openstack-trove | 05:45 | |
*** zhangfei has quit IRC | 08:02 | |
*** zhangfei has joined #openstack-trove | 08:24 | |
bzurkowski | tomtom: Sorry for late response | 09:06 |
---|---|---|
bzurkowski | What I suspected was that you had wrong image reference set for your datastore ("in datastore tables") | 09:06 |
bzurkowski | This is why I asked whether image reference on VM is correct | 09:07 |
bzurkowski | After you cleared datastore tables and reloaded image into Trove, the image was set correctly and the VM booted successfully | 09:10 |
bzurkowski | Now, Trove boots VMs with correct image instead of obsolete one that was loaded initialy | 09:10 |
bzurkowski | This is one possible scenario | 09:10 |
bzurkowski | Anyway, the VM booted and we are one step foreward | 09:13 |
bzurkowski | Good news :) | 09:13 |
bzurkowski | Regarding access to Trove instance | 09:16 |
bzurkowski | "keys not staged by host" | 09:17 |
bzurkowski | What is the context of this error? | 09:17 |
bzurkowski | Does it occur while building VM image using diskimage builder? | 09:17 |
*** rcernin has quit IRC | 09:18 | |
*** Bhujay has quit IRC | 09:24 | |
*** dkehn has quit IRC | 09:57 | |
*** maciejjozefczyk has quit IRC | 10:01 | |
*** Bhujay has joined #openstack-trove | 10:02 | |
*** maciejjozefczyk has joined #openstack-trove | 10:03 | |
*** Bhujay has quit IRC | 10:03 | |
*** Bhujay has joined #openstack-trove | 10:04 | |
*** Bhujay has quit IRC | 10:05 | |
*** Bhujay has joined #openstack-trove | 10:05 | |
*** Bhujay has quit IRC | 10:06 | |
*** Bhujay has joined #openstack-trove | 10:07 | |
*** maciejjozefczyk has quit IRC | 10:25 | |
*** maciejjozefczyk has joined #openstack-trove | 10:36 | |
*** zhangfei has quit IRC | 11:19 | |
*** Bhujay has quit IRC | 11:46 | |
*** Bhujay has joined #openstack-trove | 11:52 | |
*** Bhujay has quit IRC | 11:53 | |
*** Bhujay has joined #openstack-trove | 11:53 | |
*** Bhujay has quit IRC | 11:54 | |
*** Bhujay has joined #openstack-trove | 11:55 | |
*** Bhujay has quit IRC | 11:56 | |
*** Bhujay has joined #openstack-trove | 11:56 | |
*** Bhujay has quit IRC | 11:57 | |
*** Bhujay has joined #openstack-trove | 11:58 | |
*** Bhujay has quit IRC | 11:59 | |
*** Bhujay has joined #openstack-trove | 11:59 | |
*** Bhujay has quit IRC | 12:00 | |
*** Bhujay has joined #openstack-trove | 12:01 | |
*** dkehn has joined #openstack-trove | 12:52 | |
*** zhangfei has joined #openstack-trove | 13:42 | |
*** zhangfei has quit IRC | 13:52 | |
*** pgodek has joined #openstack-trove | 14:07 | |
*** Bhujay has quit IRC | 14:53 | |
tomtom001 | bzurkowski: so the context of the error is during the diskimage builder process. The script I showed you seems to always fail no matter what. I've read the bash script and I don't see where any failures should come into play, however, I can verify that the script doesn't seem to create the ssh keys as it should. | 14:59 |
*** itlinux has quit IRC | 15:00 | |
*** jamesmcarthur has joined #openstack-trove | 15:59 | |
*** jamesmcarthur has quit IRC | 15:59 | |
*** jamesmcarthur has joined #openstack-trove | 15:59 | |
*** itlinux has joined #openstack-trove | 16:04 | |
*** itlinux_ has joined #openstack-trove | 16:08 | |
*** itlinux has quit IRC | 16:12 | |
*** spa-87 has joined #openstack-trove | 16:27 | |
tomtom001 | bzurkowski: now I'm getting sudo unable to resolve hostname: <servername> | 16:42 |
*** tosky has joined #openstack-trove | 17:06 | |
*** jamesmcarthur has quit IRC | 17:16 | |
*** spa-87 has quit IRC | 17:20 | |
*** jamesmcarthur has joined #openstack-trove | 17:52 | |
bzurkowski | I found some archival content that may be helpful for your situation | 18:11 |
bzurkowski | The same "keys not staged by host" issue was reported on our channel a while ago: | 18:11 |
bzurkowski | http://eavesdrop.openstack.org/irclogs/%23openstack-trove/%23openstack-trove.2017-05-18.log.html | 18:11 |
bzurkowski | Above conversation links to the following page: | 18:12 |
bzurkowski | https://www.mail-archive.com/openstack-dev@lists.openstack.org/msg20137.html | 18:12 |
bzurkowski | One of our colleagues prepared a detailed note on building guest images and installing Trove via Devstack: | 18:14 |
bzurkowski | https://docs.google.com/document/d/17jQYV0X-qy6s1NwgU-bYJVt6oQBsaNSn5TZZkr1SQsg/edit?usp=sharing | 18:14 |
bzurkowski | It might be helpful as well | 18:15 |
bzurkowski | What's more, Trove team is currently working on adding image image building support to Trove Devstack plugin: | 18:16 |
bzurkowski | https://review.openstack.org/#/c/606960/ | 18:16 |
bzurkowski | It is ready and awaits review | 18:16 |
bzurkowski | Let me know if any of the provided resources was helpful for you ;) | 18:16 |
*** itlinux_ has quit IRC | 18:21 | |
*** itlinux has joined #openstack-trove | 18:21 | |
tomtom001 | dd: failed to open '/openstack/trove_images/backup/trove_guest/authorized_keys' | 18:43 |
tomtom001 | no matter where I put that file or how I permission it, that file cannot be found by the script: vi trove/integration/scripts/files/elements/ubuntu-guest/install.d/62-ssh-key | 18:44 |
tomtom001 | bzurkowski: I reviewed the documentation, but the devstack setup seems to be much different than a production setup, so it doesn't seem I can follow it to well. and that bug didn't see any activity and after searching the trove documentation I could not find anything on ssh keygen | 18:50 |
*** jamesmcarthur has quit IRC | 20:58 | |
*** rcernin has joined #openstack-trove | 21:22 | |
*** jamesmcarthur has joined #openstack-trove | 21:26 | |
*** jamesmcarthur has quit IRC | 21:27 | |
*** jamesmcarthur has joined #openstack-trove | 21:27 | |
*** jamesmcarthur has quit IRC | 21:30 | |
*** rcernin has quit IRC | 21:37 | |
*** cezary_zukowski_ has joined #openstack-trove | 21:45 | |
cezary_zukowski_ | tomtom001: responding to your concerns, I created some debuging information that might help you understand what is going under the hood, https://drive.google.com/drive/folders/1Owog_d4cNA4RaJIlcsMBXPgmiJVd5Fec?usp=sharing | 21:46 |
cezary_zukowski_ | please start with how_to_debug.txt | 21:47 |
cezary_zukowski_ | then, you can understand how ssh keys are copied around, i.e. I used checksums to verify whether the keyfiles are identical | 21:48 |
cezary_zukowski_ | examine the *.log files to understand that: | 21:48 |
cezary_zukowski_ | a0388e7a9d7177347e2637385a2c7ebd /tmp/dib_build.pjaUtqhs/hooks/id_rsa 2018-12-18 21:20:30.098 | + md5sum /home/ubuntu/.ssh/id_rsa 2018-12-18 21:20:30.101 | a0388e7a9d7177347e2637385a2c7ebd /home/ubuntu/.ssh/id_rsa | 21:48 |
cezary_zukowski_ | tomtom001: ^ | 21:48 |
cezary_zukowski_ | tomtom001: i.e. the checksums are equal | 21:49 |
cezary_zukowski | tomtom001: also, pay attention to the fact that extra.d is run before install.d and that install.d is in chroot environment (e.g. run as "inside" image, as far as I understand correctly) | 21:51 |
tomtom001 | bzurkowski, cezary_zukowski_ so I got an image to build. The issues that I ran into were 1) Don't run as root user: while the image is successfully built I believe it is built incorrectly; 2) Since it's running in a chroot environment, I believe not all directories such as ones in / and in /home are not necessarily available. By copying my .ssh files to a directory that is in chroot such | 21:55 |
tomtom001 | as /root (in my case) now the files can be found. 3) Whatever user is running the disk-image-create command should have write access to the directory from where it is run because the qcow2 image and manifest will be written there. | 21:55 |
cezary_zukowski | tomtom001: that's great, lets continue chat tomorrow :) | 22:00 |
tomtom001 | no problem, I appreciate your help. | 22:01 |
tomtom001 | I now need to get the image to update in trove and get it to boot without no bootable device error | 22:01 |
*** rcernin has joined #openstack-trove | 22:04 | |
*** jamesmcarthur has joined #openstack-trove | 22:11 | |
*** jamesmcarthur has quit IRC | 22:16 | |
*** rcernin has quit IRC | 22:37 | |
*** dkehn has quit IRC | 22:40 | |
*** dkehn has joined #openstack-trove | 22:41 | |
*** rcernin has joined #openstack-trove | 22:41 | |
*** rcernin has quit IRC | 22:43 | |
*** rcernin has joined #openstack-trove | 22:45 | |
*** itlinux has quit IRC | 22:56 | |
*** tosky has quit IRC | 23:40 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!