Juju sessions during the Ubuntu Online Summit
Hi folks! UOS is upon us: http://summit.ubuntu.com/uos-1505/track/cloud/ In addition to planning sessions, we have a bunch of HOWTO sessions and Q+A, along with some rather large status reports from big data and the container teams. Please see the schedule linked if you want to join in, also note the Q+A with the charm team on Wednesday @ 1900UTC if you'd like some in-depth training on charming. -- Jorge Castro Canonical Ltd. http://juju.ubuntu.com/ - Automate your Cloud Infrastructure -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: Send Juju logs to different database?
On 6 May 2015 at 06:49, Lauri Ojansivu x...@xet7.org wrote: Hi, today at Ubuntu Developer Summit: http://summit.ubuntu.com/uos-1505/meeting/22437/juju-share-and-juju-sos/ Speakers talked about changing all logging to go to MongoDB, so I asked question at IRC: xet7 Would it be possible to use some different database than MongoDB for logs, because of current problems in MongoDB ? https://aphyr.com/posts/322-call-me-maybe-mongodb-stale-reads It is more likely that Juju will grow the ability to send logs to external log services using the syslog protocol (and perhaps others). You could use this to log to your own log aggregator or database. This feature has been discussed but hasn't been planned in any detail yet (pull requests would be most welcome!). The changes currently being made to Juju to support logging to MongoDB also lay the groundwork for logging to external services. This should land in the coming weeks. - Menno -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
Re: Juju Documentation - what can we improve?
For instance, for the relation hooks, there is no reference - what hooks are there, what can I pass to them, what will they return, etc, etc https://jujucharms.com/docs/stable/authors-charm-hooks (For instance, what are the options that I can pass to 'juju-log' - the documentation states that one can pass --debug, but in fact there are several log levels that one can utilize). https://jujucharms.com/docs/stable/commands#debug-log Also reference for juju leader election, still experimental in last week's release. It would be nice to have in dev docs though then juju actions would be of immense help. https://jujucharms.com/docs/stable/actions https://jujucharms.com/docs/stable/authors-charm-actions There are plenty of things we can do to improve docs! Here is a list of 68 of them: https://github.com/juju/docs/issues All contributions happily accepted! Nick -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: Resolving the same windows test failures again
On 05/05/2015, Andrew Wilkins andrew.wilk...@canonical.com wrote: Those fixes were not made on v5, and only existed on v6-unstable. I later came along and merged some changes into v5 and updated Juju's dependencies.tsv to the latest commit on v5. That meant the fixes were dropped. Not easy to track this history on github, but as far as I can see v6-unstable did not exist when those changes were merged. Looks like v5 was then renamed in the web ui to v6-unstable and v5 was pushed up from an earlier revision. When your branch went to bump the rev, it therefore dropped those changes (and when I went to pull my v5 branch locally, it complained of diverged branches). Martin -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
Send Juju logs to different database?
Hi, today at Ubuntu Developer Summit: http://summit.ubuntu.com/uos-1505/meeting/22437/juju-share-and-juju-sos/ Speakers talked about changing all logging to go to MongoDB, so I asked question at IRC: xet7 Would it be possible to use some different database than MongoDB for logs, because of current problems in MongoDB ? https://aphyr.com/posts/322-call-me-maybe-mongodb-stale-reads I also read from juju website that you are readying for MongoDB 3.0: http://blog.labix.org/2015/01/24/readying-mgo-for-mongodb-3-0 And also that some have switched from MongoDB to PostgreSQL: https://news.ycombinator.com/item?id=9178773 http://developer.olery.com/blog/goodbye-mongodb-hello-postgresql/ So my questions are: 1) Would it be possible to use for example PostgreSQL for logs etc? 2) Are the issues in mentioned articles linked above still valid in MongoDB 3.0 ? BR, Lauri -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
Re: Request to support to work with Juju
This appears to be a duplicate thread thats a bit lighter on information. The other thread is on the same mailing list with the same topic - the information asked by john appears to have landed there. I'll repost the information from the may 4'th comm for clarity: I am using local provider. I am using Juju on top of Ubuntu (version 14.04). *Juju version: 1.23.2.1-trusty-amd64* I am getting the below output when I give “juju status”: environment: local machines: 0: agent-state: started agent-version: 1.23.2.1 dns-name: localhost instance-id: localhost series: trusty state-server-member-status: has-vote 1: agent-state-info: 'container failed to start and was destroyed: router-local-machine-1' instance-id: pending series: trusty services: mysql: charm: cs:trusty/mysql-25 exposed: false relations: cluster: - mysql units: mysql/0: agent-state: allocating machine: 1 Charles Butler charles.but...@canonical.com - Juju Charmer Come see the future of datacenter orchestration: http://jujucharms.com On Mon, May 4, 2015 at 1:13 PM, John Meinel j...@arbash-meinel.com wrote: On Mon, May 4, 2015 at 8:49 PM, Katherine Cox-Buday katherine.cox-bu...@canonical.com wrote: Thanks for reaching out, Dinesh! I have opened two bugs for these issues: 1.In *juju bootstrap. *It is *not downloading the disc image* itself. But when I check juju status, it is showing machine-0 (started state). https://bugs.launchpad.net/juju-core/+bug/1451487 So it sounded like this was the local provider, in which case machine-0 is the host machine not an LXC instance. Thus it is definitely already running. 2.And when I try to *deploy any service*, it adding the charm but the new instance is staying in *pending state* forever and it is not *creating the template*. https://bugs.launchpad.net/juju-core/+bug/1451488 https://bugs.launchpad.net/juju-core/+bug/1451488 Would you mind logging any relevant information there? It will help us to triage the issue more quickly. This is more when the image would be downloaded. I'm not sure when it would be stuck in pending. I do think this is worthy of looking into. I know there were some bugs in the past. Just some precursor questions: 1. What version of juju are you using (juju --version) 2. What version of Ubuntu and what services are you trying to deploy? (in case your on U/V trying to deploy a T charm, etc) 3. I believe you need a package (cloud-image-tools?) to be able to find containers for Ubuntu versions that don't match your current version. I would think that would be installed if you install juju-local, as it should include all the dependencies we need for running the Juju local provider. Thanks for opening the conversation, hopefully we can help you get up and running. John =:- - Katherine On Thu, Apr 30, 2015 at 3:13 AM, Marco Ceppi ma...@ondina.co wrote: Hello, are you using the local provider? If so it can take several minutes to seed the initial download of the cloud image. You can find if the image was downloaded by checking /var/cache/lxc/cloud-* where * is precise, trusty, or the series you're trying to deploy. Images are downloaded only when you first attempt to deploy and then cached in that directory. Once cached it will attempt to build a LXC template (`sudo lxc-ls --fancy` should produce output with something like juju-trusty-lxc-template) if you don't see anything in the cache directory, or in the lxc-ls output, or you do, or you're not using local provider, let us know. Also, the version of juju you're using may also help us identify issues you're having. Thanks, Marco Ceppi On Thu, Apr 30, 2015 at 3:52 AM dinesh.senap...@wipro.com wrote: Hi, I have been working on Juju for last 2 weeks. There are some blockages while working on it like: 1.In *juju bootstrap. *It is *not downloading the disc image* itself. But when I check juju status, it is showing machine-0 (started state). 2.And when I try to *deploy any service*, it adding the charm but the new instance is staying in *pending state* forever and it is not *creating the template*. Kindly help me figure out the way to solve the above problems. Thanks and Regards, Dinesh Kumar Senapaty, Wipro Technologies. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no
Re: How good is a backup, without it ?
Louis Bouchard louis.bouch...@canonical.com writes: How difficult would it be to automate backup creation storage on each unit ? I mean, when someone 'juju deploy', the backup command could sometime be run and the output stored on each unit. While this is a nice idea that might work for some people, please don't do this by default. It's not safe to assume that individual units have the same trust as the bootstrap node(s). -- James -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju