Friday, 2019-05-17

*** gkadam has joined #openstack-kayobe01:16
*** gkadam has quit IRC01:40
*** JamesBenson has joined #openstack-kayobe02:31
*** gkadam has joined #openstack-kayobe03:23
*** gkadam has quit IRC03:23
*** JamesBenson has quit IRC03:59
*** radeks has joined #openstack-kayobe05:50
*** oneswig has joined #openstack-kayobe08:22
*** oneswig has quit IRC08:28
*** oneswig has joined #openstack-kayobe08:31
*** ktibi has joined #openstack-kayobe08:34
*** ktibi has quit IRC08:41
*** ktibi has joined #openstack-kayobe08:42
*** openstackgerrit has joined #openstack-kayobe08:42
openstackgerritPierre Riteau proposed x/kayobe master: Fix table generation  https://review.opendev.org/65974808:42
*** harsha has joined #openstack-kayobe08:57
*** harsha has quit IRC08:59
*** harsha has joined #openstack-kayobe08:59
*** oneswig has quit IRC09:00
harshamgoddard: 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.jpg09:01
harshaBut then after a while, it just boots into existing os and the "$ openstack baremetal node show " shows "inspect wait" now09:02
*** oneswig has joined #openstack-kayobe09:06
*** oneswig has quit IRC09:14
*** oneswig has joined #openstack-kayobe09:21
*** harsha has quit IRC09:23
*** oneswig has quit IRC10:04
*** oneswig has joined #openstack-kayobe10:10
*** oneswig has quit IRC10:15
*** ktibi has quit IRC10:15
*** ktibi has joined #openstack-kayobe10:16
*** oneswig has joined #openstack-kayobe10:21
*** ktibi has quit IRC10:22
*** oneswig has quit IRC11:00
*** oneswig has joined #openstack-kayobe11:01
*** oneswig has quit IRC11:05
*** kgz has joined #openstack-kayobe11:08
*** cesarmarcondes has joined #openstack-kayobe11:08
cesarmarcondesgood morning11:09
cesarmarcondesI’m trying to reproduce a hands-on workshop that I participated in Denver11:09
cesarmarcondeshttps://github.com/stackhpc/a-universe-from-nothing#creating-a-seed-image11:09
cesarmarcondesuniverse-from-nothing11:10
cesarmarcondesI’m trying to create the seed image, but i got some ssh password error.11:10
cesarmarcondesI have a bare metal machine, installed CentOS 7, and KVM.11:10
mgoddardhello cesarmarcondes11:10
cesarmarcondesthen I started the steps in https://github.com/stackhpc/a-universe-from-nothing#creating-a-seed-image11:10
cesarmarcondesin the step “# Deploy hypervisor services.”11:11
mgoddardcesarmarcondes: I don't know when you last checked the README, but it was updated recently11:11
cesarmarcondesit asks me for a ssh password for stack@192.168..11:11
cesarmarcondesmgoddard - i’m using the most updated one.11:12
mgoddardcesarmarcondes: which host are you trying to access?11:12
cesarmarcondesI’m trying to reproduce the “Creating a Seed Image” step.11:13
cesarmarcondesI assume that those commands must be executed from the bare metal machine.11:13
cesarmarcondesI’m using a bare metal machine at home11:13
mgoddardthat's correct. So I expect you're trying to access the seed VM11:14
cesarmarcondesI assume those commands create a “seed VM” in the end, so that the hands-on workshop can start.11:14
mgoddardthat's right11:15
cesarmarcondesright, 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
cesarmarcondesbut afterwards, ansible gives error saying “ssh not password” something like that.11:16
cesarmarcondesthe bootstrap process stops.11:16
mgoddardwhich user account are you using?11:16
cesarmarcondesi create a user account cesarmarcondes on my bare metal machine.11:16
mgoddardI think ansible must be trying to ssh to localhost11:16
cesarmarcondesdo i need to create a stack account?11:16
cesarmarcondesyes, i think so,, because ssh responds and asks for password.11:17
mgoddardby default, kayobe should use your user account to create a stack user11:17
mgoddardto test, can you run 'ssh localhost' ?11:18
mgoddardit should be able to work without a password prompt11:18
mgoddardperhaps you need to create an SSH key and add it to authorized_keys for your user?11:19
mgoddardor if you have agent forwarding enabled you might be able to use your client's key11:20
cesarmarcondesssh localhost … asks for my password11:20
cesarmarcondesok.11:20
cesarmarcondesso, the idea is indeed to ssh to localhost.11:20
mgoddardyes. I think this is a missing prerequisite from the README, we will updae11:22
mgoddardcesarmarcondes: just heading for lunch, let us know if you have any other issues. Good luck!11:23
cesarmarcondesthanks mgoddard11:24
cesarmarcondeswill do11:24
*** oneswig has joined #openstack-kayobe12:02
mgoddardcesarmarcondes: I've been looking at this again, I don't think you should need to create the SSH key manually12:03
cesarmarcondesyes, i tested. it didn’t work.12:04
cesarmarcondesPLAY [Ensure the Kayobe Ansible user account exists] ***************************************************************************************************************************************12:04
mgoddardcesarmarcondes: it should be created as part of ./dev/seed-hypervisor-deploy.sh12:04
cesarmarcondesskipping: no hosts matched12:04
cesarmarcondesPLAY [Verify that the Kayobe Ansible user account is accessible] ***************************************************************************************************************************12:04
cesarmarcondesTASK [Verify that a command can be executed] ***********************************************************************************************************************************************12:04
cesarmarcondesok: [seed-hypervisor]12:04
cesarmarcondesTASK [Verify that a command can be executed with become] ***********************************************************************************************************************************12:04
cesarmarcondesfatal: [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
cesarmarcondesto retry, use: --limit @/home/stack/kayobe-venv/share/kayobe/ansible/kayobe-ansible-user.retry12:04
cesarmarcondesPLAY RECAP *********************************************************************************************************************************************************************************12:04
cesarmarcondesseed-hypervisor            : ok=5    changed=1    unreachable=0    failed=112:04
mgoddardcesarmarcondes: paste.openstack.org please :)12:04
cesarmarcondesip address12:04
cesarmarcondes4: braio: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 100012:04
cesarmarcondes    link/ether 36:5e:a9:e5:0f:e0 brd ff:ff:ff:ff:ff:ff12:04
cesarmarcondes    inet 192.168.33.4/24 scope global braio12:04
cesarmarcondessorry.12:04
mgoddardnp12:05
cesarmarcondeshttp://paste.openstack.org/show/751508/12:06
cesarmarcondesthis is the output of “./dev/seed-hypervisor-deploy.sh”12:06
cesarmarcondesbasically, I added a user stack12:06
cesarmarcondesand create a password-less12:06
mgoddardyou shouldn't need to do that12:07
mgoddardwas there any output before that?12:07
mgoddarda bootstrap role?12:07
mgoddardah, hang on12:08
mgoddardsudo: a password is required12:08
mgoddard[12:08
mgoddardyou need passwordless sudo for your user12:08
cesarmarcondeshttp://paste.openstack.org/show/751509/12:09
cesarmarcondes“passwordless sudo”12:09
cesarmarcondesok12:09
cesarmarcondesnow, this step works !! many thanks mgoddard12:18
mgoddardcesarmarcondes: \o/12:19
*** harsha has joined #openstack-kayobe12:20
harshaanyone there?12:21
mgoddardhi harsha12:24
*** Wasaac has joined #openstack-kayobe12:26
mgoddardharsha: 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 boot12:26
*** ktibi has joined #openstack-kayobe12:32
*** cesarmarcondes has quit IRC12:38
harshahi mgoddard13:00
harshaNIC is configured for PXE, for my case it just waits for a while and boots to login screen.13:01
openstackgerritMerged x/kayobe master: Fix table generation  https://review.opendev.org/65974813:03
mgoddardharsha: 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 IRC13:15
*** ktibi has joined #openstack-kayobe13:16
*** ktibi has quit IRC13:17
*** ktibi has joined #openstack-kayobe13:18
harshamgoddard: i'll try this tommorrow, thanks13:28
*** harsha has quit IRC13:28
*** Wasaac has quit IRC14:04
openstackgerritMark Goddard proposed x/kayobe master: Fix overcloud introspection data save  https://review.opendev.org/65574314:04
*** JamesBenson has joined #openstack-kayobe14:04
openstackgerritMark Goddard proposed x/kayobe stable/rocky: WIP: Changes to use StackHPC Rocky branch of Kolla-Ansible  https://review.opendev.org/65980314:07
*** oneswig has quit IRC14:08
*** ktibi has quit IRC14:38
*** ktibi has joined #openstack-kayobe14:50
openstackgerritPierre Riteau proposed x/kayobe master: Add command to update packages on the seed hypervisor host  https://review.opendev.org/65981414:52
openstackgerritPierre Riteau proposed x/kayobe master: Add command to update packages on the seed hypervisor host  https://review.opendev.org/65981415:03
openstackgerritPierre Riteau proposed x/kayobe master: Add command to update packages on the seed hypervisor host  https://review.opendev.org/65981415:04
*** priteau has joined #openstack-kayobe15:16
*** oneswig has joined #openstack-kayobe15:27
*** ktibi has quit IRC16:19
*** oneswig has quit IRC16:29
openstackgerritPierre Riteau proposed x/kayobe master: Add command to update packages on the seed hypervisor host  https://review.opendev.org/65981417:36
*** priteau has quit IRC19:31
*** radeks has quit IRC19:51
*** radeks has joined #openstack-kayobe19:51
*** radeks has quit IRC20:30
*** JamesBen_ has joined #openstack-kayobe21:48
*** JamesBe__ has joined #openstack-kayobe21:50
*** JamesBenson has quit IRC21:51
*** JamesBe__ has quit IRC21:54
*** JamesBen_ has quit IRC21:54
*** JamesBenson has joined #openstack-kayobe21:56
*** JamesBenson has quit IRC22:00

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!