Tuesday, 2016-11-01

*** Mitschke has quit IRC00:20
*** sigmavirus has quit IRC00:20
*** _sigmavirus24 has joined #craton00:23
*** syed_ has quit IRC00:55
*** valw has joined #craton03:14
*** valw has quit IRC03:17
*** Mudpuppy has quit IRC03:28
suloo/09:52
sulo_sigmavirus24: chrisspencer: i have a few questions re cratonclient11:37
suloi am not sure i understand how this is meant to work .. you have inevntory object that has cells/hosts but not region11:38
sulohow is region, user, project etc supposed to work here11:38
*** VW has joined #craton12:10
_sigmavirus24sulo: yeah, so I'm working on testing right now so when I add that it'll be easily done12:11
_sigmavirus24But you're right, we're missing regions on anything12:12
_sigmavirus24Further, I don't understand the point of the inventory object personally12:12
*** _sigmavirus24 is now known as sigmavirus12:12
*** sigmavirus has joined #craton12:12
*** ChanServ sets mode: +o sigmavirus12:12
sulosigmavirus: 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 work12:13
suloalso isnt project_id now same for both keystone and craton ?12:13
suloso we can call craton-project-id just os-project-id (and it should be non int), ill push a few fixes for this soon12:14
sigmavirussulo: 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_id12:14
sigmavirussulo: so if you look at tools/cratonclient<whatever>.py  you can see how it works with keystone12:15
suloah nice, i forgot you pushed that script there12:16
*** VW has quit IRC12:17
*** VW has joined #craton12:17
sigmavirussulo: 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 auth12:17
sulocool, that sounds good12:17
*** VW has quit IRC12:19
*** Mudpuppy has joined #craton13:05
*** Mudpuppy has quit IRC13:18
*** valw has joined #craton14:09
*** Mudpuppy has joined #craton14:18
*** Tamayo has joined #craton14:20
*** Tamayo has quit IRC14:23
*** Tamayo has joined #craton14:23
*** VW has joined #craton14:43
*** jovon has joined #craton14:44
sulosometimes i totes hate sqlalchemy14:45
jovonwe haves that much in common :)14:46
sigmavirussulo: that's how you know you're alive14:46
*** valw has quit IRC14:47
*** valw has joined #craton14:55
chrisspencersulo, 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 piece14:56
chrisspencersee the whiteboard: https://blueprints.launchpad.net/craton/+spec/craton-client-access-inventory14:57
sigmaviruschrisspencer: Sure, makes sense that projects, regions, and users would all be at teh same place as the inventory object14:57
*** VW has quit IRC14:57
sigmavirusHonestly, I'd rather have something like craton_client.regions.get(region_id).hosts14:58
sigmavirus*craton_client.regions.get(region_id).hosts.list()14:58
chrisspencerthat's how we had it originally14:58
*** VW has joined #craton14:58
chrisspencerit should be fairly easy to remove the inventory bit and get back to that14:58
* sigmavirus looks at whiteboard14:58
chrisspencersigmavirus: I think jimbaker had a gist somewhere too14:59
chrisspencerhttps://gist.github.com/jimbaker/df47cabfefa6d6985af9029449b589df15:01
*** Mudpuppy_ has joined #craton15:01
*** valw_ has joined #craton15:02
*** valw has quit IRC15:04
*** Mudpuppy has quit IRC15:04
*** VW has quit IRC15:11
*** VW has joined #craton15:11
*** syed_ has joined #craton15:14
*** valw_ has quit IRC15:14
*** Mudpuppy_ has quit IRC15:16
*** Mudpuppy has joined #craton15:16
*** Mudpuppy has quit IRC15:21
sigmavirussulo: do you know if Jim made it back safely/when he should be back?15:55
sulosigmavirus: jim is off this week i believe15:55
sigmavirusaha15:55
sulohe is back next tuesday irrc15:55
sigmavirusGood to know15:56
sigmavirusI'm hanging out in the vidyo room in anticipation of the meeting, but we can skip this week if we want15:56
sulowe have a meeting in 5 mins15:56
sulowe can carry on with the meetings15:56
suloill join in a few15:57
sulojovon: syed_, chrisspencer ^^15:57
*** Mudpuppy has joined #craton15:58
jovonare you sure  sulo? my calendar says in 1 hour15:59
jovonthats been the regular time16:00
*** valw has joined #craton16:00
suloits 1600 UTC16:00
syed_coming16:00
suloso thats now ?? although we just had daylight saving done16:00
sulonot sure where US is right now16:01
syed_yeah thats now16:01
*** Tamayo has quit IRC16:09
*** Tamayo has joined #craton16:11
sigmavirushttps://sbrunner.github.io/sphinx-prompt/16:28
sigmavirusjovon: https://gitlab.com/pycqa/flake8/raw/master/docs/source/user/options.rst which renders like so: http://flake8.pycqa.org/en/latest/user/options.html16:32
jovonhttp://craton.readthedocs.io/en/latest/cratoncli.html#contents16:33
*** VW has quit IRC16:43
*** rainya has joined #craton16:48
*** rainya has quit IRC16:53
*** VW has joined #craton16:56
*** VW has quit IRC17:00
sigmavirussyed_: 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 openstack17:05
sigmavirussyed_: pro-tip, it looks *horrible* when you +1 something after it's got 2 +2's and a W+117:05
syed_ooh, even if you thinks its an okay change ?17:06
sigmavirusCorrect. Most people assume the person is trying to game review stats17:06
sigmavirusNo one assumes the best intentions17:06
*** valw has quit IRC17:09
syed_Crap17:09
syed_so better not to review then17:09
syed_well thanks for the tip Ian17:09
*** harlowja has joined #craton17:11
*** VW has joined #craton17:12
sigmavirussyed_: you can review things, just voting +1 on something approved will earn you only distrust17:12
sigmavirusso look for things that a core hasn't +2'd and workflowed :)17:12
*** valw has joined #craton17:21
*** valw has quit IRC17:25
*** VW has quit IRC17:42
*** valw has joined #craton17:45
*** valw has quit IRC17:45
*** VW has joined #craton17:46
*** valw has joined #craton17:50
harlowjajimbaker don't forget to submit that taskflow thing, whatever it was17:57
harlowjaha17:57
harlowjasomething state transitions, lol17:57
*** valw has quit IRC18:09
*** valw has joined #craton18:21
*** valw has quit IRC18:26
*** valw has joined #craton18:48
*** valw has quit IRC18:53
*** valw has joined #craton18: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-cratonclient18:58
syed_?18:58
syed_as per http://python-cratonclient.readthedocs.io/en/latest/installation.html18:59
sigmavirussyed_: hasn't been released yet, so there is no client19:02
sigmavirus(to pip install)19:02
syed_cool19:02
sigmavirussyed_: you can do `pip install -e https://github.com/openstack/python-cratonclient`19:12
*** Tamayo has quit IRC19:22
*** valw has quit IRC19:44
syed_https://review.openstack.org/#/c/392296/20:18
syed_guys20:18
*** valw has joined #craton20:25
sigmavirussyed_: jovon https://review.openstack.org/39229820:27
syed_sigmavirus: Looking. Thanks20:28
sigmavirussyed_: 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:latest20:31
syed_and logs was saying no such container exists20:31
syed_i thought maybe ID will give people some ease to go into the container which has craton running20:31
syed_but maybe would have been my fault earlier20:31
*** VW has quit IRC20:36
*** VW has joined #craton20:37
sigmavirussyed_: so the image repository is "craton-api"20:42
sigmavirusthe container name is specified with --name20:42
sigmavirusand in the example above it's craton-api as well20:42
sigmavirusso if you do docker logs -f craton-api (having run the docker-run command) then it should work20:43
sigmavirusanyway, I have to run.20:43
lcastellhey guys when you have a chance could you please take a look at: http://paste.openstack.org/show/587585/ syed_, sigmavirus20:57
*** VW_ has joined #craton20:57
*** VW_ has quit IRC20:58
*** valw has quit IRC20:58
*** VW_ has joined #craton20:58
*** Mudpuppy has quit IRC20:58
*** VW has quit IRC21:01
*** VW_ has quit IRC21:44
*** VW has joined #craton21:53
*** VW_ has joined #craton22:22
*** VW has quit IRC22:26
*** VW_ has quit IRC22:26
*** jovon has quit IRC23:17
*** VW has joined #craton23:55

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!