/srv/irclogs.ubuntu.com/2012/04/07/#juju.txt

=== benonsoftware is now known as Guest92794
imbrandonhazmat: when you get a few minutes i10:58
imbrandon'd like to pick your brain on what it will take to add a hpcloud provider10:58
=== almaisan-away is now known as al-maisan
hazmatimbrandon, greetings11:47
hazmatimbrandon, it wouldn't take much.. the compute api should work with juju via its ec2 compatiblity, we just need a place to store a few files per s3 compatiblity, right now compute and storage is composed as a single provider config.   There are lots of options, separate out storage and compute within a provider, allow the provider to provide its own storage on top of compute, expose an s3 api to hpc's storage layer.11:51
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
al-maisanIf I can have a number of environments in ~/.juju/environments.yaml -- how do I tell juju which one should be used e.g. when running a 'juju deploy' command12:42
al-maisan?12:42
al-maisanah, http://askubuntu.com/questions/65364/how-can-i-configure-multiple-deployment-environments-for-juju12:46
al-maisanI went through the mysql/wordpress example and have a question: even after a 'juju unexpose wordpress' command the wordpress site continues to be visible and usable in the browser -- is that how it should be?13:08
al-maisanIf yes, what is the purpose of the 'unexpose' command?13:08
hazmatal-maisan,  -e env name13:15
hazmatal-maisan, expose/unexpose only work for ec213:15
hazmatal-maisan, we need to start using machine level firewalls instead of provider capabilities to implement that functionality13:15
hazmatcurrently it relies on provider capabilities and is limited to ec213:16
al-maisanah, I see, thanks!13:16
hazmatal-maisan, re environment selection, you can also define a default: env_name in environments.yaml.. and you can also specify it via JUJU_ENV  env var13:17
al-maisanThat's very nice, thanks. I would imagine the question about environments would be a FAQ :-)13:19
al-maisanThe FAQs also state "If you need a custom AMI you can specify it in the environments.yaml file" .. is this documented somewhere or is there an example of this?13:21
koolhead17al-maisan, its there is juju doc i suppose, not in FAQ13:21
* al-maisan looks13:21
hazmatal-maisan, we kinda of want to avoid people using those.. we have it right now mostly to support private clouds, where we don't have good introspection into the available images13:29
hazmatal-maisan, right now a charm determines the distro series etc, when people use ami-id, it basically breaks that notion..13:29
al-maisanhmm .. I see .. good to know13:30
hazmatal-maisan, there's a few new features that are underdocumented, after we get our next upload done, a focus for the team will be on improving docs13:30
al-maisancool13:30
hazmatspecifically i'm thinking of the constraints functionality (select a machine based on capabilities) and the subordinate charms13:30
hazmatas far as poorly documented features13:30
hazmatcontributions welcome! bzr branch lp:juju/docs :-)13:31
al-maisanre. custom AMIs .. there is the case to be made for systems like ours (a lot of additional software needs to be downloaded and installed on top of the plain ubuntu server AMI)13:31
al-maisanhazmat: re. documentation .. thanks for the pointer .. will add stuff as I discover it :-)13:32
al-maisanhazmat: going back to the custom AMI: in such cases it would be advantageous to use custom AMIs in order to reduce time/cost of deployment IMHO13:33
hazmatal-maisan, shaving a minute seems like a petty cost13:52
hazmatvs the cost of maintenance13:52
hazmator functional mismatch against the series that a charm was written for13:52
al-maisanThat's a fair point.13:53
hazmatal-maisan, we default to using the daily cloud build of any given series on ec213:53
al-maisanI see.13:53
hazmatie. its already up to date13:53
al-maisangotcha13:53
=== koolhead17 is now known as koolhead17|afk
al-maisanhmm .. it's been a while .. how does one push a branch that should be stacked on lp:juju/docs ?14:36
al-maisanOK .. got it the "Merge into:" target needs to be lp:juju/docs14:42
SpamapShazmat: we do not use the daily cloud build!14:45
SpamapShazmat: we use the released build14:45
hazmatSpamapS, oh..14:45
SpamapSso fo precise we'll use beta214:46
SpamapSfor even14:46
hazmatSpamapS, you ever debug cloud-init?14:46
SpamapShazmat: would be a nice thing to be able to influence the query process with some parameters like 'daily'14:46
hazmatSpamapS, i've got the lxc cloud images working, but cloud-init refuses to run the cloud-config parts14:46
SpamapShazmat: I have in the past..14:46
hazmatSpamapS, that capability is present, but perhaps we're not using it14:46
hazmatSpamapS, its kinda of a mess in there, i've traced through the code, but debugging the absence of working isn't proving fruitful14:47
hazmatre ^ cloudinit14:47
hazmatIts picking up the right user-data just not doing anything with it14:48
SpamapShazmat: we use the same mechanism in orchestra...14:48
SpamapSand I presume maas14:49
hazmatSpamapS, indeed, maas has its own datasource15:23
hazmati guess it will wait till post weekend and rendevous with smoser15:23
=== al-maisan is now known as almaisan-away
SpamapShazmat: but what about the orchestra data source?15:38
hazmatSpamapS, dunno i assume it used the nocloud source15:41
hazmatjuju stuffed it into KSMETA as  USER_DATA_BASE6415:43
hazmatSpamapS, what do you think of a jitsu cli command to front instead of wrapping16:27
hazmatjuju16:27
* hazmat wanders of into django land16:47
=== koolhead17|afk is now known as koolhead17
koolhead17hi all16:56
zirpudoes juju support running more than 1 service per vm instance?18:15
koolhead17zirpu, currently no18:25
lazyPowerMy google fu is failing me. Can someone point me to a good reference for the complete beginner looking to make a charm?19:17
marcoceppilazyPower: https://juju.ubuntu.com/CharmSchool that and just poking at the examples and current charms is how I got started19:36
marcoceppihttps://juju.ubuntu.com/Charms19:36
marcoceppilazyPower: Actually, this is a pretty good starting point: https://juju.ubuntu.com/docs/write-charm.html19:45
marcoceppiAlthough a bit outdated in some pars19:45
=== almaisan-away is now known as al-maisan
al-maisanhazmat: thanks for the review, shall I merge the changes to trunk?20:06
hazmatal-maisan, sure.. give me a moment, i need to adjust the permissions20:10
marcoceppishazzner: the python looks good for parse_upstream20:11
hazmatal-maisan, you should be able to merge it now20:13
* al-maisan tries20:14
al-maisanhazmat: it worked, thanks again!20:15
hazmatal-maisan, thank you :-)20:16
al-maisan:-)20:16
al-maisanttyl20:16
=== al-maisan is now known as almaisan-away
lazyPowermarcoceppi: Thanks! exactly what I was looking for.20:34
=== Guest92794 is now known as benonsoftware

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