14:02:53 #startmeeting openstack-cyborg 14:02:54 Meeting started Wed Jun 20 14:02:53 2018 UTC and is due to finish in 60 minutes. The chair is zhipeng. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:02:55 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:02:58 The meeting name has been set to 'openstack_cyborg' 14:03:09 #topic Roll Call 14:03:17 #info Howard 14:03:20 Hi Rahul 14:03:27 #info Sundar 14:03:27 #info shaohe_feng 14:03:31 #info Helloway 14:03:54 #info sum12 14:04:08 Hello All 14:04:47 Hi All, thanks for helping me last week. I have installed cyborg and services are showing in systemctl 14:05:04 To test the services i wanted to use curl command 14:05:32 But i am getting authentication error 14:06:00 FYI, I need to drop off at 7:20 am today. 14:06:08 Can anyone tell me, how i can get X-Auth-Token from devstack ? 14:06:29 my curl command is : curl -i -g -X POST http://localhost:6666/v1/accelerators -H 'Content-Type: application/json' -H "X-Auth-Token: b9764005b8c145bf972634fb16a826e8" -d '{ "name": "test" "description": "test" "device_type": "test" "acc_type": "test" "acc_capability": "test" "vendor_id": "test" "product_id": "test" "remotable": 1 }' 14:07:10 error is :HTTP/1.1 401 Unauthorized Content-Type: application/json Content-Length: 114 Www-Authenticate: Keystone uri="http://192.168.2.159/identity" X-Openstack-Request-Id: req-309dfffe-d3d6-45de-ad4d-42d60ec03b54 Date: Tue, 19 Jun 2018 11:43:28 GMT {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}} 14:07:30 Can we cover the main developments over the past week? 14:07:56 i guess, i am not using correct x-auth-token. So i wanted to know, how i can get this from devstack 14:08:38 Rahul, how did you get your token? 14:09:00 Sundar maybe we should find another time when Li Liu is also available 14:09:08 to discuss the os-acc 14:09:12 I copied this token from cyborg denver presentation 14:09:22 i didnt get that token 14:09:42 i know i am using wrong token.. so i want to know how i can get the correct token 14:09:53 Rahul, you should get the token from keystone. let me show it 14:10:02 OK, Howard. 14:11:26 zhipeng Sundar: I would be interested in os-acc, could you somehow loop me in if you have the discussion outside the meeting ? 14:11:27 http://localhost:6666/v1/accelerators -H 'Content-Type: application/json' -H "X-Auth-Token: $(openstack token issue -f value -c id)" -d '{ "name": "test" "description": "test" "device_type": "test" "acc_type": "test" "acc_capability": "test" "vendor_id": "test" "product_id": "test" "remotable": 1 }' 14:11:45 sum12 no problem 14:12:08 thanks 14:12:48 Thank you Shaohe, Should i use this curl command? 14:13:01 shaohe_feng is the current cli workable for basic cmds ? 14:13:05 sum12: Sure. The crux of the extended os-acc proposals are: #link https://etherpad.openstack.org/p/os-acc-discussion and https://docs.google.com/drawings/d/1gbfimiyA1f5sTeobN9mpavEkHT7Z_ScNUqimOkdIYGA/edit 14:15:11 Hi Shaohe, I am still getting auth error 14:15:12 Missing value auth-url required for auth plugin password HTTP/1.1 401 Unauthorized Content-Type: application/json Content-Length: 114 Www-Authenticate: Keystone uri="http://192.168.2.159/identity" X-Openstack-Request-Id: req-f4d773a6-2f17-4d36-900a-7c34b9b1121e Date: Wed, 20 Jun 2018 14:14:31 GMT {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}} 14:15:32 i used the curl command you sent 14:15:57 the cli can work 14:16:10 but only one command. list accelerators 14:16:22 zhipeng, we need add more commands. 14:16:22 Rahul, did you source openrc? 14:17:08 ok :) 14:17:09 Like this: source openrc admin admin 14:17:53 Ok . i will do that now 14:20:57 zhipeng, if a developer add a new api or change the exist api, he should add a command in the CLI 14:21:02 Need to drop now. Take care, everybody 14:21:28 shaohe_feng yes that should be the rule 14:22:12 well after doing source openrc, error msg got changed... saying faulty json format. I will check the json. Thanks all 14:22:40 folks I would like to add a spec file to the rpm-packing repo for cyborg 14:23:00 so that it can be installed as an rpm 14:23:02 Rahul, #link https://github.com/shaohef/cyborg/commit/5fcc739290cec436b734579bce439b8272a67d2c 14:23:19 any inputs ? 14:23:44 can also support deb? 14:24:48 #link https://wiki.openstack.org/wiki/Rpm-packaging 14:25:22 the spec files are used to build rpms, I do not know how to build a deb 14:25:49 once the spec file is included,an rpm can be built with every commit 14:26:23 sum12, so we can yum install cyborg? 14:27:14 shaohe_feng: well you will definitely need a repo, but if you have a rpm built locally, then one can install the rpm without a repo 14:27:23 shaohe_feng: in short yes 14:27:36 Thank you Shaohe.. just a question from the link 14:27:42 #info Li_Liu 14:27:46 i used the same curl command from the link 14:28:06 getting error as reason='uuid is required')\\n\\nObjectActionError: Object action create failed because: uuid is required\\n\" 14:28:30 should i use a uuid (random generated number)? 14:28:47 sum12 I doubt we need a spec for pkging 14:28:58 C ya Sundar 14:29:24 zhipeng: oops, I mean a spec-file 14:29:49 ya I think that's welcomed :) 14:30:08 Rahul, you can have a try. 14:30:10 this is nova #link https://github.com/openstack/rpm-packaging/blob/master/openstack/nova/nova.spec.j2 14:30:18 random uuid is OK. 14:30:59 Thanks Shaohe 14:33:46 okay will try to get one 14:35:18 sum12 thx 14:41:13 Rahul still got the problem ? 14:48:42 actually yes 14:48:57 okey since we have some sync problem with core folks's schedule, let's move some of the discussion topics offline 14:49:01 i tried a random generated number and put a new header in json as uuid 14:49:13 but still the error is there 14:50:04 Rahul, which error? 14:52:18 Curl command 14:52:22 curl -g -i -X POST http://localhost:66token issue -f value -c id)" -d 'Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: $(openstack t { "uuid": "2311444", "instance_uuid": "4047d422-5d2f-432c-b87f-5e1749e95ee6", "host": "cyborg-1", "resources1:CUSTOM_FPGA_INTEL_VF": "1", "resources:CUSTOM_FPGA_INTEL_PF": "1", "trait1:CUSTOM_CYBORG_FPGA": "re 14:52:41 i aded a uuid header there before instance_uuid 14:52:47 error msg 14:53:04 HTTP/1.1 500 Internal Server Error Content-Type: application/json Content-Length: 1314 X-Openstack-Request-Id: req-055dfa1a-1ce6-4556-89fe-e38e92916a2f Date: Wed, 20 Jun 2018 14:51:27 GMT {"error_message": "{\"debuginfo\": null, \"faultcode\": \"Server\", \"faultstring\": \"Cannot load 'parent_uuid' in the base class\\nTraceback (most recent call last):\\n\\n File \\\"/usr/local/lib/python2.7/dist-packages/oslo_messaging/r 14:53:22 its for the uuid only i guess 14:54:06 try to use https://www.uuidgenerator.net/ 14:54:23 to generate a uuid in the proper format 14:54:28 let me close the meeting first, you guys carry on :) 14:54:36 #endmeeting