Thursday, 2016-10-20

*** yuntongjin has joined #openstack-nimble02:04
shaohe_fengzhenguo: http://paste.openstack.org/show/586498/06:12
shaohe_fengzhenguo: I have set up the enviroment. and test the policy base code. the above URL is show how to test it.06:13
shaohe_fengRuiChen: zhenguo: the tese base on this policy patch https://review.openstack.org/#/c/380773/06:14
zhenguoshaohe_feng: oh, that's great, thanks!06:14
shaohe_fengzhenguo: you can see the details for the test. http://paste.openstack.org/show/586498/06:15
zhenguoshaohe_feng: thanks, I'm preparing a presentation now, will talk to you later :(06:19
shaohe_fengRuiChen: no nimble instance create API. an curl example for create an instance?06:38
shaohe_fengRuiChen: s/no nimble instance create API/no nimble instance create command06:40
shaohe_fengzhenguo: shihanzhang: RuiChen: I can not create a instance. Anything wrong with my curl command? http://paste.openstack.org/show/586504/07:13
*** yuntongjin has quit IRC07:17
RuiChenshihanzhang work on instance CLI, I think it's not ready now07:18
zhenguoshaohe_feng: try adding -H "Accept: application/json"07:18
zhenguoshaohe_feng: and json body should be wrapped with '' like -d '{}'07:19
shihanzhangshaohe_feng, pls reference https://review.openstack.org/#/c/384251/2/devstack/plugin.sh07:20
shihanzhangthere is a example of curl command07:21
*** RuiChen has quit IRC07:46
*** RuiChen has joined #openstack-nimble07:47
*** yuntongjin has joined #openstack-nimble08:20
shaohe_fengshihanzhang: zhenguo: RuiChen: got it. Thanks. I miss the Content-Type header.   -H "Content-Type: application/json"08:22
zhenguoshaohe_feng: and you need to specify all required arguments, I add a check for that08:23
shaohe_fengzhenguo: yes, I have see the function. _check_create_body08:30
shaohe_fengzhenguo: Thanks.08:30
zhenguoshaohe_feng: np08:30
shaohe_fengzhenguo:  'required': ['name', 'image_uuid', 'instance_type_uuid', 'networks'],08:31
shaohe_fengzhenguo: should I get image_uuid from glance?08:32
shaohe_fengzhenguo: and should I get the networks from neutron?08:32
zhenguoshaohe_feng: yes, you should first get image_uuid and then fetch network_uuid you want to use08:32
shaohe_fengzhenguo: which one?08:36
shaohe_fengzhenguo: | 5ee9fd47-5f0f-4adb-884c-d9ab1a8d3e4d | ir-deploy-agent_ipmitool.initramfs | active |08:36
shaohe_feng| 523c08da-619f-493f-a409-c39b95e2c052 | ir-deploy-agent_ipmitool.kernel    | active |08:36
shaohe_feng| 5a6daed1-0f06-42e9-b44f-5c962240bd2e | cirros-0.3.4-x86_64-uec            | active |08:36
shaohe_feng| 3e46e971-bbe1-49ee-8cd0-77f52fa7a27a | cirros-0.3.4-x86_64-uec-ramdisk    | active |08:36
shaohe_feng| 9e84ca47-3c5f-4082-9034-c82e69f5952d | cirros-0.3.4-x86_64-uec-kernel     | active |08:36
shaohe_fengzhenguo: | 523c08da-619f-493f-a409-c39b95e2c052 | ir-deploy-agent_ipmitool.kernel    | active |   ?08:36
zhenguoshaohe_feng: no, kernel and ramdisk images are included in image properties, you should just use cirros-0.3.4-x86_64-uec, ironic will fetch related images itself.08:43
zhenguoshaohe_feng, yuntongjin: do you know maliniB?08:45
shaohe_fengzhenguo: malini? intel's Malini?08:56
zhenguoshaohe_feng: yes,08:56
shaohe_fengzhenguo: o, I have check the image, cirros-0.3.4-x86_64-uec inlcude cirros-0.3.4-x86_64-uec-ramdisk and cirros-0.3.4-x86_64-uec-kernel08:56
shaohe_fengzhenguo: She is from our team08:57
zhenguoshaohe_feng: oh, she focuses on valence, right?08:57
shaohe_fengzhenguo: but which one image inlcude ir-deploy-agent_ipmitool.initramfs and ir-deploy-agent_ipmitool.kernel08:57
shaohe_fengzhenguo: yes. Actually, she focuses on many project.08:57
zhenguoshaohe_feng: hah08:57
zhenguoshaohe_feng: thoses images are used by ironic directly08:58
shaohe_fengzhenguo: OK. show how to pass to ironic. I know there is a command we can specify the kernel and initrd for qemu VM.08:59
zhenguoshaohe_feng: ironic node properties should specify ipa images09:00
zhenguoshaohe_feng: sorry, not properties, it's driver_info where deploy_kernel and deploy_ramdisk specified.09:01
shaohe_fengzhenguo: Got it. But still not understand who to install physical machine with kernel and ramdisk.09:03
zhenguoshaohe_feng: pxe will first boot the deploy kernel and ramdisk then temporarily booted ironic-python-agent, then Ironic talk to ipa to do some disks operation and fetch image you specifed from 'nimble create'09:05
shaohe_fengzhenguo: Got it. these two are just used for deploy.09:06
shaohe_fengzhenguo: Thanks.09:06
zhenguoshaohe_feng: yes, just for deploy09:07
zhenguoshaohe_feng: np09:07
*** yuntongjin has quit IRC09:48
openstackgerritShaoHe Feng proposed openstack/nimble: Add policy support to Nimble  https://review.openstack.org/38077309:56
openstackgerritShaoHe Feng proposed openstack/nimble: Add policy support to Nimble  https://review.openstack.org/38077309:57
*** liusheng has quit IRC10:58
openstackgerritMerged openstack/nimble: Add policy support to Nimble  https://review.openstack.org/38077315:22
*** openstackgerrit has quit IRC16:18
*** openstackgerrit has joined #openstack-nimble16:20
openstackgerritShaoHe Feng proposed openstack/nimble: improve authorization  https://review.openstack.org/38927717:00
openstackgerritShaoHe Feng proposed openstack/nimble: add policy for States controller  https://review.openstack.org/38083817:02
openstackgerritShaoHe Feng proposed openstack/nimble: improve authorization  https://review.openstack.org/38927717:09
-openstackstatus- NOTICE: The Gerrit service on review.openstack.org is being restarted now in an attempt to resolve some mismatched merge states on a few changes, but should return momentarily.18:08
*** tobias_ has joined #openstack-nimble18:56
*** tobias_ has quit IRC18:59

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