*** yuntongjin has joined #openstack-nimble | 01:31 | |
*** lei-zh has joined #openstack-nimble | 01:35 | |
*** lei-zh has quit IRC | 01:44 | |
*** RuiChen has quit IRC | 01:47 | |
*** RuiChen has joined #openstack-nimble | 01:51 | |
*** yuntongjin has quit IRC | 02:20 | |
*** yuntongjin has joined #openstack-nimble | 02:34 | |
*** yuntongjin has quit IRC | 02:55 | |
*** lei-zh has joined #openstack-nimble | 03:48 | |
*** lei-zh has quit IRC | 03:57 | |
*** shz has quit IRC | 04:14 | |
*** shihanzhang has joined #openstack-nimble | 04:15 | |
*** lei-zh has joined #openstack-nimble | 04:21 | |
*** shihanzhang has quit IRC | 04:30 | |
*** shihanzhang has joined #openstack-nimble | 04:32 | |
*** shihanzhang has quit IRC | 04:40 | |
*** shihanzhang has joined #openstack-nimble | 04:40 | |
*** yuntongjin has joined #openstack-nimble | 05:13 | |
openstackgerrit | ShaoHe Feng proposed openstack/nimble: add policy for States controller https://review.openstack.org/380838 | 05:38 |
---|---|---|
*** lei-zh has quit IRC | 05:42 | |
*** yuntongjin has quit IRC | 06:28 | |
openstackgerrit | yuntongjin proposed openstack/nimble: Add execption in scheduler https://review.openstack.org/387813 | 06:52 |
openstackgerrit | yuntongjin proposed openstack/nimble: Add unittest test_filter_scheduler https://review.openstack.org/387814 | 06:52 |
*** yuntongjin has joined #openstack-nimble | 06:56 | |
*** liusheng has quit IRC | 08:00 | |
*** liusheng has joined #openstack-nimble | 08:00 | |
shaohe_feng | RuiChen: shihanzhang: zhenguo: ping | 08:01 |
shaohe_feng | do you know how to upgrade ironic db? | 08:02 |
shaohe_feng | I use this command: ironic-dbsync --config-file=/etc/ironic/ironic.conf upgrade | 08:02 |
shaohe_feng | but it reports: CommandError: Can't locate revision identified by '26828d2f4962' | 08:02 |
*** openstackgerrit has quit IRC | 08:04 | |
*** openstackgerrit has joined #openstack-nimble | 08:05 | |
RuiChen | not familiar Ironic so much, but might you can fetch the latest code, remove all *.pyc and reinstall Ironic, then try the command again | 08:07 |
RuiChen | or might zhenguo have better way :) | 08:08 |
zhenguo | shaohe_feng: just use ironic-dbsync --config-file=/etc/ironic/ironic.conf | 08:09 |
shaohe_feng | RuiChen: yes, I have remove the instll file, and reinstall ironic | 08:10 |
shaohe_feng | zhenguo: it report: CommandError: Can't locate revision identified by '26828d2f4962' | 08:11 |
zhenguo | shaohe_feng: yes, I mean you don't need to add 'upgrade' | 08:11 |
shaohe_feng | zhenguo: File "/opt/stack/ironic/ironic/db/sqlalchemy/alembic/env.py", line 58, in run_migrations_online | 08:11 |
shaohe_feng | context.run_migrations() | 08:11 |
shaohe_feng | File "<string>", line 8, in run_migrations | 08:11 |
shaohe_feng | Y | 08:11 |
shaohe_feng | zhenguo: I run it without upgrade, still this error. | 08:12 |
zhenguo | shaohe_feng: that's weird, let me check with my env | 08:12 |
shaohe_feng | zhenguo: OK, thanks. | 08:13 |
zhenguo | shaohe_feng: that works on my env | 08:16 |
*** yuntongjin has quit IRC | 08:17 | |
*** yuntongjin has joined #openstack-nimble | 08:18 | |
zhenguo | shaohe_feng: seems like there's something wrong with you config file, I can reproduce your problems if specify nimble.conf instead of ironic.conf | 08:19 |
zhenguo | shaohe_feng: or you can try to just use ironic-dbsync upgrade, which also works on my env | 08:20 |
shaohe_feng | zhenguo: sorry, I have drop the ironic db. and then ironic-dbsync --config-file=/etc/ironic/ironic.conf | 08:21 |
shaohe_feng | zhenguo: I can not dig into this problem | 08:21 |
zhenguo | shaohe_feng: have you recreated the db | 08:21 |
shaohe_feng | zhenguo: yes. recreated the db | 08:22 |
shaohe_feng | zhenguo: then it can works. | 08:22 |
shaohe_feng | zhenguo: should I stop the all nova process | 08:23 |
shaohe_feng | zhenguo: If I set up nimble? | 08:23 |
zhenguo | shaohe_feng: you can just keep nova process | 08:23 |
zhenguo | shaohe_feng: in case of there's some other problems with the old env | 08:24 |
shaohe_feng | zhenguo: OK. | 08:24 |
shaohe_feng | zhenguo: now I can not find a node by ironic. | 08:24 |
RuiChen | shaohe_feng: you don't have to, in my env nova work with nimble in peace :-) | 08:24 |
shaohe_feng | RuiChen: good. | 08:25 |
shaohe_feng | zhenguo: openstack baremetal list | 08:26 |
shaohe_feng | zhenguo: I can not find any nodes now. | 08:26 |
shaohe_feng | zhenguo: for I have drop the whole DB. | 08:26 |
zhenguo | shaohe_feng: oh, then you need to enroll the node youself | 08:26 |
zhenguo | shaohe_feng: ironic node-create -n name -d driver(agent_ipmitool) | 08:27 |
shaohe_feng | zhenguo: which command? | 08:27 |
zhenguo | shaohe_feng: then add ipmi related properties with 'ironic node-update add properties/ipmi_address=xxx ...' | 08:28 |
zhenguo | shaohe_feng: but seems you can only test with flat network, if there's no switch | 08:29 |
zhenguo | shaohe_feng: I would suggest you use some vms to simulate bms now, and just use our devstack to deploy the env for nimble | 08:29 |
shaohe_feng | zhenguo: yes. really not easy to setup an evn for nimble by manually | 09:00 |
*** openstackgerrit has quit IRC | 09:04 | |
shaohe_feng | zhenguo: how many nodes will create by "ironic node-create" | 09:05 |
*** openstackgerrit has joined #openstack-nimble | 09:05 | |
zhenguo | shaohe_feng: that depends on how many nodes you have :P | 09:07 |
shaohe_feng | zhenguo: OK, got it. This is command is batch create. | 09:08 |
zhenguo | shaohe_feng: you have one Intel box right? | 09:08 |
shaohe_feng | zhenguo: RuiChen: There is no keyston/ironic command in my envs. I can only use "openstack token ", "openstack baremetal" | 09:09 |
shaohe_feng | why? | 09:09 |
shaohe_feng | zhenguo: I have many Intel box | 09:09 |
zhenguo | shaohe_feng:oh sorry, it's not a batch command, not support to create many at one time now :( | 09:10 |
zhenguo | shaohe_feng: so you have a physical swith to connect them? | 09:10 |
zhenguo | shaohe_feng: if there are many nodes you have to create one by one and specify the BMC related properties | 09:11 |
zhenguo | shaohe_feng: or you just use your work machine to connect one Intel box directly? | 09:12 |
shaohe_feng | zhenguo: yes. I have a physical swith. a dell swith | 09:12 |
zhenguo | shaohe_feng: oh, so you can test with neutron networking-generic-switch plugin, but not sure if there's a dell driver now | 09:13 |
shaohe_feng | zhenguo: great. | 09:14 |
zhenguo | shaohe_feng: hah, you can create a real nimble env with physical machines and switches :P | 09:15 |
shaohe_feng | zhenguo: yes, but not farmilar with ironic. | 09:25 |
zhenguo | shaohe_feng: You have to also manually deploy ironic and neutron for multi-tenantcy networking support with real hardwares | 09:26 |
openstackgerrit | yuntongjin proposed openstack/nimble: Add execption in scheduler https://review.openstack.org/387813 | 09:27 |
openstackgerrit | yuntongjin proposed openstack/nimble: Add unittest test_filter_scheduler https://review.openstack.org/387814 | 09:27 |
openstackgerrit | Zhenguo Niu proposed openstack/nimble: Update README https://review.openstack.org/387884 | 09:28 |
shaohe_feng | zhenguo: So, let me try. Actaully this is Tan0's evn. Now I use it. :) | 09:29 |
zhenguo | shaohe_feng: you can just destroy it, lol | 09:30 |
zhenguo | shaohe_feng: As it must be a flat work | 09:30 |
zhenguo | s/work/network | 09:30 |
RuiChen | shaohe_feng: legacy system (╯‵□′)╯︵┻━┻ hah | 09:31 |
* RuiChen go for dinner | 09:33 | |
shaohe_feng | RuiChen: zhenguo: yes. I'm desotrying it, and reinstall it. | 09:35 |
zhenguo | shaohe_feng: and I would suggest you have a devstack virtual env as well for testing patches, it's so easy as our devstack plugin works fine now. | 09:37 |
zhenguo | shaohe_feng: for policy patches, it's great if you can make sure it works :P | 09:39 |
openstackgerrit | Lei Zhang proposed openstack/nimble: Add instance related api ref https://review.openstack.org/387888 | 09:42 |
shaohe_feng | zhenguo: Let me first set up an virtual evn first. | 09:48 |
openstackgerrit | Merged openstack/nimble: Update README https://review.openstack.org/387884 | 09:48 |
zhenguo | shaohe_feng: thanks | 09:48 |
shaohe_feng | zhenguo: a example devstack conf ? | 09:48 |
zhenguo | shaohe_feng: wait for a minite | 09:49 |
shaohe_feng | zhenguo: OK. | 09:49 |
zhenguo | shaohe_feng: it's ok to just copy from our dev-quickstart guide | 09:49 |
shaohe_feng | OK. | 09:50 |
zhenguo | shaohe_feng: ttyl | 09:50 |
* zhenguo away | 09:50 | |
*** yuntongjin has quit IRC | 09:52 | |
*** liusheng has quit IRC | 10:31 | |
*** liusheng has joined #openstack-nimble | 10:33 | |
*** liusheng has quit IRC | 11:11 | |
*** liusheng has joined #openstack-nimble | 11:12 | |
*** shaohe_feng has quit IRC | 11:50 | |
*** shaohe_feng has joined #openstack-nimble | 11:53 | |
shaohe_feng | zhenguo: $ sudo pip install "python-nss===1.0.0" | 13:27 |
zhenguo | shaohe_feng: ? | 13:30 |
shaohe_feng | zhenguo: Downloading python-nss-1.0.0.tar.bz2 (221kB) | 13:30 |
shaohe_feng | 100% |████████████████████████████████| 225kB 605kB/s | 13:30 |
shaohe_feng | Complete output from command python setup.py egg_info: | 13:30 |
shaohe_feng | Traceback (most recent call last): | 13:30 |
shaohe_feng | File "<string>", line 1, in <module> | 13:30 |
shaohe_feng | File "/tmp/pip-build-G_MZbQ/python-nss/setup.py", line 409, in <module> | 13:30 |
shaohe_feng | sys.exit(main(sys.argv)) | 13:30 |
shaohe_feng | File "/tmp/pip-build-G_MZbQ/python-nss/setup.py", line 333, in main | 13:30 |
shaohe_feng | nss_include_dir = find_include_dir(['nss3', 'nss'], ['nss.h', 'pk11pub.h'], include_roots=include_roots) | 13:30 |
shaohe_feng | File "/tmp/pip-build-G_MZbQ/python-nss/setup.py", line 94, in find_include_dir | 13:30 |
shaohe_feng | raise ValueError("unable to locate include directory containing header files %s" % include_files) | 13:30 |
shaohe_feng | ValueError: unable to locate include directory containing header files ['nss.h', 'pk11pub.h'] | 13:30 |
shaohe_feng | 13:30 | |
shaohe_feng | ---------------------------------------- | 13:30 |
shaohe_feng | RuiChen: zhenguo: I setup the virtual evn. an error comes out | 13:31 |
shaohe_feng | zhenguo: can you install python-nss? | 13:31 |
zhenguo | shaohe_feng: I can't connect my env now, will check later | 13:33 |
shaohe_feng | zhenguo: OK. Thanks. Mabye it need some c language dev package. | 13:34 |
zhenguo | shaohe_feng: seems like it is, but pip should address the dependency issue | 13:36 |
shaohe_feng | zhenguo: let me dig into it. | 13:36 |
zhenguo | shaohe_feng: ok | 13:37 |
-openstackstatus- NOTICE: We are away of pycparser failures in the gate and working to address the issue. | 14:05 | |
-openstackstatus- NOTICE: pycparser 2.16 released to fix assertion error from today. | 16:11 | |
shaohe_feng | zhenguo: let me dig into it. | 16:13 |
*** shaohe_feng has quit IRC | 16:41 | |
*** shaohe_feng has joined #openstack-nimble | 16:42 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!