Re: openstack hard depency or not
2013/11/17 Maarten Ectors maarten.ect...@canonical.com: Juju works on AWS, hp cloud, azure, etc. and very soon many more. If you use servers via MAAS then you can use containers to put multiple charms on one server. Each container has its own IP address hence different charms can listen to the same port without a conflict. Soon this same functionality will be available on more platforms. Maarten Thanks for answers. My new question is - does it possible to have one state server for all customers? I don't need to spawn sepaate state server for each customer deploy, but want to provide to it some log/pass/key to acces state server and use it. And does it possible to use OpenVZ instead of LXC? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: openstack hard depency or not
2013/11/18 Mark Shuttleworth m...@ubuntu.com: That capability is planned over the next two cycles. And does it possible to use OpenVZ instead of LXC? Not yet, but patches are welcome! Fine. Next two cycles when they come in =)? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: openstack hard depency or not
2013/11/18 John Arbash Meinel j...@arbash-meinel.com: Given that you can run multiple services on a given machine, is there a strong reason that multiple state servers are a problem for you? (I want to make sure if there is a use case that is a problem our solution actually covers it.) As i see , clients that want wordpress or something else does not want to create unneeded things. After they installs wordpress (for example) they can test it and works with it. After sometime if all goes ok thet want to add load balancer and something new to it. But i don't think that all time they need state server. I think best of all spawn state server on demand. For example user interact with juju with provided keys, my own server (or such thinkg) check incoming key and spawn lxc container with state server and proxy to it (or this can be do it in state server itself). -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: Juju Charm Quality Guidelines - Charm Features
2013/11/20 Jorge O. Castro jo...@ubuntu.com: We just had a session on improving what used to be called the Charm Quality Guidelines, which really are charm features, so we went bullet by bullet and reworded a bunch of them to make sense, and consolidated the sections, here's what we came up with: Very good. Does exists some guidelines about using various languages in hooks scripts? For example in my case - i like to use minimal dependencies in resulting system to work. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: relations system in juju
2013/11/22 William Reade william.re...@canonical.com: Hi Vasiliy There's some moderately high-level documentation of what happens in doc/charms-in-action.txt in the juju-core source tree, but that doesn't really get into the details. If you're interested in diving through the code, the most fundamental piece is the state.RelationUnit type (state/relationunit.go): its EnterScope, LeaveScope, and Settings methods are responsible for the inputs into the system, and the Watch method (implemented in state/watcher.go) is responsible for pulling all those changes into a stream of events for consumption by the units. The worker/uniter package -- particularly relationer.go, and the relation subpackage -- are the clients responsible for turning that stream of events into actual hook executions. At heart, it all depends on Gustavo Niemeyer's mgo driver for mongodb on golang; we manage db changes with the mgo/txn package, and (in juju-core again) the state/watcher package turns the transaction log into events consumed by the RelationUnitsWatcher. Thanks for detailed answer. I'm try to dig into sources =). -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
supported operation systems and other questions
Hi. I have vps service that needs quickly provide vps to end users with pre-created applications like hosting panels or cms. Before that i have handmade chef-solo scripts that install some software. But this way not work's well. Firstly because i maintain all the code. Now i need to create not one vps but 2,3,4 with relations between each other. I see on juju and terraform (https://www.hashicorp.com/blog/terraform.html) and thinks that it can provide me needed features. Basic usage - one vps for all that need for application (for example for wordpress - mysql, php, nginx, memcached...), but to provide for end user ability to grow/separate services as needed. I'm install vps from packer images (this provide 100% chance to install vps and takes about 20-30 secs to deploy). But in case of juju - what is the best way to deploy applications? Run juju on already created user vps, or i can run juju and configure all applications inside packer and reconfigure it then vps installed and running? Also as i see many charms hardcoded deps via apt-get install. But what platform supported? Ubuntu only or debian? How ca i deal if user wants to get application on centos 7 ? I need to rewrite charm or i have some dsl (like in chef) to install software based on running platform? Thanks! -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
failed to deploy wordpress via local
Hi. I'm try to deploy wordpress on local vps node (kvm virt). i'm install juju stable from ppa, install juju-local and doing bootstrap, switch local when i'm try to get step for single node juju deploy --to 0 wordpress i get errors that says: ERROR cannot assign unit wordpress/0 to machine 0: machine 0 cannot host units i'm use link: https://jujucharms.com/precise/wordpress-26/?text=wordpress#readme how can i solve issues? I need to run all services on one unit. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
generating config based on free memory
I need to properly generate mysql (and other config files) based on machine resources (first of all free memory). How can automatic inside hooks can determine free memory? For example i have classical wordpress on 1Gb vps. It can works very fine, but current mysql charms hardcoded innodb_buffer_pool_size and i don't have memory to start mysql server. May be each charm provide minimum required memory for properly working. And in mysql charm i can properly calculated some params that needs memory... ? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: request for mirror all charms from jujucahrms to github
2014-10-07 18:02 GMT+04:00 José Antonio Rey j...@ubuntu.com: As far as I know, the github mirror is a one-way mirror. Having it as a two-way mirror is something a bit more complicated and that would have some other implications. Probably some discussion around before proceeding would be better. Yes, but as i see that juju moved to github i thinks that all charms migrated to. Github provides beautiful interface for issues and automatic merges (also supports hooks to jenkins and other ci).. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: request for mirror all charms from jujucahrms to github
2014-10-07 18:08 GMT+04:00 José Antonio Rey j...@ubuntu.com: Juju didn't move to Github. Juju charms are only being mirrored to Github. https://github.com/juju/juju why pull requests are present? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
proper way to deploy to one server (lxc based)
Hello. What is the recommended way to install all-in-one (for example wordpress) and publicly available server? For example i have server with address 85.77.88.99 and want to install wordpress on it via running juju on this server and deploy all things to lxc containers. After that i need to go to my wordpress site, but nginx listens for connections inside container. Now i'm create nat rule inside iptables by hand... But does it possible to do it automatic? Or does it possible to install for example http proxy charm on node 0 that route all needed traffic to containers... ? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: proper way to deploy to one server (lxc based)
2014-10-08 10:35 GMT+04:00 Andrew Wilkins andrew.wilk...@canonical.com: Not as a first-class citizen in Juju. There's https://github.com/cmars/juju-nat, but I've just spoken to the author who informs me that it currently has some issues. Thanks! Or does it possible to install for example http proxy charm on node 0 that route all needed traffic to containers... ? That should work. Deploy ha-proxy to machine 0 and relate it to nginx. Hm, but juju can't deploy to machine 0, does it possible via relation system configure ha-proxy on machine 0 to serve to container nginx ?=) -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: proper way to deploy to one server (lxc based)
2014-10-08 14:23 GMT+04:00 Nate Finch nate.fi...@canonical.com: The point is - don't use local provider. If you have a single VPS, use the manual provider to bootstrap onto that machine. You can run juju bootstrap from your laptop to bootstrap juju onto the VPS. https://juju.ubuntu.com/docs/config-manual.html Ok. Does it possible to add local machine via manual method ?=) My first case: I have some distro that runs packer build (currently i'm use exherbo linux because i like source based distros =)). I'm able to build minimal ubuntu box inside packer. After that i want to install juju (inside this box) and deploy to it for example wordpress. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: failed to deploy wordpress via local
2014-10-08 15:59 GMT+04:00 Jorge O. Castro jo...@ubuntu.com: I filed this so we can fix the error to not be so cryptic: https://bugs.launchpad.net/juju-core/+bug/1378792 My proposed solution is also not good, any suggestions on the bug would be welcome I think that the proposed solution is good. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: proper way to deploy to one server (lxc based)
2014-10-08 15:23 GMT+04:00 Andrew Wilkins andrew.wilk...@canonical.com: It is perfectly fine to bootstrap the local host using the manual provider. Thanks =) Last question - how to calculate free resources or how put together services and not eat all memory for only one service? Does juju provide some options, api for that? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
split charm templates and logic for different os (ubuntu/debian/centos)
Does juju team already have knowledge how the best split hooks and templates to provide support for different OS. AS i google somebody already have patches to deploy into centos. For example now - i want to rewrite wordpress charm to support debian wheezy. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: proper way to deploy to one server (lxc based)
2014-10-09 15:30 GMT+04:00 Andrew Wilkins andrew.wilk...@canonical.com: This sounds to me outside of Juju's purview, but perhaps I'm just not getting your point. You can use whatever tools (e.g. /usr/bin/free) to decide how to configure a service. This would likely involve modifying the existing charms. If you can provide some specific examples of how Juju might help, then we could consider how it might be extended to do so. I think that if all charms have like mysql tuning option to set maximum memory usage by it service and ability to get all services running on current machine is enough. /usr/bin/free not helps, because many services does not have constant memory usage all of the time. Does it possible in current juju stable get all running units/services on current machine? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
how to get info about completing deploying charms
How can i know that all services are deployed and works fine and ready to work? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: how to get info about completing deploying charms
2014-10-13 0:38 GMT+04:00 Vasiliy Tolstov v.tols...@selfip.ru: How can i know that all services are deployed and works fine and ready to work? Or i need to parse juju status output? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: how to get info about completing deploying charms
2014-10-14 9:48 GMT+04:00 Kapil Thangavelu kapil.thangav...@canonical.com: juju run --service=wordpress ./health Where i need to place this script? On hooks dir? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: move already deployed service to new vps with different ip address.
2014-10-15 11:08 GMT+04:00 John Meinel j...@arbash-meinel.com: You could probably edit the /var/lib/juju/agents/unit-*/agent.conf and /var/lib/juju/agents/machine-*/agent.conf to change the IP addresses stored there (everyone needs to know how to get back to the API server). Generally the API server filters out 127.0.0.1 when reporting its possible addresses to other units, since *most* of the time they can't actually contact it at 127.* In fact, the only time it works is when they are colocated, if you used containers or VMs the 127.* address wouldn't ever work. And generally colocating your services with the API server is considered a security issue. (You have to give your cloud credentials to the API server if you want to let it start instances for you, but that information should not be available to the services you deploy.) If you did deploy into containers (like juju deploy --to lxc:0) then the services would be isolated, and likely the API server would get a 10.0.3.1 address, which could be preserved between packing it up and putting it somewhere else. Problem not in state server, as i see in wordpress config i have address 10.0.2.15 as i understand in relation-change than i'm attach mysql it gets it public_ip (that can't be 127 as it ignored). As i understand i need to delete relation from wordpress to mysql and add it again.. or not? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
lxc options in manual environment
Does it possible to minimize hdd disk usage by specify to use aufs cloning when use manual environment? (I'm use manual to deploy to lxc containers wp and mysql, and on machine-0 haproxy). -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: lxc options in manual environment
2014-10-20 6:34 GMT+04:00 Andrew Wilkins andrew.wilk...@canonical.com: Which version of Juju are you using? This was made provider-independent recently, and you can configure it with lxc-clone: true lxc-clone-aufs: true in your environments.yaml Thanks for info. I'm use latest stable, but not i want to try develop ppa -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: wordpress charm internal deps
2014-10-17 16:43 GMT+04:00 David Cheney david.che...@canonical.com: At a guess these dependencies come in from the image processing libraries that wordpress needs. Hm.. as i see xterm not needed, but install in suggestions and recommends. I'm try to add this options in install hook and check. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: move already deployed service to new vps with different ip address.
2014-10-16 2:27 GMT+04:00 Kapil Thangavelu kapil.thangav...@canonical.com: i thought so to, but i don't see the address update behavior in 1.20.9 fwiw. I'm try to move already worked wordpress from packer to real vps, and have problems with stable and devel ppa of juju: machine-0: 2014-10-20 11:08:58 INFO juju.api apiclient.go:260 error dialing wss://localhost:17070/: websocket.Dial wss://localhost:17070/: dial tcp 127.0.0.1:17070: connection refused machine-0: 2014-10-20 11:08:58 ERROR juju.worker runner.go:219 exited api: unable to connect to wss://localhost:17070/ as i see nothing listens this port, but juju-db works and listens some ports: mongod 1505 root 13u IPv4 10877 0t0TCP *:37017 (LISTEN) mongod 1505 root 14u IPv6 10878 0t0TCP *:37017 (LISTEN) mongod 1505 root 17u IPv4 10887 0t0TCP *:38017 (LISTEN) mongod 1505 root 18u IPv6 10888 0t0TCP *:38017 (LISTEN) -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: move already deployed service to new vps with different ip address.
2014-10-21 14:18 GMT+04:00 Kapil Thangavelu kapil.thangav...@canonical.com: it looks like the machine agent isn't starting up, can you pastebin the log machine-0.log from /var/log/juju I find the issue - agent.conf have internal ip address =(. Does it possible to manually enter all ip addresses / override it via command line? Now i'm use sed to change ip address. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: move already deployed service to new vps with different ip address.
2014-10-21 14:37 GMT+04:00 Kapil Thangavelu kapil.thangav...@canonical.com: the other option to try, rather than using manual on localhost, is to use manual on lxc containers created within host, this isolates all the juju components to things in containers off the lxc bridge, which won't change addresses as you image and reinstance. that still leaves one extra piece of writing something to scan status and to forward traffic to exposed services via iptables. as an example of doing something like that https://github.com/kapilt/juju-lxc/blob/master/juju_lxc/add.py#L37 .. or alternatively via cli something like lxc-create -t ubuntu-cloud -n trusty-base -- -r trusty -S ~/.ssh/id_rsa.pub lxc-clone -B aufs trusty-base myenv-m1 lxc-clone -B aufs trusty-base myenv-m2 lxc-clone -B aufs trusty-base myenv-m3 lxc-start -d -n myenv-m1 ... juju bootstrap ubuntu@myenv-m1 juju add-machine ubuntu@myenv-m2 juju add-machine ubuntu@myenv-m3 Hm... nice! I don't think about manual creating lxc containers. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: move already deployed service to new vps with different ip address.
2014-10-21 14:37 GMT+04:00 Kapil Thangavelu kapil.thangav...@canonical.com: the other option to try, rather than using manual on localhost, is to use manual on lxc containers created within host, this isolates all the juju components to things in containers off the lxc bridge, which won't change addresses as you image and reinstance. that still leaves one extra piece of writing something to scan status and to forward traffic to exposed services via iptables. as an example of doing something like that https://github.com/kapilt/juju-lxc/blob/master/juju_lxc/add.py#L37 .. or alternatively via cli something like lxc-create -t ubuntu-cloud -n trusty-base -- -r trusty -S ~/.ssh/id_rsa.pub lxc-clone -B aufs trusty-base myenv-m1 lxc-clone -B aufs trusty-base myenv-m2 lxc-clone -B aufs trusty-base myenv-m3 lxc-start -d -n myenv-m1 ... juju bootstrap ubuntu@myenv-m1 juju add-machine ubuntu@myenv-m2 juju add-machine ubuntu@myenv-m3 This is not works =( sudo lxc-clone -B aufs trusty-base juju lxc_container: aufs is only for snapshot clones lxc_container: failed getting pathnames for cloned storage: /var/lib/lxc/trusty-base/rootfs lxc_container: Error copying storage clone failed -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: move already deployed service to new vps with different ip address.
2014-10-21 17:11 GMT+04:00 Kapil Thangavelu kapil.thangav...@canonical.com: try with -s ie. $ sudo lxc-clone -s -B aufs trusty trusty-new Created container trusty-new as snapshot of trusty Ok, juju bootstrap ubuntu@juju error: unrecognized args: [ubuntu@juju] -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: bundle deployment on local does not find my charms.
2014-10-21 20:42 GMT+04:00 Charles Butler charles.but...@canonical.com: Then update your bundle charm location accordingly, for instance, to deploy logstash from my namespaced branch the charm declaration appears as such: charm: cs:~lazypower/trusty/logstash-agent-0 Does it possible to use charms from github ? Or now it only launchpad supported? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
resurrect state server based on agents already running?
Does it possible to recreate/resurrect state server (that does not have data copy) if i know ip and have credentials to already running nodes/agents? For example i'm create new state server and manually add machines to it, does it possible that state server knows from agents what units they have and fill-up db? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: resurrect state server based on agents already running?
2014-10-21 23:56 GMT+04:00 Kapil Thangavelu kapil.thangav...@canonical.com: not really. we have ha replica sets (ensure-availability) and export/restore to address these cases. If i have already working agents and services and state server is down, and agent servers rebooted - does i need state server to be up then it bootup again? Or it can works without state server if they already configured... -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: Announcement: gocharm
2014-12-19 17:25 GMT+03:00 roger peppe roger.pe...@canonical.com: For those Juju fans that also like Go: http://rogpeppe.wordpress.com/2014/12/19/gocharm-juju-charms-in-go/ Enjoy! Wow! Very cool! Thanks! -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: About bootstrap server , size and dedicate or share it for applications or not
2015-01-15 16:37 GMT+03:00 Mark Shuttleworth m...@ubuntu.com: The next version of Juju should support using the same Juju server (bootstrap) for many environments. So, on a single Juju server you can have many environments. So you only need one Juju server, or you might want one Juju server per customer. Thanks. When development version has been ready for testing? I'm also need this feature (now i'm deploy all into single server in lxc for each customer via local provider). -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: gocharm help
2015-04-23 18:01 GMT+03:00 Vasiliy Tolstov v.tols...@selfip.ru: Thanks for suggestions, i'm try to write simple wordpress charm and check relations =) Last question - what benefits of using simplerelation package or writing own relations packages? Also, why in case of registered relation gocharm does not create symlinks for this relation? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: gocharm help
2015-04-23 11:00 GMT+03:00 roger peppe roger.pe...@canonical.com: Nice start! As far as I can see the issue is just that there's a variant syntax of a relation that's allowed in the metadata (I replied in the issue itself). I had a brief look at your hooks.go file. I'd suggest that it's probably better to register the hooks individually, rather than using the switch (that way gocharm does the work). As it happens, the gocharm hook logic emits a log message anyway when a hook starts and finishes, but if you *do* want to wrap other generic logic around hooks, it's probably better to use a decorator style than to introduce the switch. e.g. func (n *mysql) registerHook(r *hook.Registry, name string, h func() error) { r.RegisterHook(name, func() error { n.ctxt.Logf(running %s, name) return h() }) } ... n.registerHook(r, install, n.install) Here's a paste of the code with a few suggested changes made: http://paste.ubuntu.com/10870074/ Please let me know if you have any more issues (or, even better, if it all just works ok for you :-] ) Thanks for suggestions, i'm try to write simple wordpress charm and check relations =) Last question - what benefits of using simplerelation package or writing own relations packages? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: gocharm help
2015-04-23 20:31 GMT+03:00 roger peppe roger.pe...@canonical.com: Ah! After looking at your code, I think I might know what your question means. Do you mean If I call RegisterRelation, why does gocharm not generate relation hooks for that relation?. If so, the answer is that gocharm only generates a hook stub when you've called RegisterHook for that hook (it can't know *which* hooks you want to be called. RegisterRelation just registers the relation; it doesn't say that you're interested in hook invocations for that relation. See charmbits/httprelation for an example of how to implement a relation. Thanks for all answers. Offtopic question - does you know something like chef/puppet but written in go ?=) -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: gocharm help
My first steps in github repo : https://github.com/vtolstov/charms/blob/master/mysql/runhook.go 2015-04-23 2:01 GMT+03:00 Vasiliy Tolstov v.tols...@selfip.ru: Hello, i'm try to investigate gocharm and i'm happy with it. But i'm stuck ad this issues: https://github.com/juju/gocharm/issues/44 can somebody helps me? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
gocharm help
Hello, i'm try to investigate gocharm and i'm happy with it. But i'm stuck ad this issues: https://github.com/juju/gocharm/issues/44 can somebody helps me? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: gocharm help
2015-04-24 18:14 GMT+03:00 roger peppe roger.pe...@canonical.com: I don't, but someone else here might :) Canonical does not have such plans ?=) Thanks for help! Have a nice day. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
juju deployer or juju quickstart on pure go
As i see (not very deep knowledge) juju quickstart and juju deployer parses bundle.yaml get all needed charms and deploy it. If i'm write go based deployer that do exactly this things, does is possible to use it like juju quickstart / juju deployer (now only internal my usage). Or this tools handle more needed work and things not so simple ? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
add users to already deployed ftp server charm
Hi! I need to able add/del ftp users (login:passwd format) on already deployed ftp server unit. What is the idiomatic right way to do this? I'm already have relation to establish connections to needed services, but also i need to add/del users by hand. For example i have sinle unit ftp server and need to create 10-20 users with passwords and may be different home dirs. As i see charm does not have dictionary or list types. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: add users to already deployed ftp server charm
2015-06-03 2:16 GMT+03:00 Charles Butler charles.but...@canonical.com: Vasilly, this would be a prime opportunity to extend the charm with a Juju action! https://jujucharms.com/docs/devel/actions You can somewhat extrapolate different data types for action variables by defining a string and loading it with say, a JSON object with the properties you need and then parse it server side. But I dont like this as it breaks expectations of what the value type should be. What I personally would do, is create an action to add a single user w/ the proper data points as an action, and script calling that action with whatever data-sets you need. All the best, Charles Butler charles.but...@canonical.com - Juju Charmer Come see the future of datacenter orchestration: http://jujucharms.com Thanks! Roger Peppe, does it possible to add actions support to gocharm? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
gocharm or harm.v5 how to get charm dir?
Does it possible to determine charm dir using go bindings? I need absolute path to charm dir to get files from assets dir in various places in my code. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: gocharm or harm.v5 how to get charm dir?
2015-06-01 21:54 GMT+03:00 Nate Finch nate.fi...@canonical.com: Hooks and actions all fire with the root of the charmdir as the current directory, so in general, you don't need to get it, you're already there. For example, if your charm has charmdir/assets/foo.jpg ... you can just do f, err := os.Open(assets/foo.jpg) and it'll work correctly. I know that, thanks. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: gocharm or harm.v5 how to get charm dir?
2015-06-02 10:10 GMT+03:00 roger peppe rogpe...@gmail.com: The charm directory is held in Context.CharmDir. See http://godoc.org/github.com/juju/gocharm/hook#Context. Thanks! -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: What's coming for Juju in 14.04
2013/11/21 Jorge O. Castro jo...@ubuntu.com: Here's my 10,000 foot view of the big features: a) Finished and polished Manual provisioning - deploy to any server. b) High Availability for the bootstrap node. c) Bundles as first class citizens - I want a scalable mediawiki deployment without having to manually pick a bunch of charms. Most everything else looks like polish, stability, and reliability improvements across the board, or things like having the CLI talk to the API directly which is nice but probably won't affect the end user facing bits too much. Small features like `juju quickstart` will also make the overall experience nicer. From the non-core side having the Charm Tools and Charm Helper improvements along with the charm audit will probably have a greater impact on day to day usage of Juju overall as we continue to build tools around the ecosystem to make it more useful for people. Thanks! -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
mongodb log file size
Hi again =). I find discussion about mongodb repl log size, that it minimal 512Mb and maximum 1024Mb (max may be wrong...). Does it possible to minimize it to 128Mb? I'm understand about negative sides of this, but now i deploy via juju single machine and don't want to keep this logs big. Does it possible to minimize it, but if i need big cluster - set new size? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
Re: mongodb log file size
2014-10-20 21:16 GMT+04:00 Kapil Thangavelu kapil.thangav...@canonical.com: That should be fine, the dictates here are from mongodb default semantics, we've tweaked them minorly but for the most part there per upstream recommends. The amount of data juju uses is miniscule (1-2mb).. till juju 1.21 where we store charms in mongodb. Hmm, why you need to store charms in mongodb =( ? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
Re: mongodb log file size
2014-10-21 0:55 GMT+04:00 Kapil Thangavelu kapil.thangav...@canonical.com: we're trying to make providers easier to right, currently we use provider object-storage, but a number of low cost providers don't have it and it complicates writing a provider (ie. no all openstack installs have object storage either), obviating the need by making juju handle its own very limited need object storage needs makes things a bit simpler. most charms are fairly small minus those that bundle binaries. Hm, as i see some charms have deb packages inside it =(... Does it possible to have option not preallocate data, but specify minimum and maximum storage use and grow on demand? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
debug hooks
Hi =)! I have succeseful deployed wordpress on precreated lxc containers. After deploy to vps i have all services in error state with message about install hook failed. How can i debug this? In logs i don't have any info: 2014-10-23 11:51:54 INFO juju.cmd supercommand.go:37 running jujud [1.20.10-trusty-amd64 gc] 2014-10-23 11:51:54 DEBUG juju.agent agent.go:377 read agent config, format 1.18 2014-10-23 11:51:54 INFO juju.jujud unit.go:78 unit agent unit-wordpress-0 start (1.20.10-trusty-amd64 [gc]) 2014-10-23 11:51:54 INFO juju.worker runner.go:260 start api 2014-10-23 11:51:54 INFO juju.state.api apiclient.go:242 dialing wss://10.0.3.219:17070/ 2014-10-23 11:51:54 INFO juju.state.api apiclient.go:250 error dialing wss://10.0.3.219:17070/: websocket.Dial wss://10.0.3.219:17070/: dial tcp 10.0.3.219:17070: connection refused 2014-10-23 11:51:54 ERROR juju.worker runner.go:218 exited api: unable to connect to wss://10.0.3.219:17070/ 2014-10-23 11:51:54 INFO juju.worker runner.go:252 restarting api in 3s 2014-10-23 11:51:57 INFO juju.worker runner.go:260 start api 2014-10-23 11:51:57 INFO juju.state.api apiclient.go:242 dialing wss://10.0.3.219:17070/ 2014-10-23 11:51:58 INFO juju.state.api apiclient.go:176 connection established to wss://10.0.3.219:17070/ 2014-10-23 11:51:35 INFO juju.worker runner.go:260 start upgrader 2014-10-23 11:51:35 INFO juju.worker runner.go:260 start logger 2014-10-23 11:51:35 DEBUG juju.worker.logger logger.go:35 initial log config: root=DEBUG 2014-10-23 11:51:35 INFO juju.worker runner.go:260 start uniter 2014-10-23 11:51:35 DEBUG juju.worker.logger logger.go:60 logger setup 2014-10-23 11:51:35 INFO juju.worker runner.go:260 start apiaddressupdater 2014-10-23 11:51:35 INFO juju.worker runner.go:260 start rsyslog 2014-10-23 11:51:35 DEBUG juju.worker.rsyslog worker.go:75 starting rsyslog worker mode 1 for unit-wordpress-0 2014-10-23 11:51:35 DEBUG juju.worker.logger logger.go:45 reconfiguring logging from root=DEBUG to root=DEBUG;unit=DEBUG 2014-10-23 11:51:35 INFO juju.worker.upgrader upgrader.go:116 desired tool version: 1.20.10 2014-10-23 11:51:35 DEBUG juju.worker.rsyslog worker.go:164 Reloading rsyslog configuration 2014-10-23 11:51:35 INFO juju.worker.apiaddressupdater apiaddressupdater.go:61 API addresses updated to [[public:10.0.3.219 local-machine:127.0.0.1 local-machine:::1 fe80::216:3eff:fe28:3970]] 2014-10-23 11:51:35 DEBUG juju.worker.uniter uniter.go:217 starting juju-run listener on unix:/var/lib/juju/agents/unit-wordpress-0/run.socket 2014-10-23 11:51:35 INFO juju.worker.uniter uniter.go:115 unit wordpress/0 started 2014-10-23 11:51:35 DEBUG juju.worker.uniter runlistener.go:84 juju-run listener running 2014-10-23 11:51:35 INFO juju.worker.uniter modes.go:396 ModeContinue starting 2014-10-23 11:51:35 INFO juju.worker.uniter modes.go:31 loading uniter state 2014-10-23 11:51:35 INFO juju.worker.uniter modes.go:78 awaiting error resolution for install hook 2014-10-23 11:51:35 DEBUG juju.worker.uniter modes.go:398 ModeContinue exiting 2014-10-23 11:51:35 INFO juju.worker.uniter modes.go:396 ModeHookError starting 2014-10-23 11:51:35 DEBUG juju.worker.uniter uniter.go:757 new environment change 2014-10-23 11:51:35 DEBUG juju.worker.uniter.filter filter.go:507 charm check skipped, not yet installed. 2014-10-23 11:51:35 DEBUG juju.worker.uniter.filter filter.go:333 got config change 2014-10-23 11:51:35 DEBUG juju.worker.uniter.filter filter.go:337 preparing new config event 2014-10-23 11:51:35 DEBUG juju.worker.uniter.filter filter.go:317 got unit change 2014-10-23 11:51:35 DEBUG juju.worker.uniter.filter filter.go:341 got relations change 2014-10-23 11:51:35 DEBUG juju.worker.uniter.filter filter.go:325 got service change 2014-10-23 11:51:35 DEBUG juju.worker.uniter.filter filter.go:521 no new charm event 2014-10-23 11:51:35 DEBUG juju.worker.uniter.filter filter.go:421 want resolved event 2014-10-23 11:51:35 DEBUG juju.worker.uniter.filter filter.go:415 want forced upgrade true 2014-10-23 11:51:35 DEBUG juju.worker.uniter.filter filter.go:521 no new charm event 2014-10-23 11:51:59 INFO juju.worker.upgrader upgrader.go:116 desired tool version: 1.20.10 -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
Re: User Management part 1 all there for 1.21
2014-10-30 3:54 GMT+03:00 Tim Penhey tim.pen...@canonical.com: This is just the start of more magical things to come. The Onyx team is focused on enabling multiple environments within a single juju deployment. This means that there will be able to be multiple running independent juju environments running through one state server (or highly available state server collection). As this ability gets closer to reality we'll start seeing more commands around listing environments, and sharing environments with other users. Nice! I'm ready to test this when it can be tested =)) -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
Re: gocharm help
2015-04-23 18:01 GMT+03:00 Vasiliy Tolstov v.tols...@selfip.ru: Thanks for suggestions, i'm try to write simple wordpress charm and check relations =) Last question - what benefits of using simplerelation package or writing own relations packages? Also, why in case of registered relation gocharm does not create symlinks for this relation? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
Re: gocharm help
2015-04-23 11:00 GMT+03:00 roger peppe roger.pe...@canonical.com: Nice start! As far as I can see the issue is just that there's a variant syntax of a relation that's allowed in the metadata (I replied in the issue itself). I had a brief look at your hooks.go file. I'd suggest that it's probably better to register the hooks individually, rather than using the switch (that way gocharm does the work). As it happens, the gocharm hook logic emits a log message anyway when a hook starts and finishes, but if you *do* want to wrap other generic logic around hooks, it's probably better to use a decorator style than to introduce the switch. e.g. func (n *mysql) registerHook(r *hook.Registry, name string, h func() error) { r.RegisterHook(name, func() error { n.ctxt.Logf(running %s, name) return h() }) } ... n.registerHook(r, install, n.install) Here's a paste of the code with a few suggested changes made: http://paste.ubuntu.com/10870074/ Please let me know if you have any more issues (or, even better, if it all just works ok for you :-] ) Thanks for suggestions, i'm try to write simple wordpress charm and check relations =) Last question - what benefits of using simplerelation package or writing own relations packages? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
Re: gocharm help
2015-04-23 20:31 GMT+03:00 roger peppe roger.pe...@canonical.com: Ah! After looking at your code, I think I might know what your question means. Do you mean If I call RegisterRelation, why does gocharm not generate relation hooks for that relation?. If so, the answer is that gocharm only generates a hook stub when you've called RegisterHook for that hook (it can't know *which* hooks you want to be called. RegisterRelation just registers the relation; it doesn't say that you're interested in hook invocations for that relation. See charmbits/httprelation for an example of how to implement a relation. Thanks for all answers. Offtopic question - does you know something like chef/puppet but written in go ?=) -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
gocharm help
Hello, i'm try to investigate gocharm and i'm happy with it. But i'm stuck ad this issues: https://github.com/juju/gocharm/issues/44 can somebody helps me? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
Re: any ways to update unit public address ?
2015-05-27 3:17 GMT+03:00 Kapil Thangavelu kap...@gmail.com: relation settings only propagates private ip, which juju sets, and its imo bug that juju should update and invoke relation change hook if it changes and has the previously set value (ie. thus works w/ proxy charms). at least that was my summary going in and out of the that monster thread. at the moment juju doesn't update the addresses it set, but it will invoke config-changed when addresses changed afaicr but effectively zero charms are ready to handle that. re public address, unit-get public-address makes it available as info into the charm, but there isn't a mechanism per-se to modify the address or notify wrt to that information. you can manually modify the relation settings that convey private/public address info with juju run ala https://gist.github.com/kapilt/a61efcb4eaef9e685397 might be helpful if you could clarify the context that the public address changed and how its causing a problem with a concrete example. Thanks, if my units for unit-get public-address always return 127.0.0.1 what can i do? P.S. state server address really 127.0.0.1, but server have other public addresses ipv4 and ipv6 -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
Re: any ways to update unit public address ?
2015-05-27 10:10 GMT+03:00 Andrew Wilkins andrew.wilk...@canonical.com: Which version of Juju are you running? If it's semi recent, it *should* pick up all of the addresses on the machine and choose something that is not a private network address (and if it's not, I'd suggest logging a bug). 1.23.3-0ubuntu1~14.04.1~juju1 -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
Re: any ways to update unit public address ?
2015-05-27 10:13 GMT+03:00 Vasiliy Tolstov v.tols...@selfip.ru: Which version of Juju are you running? If it's semi recent, it *should* pick up all of the addresses on the machine and choose something that is not a private network address (and if it's not, I'd suggest logging a bug). 1.23.3-0ubuntu1~14.04.1~juju1 with juju devel (1.24-beta5-0ubuntu1~14.04.1~juju1) output is the same: juju run --unit=mysql/0 unit-get private-address 127.0.0.1 -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
plans for single state server for many users
Hello, can somebody share info/plans/roadmap for single state server for many juju clients? I want to have one server for all my clients (i'm hosting provider). If beta available - i want to try it if somebody provide me instructions/docs. Thanks. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
juju and monitoring systems
I like juju (and already use it to provide predefined vps with wordpress etc) and i like prometheus monitoring system. Does juju devs have any plans to export metrics to prometheus? Or somebody who use juju and prometheus? Also does juju running on machines or on the state server have ability (internally collect) to get performance metrics like: cpu, memory utilization, disk space etc ? This brings ability to easy add/remove units. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
Re: juju and monitoring systems
2015-11-13 17:33 GMT+03:00 Charles Butler <charles.but...@canonical.com>: > Vasilily, > > I've been taking a deep look at prometheus lately - namely due to the claim > of their top end benchmark of 360 thousand metric ingests per second on a > beefy modern host. This intrigued me as to the use cases for prometheus. And > seeing it being baked into the k8s apiserver for metric exports gave it > additional credibility for being investigated. > > Rick's answer pretty much falls in line with what my analysis would be, that > we dont have it on any road maps today, however an ingest for prometheus > should be possible with some effort on both sides - the prometheus charm > maintainer (tbd) and then the metric scrapers for juju (tbd). > > If this is something you are interested in, I think this conversation is a > good starting point to look at what really needs to be done, and can be > prototyped outside of juju core as a POC. If it gains traction, that would > be a good identifier for it to be prioritized in a future iteration. > > As a bit of a curiosity, what metrics are you looking for? Thanks for detailed answer. I'm looking for data, that can be used to automatic scaling. Now i'm looking for system la, cpu utilization, cpu steal time, memory used, disk free space and utilization, network utilization... May be the best look at https://github.com/prometheus/node_exporter for by default enabled metrics. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
Re: Juju 2.0 and local charm deployment
2016-03-04 8:55 GMT+03:00 Ian Booth <ian.bo...@canonical.com>: > Hopefully everyone is aware that Juju 2.0 and the charm store will support > multi-series charms. To recap, a multi-series charm is one which can declare > that it supports more than just the one series; you no longer need to have a > separate copy of the charm for precise vs trusty vs xenial. Note that all > series > must be for the same OS so you'll still need separate charm sources for > Windows > vs Ubuntu vs Centos. Thanks, but do you have plans to support multi os charms ? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev