*** Mitschke has quit IRC | 00:20 | |
*** sigmavirus has quit IRC | 00:20 | |
*** _sigmavirus24 has joined #craton | 00:23 | |
*** syed_ has quit IRC | 00:55 | |
*** valw has joined #craton | 03:14 | |
*** valw has quit IRC | 03:17 | |
*** Mudpuppy has quit IRC | 03:28 | |
sulo | o/ | 09:52 |
---|---|---|
sulo | _sigmavirus24: chrisspencer: i have a few questions re cratonclient | 11:37 |
sulo | i am not sure i understand how this is meant to work .. you have inevntory object that has cells/hosts but not region | 11:38 |
sulo | how is region, user, project etc supposed to work here | 11:38 |
*** VW has joined #craton | 12:10 | |
_sigmavirus24 | sulo: yeah, so I'm working on testing right now so when I add that it'll be easily done | 12:11 |
_sigmavirus24 | But you're right, we're missing regions on anything | 12:12 |
_sigmavirus24 | Further, I don't understand the point of the inventory object personally | 12:12 |
*** _sigmavirus24 is now known as sigmavirus | 12:12 | |
*** sigmavirus has joined #craton | 12:12 | |
*** ChanServ sets mode: +o sigmavirus | 12:12 | |
sulo | sigmavirus: same, i dont see the use, or if we really want it like that then the top level scope should be project .. otherwise it prolly wont work | 12:13 |
sulo | also isnt project_id now same for both keystone and craton ? | 12:13 |
sulo | so we can call craton-project-id just os-project-id (and it should be non int), ill push a few fixes for this soon | 12:14 |
sigmavirus | sulo: I agree that projects, hosts, cells, etc should all be at the same level. I think the inventory object is meant to make it so you don't have to constantly provide the region_id | 12:14 |
sigmavirus | sulo: so if you look at tools/cratonclient<whatever>.py you can see how it works with keystone | 12:15 |
sulo | ah nice, i forgot you pushed that script there | 12:16 |
*** VW has quit IRC | 12:17 | |
*** VW has joined #craton | 12:17 | |
sigmavirus | sulo: once I'm happy with how cratonclient is, I think I want to switch generate_fake_data over to it so we can use it for keystone or craton auth | 12:17 |
sulo | cool, that sounds good | 12:17 |
*** VW has quit IRC | 12:19 | |
*** Mudpuppy has joined #craton | 13:05 | |
*** Mudpuppy has quit IRC | 13:18 | |
*** valw has joined #craton | 14:09 | |
*** Mudpuppy has joined #craton | 14:18 | |
*** Tamayo has joined #craton | 14:20 | |
*** Tamayo has quit IRC | 14:23 | |
*** Tamayo has joined #craton | 14:23 | |
*** VW has joined #craton | 14:43 | |
*** jovon has joined #craton | 14:44 | |
sulo | sometimes i totes hate sqlalchemy | 14:45 |
jovon | we haves that much in common :) | 14:46 |
sigmavirus | sulo: that's how you know you're alive | 14:46 |
*** valw has quit IRC | 14:47 | |
*** valw has joined #craton | 14:55 | |
chrisspencer | sulo, sigmavirus: the inventory piece was something Jim had wanted added. Several months ago I brought up how we wanted to "collect" everything and because our device inventory bits all required a region ID it was decided that should be the break. Thus project, region, users would all sit outside of the inventory piece | 14:56 |
chrisspencer | see the whiteboard: https://blueprints.launchpad.net/craton/+spec/craton-client-access-inventory | 14:57 |
sigmavirus | chrisspencer: Sure, makes sense that projects, regions, and users would all be at teh same place as the inventory object | 14:57 |
*** VW has quit IRC | 14:57 | |
sigmavirus | Honestly, I'd rather have something like craton_client.regions.get(region_id).hosts | 14:58 |
sigmavirus | *craton_client.regions.get(region_id).hosts.list() | 14:58 |
chrisspencer | that's how we had it originally | 14:58 |
*** VW has joined #craton | 14:58 | |
chrisspencer | it should be fairly easy to remove the inventory bit and get back to that | 14:58 |
* sigmavirus looks at whiteboard | 14:58 | |
chrisspencer | sigmavirus: I think jimbaker had a gist somewhere too | 14:59 |
chrisspencer | https://gist.github.com/jimbaker/df47cabfefa6d6985af9029449b589df | 15:01 |
*** Mudpuppy_ has joined #craton | 15:01 | |
*** valw_ has joined #craton | 15:02 | |
*** valw has quit IRC | 15:04 | |
*** Mudpuppy has quit IRC | 15:04 | |
*** VW has quit IRC | 15:11 | |
*** VW has joined #craton | 15:11 | |
*** syed_ has joined #craton | 15:14 | |
*** valw_ has quit IRC | 15:14 | |
*** Mudpuppy_ has quit IRC | 15:16 | |
*** Mudpuppy has joined #craton | 15:16 | |
*** Mudpuppy has quit IRC | 15:21 | |
sigmavirus | sulo: do you know if Jim made it back safely/when he should be back? | 15:55 |
sulo | sigmavirus: jim is off this week i believe | 15:55 |
sigmavirus | aha | 15:55 |
sulo | he is back next tuesday irrc | 15:55 |
sigmavirus | Good to know | 15:56 |
sigmavirus | I'm hanging out in the vidyo room in anticipation of the meeting, but we can skip this week if we want | 15:56 |
sulo | we have a meeting in 5 mins | 15:56 |
sulo | we can carry on with the meetings | 15:56 |
sulo | ill join in a few | 15:57 |
sulo | jovon: syed_, chrisspencer ^^ | 15:57 |
*** Mudpuppy has joined #craton | 15:58 | |
jovon | are you sure sulo? my calendar says in 1 hour | 15:59 |
jovon | thats been the regular time | 16:00 |
*** valw has joined #craton | 16:00 | |
sulo | its 1600 UTC | 16:00 |
syed_ | coming | 16:00 |
sulo | so thats now ?? although we just had daylight saving done | 16:00 |
sulo | not sure where US is right now | 16:01 |
syed_ | yeah thats now | 16:01 |
*** Tamayo has quit IRC | 16:09 | |
*** Tamayo has joined #craton | 16:11 | |
sigmavirus | https://sbrunner.github.io/sphinx-prompt/ | 16:28 |
sigmavirus | jovon: https://gitlab.com/pycqa/flake8/raw/master/docs/source/user/options.rst which renders like so: http://flake8.pycqa.org/en/latest/user/options.html | 16:32 |
jovon | http://craton.readthedocs.io/en/latest/cratoncli.html#contents | 16:33 |
*** VW has quit IRC | 16:43 | |
*** rainya has joined #craton | 16:48 | |
*** rainya has quit IRC | 16:53 | |
*** VW has joined #craton | 16:56 | |
*** VW has quit IRC | 17:00 | |
sigmavirus | syed_: are you reviewing glance things now? | 17:04 |
syed_ | was just looking over that, seems interesting :) | 17:05 |
syed_ | been a while have been outta touch with whats going on in the world of openstack | 17:05 |
sigmavirus | syed_: pro-tip, it looks *horrible* when you +1 something after it's got 2 +2's and a W+1 | 17:05 |
syed_ | ooh, even if you thinks its an okay change ? | 17:06 |
sigmavirus | Correct. Most people assume the person is trying to game review stats | 17:06 |
sigmavirus | No one assumes the best intentions | 17:06 |
*** valw has quit IRC | 17:09 | |
syed_ | Crap | 17:09 |
syed_ | so better not to review then | 17:09 |
syed_ | well thanks for the tip Ian | 17:09 |
*** harlowja has joined #craton | 17:11 | |
*** VW has joined #craton | 17:12 | |
sigmavirus | syed_: you can review things, just voting +1 on something approved will earn you only distrust | 17:12 |
sigmavirus | so look for things that a core hasn't +2'd and workflowed :) | 17:12 |
*** valw has joined #craton | 17:21 | |
*** valw has quit IRC | 17:25 | |
*** VW has quit IRC | 17:42 | |
*** valw has joined #craton | 17:45 | |
*** valw has quit IRC | 17:45 | |
*** VW has joined #craton | 17:46 | |
*** valw has joined #craton | 17:50 | |
harlowja | jimbaker don't forget to submit that taskflow thing, whatever it was | 17:57 |
harlowja | ha | 17:57 |
harlowja | something state transitions, lol | 17:57 |
*** valw has quit IRC | 18:09 | |
*** valw has joined #craton | 18:21 | |
*** valw has quit IRC | 18:26 | |
*** valw has joined #craton | 18:48 | |
*** valw has quit IRC | 18:53 | |
*** valw has joined #craton | 18:55 | |
syed_ | sigmavirus: a general question. Shouldn't we be having pip package for craton client ? | 18:58 |
syed_ | so we can have install like pip install python-cratonclient | 18:58 |
syed_ | ? | 18:58 |
syed_ | as per http://python-cratonclient.readthedocs.io/en/latest/installation.html | 18:59 |
sigmavirus | syed_: hasn't been released yet, so there is no client | 19:02 |
sigmavirus | (to pip install) | 19:02 |
syed_ | cool | 19:02 |
sigmavirus | syed_: you can do `pip install -e https://github.com/openstack/python-cratonclient` | 19:12 |
*** Tamayo has quit IRC | 19:22 | |
*** valw has quit IRC | 19:44 | |
syed_ | https://review.openstack.org/#/c/392296/ | 20:18 |
syed_ | guys | 20:18 |
*** valw has joined #craton | 20:25 | |
sigmavirus | syed_: jovon https://review.openstack.org/392298 | 20:27 |
syed_ | sigmavirus: Looking. Thanks | 20:28 |
sigmavirus | syed_: why did you think the container id was easier? | 20:28 |
syed_ | sigmavirus: earlier when i did the deploy maybe a month before, i ran into the name being carton-api:latest | 20:31 |
syed_ | and logs was saying no such container exists | 20:31 |
syed_ | i thought maybe ID will give people some ease to go into the container which has craton running | 20:31 |
syed_ | but maybe would have been my fault earlier | 20:31 |
*** VW has quit IRC | 20:36 | |
*** VW has joined #craton | 20:37 | |
sigmavirus | syed_: so the image repository is "craton-api" | 20:42 |
sigmavirus | the container name is specified with --name | 20:42 |
sigmavirus | and in the example above it's craton-api as well | 20:42 |
sigmavirus | so if you do docker logs -f craton-api (having run the docker-run command) then it should work | 20:43 |
sigmavirus | anyway, I have to run. | 20:43 |
lcastell | hey guys when you have a chance could you please take a look at: http://paste.openstack.org/show/587585/ syed_, sigmavirus | 20:57 |
*** VW_ has joined #craton | 20:57 | |
*** VW_ has quit IRC | 20:58 | |
*** valw has quit IRC | 20:58 | |
*** VW_ has joined #craton | 20:58 | |
*** Mudpuppy has quit IRC | 20:58 | |
*** VW has quit IRC | 21:01 | |
*** VW_ has quit IRC | 21:44 | |
*** VW has joined #craton | 21:53 | |
*** VW_ has joined #craton | 22:22 | |
*** VW has quit IRC | 22:26 | |
*** VW_ has quit IRC | 22:26 | |
*** jovon has quit IRC | 23:17 | |
*** VW has joined #craton | 23:55 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!