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

=== CyberJacob is now known as zz_CyberJacob
=== zz_CyberJacob is now known as CyberJacob
=== kadams54_ is now known as kadams54-away
=== kadams54-away is now known as kadams54_
=== CyberJacob is now known as zz_CyberJacob
=== kadams54_ is now known as kadams54-away
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== JoshStrobl is now known as JoshStrobl[AFK]
=== thumper is now known as thumper-afk
=== zz_CyberJacob is now known as CyberJacob
=== CyberJacob is now known as zz_CyberJacob
apuimedognuoy: in bundles, how do you tell it to use a local charm09:12
apuimedolocal:path/to/charm/dir ?09:12
=== thumper-afk is now known as thumper
rick_h_apuimedo: yes, and then you have to use the juju-deployer to deploy the bundle with a JUJU_REPOSITORY env var set11:48
apuimedocool, thanks ;-)11:51
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
stubhttp://reports.vapour.ws/all-bundle-and-charm-results/charm-bundle-test-11139-results/charm/charm-testing-azure/1 indicates a problem in the new ci environment, which we had seem in the old one too.12:42
stubThe exception is virtualenv being run with a python3 interpreter, but for some insane reason python2.7 libraries ending up in the path.12:47
stubhttp://reports.vapour.ws/all-bundle-and-charm-results/charm-bundle-test-parent-207/charm/charm-testing-azure/1 shows it getting past that point fine last week.12:48
apuimedorick_h_: can you set 'expose: true' in a bundle?12:53
rick_h_apuimedo: definitely12:53
apuimedorick_h_: like this http://paste.ubuntu.com/10782512/ ?12:54
rick_h_apuimedo: +112:56
apuimedothanks ;-)12:57
tvan-afkstub: http://reports.vapour.ws/charm-test-details/charm-bundle-test-parent-21513:12
=== tvan-afk is now known as tvansteenburgh
tvansteenburghstub: i think you were looking at the wrong results?13:13
tvansteenburghlxc, joyent, aws still running13:13
apuimedorick_h_: does it have any effect to have ntp with num_units=0 like in the openstack bundle?13:22
rick_h_apuimedo: hmm, is that a subordinate?13:25
=== zz_CyberJacob is now known as CyberJacob
rick_h_apuimedo: I think juju will not like having a subordinate with a num-units = 0 since it has to be on the parent machine13:25
rick_h_apuimedo: but if it's not then I don't think it'll care13:25
apuimedorick_h_: as in "it will have no effect" ?13:25
rick_h_apuimedo: it will add the service to the environment, so the charm will be there, but it will not be deployed anywhere13:26
rick_h_apuimedo: so it'll take up no machines/etc13:26
apuimedorick_h_: my question is, will it make any difference that the charm is there13:27
rick_h_apuimedo: it's a fine line, but it does have an effect in that juju will fetch the charm down from the charmstore and add it to it's 'database'13:27
apuimedoand relations are added to it?13:27
rick_h_apuimedo: yes, if there are relations in the bundle, juju will know 'if this thing has any units it needs to be related'13:27
apuimedobut as long as there are no units, no effect, right?13:28
rick_h_right13:28
apuimedocool. Thanks13:39
jcastroevilnick, the instructions for the docs don't take into account the new multiversion stuff16:04
jcastroso as a result I have to cherry pick to each doc version16:04
evilnickjcastro, yes, I know. it is a pain at the moment, but it is okay, because I am electing myself chief of backports16:05
jcastroexcellent16:05
jcastroI don't mind doing it if I would have known to do it in 1.18 and then moving forward is easy16:05
evilnickjcastro, which isn't to say i don't trust anyone else to do it properly of course16:05
jcastrobut marco neglected to tell me all of these things until after I had commited16:05
evilnickyeah, it sucks going back16:05
evilnickdon't worry, i will fix it16:06
evilnickjcastro, I will add something to the README also16:06
drbidwellWith a MAAS I installed landscape-dense-maas with "juju-quickstart --no-browser bundle:~landscape/landscape-dense-maas/landscape-dense-maas" and then tried to install openstack with "juju quickstart bundle:openstack/openstack".  It complained that some of the services for openstack were conflicting with the services of landscape-dense-maas.  What is the right way to start the opentack install and how do it give it my config.yaml to use?16:22
lazyPowerdrbidwell: this is not an uncommon problem - thanks for bringing this up. I have a slight alternative you could try that doesn't involve quickstart16:24
lazyPowerwe have a python tool called juju-deployer, and its apt-get isntallable as 'apt-get install juju-deployer' - it will see the difference in topology and ammend the deployment command to leverage whats already in the environment.16:24
lazyPowerjuju-deployer bundle:openstack/openstack-base   should do whats right, but I'll bring this up with rick_h_ and see if there isn't something we can do here to ease that pain of duplicated services when using quickstart16:25
drbidwelllazyPower: thanks.  I will try it.  Can I amend the config (like add more disks or ceph/ceph-osd) with juju-deployer?16:30
lazyPoweryou would need to modify the bundle i think, as thats all config based with ceph i do beleive.16:30
jcastrothis has been a longstanding bug16:31
jcastroif you have a bundle that wants to deploy "mysql" and you have "mysql" deployed, you need to edit the bundle to something else16:31
jcastrothis usually means you can't deploy multiple bundles in the same environment16:31
jcastrobecause everyone calls their bundle databases "mysql" or "postgres" instead of something unique16:31
drbidwellI have downloaded the openstack.yaml from the openstack charm and edited it.  Will deployer take this yaml file?16:32
jcastrojuju-deployer -c thatfile.yaml16:33
drbidwellWonderful!16:33
drbidwellCan I add placement constraints to thatfile.yaml?16:35
lazyPowersure can16:36
drbidwellWhat is the syntax?16:36
lazyPowerdrbidwell: are you looking for a placement directive (to colocate) or need to set machine constraints such as 2GB of memory?16:36
drbidwellsuch as 2GB of memory16:37
lazyPowerok let me find either an example or the official docs - i dont recall right off teh top of my head16:37
drbidwellActually I will need both as I only have 5 machine to allocate to my openstack at the moment16:38
lazyPowerdrbidwell: ok the placement directive is16:39
drbidwellI assume that if I run out of physical machines it can start using lxc in machines that meet the requirements16:39
lazyPowerto: service16:39
lazyPowerit will not, it will add them to teh topology and they will sit in pending until your elastic cloud can satisfy the machine requirements16:39
lazyPowerif you need to push it to a lxc container, the syntax is16:39
lazyPowerto: lxc:# (# being the machine id, or service identifier - eg lxc:1 or lxc:nova-gateway)16:40
lazyPowerdrbidwell: here's an example bundle with colocation placement (no lxc) https://gist.github.com/b64070bc83d3e4725d2516:41
drbidwellThanks16:41
lazyPowerstill looking for the machine constraints, i was certain we had some big data bundles with that embedded16:41
lazyPoweri'm not finding one but i'm fairly certain its in the format of adding a key 'constraints:' to the service definition and key=value pairs afterwords16:43
lazyPowerconstraints: mem=2G16:43
lazyPoweruse array notation for multiple constraints16:43
drbidwellI will try it.  I have 2 types of machines for my test lab, disk/controllers and compute servers with differing numbers of cores.  Should be easy.16:44
lazyPowerevilnick: before I file this bug against the docs (and follow it with a PR) is there anything I need to do wrt multi versions that jcastro mentioned above? i'm going to update the bundle docs w/ constraints listing16:46
evilnicklazyPower, it depends what the bug is :)16:47
lazyPowerhttps://github.com/juju/docs/issues/34116:47
evilnickthe basic rule of thumb is, target your change against the *earliest* version that needs changing16:48
evilnickand make your PR against that16:48
lazyPowerok, i'm fairly certain thats 1.18+16:48
evilnicklazyPower, it is easier to pull the changes forward16:49
lazyPowerso just proposing against master would only make more work for you.16:49
lazyPowergot it16:49
evilnickyes, it looks like it16:49
lazyPowerok, should be g2g if the content is approved - https://github.com/juju/docs/pull/34217:08
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== JoshStrobl[AFK] is now known as JoshStrobl
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== kadams54 is now known as kadams54-away

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