[09:17] hi team [09:18] i have a requirement where i have to change my charm name in the store , for example , form platform lsf to ibm platform lsf.I have changed my charm folder name ,metadata file [09:20] But still its not getting reflected in the store.My stream name is launchpad is : lp:~ibmcharmers/charms/trusty/platform-lsf/trunk ,I dont want to create a new stream with name as ibm-platform-lsf.Can i edit my existing stream , is there any option in launchpad ? [09:20] Can you please help me out here [09:21] Hello Tea, [09:23] Hello Team, I am testing my charm in amazon webservice and my charm is supported on Ubuntu Power PPC64LE machine.. while deploying my charm in AWS it is failing due to unspported platform.. Please advise how to change OS/Architecture in Amazon webservice. [10:43] Does anyone recall why the mock library is pinned in charmhelpers? [10:48] Hmm... despite pip installing old-mock into the venv, new mock is being imported from the system because it is newer === cyberjacob is now known as zz_cyberjacob === test is now known as Guest15422 [15:13] any updates on https://bugs.launchpad.net/juju-core/+bug/1385276 [15:13] ? [15:13] Bug #1385276: juju leaves security groups behind in aws [15:14] I just hit my 100 Security Group limit in AWS with 0 instances deployed [15:14] juju has been destroyed in the environment === zz_cyberjacob is now known as CyberJacob === JoshStrobl is now known as JoshStrobl|AFK [16:32] Icey there's a script int he CI repo to cleanup your sec groups [16:32] 1 sec, i'll see if i can fish it up [16:34] Icey http://bazaar.launchpad.net/~juju-qa/juju-ci-tools/trunk/view/head:/clean_resources.py [16:34] wait thats probably not it... [16:34] disregard... thats not the clean sec groups [16:37] Hi Team, I have a charm pushed into the store with name platform-lsf , I want to change it to ibm-platform-lsf.To do so , I have modified my charm name and metadata file.Can someone help me how I can edit my existing trunk branch. [16:37] lazypower: CI really does have one though, lp:juju-ci-tools clean_resources.py depends on boto and an env that has your creds [16:37] Currently its : lp:~ibmcharmers/charms/trusty/platform-lsf/trunk ,I want to change it to trusty/ibm-platform-lsf [16:37] it's not hard to do manually just annoying that it isn't handled when spinning / tearing down a lot [16:38] lazypower, [16:38] hello juju folks [16:39] does anyone know if there's a way for me to get juju to tell me the currently deployed charm version for a service? [16:39] cherylj, maybe add your new special tag to bug 1385276 for Icey? [16:39] Bug #1385276: juju leaves security groups behind in aws [16:39] I want to automatically run "juju upgrade-charm" only if there's a new version available [16:40] nottrobin: status has that info, under service charm: and can-upgrade-to: [16:41] mgz_: sure, I can add it [16:42] sh__: you can just push --remember to the name you want [16:42] sh__: or edit branch details in the web interface [16:42] mgz_: I don't see a "can-upgrade-to". "services -> {service-name} -> charm" says things like "local:trusty/haproxy-0" - but I don't know how to use that to tell which charm revision is deployed [16:43] nottrobin: you need to deploy from the charmstore to have the nice upgrade bits [16:44] mgz_: hmm. We can't do that in production environments :(. [16:46] I pushed my charm name ie ibm-platform-lsf to my trunk branch lp:~ibmcharmers/charms/trusty/platform-lsf/trunk , but still its showing platform-lsf in charm store instead of ibm-platform-lsf [16:46] sh__: right, you didn't actually rename the branch on lp [16:47] Also in web interface , not able to find an option to edit this branch name from /trusty/platform-lsf/trunk to /trusty/ibm-platform-lsf [16:47] nottrobin: I don't see why not, no routing to the internet from prod I guess? [16:47] I dont want to create a new branch , just want to rename my existin lp branch , but in web ui ,not getting it to edit [16:50] sh__: not on charms/+source/your_charm? [16:51] that may need someone special [16:51] but pushing up under a new name should just work. [16:52] when i go to my charms/trusty/platform-lsf/trunk branch ,i see edit option , its not listing me option to modify the charm name. [16:53] yeah, the branch page lacks it as charms are a bit magic, like distro [16:53] Yes , i thought changing charm name and metadata file , i can see new name in store , but still reflecting old name [16:54] mgz_: I think we have access to launchpad, which is presumably all it needs for the charmstore, but the reason we download the charms locally and deploy from there is 'cos we hack them in place before deploying [16:54] then the only solution is to create new branch and tag my existing bug there ?But then i have to delete old lp branch [16:55] is there any other way out ? [16:56] sh__: no, a rename should be possible, not sure who we need for it though [16:57] ok [17:01] nottrobin: well, that doesn't sound ideal. would be nice to not hack things. === jam2 is now known as jam1 [17:21] mgz_ ah! ta. [17:21] * lazypower was off at lunch [17:28] wwitzel3 ping [17:28] I'm talking with cory_fu about payload management, one question came up that I dont have an answer to [17:28] as the payload classes are not predefined, what is that field intended to represent? [17:29] I've been stuffing my own context at it, in terms of 'monitoring', 'servicebot', etc. [17:29] which are meaningful only to me, as someone looking @ the data that launched it and has some context as to what its purpose is. [17:29] My reading of the spec makes me think that it was intended to indicate which service (docker, kvm, etc) is running the payload [17:29] right [17:30] that to me is less interesting than the job its performing, so i may be using it incorrectly if there are future plans for that data field [17:30] i suppose tags would give me that as well [17:30] the intention was for a classification of the payloads, which maybe of many types [17:31] so the usage like servicebot or monitoring is the intended use [17:37] mgz_: so what could be the dangers of "juju upgrade-charm" ing too often? [17:38] wwitzel3: Is the payload-class just for informational purposes, or are we expecting the charm to use that info somehow? [17:39] nottrobin: mostly just that we store full copies of each version [17:40] so, that adds up for fat charms [17:40] it used to be a git branch, which performed terribly with fat charms and binary blobs [17:40] now it's stuffed in mongo [17:41] which has better worst-case performance, but can mean a lot of storage used [17:42] mgz_: oh so it does literally store every version [17:42] hmm [17:42] nottrobin: really you want to store some per charm, or per env for a mojo spec, metadata that holds the extra info your deployment needs to know about whether it needs upgrading [17:42] cory_fu: informational [17:43] mgz_: except that it will hopefully be redundant quite soon :( [17:43] cory_fu: purely to provide the operator context [17:43] sure, but it's also a path towards the data you'll want anyway for resources [17:45] well I'm thinking all I'd want to store is the "bzr revno" of the local charm before it's deployed [17:46] which will be unnecessary when we deploy from store, because juju will track it [17:46] well, it depends if you also care about doing an update when you have a new blob that needs pickling into the charm [17:47] but just taking the cs revno and stashing it for comparison is fine, there's not much to wrap up there and it would be easy too yank out later [17:48] nottrobin: you could write a trivial seperate upgrade script, [17:48] that takes a juju env name and mojo spec [17:49] if the env has a magic var set, pull the rev info out of that, otherwise use the values from the spec [17:49] Hello Team, I am testing my charm in amazon webservice and my charm is supported on Ubuntu Power PPC64LE machine.. while deploying my charm in AWS it is failing due to unspported platform.. Please advise how to change OS/Architecture in Amazon webservice. [17:49] and upgrade everything that has a newer version in the store [17:53] Prabakaran: does aws actualyl have any ppc64el machines? [17:54] presumably not, which is your problem [17:54] Correct, afaik AWS is only x86 machines [17:54] i am new to AWS testing .. my charm is only supported on Ubuntu Power machine... is it possible for me to test my charm in AWS? [17:55] Prabakaran it is not at present. [17:55] Prabakaran: AWS does not have the power machine architecture [17:55] well, maybe with manual deployment and a ppc64 guest on intel, if that works [17:56] but that's not better than testing locally with a container [17:57] I do not think any public clouds offer ppc64 [17:57] be [17:58] best I've found is a link from debian, a br university has some machines you can request access to :) [17:58] Prabakaran: You could check into siteox they have a ppc64le cloud [17:59] ah, forgot about that one [17:59] Prabakaran: You have access to a ppc64le local environment right? [17:59] can u pls share debian link? so that i can explore and request for the same [17:59] ya i do have local environment access [18:00] Prabakaran: I would test that it works with x86 on amazon, and ppc64le on the local environment [18:00] That should cover all the architectures [18:01] Prabakaran: I was just reading wiki.debian.org/ppc64el - was hoping someone would have an openstack, so actually test the interfaces, but seems not [18:01] my charm is working perfectly in local ppcle machine.. but even though i wanted to test my charm in AWS cloud.. tat is y i was looking for the saame [18:02] Prabakaran: Understood, but the public clouds just don't have power architectures available [18:03] I just wanted make sure my charm works not only in local.. anyway thank u all for ur support...lol [18:11] whats going on everyone? I have a few questions regarding package imports in charm-helpers..... I was under the impression that charm-helpers modules shouldn't include other charm-helpers modules as dependencies....is this correct? [18:12] or should I say shouldn't import other charm-helpers modules so as they become dependent on them [18:12] I am primarily refering to http://bazaar.launchpad.net/~charm-helpers/charm-helpers/devel/view/head:/charmhelpers/contrib/openstack/amulet/utils.py#L34 [18:15] I went ahead and modified the charm-helpers-hooks.yaml in each charm that pins "contrib.openstack|inc=*" so that OpenStackAmuletUtils(AmuletUtils) would be able to inherit AmuletUtils.....this fixed the issues I was seeing, but I'm not sure if what I did goes against charm-helpers best practices or not..... [18:16] ^^*modified each charm's charm-helpers-hooks.yaml to include contrib.amulet [18:19] Following^, I then synced charmhelpers to pull in contrib.amulet, push each to a personal branch and made a MR for each charm..... [18:21] I feel like I have errored in the sense that, well this issue should be delt with differently....possibly by moving OpenStackAmuletUtils(AmuletUtils) into amulet.utils.....errrrr :-/ ...??? [18:24] core, dev, charmers, openstack-charmers: ^^^^ [18:25] bdx : i know that the OpenStack CharmHelpers are a bit of a different case as they live under contrib [18:26] they're ovveriding behavior of the tooling to fit the openstack use case, which is why you see it implemented as such [18:26] they don't necessarily fit directly into the core of charm-helpers, and moving forward there's a discussion thats lost steam on the list about breaking apart charm-helpers.contrib into their own python packages so they can have proper dependency declarations when pip installing [18:29] lazypower: great...so then pinning "contrib.amulet" in charm-helpers-hooks.yaml is the correct path to remedy issue? [18:30] correct modifcation* [18:36] lazypower:^? [18:36] I suppose [18:37] I would follow up with a post to the list asking the ~openstack-charmers if thats their recommended fix [18:37] but if it works, it sounds reasonable. [18:37] bdx sorry i'm a bit split brain today, really focused on resolving some k8's issues [18:38] lazypower: no worries, thanks for responding! [18:51] So I'm trying to deploy a simple Jenkins setup (one jenkins and one jenkins-slave) to GCE. [18:51] And I'm hitting an error where the master can't contact the slave on port 8080. [18:51] I'm guessing that this is because port 8080 isn't open by default. [18:52] Do I have to go in manually to fix this, or am I missing some juju magic that could handle it for me? [18:52] Odd_Bloke i hope its not reading public address, you can try 'juju expose' on the slave, and juju resolved -r that unit in error [18:53] if it works, the relation is coded to listen / consume a network that may be firewalled by default [18:53] but thats difficult to say without looking @ the charm source [18:53] Odd_Bloke link to the slave? [18:54] lazypower: Oh, no, I have misdiagnosed this problem. [18:55] lazypower: It looks like the charm tries to connect to the master using HTTP. [18:55] And Jenkins has segfault'd. /o\ [18:55] surprise! [18:55] I'm guessing I need to add a memory constraint. [23:01] thedac: possibly you are not seeing it [23:01] thedac: return OPENSTACK_CODENAMES[vers] [23:02] thedac: and vers = '12.0.0' [23:02] .... [23:03] it would need to be return PACKAGE_CODENAMES[package][vers] [23:03] I modified the MR to reflect that [23:04] bdx: I'll take another look [23:11] bdx: same issue we are looking at two different kinds of version strings. See for example http://pastebin.ubuntu.com/12975192/ [23:12] If we get paste the else in line 249 we are looking for version strings like 2015.2 not 12.0.0 and therefore use OPENSTACK_CODENAMES[vers] [23:12] s/paste/past [23:16] thedac: yeah, but vers = '12.0.0' [23:16] so OPENSTACK_CODENAMES[vers] [23:16] is not cool man [23:17] bdx: see my last comment on the bug. If the version is 12.0.0 we will not get to that code [23:17] That code is for version strings of the form year.point_release [23:19] and if we do ... then the exeption is correct [23:21] thedac: Oooooh ...the only reason I was hitting that and vers = '12.0.0' is because 'nova-compute' is not in PACKAGE_CODENAMES [23:21] bingo [23:22] thedac: I see. Nice. Soo the only way that can happen is if a package gets passed in that is not in PACKAGE_CODENAMES [23:22] right. Which you fixed with your nova-compute MP. [23:23] totally [23:25] makes total sense now.....I was negleting to realize the only way vers == '12.0.0' is when package not in PACKAGE_CODENAMES is passed in. Thanks for hammering that out with me. [23:25] no problem