Earlier  
Posted Nick Remark
#openstack-cyborg - 2018-06-20
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
14:56:08 Rahul I used a generated uuid from your link Li_Liu, but the same error is there
14:56:28 Rahul important part of the error is
14:56:29 Rahul "/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/base.py\\\", line 603, in obj_load_attr\\n _(\\\"Cannot load '%s' in the base class\\\") % attrname)\\n\\nNotImplementedError: Cannot load 'parent_uuid' in the base class\\n\"}"}
14:56:45 Rahul should i mention parent uuid too?
14:56:54 Rahul little confused
14:59:14 Li_Liu are you trying to add an accelerator to cyborg?
14:59:31 Rahul yes.. just to check the post method
15:00:15 Li_Liu the format is knida hard to read tho
15:01:09 Rahul i used the same from Shaohe's link
15:01:12 Rahul https://github.com/shaohef/cyborg/commit/5fcc739290cec436b734579bce439b8272a67d2c
15:01:13 Li_Liu did you use the rul http://localhost:6666/v1/accelerators?
15:01:20 Rahul just added uuid
15:01:56 Li_Liu ahh
15:01:57 Li_Liu i see
15:02:26 Li_Liu this code is written by shaohe a while ago, which did not have the parent_uuid stuff in place yet
15:02:55 Rahul ok .. i see
15:03:15 Rahul can i get a curl command, which will work in current code
15:03:24 Li_Liu I will ask shaohe to provide the command for you
15:03:33 Rahul Thanks Li_liu
15:03:55 Rahul My mail id :
15:04:15 Rahul and
15:04:15 Rahul rahul_cse09@yahoo.co.in
15:04:22 Rahul rahul.dutta@huawei.com
15:05:17 Li_Liu sure, ok
15:05:24 Li_Liu you keep you updated
15:05:34 Rahul Thanks li Liu
15:06:32 Li_Liu npnp
#openstack-cyborg - 2018-06-22
02:50:05 openstackgerrit Merged openstack/cyborg master: fix tox python3 overrides https://review.openstack.org/572953
14:43:24 openstackgerrit Sundar Nadathur proposed openstack/cyborg master: Cyborg/Nova/Glance interaction in compute node, including os-acc. https://review.openstack.org/577438
#openstack-cyborg - 2018-06-25
12:27:56 shaohe_feng hi all, today's meeting will cancel.
#openstack-cyborg - 2018-06-27
05:31:23 openstackgerrit Sundar Nadathur proposed openstack/cyborg master: Cyborg/Nova/Glance interaction in compute node, including os-acc. https://review.openstack.org/577438
14:04:15 Li_Liu #startmeeting openstack-cyborg
14:04:16 openstack Meeting started Wed Jun 27 14:04:15 2018 UTC and is due to finish in 60 minutes. The chair is Li_Liu. Information about MeetBot at http://wiki.debian.org/MeetBot.
14:04:17 openstack Useful Commands: #action #agreed #help #info #idea #link #topic #startvote.
14:04:19 openstack The meeting name has been set to 'openstack_cyborg'
14:04:46 Li_Liu #topic Roll Call
14:04:57 Li_Liu #info Li_Liu
14:04:58 shaohe_feng #shaohe_feng
14:05:05 shaohe_feng #info shaohe_feng
14:05:22 efried ō/
14:05:28 sum12 #info sum12
14:06:55 Sundar #info Sundar
14:07:04 Li_Liu Let's get started
14:07:24 Li_Liu Howard is not here today, I will run the meeting for me today
14:07:52 Li_Liu #topic os-acc discussion
14:08:25 Li_Liu HI Sundar, do you want to lead this topic?
14:08:54 Sundar Sure, Li Liu
14:09:27 Sundar The os-acc spec was updated as indicated in #link http://lists.openstack.org/pipermail/openstack-dev/2018-June/131751.html
14:09:40 Sundar The reasons for the update are listed there as well
14:10:12 Sundar The updated spec is in #link https://review.openstack.org/#/c/577438/
14:10:50 Sundar efried: One comment I got was to include a sequence diagram
14:10:56 efried yup
14:11:17 Sundar When I follow https://review.openstack.org/#/c/572583/11/specs/rocky/approved/reshape-provider-tree.rst, I get an error in RST syntax
14:11:31 Sundar The seqdiag directive is not known to standard RST editors
14:11:53 Sundar What do you do to in addition to updating requirements.txt etc.?
14:11:55 efried Sundar: Right, you have to set up dependencies and other stuff in your env
14:12:05 efried hold on, let me find the patch where we added that stuff into nova-specs...
14:12:18 Sundar Yes, requirements.txt and doc/source/conf.py need to be updated
14:12:36 efried right, okay - so you did those things and it's still busted?
14:13:16 Li_Liu Sundar, quick question, do we still need a dedicated os-acc spec on top of this one you posted?
14:13:17 Sundar The standard RST editors like http://rst.ninjs.org/# wouldn't know about them. So, how do you check before a submit?
14:13:44 efried If you're building locally, you'll need to make sure the dep is installed into your venv. You can do that by adding -r to your tox command, or you can enter the venv and install it manually via pip
14:14:25 Sundar OK, how do you run the tox command?
14:14:45 efried Sundar: How have you been running it thus far?
14:15:00 efried tox -e docs ?
14:15:28 Sundar SO, tox -e -r docs?
14:15:31 efried So you would say tox -re docs instead. That will rebuild the venv from scratch. That's assuming your problem is the missing dependency.
14:15:48 Sundar Got it. Thanks, Eric.
14:15:55 efried No, -e is how you specify which testenv, so tox -r -e docs or tox -re docs
14:15:56 Sundar Li Liu: I don't see why. We should be able to add any additional detail here
14:16:02 efried ++ ^
14:16:18 Sundar Sure, Eric
14:16:21 efried agree the goal should be to have all the necessary design detail here.
14:16:35 Li_Liu sure, that is what I figured
14:16:52 efried Sundar: This is assuming the problem was the missing dependency. If you're still having problems, let me know and I'll see if I can help out.
14:16:53 Sundar Li Liu: We presumably need to add a bit more detail on how we can do a plugin for x86+FPGAs. Is that what you are looking for.
14:17:27 Sundar Thanks, Eric. I may take up on that if things don't work out by today :)
14:17:43 efried we're still doing this in openstack/cyborg, huh?
14:17:48 Li_Liu yup
14:17:49 efried any plans to move to cyborg-specs?
14:18:03 efried would make things easier to find :)
14:18:39 Sundar I was told we have latitude to stick to the current location for this cycle.

Earlier   Later