zhenguo | morning mogan! | 01:56 |
---|---|---|
*** liusheng has quit IRC | 02:35 | |
*** liusheng has joined #openstack-mogan | 02:43 | |
*** openstackgerrit has joined #openstack-mogan | 03:06 | |
openstackgerrit | Merged openstack/mogan: Versioned notification add support for instance.create.start https://review.openstack.org/417755 | 03:06 |
openstackgerrit | liusheng proposed openstack/mogan: WIP: test support console https://review.openstack.org/420274 | 03:18 |
RuiChen | https://www.irccloud.com/pastebin/Vb3ZJqOA/ | 07:19 |
RuiChen | nimble -> mogan | 07:20 |
RuiChen | :) | 07:20 |
openstackgerrit | Merged openstack/mogan: Add version tests for versioned notification class https://review.openstack.org/418212 | 09:07 |
liusheng | zhenguo: hi zhenguo, do you know does it support to directly login the ironic node console by shellinabox ? | 09:14 |
zhenguo | liusheng: yes, | 09:15 |
zhenguo | liusheng: you can use shellinabox directly | 09:15 |
zhenguo | liusheng: but seems we don't enable console in the devstack config | 09:15 |
liusheng | zhenguo: I have tried, but it return an auth error: Error issuing Get Channel Authentication Capabilies request | 09:16 |
liusheng | zhenguo: I am not sure it is a bug of ironic code, I have chenged the code, then the shellinabox return: | 09:16 |
liusheng | Running Get PICMG Properties my_addr 0x20, transit 0, target 0x20 | 09:16 |
liusheng | Error Response 0xc1 from Get PICMG Properities | 09:16 |
liusheng | No PICMG Extenstion discovered | 09:16 |
liusheng | Error activating SOL payload: Invalid command | 09:16 |
liusheng | Session closed. | 09:16 |
zhenguo | liusheng: the driver is ipmi_tool, right? | 09:17 |
zhenguo | oh, agent_ipmitool | 09:17 |
liusheng | zhenguo: since I found the shellinaboxd process to listen the ipmi terminate port I set, it is shellinaboxd -t -p 4321 --background=/tmp/3ce8faa7-8311-492d-bfd9-a59b5414dc93.pid -s /:0:0:HOME:ipmitool -H 10.229.40.107 -I lanplus -U admin -f /tmp/3ce8faa7-8311-492d-bfd9-a59b5414dc93.pw -v sol activate | 09:17 |
liusheng | zhenguo: seems pxe_ipmi, i am not sure | 09:17 |
liusheng | zhenguo: I found the ipmitoll command without port specified, the node's ipmi port is 6231 | 09:18 |
zhenguo | liusheng: seems not need to specify ipmi port, not sure | 09:19 |
liusheng | zhenguo: then I modifed the ironic node and restart ironic, the auth errir disappared, but it return the above info | 09:19 |
liusheng | zhenguo: really ? | 09:19 |
zhenguo | liusheng: you can try the ipmi command directly | 09:19 |
zhenguo | ipmitool -H 10.229.40.107 -I lanplus -U admin -f /tmp/3ce8faa7-8311-492d-bfd9-a59b5414dc93.pw -v sol activate | 09:20 |
zhenguo | liusheng: this ipmi is fake, before we use ssh for virtual machine | 09:20 |
liusheng | zhenguo: yes, I have tried the ipmitool command, but it also auth failed without the node's port specified | 09:20 |
zhenguo | liusheng: you can specify the ipmi port and try again | 09:20 |
zhenguo | liusheng: this ipmitool is fake to simulate ssh to virtual amchine | 09:21 |
liusheng | zhenguo: it return the "Error Response 0xc1 from Get PICMG Properities" error | 09:21 |
zhenguo | liusheng: oh | 09:21 |
liusheng | zhenguo: I can directly ssh the mogan server by it's ip | 09:21 |
zhenguo | liusheng: yes, we use ssh driver before | 09:22 |
zhenguo | liusheng: ipmi is just introduced to simulate to ssh driver | 09:22 |
liusheng | zhenguo: so ironic don't use ipmi in devstack ? | 09:22 |
zhenguo | liusheng: shellinabox connect to virtual machine by ssh before, and it works well, which is added by me | 09:22 |
zhenguo | liusheng: it's not a real ipmi | 09:23 |
zhenguo | liusheng: a sub project to simulate real ipmi access | 09:23 |
liusheng | zhenguo: oh | 09:23 |
liusheng | zhenguo: I don't know how to login the machine by shellinabox :( | 09:24 |
liusheng | zhenguo: my steps: | 09:24 |
liusheng | zhenguo: 1. ironic node-update 3ce8faa7-8311-492d-bfd9-a59b5414dc93 add driver_info/ipmi_terminal_port=4321 | 09:24 |
liusheng | zhenguo: 2. ironic node-set-console-mode 3ce8faa7-8311-492d-bfd9-a59b5414dc93 false | 09:24 |
liusheng | zhenguo: 3. ironic node-set-console-mode 3ce8faa7-8311-492d-bfd9-a59b5414dc93 true | 09:24 |
liusheng | zhenguo: 4. ironic node-get-console 3ce8faa7-8311-492d-bfd9-a59b5414dc93 | 09:24 |
zhenguo | liusheng: it's correct | 09:25 |
zhenguo | liusheng: shellinabox is just a web proxy for the console | 09:25 |
zhenguo | liusheng: you can test ipmi console directly to ensure it works | 09:25 |
liusheng | zhenguo: I only need to paste the url returned by get-console to brwoser, right ? | 09:25 |
zhenguo | liusheng: correct | 09:26 |
zhenguo | liusheng: I can try it in my env | 09:27 |
liusheng | zhenguo: thanks! | 09:28 |
liusheng | zhenguo: please teach me, lol | 09:29 |
zhenguo | liusheng: lol | 09:29 |
zhenguo | liusheng: can you find the password file | 09:33 |
liusheng | zhenguo: yes | 09:39 |
liusheng | zhenguo: the -f paremeter of ipmitools can specify a file include password, if we don't use -f, we can use -P <password> | 09:40 |
zhenguo | liusheng: yes, do you find the password is what? | 09:40 |
liusheng | zhenguo: in my env, it is password | 09:41 |
liusheng | zhenguo: in my env, it is "password" | 09:41 |
zhenguo | liusheng: let me try | 09:42 |
zhenguo | liusheng: no only console, I can't use ipmi directly to power on the ndoe | 09:48 |
liusheng | zhenguo: :( | 09:49 |
liusheng | zhenguo: it is because the configurations of our devstack ? | 09:49 |
zhenguo | liusheng: not sure, but node can be provisioned with ipmi tool, will dig | 09:50 |
liusheng | zhenguo: ok, let's dig it later, happy weekend :) | 09:51 |
zhenguo | liusheng: happy weekend! | 09:51 |
*** Jeffrey4l__ has quit IRC | 11:59 | |
*** Jeffrey4l__ has joined #openstack-mogan | 12:02 | |
*** Jeffrey4l__ has quit IRC | 17:25 | |
*** l4yerffeJ_ has joined #openstack-mogan | 21:34 | |
*** l4yerffeJ has quit IRC | 21:35 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!