Earlier  
Posted Nick Remark
#openstack-cyborg - 2018-06-18
10:01:22 yushiro Hi. Can anyone online now?
14:35:40 Sundar Hi Shaohe
#openstack-cyborg - 2018-06-20
06:44:36 openstackgerrit baiwenteng proposed openstack/cyborg master: add release notes to README.rst https://review.openstack.org/576754
14:02:51 Rahul Hi All, good morning.
14:02:53 zhipeng #startmeeting openstack-cyborg
14:02:54 openstack 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 openstack Useful Commands: #action #agreed #help #info #idea #link #topic #startvote.
14:02:58 openstack The meeting name has been set to 'openstack_cyborg'
14:03:09 zhipeng #topic Roll Call
14:03:17 zhipeng #info Howard
14:03:20 zhipeng Hi Rahul
14:03:27 shaohe_feng #info shaohe_feng
14:03:27 Sundar #info Sundar
14:03:31 Helloway #info Helloway
14:03:54 sum12 #info sum12
14:04:08 sum12 Hello All
14:04:47 Rahul Hi All, thanks for helping me last week. I have installed cyborg and services are showing in systemctl
14:05:04 Rahul To test the services i wanted to use curl command
14:05:32 Rahul But i am getting authentication error
14:06:00 Sundar FYI, I need to drop off at 7:20 am today.
14:06:08 Rahul Can anyone tell me, how i can get X-Auth-Token from devstack ?
14:06:29 Rahul 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 Rahul 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 Sundar Can we cover the main developments over the past week?
14:07:56 Rahul 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 shaohe_feng Rahul, how did you get your token?
14:09:00 zhipeng Sundar maybe we should find another time when Li Liu is also available
14:09:08 zhipeng to discuss the os-acc
14:09:12 Rahul I copied this token from cyborg denver presentation
14:09:22 Rahul i didnt get that token
14:09:42 Rahul i know i am using wrong token.. so i want to know how i can get the correct token
14:09:53 shaohe_feng Rahul, you should get the token from keystone. let me show it
14:10:02 Sundar OK, Howard.
14:11:26 sum12 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 shaohe_feng 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 zhipeng sum12 no problem
14:12:08 sum12 thanks
14:12:48 Rahul Thank you Shaohe, Should i use this curl command?
14:13:01 zhipeng shaohe_feng is the current cli workable for basic cmds ?
14:13:05 Sundar 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 Rahul Hi Shaohe, I am still getting auth error
14:15:12 Rahul 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 Rahul i used the curl command you sent
14:15:57 shaohe_feng the cli can work
14:16:10 shaohe_feng but only one command. list accelerators
14:16:22 Sundar Rahul, did you source openrc?
14:16:22 shaohe_feng zhipeng, we need add more commands.
14:17:08 zhipeng ok :)
14:17:09 Sundar Like this: source openrc admin admin
14:17:53 Rahul Ok . i will do that now
14:20:57 shaohe_feng zhipeng, if a developer add a new api or change the exist api, he should add a command in the CLI
14:21:02 Sundar Need to drop now. Take care, everybody
14:21:28 zhipeng shaohe_feng yes that should be the rule
14:22:12 Rahul well after doing source openrc, error msg got changed... saying faulty json format. I will check the json. Thanks all
14:22:40 sum12 folks I would like to add a spec file to the rpm-packing repo for cyborg
14:23:00 sum12 so that it can be installed as an rpm
14:23:02 shaohe_feng Rahul, #link https://github.com/shaohef/cyborg/commit/5fcc739290cec436b734579bce439b8272a67d2c
14:23:19 sum12 any inputs ?
14:23:44 shaohe_feng can also support deb?
14:24:48 sum12 #link https://wiki.openstack.org/wiki/Rpm-packaging
14:25:22 sum12 the spec files are used to build rpms, I do not know how to build a deb
14:25:49 sum12 once the spec file is included,an rpm can be built with every commit
14:26:23 shaohe_feng sum12, so we can yum install cyborg?
14:27:14 sum12 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 sum12 shaohe_feng: in short yes
14:27:36 Rahul Thank you Shaohe.. just a question from the link
14:27:42 Li_Liu #info Li_Liu
14:27:46 Rahul i used the same curl command from the link
14:28:05 Rahul getting error as reason='uuid is required')\\n\\nObjectActionError: Object action create failed because: uuid is required\\n\"
14:28:30 Rahul should i use a uuid (random generated number)?
14:28:47 zhipeng sum12 I doubt we need a spec for pkging
14:28:58 Li_Liu C ya Sundar
14:29:24 sum12 zhipeng: oops, I mean a spec-file
14:29:49 zhipeng ya I think that's welcomed :)
14:30:08 shaohe_feng Rahul, you can have a try.
14:30:10 sum12 this is nova #link https://github.com/openstack/rpm-packaging/blob/master/openstack/nova/nova.spec.j2
14:30:18 shaohe_feng random uuid is OK.
14:30:59 Rahul Thanks Shaohe
14:33:46 sum12 okay will try to get one
14:35:18 zhipeng sum12 thx
14:41:13 zhipeng Rahul still got the problem ?
14:48:42 Rahul actually yes
14:48:57 zhipeng okey since we have some sync problem with core folks's schedule, let's move some of the discussion topics offline
14:49:01 Rahul i tried a random generated number and put a new header in json as uuid
14:49:13 Rahul but still the error is there
14:50:04 shaohe_feng Rahul, which error?
14:52:18 Rahul Curl command
14:52:22 Rahul 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 Rahul i aded a uuid header there before instance_uuid
14:52:47 Rahul error msg
14:53:04 Rahul 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 Rahul its for the uuid only i guess
14:54:06 Li_Liu try to use https://www.uuidgenerator.net/
14:54:23 Li_Liu to generate a uuid in the proper format
14:54:28 zhipeng let me close the meeting first, you guys carry on :)
14:54:36 zhipeng #endmeeting
14:54:38 openstack Meeting ended Wed Jun 20 14:54:36 2018 UTC. Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)
14:54:39 openstack Minutes: http://eavesdrop.openstack.org/meetings/openstack_cyborg/2018/openstack_cyborg.2018-06-20-14.02.html
14:54:40 openstack Minutes (text): http://eavesdrop.openstack.org/meetings/openstack_cyborg/2018/openstack_cyborg.2018-06-20-14.02.txt
14:54:41 openstack Log: http://eavesdrop.openstack.org/meetings/openstack_cyborg/2018/openstack_cyborg.2018-06-20-14.02.log.html

Earlier   Later