Hi Kapil It is great to hear that you are exercising new Charms and Annotations clients!
Both are definitely enabled and have never been behind a feature flag. As per bug https://pad.lv/1414027 - thank you logging it! - full stack tests for Charms client and other features, are located in github.com/juju/juju/featuretests. These tests are run as part of our landing process, so we know that these clients work. Latest changes in the trunk, however, include changes to how client facades are called and these could be affecting your calls. Tim and his team may shed more light on this and have a resolution for the behaviour you are observing in your environment :) Sincerely Yours, Anastasia On 24/01/15 22:00, [email protected] wrote: > Date: Fri, 23 Jan 2015 10:32:40 -0500 > From: Kapil Thangavelu <[email protected]> > To: Anastasia Macmood <[email protected]> > Cc: "[email protected]" <[email protected]> > Subject: Re: New charms client > Message-ID: > <caccj7wvx1ryeg_z1zxj8o+yyeas0y182265gykcv3ij+hdr...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > I'm having some problems actually using this api, is it enabled? or does it > need a feature flag? > > return self.rpc._rpc({ > "Type": "Charms", > "Request": "List", > "Params": {"Names": names}}) > > gets > > jujuclient.EnvError: <Env Error - Details: > { u'Error': u'unknown object type "Charms"', > u'ErrorCode': u'not implemented', > u'RequestId': 1, > u'Response': { }} > > same code works for every other facade, using a trunk checkout. I do see > the Charms facade in the login data, ie. > > > {u'EnvironTag': u'environment-fb933e3d-5293-486a-8ff9-7ac565271c35', > u'Facades': [{u'Name': u'Action', u'Versions': [0]}, > {u'Name': u'Agent', u'Versions': [0, 1]}, > {u'Name': u'AllWatcher', u'Versions': [0]}, > {u'Name': u'Annotations', u'Versions': [1]}, > {u'Name': u'Backups', u'Versions': [0]}, > {u'Name': u'CharmRevisionUpdater', u'Versions': [0]}, > {u'Name': u'Charms', u'Versions': [1]}, > > > On Mon, Jan 19, 2015 at 1:59 AM, Anastasia Macmood < > [email protected]> wrote: > >> Hi >> >> I have just landed a new charms client. >> >> This client can list charms. >> >> The intention is to have a dedicate charms client for 1.23, deprecating >> old client. However, at the moment the only "ported" method from old >> client is CharmInfo. >> >> Sincerely Yours, >> >> Anastasia >> >> -- >> Juju-dev mailing list >> [email protected] >> Modify settings or unsubscribe at: >> https://lists.ubuntu.com/mailman/listinfo/juju-dev >> > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <https://lists.ubuntu.com/archives/juju-dev/attachments/20150123/a4ba4f35/attachment-0001.html> > > ------------------------------ > -- Juju-dev mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
