*** gkadam has joined #openstack-kayobe | 01:16 | |
*** gkadam has quit IRC | 01:40 | |
*** JamesBenson has joined #openstack-kayobe | 02:31 | |
*** gkadam has joined #openstack-kayobe | 03:23 | |
*** gkadam has quit IRC | 03:23 | |
*** JamesBenson has quit IRC | 03:59 | |
*** radeks has joined #openstack-kayobe | 05:50 | |
*** oneswig has joined #openstack-kayobe | 08:22 | |
*** oneswig has quit IRC | 08:28 | |
*** oneswig has joined #openstack-kayobe | 08:31 | |
*** ktibi has joined #openstack-kayobe | 08:34 | |
*** ktibi has quit IRC | 08:41 | |
*** ktibi has joined #openstack-kayobe | 08:42 | |
*** openstackgerrit has joined #openstack-kayobe | 08:42 | |
openstackgerrit | Pierre Riteau proposed x/kayobe master: Fix table generation https://review.opendev.org/659748 | 08:42 |
---|---|---|
*** harsha has joined #openstack-kayobe | 08:57 | |
*** harsha has quit IRC | 08:59 | |
*** harsha has joined #openstack-kayobe | 08:59 | |
*** oneswig has quit IRC | 09:00 | |
harsha | mgoddard: when i run "$ openstack baremetal node inspect" the server does reboot and show "Boot to PXE requested" - https://lh3.googleusercontent.com/-gvJK7ZNTBmI/XN5uCPzRRYI/AAAAAAAADG8/VYXB3uWNWCAeSLtYfPHqrAD4LPzUTHvHACK8BGAs/s0/2019-05-17.jpg | 09:01 |
harsha | But then after a while, it just boots into existing os and the "$ openstack baremetal node show " shows "inspect wait" now | 09:02 |
*** oneswig has joined #openstack-kayobe | 09:06 | |
*** oneswig has quit IRC | 09:14 | |
*** oneswig has joined #openstack-kayobe | 09:21 | |
*** harsha has quit IRC | 09:23 | |
*** oneswig has quit IRC | 10:04 | |
*** oneswig has joined #openstack-kayobe | 10:10 | |
*** oneswig has quit IRC | 10:15 | |
*** ktibi has quit IRC | 10:15 | |
*** ktibi has joined #openstack-kayobe | 10:16 | |
*** oneswig has joined #openstack-kayobe | 10:21 | |
*** ktibi has quit IRC | 10:22 | |
*** oneswig has quit IRC | 11:00 | |
*** oneswig has joined #openstack-kayobe | 11:01 | |
*** oneswig has quit IRC | 11:05 | |
*** kgz has joined #openstack-kayobe | 11:08 | |
*** cesarmarcondes has joined #openstack-kayobe | 11:08 | |
cesarmarcondes | good morning | 11:09 |
cesarmarcondes | I’m trying to reproduce a hands-on workshop that I participated in Denver | 11:09 |
cesarmarcondes | https://github.com/stackhpc/a-universe-from-nothing#creating-a-seed-image | 11:09 |
cesarmarcondes | universe-from-nothing | 11:10 |
cesarmarcondes | I’m trying to create the seed image, but i got some ssh password error. | 11:10 |
cesarmarcondes | I have a bare metal machine, installed CentOS 7, and KVM. | 11:10 |
mgoddard | hello cesarmarcondes | 11:10 |
cesarmarcondes | then I started the steps in https://github.com/stackhpc/a-universe-from-nothing#creating-a-seed-image | 11:10 |
cesarmarcondes | in the step “# Deploy hypervisor services.” | 11:11 |
mgoddard | cesarmarcondes: I don't know when you last checked the README, but it was updated recently | 11:11 |
cesarmarcondes | it asks me for a ssh password for stack@192.168.. | 11:11 |
cesarmarcondes | mgoddard - i’m using the most updated one. | 11:12 |
mgoddard | cesarmarcondes: which host are you trying to access? | 11:12 |
cesarmarcondes | I’m trying to reproduce the “Creating a Seed Image” step. | 11:13 |
cesarmarcondes | I assume that those commands must be executed from the bare metal machine. | 11:13 |
cesarmarcondes | I’m using a bare metal machine at home | 11:13 |
mgoddard | that's correct. So I expect you're trying to access the seed VM | 11:14 |
cesarmarcondes | I assume those commands create a “seed VM” in the end, so that the hands-on workshop can start. | 11:14 |
mgoddard | that's right | 11:15 |
cesarmarcondes | right, but there is no seed VM in the beginning, i don’t understand why it asks for a ssh password, early in the process. | 11:15 |
cesarmarcondes | but afterwards, ansible gives error saying “ssh not password” something like that. | 11:16 |
cesarmarcondes | the bootstrap process stops. | 11:16 |
mgoddard | which user account are you using? | 11:16 |
cesarmarcondes | i create a user account cesarmarcondes on my bare metal machine. | 11:16 |
mgoddard | I think ansible must be trying to ssh to localhost | 11:16 |
cesarmarcondes | do i need to create a stack account? | 11:16 |
cesarmarcondes | yes, i think so,, because ssh responds and asks for password. | 11:17 |
mgoddard | by default, kayobe should use your user account to create a stack user | 11:17 |
mgoddard | to test, can you run 'ssh localhost' ? | 11:18 |
mgoddard | it should be able to work without a password prompt | 11:18 |
mgoddard | perhaps you need to create an SSH key and add it to authorized_keys for your user? | 11:19 |
mgoddard | or if you have agent forwarding enabled you might be able to use your client's key | 11:20 |
cesarmarcondes | ssh localhost … asks for my password | 11:20 |
cesarmarcondes | ok. | 11:20 |
cesarmarcondes | so, the idea is indeed to ssh to localhost. | 11:20 |
mgoddard | yes. I think this is a missing prerequisite from the README, we will updae | 11:22 |
mgoddard | cesarmarcondes: just heading for lunch, let us know if you have any other issues. Good luck! | 11:23 |
cesarmarcondes | thanks mgoddard | 11:24 |
cesarmarcondes | will do | 11:24 |
*** oneswig has joined #openstack-kayobe | 12:02 | |
mgoddard | cesarmarcondes: I've been looking at this again, I don't think you should need to create the SSH key manually | 12:03 |
cesarmarcondes | yes, i tested. it didn’t work. | 12:04 |
cesarmarcondes | PLAY [Ensure the Kayobe Ansible user account exists] *************************************************************************************************************************************** | 12:04 |
mgoddard | cesarmarcondes: it should be created as part of ./dev/seed-hypervisor-deploy.sh | 12:04 |
cesarmarcondes | skipping: no hosts matched | 12:04 |
cesarmarcondes | PLAY [Verify that the Kayobe Ansible user account is accessible] *************************************************************************************************************************** | 12:04 |
cesarmarcondes | TASK [Verify that a command can be executed] *********************************************************************************************************************************************** | 12:04 |
cesarmarcondes | ok: [seed-hypervisor] | 12:04 |
cesarmarcondes | TASK [Verify that a command can be executed with become] *********************************************************************************************************************************** | 12:04 |
cesarmarcondes | fatal: [seed-hypervisor]: FAILED! => {"changed": false, "module_stderr": "Shared connection to 192.168.33.4 closed.\r\n", "module_stdout": "sudo: a password is required\r\n", "msg": "MODULE FAILURE", "rc": 1} | 12:04 |
cesarmarcondes | to retry, use: --limit @/home/stack/kayobe-venv/share/kayobe/ansible/kayobe-ansible-user.retry | 12:04 |
cesarmarcondes | PLAY RECAP ********************************************************************************************************************************************************************************* | 12:04 |
cesarmarcondes | seed-hypervisor : ok=5 changed=1 unreachable=0 failed=1 | 12:04 |
mgoddard | cesarmarcondes: paste.openstack.org please :) | 12:04 |
cesarmarcondes | ip address | 12:04 |
cesarmarcondes | 4: braio: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000 | 12:04 |
cesarmarcondes | link/ether 36:5e:a9:e5:0f:e0 brd ff:ff:ff:ff:ff:ff | 12:04 |
cesarmarcondes | inet 192.168.33.4/24 scope global braio | 12:04 |
cesarmarcondes | sorry. | 12:04 |
mgoddard | np | 12:05 |
cesarmarcondes | http://paste.openstack.org/show/751508/ | 12:06 |
cesarmarcondes | this is the output of “./dev/seed-hypervisor-deploy.sh” | 12:06 |
cesarmarcondes | basically, I added a user stack | 12:06 |
cesarmarcondes | and create a password-less | 12:06 |
mgoddard | you shouldn't need to do that | 12:07 |
mgoddard | was there any output before that? | 12:07 |
mgoddard | a bootstrap role? | 12:07 |
mgoddard | ah, hang on | 12:08 |
mgoddard | sudo: a password is required | 12:08 |
mgoddard | [ | 12:08 |
mgoddard | you need passwordless sudo for your user | 12:08 |
cesarmarcondes | http://paste.openstack.org/show/751509/ | 12:09 |
cesarmarcondes | “passwordless sudo” | 12:09 |
cesarmarcondes | ok | 12:09 |
cesarmarcondes | now, this step works !! many thanks mgoddard | 12:18 |
mgoddard | cesarmarcondes: \o/ | 12:19 |
*** harsha has joined #openstack-kayobe | 12:20 | |
harsha | anyone there? | 12:21 |
mgoddard | hi harsha | 12:24 |
*** Wasaac has joined #openstack-kayobe | 12:26 | |
mgoddard | harsha: are your NICs configured to PXE boot in the BIOS? Normally there would be a screen after the one you posted showing the NIC attempting to PXE boot | 12:26 |
*** ktibi has joined #openstack-kayobe | 12:32 | |
*** cesarmarcondes has quit IRC | 12:38 | |
harsha | hi mgoddard | 13:00 |
harsha | NIC is configured for PXE, for my case it just waits for a while and boots to login screen. | 13:01 |
openstackgerrit | Merged x/kayobe master: Fix table generation https://review.opendev.org/659748 | 13:03 |
mgoddard | harsha: can you see it sending DHCP discover packets? Can you run tcpdump on the seed to check if these are received? | 13:09 |
*** ktibi has quit IRC | 13:15 | |
*** ktibi has joined #openstack-kayobe | 13:16 | |
*** ktibi has quit IRC | 13:17 | |
*** ktibi has joined #openstack-kayobe | 13:18 | |
harsha | mgoddard: i'll try this tommorrow, thanks | 13:28 |
*** harsha has quit IRC | 13:28 | |
*** Wasaac has quit IRC | 14:04 | |
openstackgerrit | Mark Goddard proposed x/kayobe master: Fix overcloud introspection data save https://review.opendev.org/655743 | 14:04 |
*** JamesBenson has joined #openstack-kayobe | 14:04 | |
openstackgerrit | Mark Goddard proposed x/kayobe stable/rocky: WIP: Changes to use StackHPC Rocky branch of Kolla-Ansible https://review.opendev.org/659803 | 14:07 |
*** oneswig has quit IRC | 14:08 | |
*** ktibi has quit IRC | 14:38 | |
*** ktibi has joined #openstack-kayobe | 14:50 | |
openstackgerrit | Pierre Riteau proposed x/kayobe master: Add command to update packages on the seed hypervisor host https://review.opendev.org/659814 | 14:52 |
openstackgerrit | Pierre Riteau proposed x/kayobe master: Add command to update packages on the seed hypervisor host https://review.opendev.org/659814 | 15:03 |
openstackgerrit | Pierre Riteau proposed x/kayobe master: Add command to update packages on the seed hypervisor host https://review.opendev.org/659814 | 15:04 |
*** priteau has joined #openstack-kayobe | 15:16 | |
*** oneswig has joined #openstack-kayobe | 15:27 | |
*** ktibi has quit IRC | 16:19 | |
*** oneswig has quit IRC | 16:29 | |
openstackgerrit | Pierre Riteau proposed x/kayobe master: Add command to update packages on the seed hypervisor host https://review.opendev.org/659814 | 17:36 |
*** priteau has quit IRC | 19:31 | |
*** radeks has quit IRC | 19:51 | |
*** radeks has joined #openstack-kayobe | 19:51 | |
*** radeks has quit IRC | 20:30 | |
*** JamesBen_ has joined #openstack-kayobe | 21:48 | |
*** JamesBe__ has joined #openstack-kayobe | 21:50 | |
*** JamesBenson has quit IRC | 21:51 | |
*** JamesBe__ has quit IRC | 21:54 | |
*** JamesBen_ has quit IRC | 21:54 | |
*** JamesBenson has joined #openstack-kayobe | 21:56 | |
*** JamesBenson has quit IRC | 22:00 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!