/srv/irclogs.ubuntu.com/2015/09/23/#juju.txt

=== Guest44232 is now known as zz_Guest44232
jamespagegnuoy, based on your +1 of my wily python bootstrap fix yesterday, are you ok for me to land the same change across all of the charms with appropriate unit/lint/amulet +1's?07:51
jamespageI could give you all of the MP's but there are quite a few07:51
gnuoyjamespage,RS +1 for the rest07:51
jamespagegnuoy, ta07:51
* jamespage goes todo some landing07:51
=== natefinch-afk is now known as natefeinch
=== natefeinch is now known as natefinch
jamespagethedac, coreycb, ddellav, gnuoy: working through action upgrade landings pm today14:04
coreycbjamespage, ah great thanks14:05
coreycbjamespage, wolsen's been reviewing too. note that we can't call register_configs() in the action, we need to import CONFIGS instead so some of the mp's need updates.14:06
jamespagecoreycb, so like - https://code.launchpad.net/~thedac/charms/trusty/swift-storage/action-managed-upgrade/+merge/27204614:07
jamespagethat's ok right?14:07
coreycbjamespage, yep that one's good14:07
jamespagecoreycb, ok - I still see some ones need updating14:15
thedacjamespage: swift-storage is good. The rest of mine still need fixing. I got stuck yesterday on nova cc. I can't quite figure out what I need to mock to allow importing of the openstack_upgrade. I may skip this one and get the others ready.14:28
jamespagethedac, ack - and where did you guys get to last week on service status stuff?14:29
jamespage(just catching up)14:29
thedacThe CH bits are landed. And I demonstrated to our team but no further. Action upgrades was the priority14:30
thedacopenstack-dashboard should be good now14:38
thedacand neutron-gateway should have started with those. :) Now back to the grind with nova cc14:41
thedacjamespage: nova-cloud-controller done. I finally looked at the git_install example which layed out exactly what I needed. :p16:10
cholcombeanyone know if you can deny juju storage from detaching a disk?17:19
rick_h_cholcombe: hmm, does storage support blocks?17:20
cholcombei have no idea17:21
cholcombei'm thinking when a disk is being detached i might want to prevent it until i know it's safe17:21
cholcomberick_h_, if i'm down to 2 out of 3 disks in my replica set and another disk is being detached i want to stop that17:22
cholcomberick_h_, that reminds me i need to create another task for myself17:22
rick_h_cholcombe: if you could it would be a block https://jujucharms.com/docs/1.24/juju-block17:22
rick_h_cholcombe: I just noticed I don't have the PPA and 1.25 on this machine thuogh so not able to test that list out17:23
cholcombei'm running 1.24.x17:23
rick_h_cholcombe: if not, might be worth a juju email thread.17:23
rick_h_alexisb: ^17:23
rick_h_cholcombe: yea, storage is a feature flag in 1.24 though right?17:24
cholcomberick_h_, thanks.  If we can block that will prevent possible disasters17:24
cholcomberick_h_, i believe so17:24
rick_h_cholcombe: yea, not seeing it in the list and it's not part of the general config block-able stuff https://jujucharms.com/docs/1.24/config-general#alphabetical-list-of-general-configuration-values17:25
alexisbcholcombe, there were many improvements to storage in 1.2517:25
alexisbcholcombe, I can send you a list17:25
alexisband your best expert on this is axw17:26
rick_h_cholcombe: alexisb I think the question is does storage support or plan on supporting blocks on it17:26
cholcombealexisb, ok yeah i was chatting with him last night.  he's on aussy time17:26
cholcombealexisb, i'll see if i can catch him later today17:26
rick_h_cholcombe: if you chat with him let me know what you find out17:26
cholcomberick_h_, will do :)17:27
cholcomberick_h_, this will necessitate functions to tell whether it's safe to remove a disk.  That's tricky with ceph17:27
rick_h_cholcombe: well what would happen is yo'd block it and if someone tried to do something that killed it it would stop and say no17:27
rick_h_cholcombe: and you'd have to manually remove the block to continue17:28
cholcomberight17:28
cholcomberick_h_, it's best effort right?  people can still just yank the disk17:28
rick_h_cholcombe: yes, this is all only within juju17:28
firlAny openstack charmers on?17:28
=== scuttlemonkey is now known as scuttle|afk
marcoceppifirl: there are dozens of us! I'm not one, but I'm dangerous enough to answer questions. Best to just ask17:29
firlhaha thanks marcoceppi17:29
firlI specifically want to branch / know the best way of getting mellanox support into the trusty/juno stack for neutron,nova, and ceph17:29
=== scuttle|afk is now known as scuttlemonkey
marcoceppifirl: well first off, all the core openstack charms are the same codebase, so the charms in trusty, vivid, precise, wily, etc are the same and that same code base models strategies for Icehouse -> Liberty17:33
firlit’s all in bazaar too?17:34
marcoceppifirl: the development workflow is modeled here: https://wiki.ubuntu.com/ServerTeam/OpenStackCharms17:34
marcoceppifirl: it's all in bzr atm, but they are moving to include the charms in git, not sure the process of that beisner coreycb jamespage ^?17:35
firlthanks marcoceppi for the link, I don’t know the best way to integrate the mellanox side. I figured I would just make it a boolean config value with sane defaults to start17:36
coreycbfirl, marcoceppi: james is working on moving the charms to git but I don't think we're there yet.  so I'd use bzr for now.17:37
firlkk17:37
coreycbfirl, jamespage or gnuoy would be best to ask about mellanox but you might need to hit them up earlier tomorrow since they're probably EOD now17:38
firlgotcha17:38
marcoceppibcsaller cory_fu I've got some questions about the charm gen/layers stuff around best practices18:29
cory_fuSure18:29
bcsallergo for it18:29
bcsallerI am sure there are some things we can do to make it easier18:29
marcoceppibcsaller cory_fu so this is my first stab https://github.com/marcoceppi/mysql-charm-layer18:30
marcoceppione thing I tried to do was create a helpers directory in the reactive dir to house my charm specific code that I didn't want cluttering my mysql.py file in reactive18:31
marcoceppibut that didn't work for imports, so I put it in lib/helpers, though I can see this as being potentially a problem/conflict18:31
marcoceppiso I was curious if there was a pattern already for where to house this code, the idea being that they're generic MySQL helpers (install_mysql, create_database) that other layers could utilize via importing18:32
marcoceppithere are almost things that were once in charmhelpers.contrib.mysql actually18:32
cory_fuI think lib makes sense, then.  Maybe lib/helpers/__init__.py could be created in base, if that's a common namespace, though you could also have used mysql_helpers18:33
marcoceppiI despise underscores in general, so I just used a directory to namespace, but to your point I could creaet mysql_helpers.py in lib?18:34
bcsallermarcoceppi:  off the top of my head there are a few ways this could play out. One, we talked about namespaces for newer charm helpers, so they can be different repos but still packaged and pushed to pip. I that case you might add a pip import trigger to your layer in /lib for example18:34
bcsallermarcoceppi: you can see the base layer does this to include its deps18:34
bcsallerI wouldn't mind if CH made its own namespace and other packages added to that18:35
marcoceppibcsaller: I did see that, these aren't actually in the contrib library, and while somewhat generic they are verioned/released with the layer which is why I opted to have it as an included dep18:35
bcsallerahh ok18:35
marcoceppiembeded*18:35
cory_fumarcoceppi, bcsaller: We could certainly have a lib/charms/ namespace directory in base so that layers could easily add packages to that namespace without creating a separate, external library18:36
bcsallercory_fu: or allow layers a helper that could help adjust the python path, but that might be too much18:36
marcoceppicory_fu: so I could just have lib/charms/mysql ? alongside reactive?18:36
cory_fuRight18:36
marcoceppithat sounds interesting18:36
cory_fuActually, with how the libs are pulled in from pypi, I don't think we'd even need to change the basic layer18:37
cory_fuI think it would probably just work if you created those folders in your mysql layer18:38
bcsalleryeah, it should18:38
* marcoceppi tries that18:38
cory_fumarcoceppi: So, just change lib/helpers to lib/charms and drop lib/helpers/__init__.py18:39
marcoceppicory_fu: I mean, it worked18:40
marcoceppilet me change the import calls and deploy18:40
marcoceppiI love charm inspect18:42
bcsallercool18:42
cory_fuI would love it more if we could get it to work with paging (e.g., less) ;)18:43
cory_fuEven if the paging was built-in18:43
marcoceppibcsaller cory_fu yeah, that worked great, upgrade charm ran cleanly so new imports worked etc18:43
marcoceppinot sure if we want to document that as a best practice or not?18:43
bcsallercory_fu: I could patch that I think, blessings does tty detection (which less fails) but you can disable that18:43
cory_fubcsaller: Maybe a "--force-color" option that disables the auto-detect?18:44
bcsalleryeah, I can look into that18:44
cory_fumarcoceppi: I think that seems like a good practice, yeah18:44
marcoceppicory_fu bcsaller I also noticed there are some patches in 1.6 branch for compose not released, should those be another patch release?18:44
marcoceppior do youy have more you wish to land first?18:45
bcsallermarcoceppi: there will have to be, one is an important bug fix, but we still might want to wait for the bikeshed on naming to resolve18:45
bcsallermarcoceppi: I have a branch with the current naming in it, but I will also try to make inspect page better, we'll call it minor papercuts18:46
cory_fubcsaller: Is the bike-shedding not already resolved from on-high?  ;)18:48
cory_fubcsaller: And at any rate, just make aliases18:48
marcoceppiyes, aliases with "deprecation" notice? and then never deprecate18:49
bcsallerthey are just aliases in setup.py now18:49
marcoceppiyou never truly finish bikshedding18:49
bcsallerhttps://en.wikipedia.org/wiki/Parkinson%27s_law_of_triviality but I do agree names can be important18:50
wolverineavhey, this is openstack keystone related query - for HA, it mentions this: "VIP is only required if you plan on multi-unit clustering (requires relating with hacluster charm). The VIP becomes a highly-available API endpoint."19:42
wolverineavi don't know what is the hacluster charm in this context. is it 'haproxy'?19:42
rick_h_wolverineav: https://jujucharms.com/hacluster/19:44
wolverineavah, thanks rick_h19:45
rick_h_wolverineav: np, good luck!19:45
wolverineavsomehow when you search 'hacluster' in charmstore, this one is not in the top 1019:46
rick_h_wolverineav: ah, it's not fully gone through the review process so it's demoted.19:48
rick_h_wolverineav: I'll look into that. thanks for the heads up19:48
wolverineavrick_h_: that explains it :)19:49
=== natefinch is now known as natefinch-afk
=== zz_Guest44232 is now known as CyberJacob
=== CyberJacob is now known as zz_CyberJacob

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