*** yuntongjin has joined #openstack-nimble | 02:04 | |
shaohe_feng | zhenguo: http://paste.openstack.org/show/586498/ | 06:12 |
---|---|---|
shaohe_feng | zhenguo: I have set up the enviroment. and test the policy base code. the above URL is show how to test it. | 06:13 |
shaohe_feng | RuiChen: zhenguo: the tese base on this policy patch https://review.openstack.org/#/c/380773/ | 06:14 |
zhenguo | shaohe_feng: oh, that's great, thanks! | 06:14 |
shaohe_feng | zhenguo: you can see the details for the test. http://paste.openstack.org/show/586498/ | 06:15 |
zhenguo | shaohe_feng: thanks, I'm preparing a presentation now, will talk to you later :( | 06:19 |
shaohe_feng | RuiChen: no nimble instance create API. an curl example for create an instance? | 06:38 |
shaohe_feng | RuiChen: s/no nimble instance create API/no nimble instance create command | 06:40 |
shaohe_feng | zhenguo: 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 IRC | 07:17 | |
RuiChen | shihanzhang work on instance CLI, I think it's not ready now | 07:18 |
zhenguo | shaohe_feng: try adding -H "Accept: application/json" | 07:18 |
zhenguo | shaohe_feng: and json body should be wrapped with '' like -d '{}' | 07:19 |
shihanzhang | shaohe_feng, pls reference https://review.openstack.org/#/c/384251/2/devstack/plugin.sh | 07:20 |
shihanzhang | there is a example of curl command | 07:21 |
*** RuiChen has quit IRC | 07:46 | |
*** RuiChen has joined #openstack-nimble | 07:47 | |
*** yuntongjin has joined #openstack-nimble | 08:20 | |
shaohe_feng | shihanzhang: zhenguo: RuiChen: got it. Thanks. I miss the Content-Type header. -H "Content-Type: application/json" | 08:22 |
zhenguo | shaohe_feng: and you need to specify all required arguments, I add a check for that | 08:23 |
shaohe_feng | zhenguo: yes, I have see the function. _check_create_body | 08:30 |
shaohe_feng | zhenguo: Thanks. | 08:30 |
zhenguo | shaohe_feng: np | 08:30 |
shaohe_feng | zhenguo: 'required': ['name', 'image_uuid', 'instance_type_uuid', 'networks'], | 08:31 |
shaohe_feng | zhenguo: should I get image_uuid from glance? | 08:32 |
shaohe_feng | zhenguo: and should I get the networks from neutron? | 08:32 |
zhenguo | shaohe_feng: yes, you should first get image_uuid and then fetch network_uuid you want to use | 08:32 |
shaohe_feng | zhenguo: which one? | 08:36 |
shaohe_feng | zhenguo: | 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_feng | zhenguo: | 523c08da-619f-493f-a409-c39b95e2c052 | ir-deploy-agent_ipmitool.kernel | active | ? | 08:36 |
zhenguo | shaohe_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 |
zhenguo | shaohe_feng, yuntongjin: do you know maliniB? | 08:45 |
shaohe_feng | zhenguo: malini? intel's Malini? | 08:56 |
zhenguo | shaohe_feng: yes, | 08:56 |
shaohe_feng | zhenguo: 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-kernel | 08:56 |
shaohe_feng | zhenguo: She is from our team | 08:57 |
zhenguo | shaohe_feng: oh, she focuses on valence, right? | 08:57 |
shaohe_feng | zhenguo: but which one image inlcude ir-deploy-agent_ipmitool.initramfs and ir-deploy-agent_ipmitool.kernel | 08:57 |
shaohe_feng | zhenguo: yes. Actually, she focuses on many project. | 08:57 |
zhenguo | shaohe_feng: hah | 08:57 |
zhenguo | shaohe_feng: thoses images are used by ironic directly | 08:58 |
shaohe_feng | zhenguo: 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 |
zhenguo | shaohe_feng: ironic node properties should specify ipa images | 09:00 |
zhenguo | shaohe_feng: sorry, not properties, it's driver_info where deploy_kernel and deploy_ramdisk specified. | 09:01 |
shaohe_feng | zhenguo: Got it. But still not understand who to install physical machine with kernel and ramdisk. | 09:03 |
zhenguo | shaohe_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_feng | zhenguo: Got it. these two are just used for deploy. | 09:06 |
shaohe_feng | zhenguo: Thanks. | 09:06 |
zhenguo | shaohe_feng: yes, just for deploy | 09:07 |
zhenguo | shaohe_feng: np | 09:07 |
*** yuntongjin has quit IRC | 09:48 | |
openstackgerrit | ShaoHe Feng proposed openstack/nimble: Add policy support to Nimble https://review.openstack.org/380773 | 09:56 |
openstackgerrit | ShaoHe Feng proposed openstack/nimble: Add policy support to Nimble https://review.openstack.org/380773 | 09:57 |
*** liusheng has quit IRC | 10:58 | |
openstackgerrit | Merged openstack/nimble: Add policy support to Nimble https://review.openstack.org/380773 | 15:22 |
*** openstackgerrit has quit IRC | 16:18 | |
*** openstackgerrit has joined #openstack-nimble | 16:20 | |
openstackgerrit | ShaoHe Feng proposed openstack/nimble: improve authorization https://review.openstack.org/389277 | 17:00 |
openstackgerrit | ShaoHe Feng proposed openstack/nimble: add policy for States controller https://review.openstack.org/380838 | 17:02 |
openstackgerrit | ShaoHe Feng proposed openstack/nimble: improve authorization https://review.openstack.org/389277 | 17: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-nimble | 18:56 | |
*** tobias_ has quit IRC | 18:59 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!