Tuesday, 2016-10-18

*** yuntongjin has joined #openstack-nimble01:31
*** lei-zh has joined #openstack-nimble01:35
*** lei-zh has quit IRC01:44
*** RuiChen has quit IRC01:47
*** RuiChen has joined #openstack-nimble01:51
*** yuntongjin has quit IRC02:20
*** yuntongjin has joined #openstack-nimble02:34
*** yuntongjin has quit IRC02:55
*** lei-zh has joined #openstack-nimble03:48
*** lei-zh has quit IRC03:57
*** shz has quit IRC04:14
*** shihanzhang has joined #openstack-nimble04:15
*** lei-zh has joined #openstack-nimble04:21
*** shihanzhang has quit IRC04:30
*** shihanzhang has joined #openstack-nimble04:32
*** shihanzhang has quit IRC04:40
*** shihanzhang has joined #openstack-nimble04:40
*** yuntongjin has joined #openstack-nimble05:13
openstackgerritShaoHe Feng proposed openstack/nimble: add policy for States controller  https://review.openstack.org/38083805:38
*** lei-zh has quit IRC05:42
*** yuntongjin has quit IRC06:28
openstackgerrityuntongjin proposed openstack/nimble: Add execption in scheduler  https://review.openstack.org/38781306:52
openstackgerrityuntongjin proposed openstack/nimble: Add unittest test_filter_scheduler  https://review.openstack.org/38781406:52
*** yuntongjin has joined #openstack-nimble06:56
*** liusheng has quit IRC08:00
*** liusheng has joined #openstack-nimble08:00
shaohe_fengRuiChen: shihanzhang: zhenguo: ping08:01
shaohe_fengdo you know how to upgrade ironic db?08:02
shaohe_fengI use this command: ironic-dbsync --config-file=/etc/ironic/ironic.conf upgrade08:02
shaohe_fengbut it reports: CommandError: Can't locate revision identified by '26828d2f4962'08:02
*** openstackgerrit has quit IRC08:04
*** openstackgerrit has joined #openstack-nimble08:05
RuiChennot familiar Ironic so much, but might you can fetch the latest code, remove all *.pyc and reinstall Ironic, then try the command again08:07
RuiChenor might zhenguo have better way :)08:08
zhenguoshaohe_feng: just use ironic-dbsync --config-file=/etc/ironic/ironic.conf08:09
shaohe_fengRuiChen: yes, I have remove the instll file, and reinstall ironic08:10
shaohe_fengzhenguo: it report: CommandError: Can't locate revision identified by '26828d2f4962'08:11
zhenguoshaohe_feng: yes, I mean you don't need to add 'upgrade'08:11
shaohe_fengzhenguo:   File "/opt/stack/ironic/ironic/db/sqlalchemy/alembic/env.py", line 58, in run_migrations_online08:11
shaohe_feng    context.run_migrations()08:11
shaohe_feng  File "<string>", line 8, in run_migrations08:11
shaohe_fengY08:11
shaohe_fengzhenguo: I run it without upgrade, still this error.08:12
zhenguoshaohe_feng: that's weird, let me check with my env08:12
shaohe_fengzhenguo: OK, thanks.08:13
zhenguoshaohe_feng: that works on my env08:16
*** yuntongjin has quit IRC08:17
*** yuntongjin has joined #openstack-nimble08:18
zhenguoshaohe_feng: seems like there's something wrong with you config file, I can reproduce your problems if specify nimble.conf instead of ironic.conf08:19
zhenguoshaohe_feng: or you can try to just use ironic-dbsync upgrade, which also works on my env08:20
shaohe_fengzhenguo: sorry, I have drop the ironic db. and then ironic-dbsync --config-file=/etc/ironic/ironic.conf08:21
shaohe_fengzhenguo: I can not dig into this problem08:21
zhenguoshaohe_feng: have you recreated the db08:21
shaohe_fengzhenguo: yes. recreated the db08:22
shaohe_fengzhenguo: then it can works.08:22
shaohe_fengzhenguo: should I stop the all nova process08:23
shaohe_fengzhenguo: If I set up nimble?08:23
zhenguoshaohe_feng: you can just keep nova process08:23
zhenguoshaohe_feng: in case of there's some other problems with the old env08:24
shaohe_fengzhenguo: OK.08:24
shaohe_fengzhenguo: now I can not find a node by ironic.08:24
RuiChenshaohe_feng: you don't have to, in my env nova work with nimble in peace :-)08:24
shaohe_fengRuiChen: good.08:25
shaohe_fengzhenguo: openstack baremetal list08:26
shaohe_fengzhenguo: I can not find any nodes now.08:26
shaohe_fengzhenguo: for I have drop the whole DB.08:26
zhenguoshaohe_feng: oh, then you need to enroll the node youself08:26
zhenguoshaohe_feng: ironic node-create -n name -d driver(agent_ipmitool)08:27
shaohe_fengzhenguo: which command?08:27
zhenguoshaohe_feng: then add ipmi related properties with 'ironic node-update add properties/ipmi_address=xxx ...'08:28
zhenguoshaohe_feng: but seems you can only test with flat network, if there's no switch08:29
zhenguoshaohe_feng: I would suggest you use some vms to simulate bms now, and just use our devstack to deploy the env for nimble08:29
shaohe_fengzhenguo: yes. really not easy to setup an evn for nimble by manually09:00
*** openstackgerrit has quit IRC09:04
shaohe_fengzhenguo: how many nodes will create by "ironic node-create"09:05
*** openstackgerrit has joined #openstack-nimble09:05
zhenguoshaohe_feng: that depends on how many nodes you have :P09:07
shaohe_fengzhenguo: OK, got it. This is command is batch create.09:08
zhenguoshaohe_feng: you have one Intel box right?09:08
shaohe_fengzhenguo: RuiChen: There is no keyston/ironic command in my envs. I can only use "openstack token ", "openstack baremetal"09:09
shaohe_fengwhy?09:09
shaohe_fengzhenguo: I have many Intel box09:09
zhenguoshaohe_feng:oh sorry, it's not a batch command, not support to create many at one time now :(09:10
zhenguoshaohe_feng: so you have a physical swith to connect them?09:10
zhenguoshaohe_feng: if there are many nodes you have to create one by one and specify the BMC related properties09:11
zhenguoshaohe_feng: or you just use your work machine to connect one Intel box directly?09:12
shaohe_fengzhenguo: yes. I have a physical swith.  a dell swith09:12
zhenguoshaohe_feng: oh, so you can test with neutron networking-generic-switch plugin, but not sure if there's a dell driver now09:13
shaohe_fengzhenguo: great.09:14
zhenguoshaohe_feng: hah, you can create a real nimble env with physical machines and switches :P09:15
shaohe_fengzhenguo: yes, but not farmilar with ironic.09:25
zhenguoshaohe_feng: You have to also manually deploy ironic and neutron for multi-tenantcy networking support with real hardwares09:26
openstackgerrityuntongjin proposed openstack/nimble: Add execption in scheduler  https://review.openstack.org/38781309:27
openstackgerrityuntongjin proposed openstack/nimble: Add unittest test_filter_scheduler  https://review.openstack.org/38781409:27
openstackgerritZhenguo Niu proposed openstack/nimble: Update README  https://review.openstack.org/38788409:28
shaohe_fengzhenguo: So, let me try.  Actaully this is Tan0's evn. Now I use it. :)09:29
zhenguoshaohe_feng: you can just destroy it, lol09:30
zhenguoshaohe_feng: As it must be a flat work09:30
zhenguos/work/network09:30
RuiChenshaohe_feng: legacy system (╯‵□′)╯︵┻━┻ hah09:31
* RuiChen go for dinner09:33
shaohe_fengRuiChen: zhenguo: yes. I'm desotrying it, and reinstall it.09:35
zhenguoshaohe_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
zhenguoshaohe_feng: for policy patches, it's great if you can make sure it works :P09:39
openstackgerritLei Zhang proposed openstack/nimble: Add instance related api ref  https://review.openstack.org/38788809:42
shaohe_fengzhenguo: Let me first set up an virtual evn first.09:48
openstackgerritMerged openstack/nimble: Update README  https://review.openstack.org/38788409:48
zhenguoshaohe_feng: thanks09:48
shaohe_fengzhenguo: a example devstack conf ?09:48
zhenguoshaohe_feng: wait for a minite09:49
shaohe_fengzhenguo: OK.09:49
zhenguoshaohe_feng: it's ok to just copy from our dev-quickstart guide09:49
shaohe_fengOK.09:50
zhenguoshaohe_feng: ttyl09:50
* zhenguo away09:50
*** yuntongjin has quit IRC09:52
*** liusheng has quit IRC10:31
*** liusheng has joined #openstack-nimble10:33
*** liusheng has quit IRC11:11
*** liusheng has joined #openstack-nimble11:12
*** shaohe_feng has quit IRC11:50
*** shaohe_feng has joined #openstack-nimble11:53
shaohe_fengzhenguo: $ sudo pip install "python-nss===1.0.0"13:27
zhenguoshaohe_feng: ?13:30
shaohe_fengzhenguo: Downloading python-nss-1.0.0.tar.bz2 (221kB)13:30
shaohe_feng    100% |████████████████████████████████| 225kB 605kB/s13: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 main13: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_dir13: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_feng13:30
shaohe_feng    ----------------------------------------13:30
shaohe_fengRuiChen: zhenguo: I setup the virtual evn. an error comes out13:31
shaohe_fengzhenguo: can you install python-nss?13:31
zhenguoshaohe_feng: I can't connect my env now, will check later13:33
shaohe_fengzhenguo: OK. Thanks. Mabye it need some c language dev package.13:34
zhenguoshaohe_feng: seems like it is, but pip should address the dependency issue13:36
shaohe_fengzhenguo: let me dig into it.13:36
zhenguoshaohe_feng: ok13: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_fengzhenguo: let me dig into it.16:13
*** shaohe_feng has quit IRC16:41
*** shaohe_feng has joined #openstack-nimble16:42

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