juju deployer or juju quickstart on pure go

2015-06-02 Thread Vasiliy Tolstov
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

Re: add users to already deployed ftp server charm

2015-06-02 Thread Vasiliy Tolstov
> action, and script calling that action with whatever data-sets you need. > > All the best, > > > Charles Butler - Juju Charmer > Come see the future of datacenter orchestration: http://jujucharms.com Thanks! Roger Peppe, does it possible to add actions support to goch

add users to already deployed ftp server charm

2015-06-02 Thread Vasiliy Tolstov
r 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/ma

Re: gocharm or harm.v5 how to get charm dir?

2015-06-02 Thread Vasiliy Tolstov
> 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 Thread Vasiliy Tolstov
2015-06-02 10:10 GMT+03:00 roger peppe : > 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 unsubscr

gocharm or harm.v5 how to get charm dir?

2015-06-01 Thread Vasiliy Tolstov
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

Re: gocharm help

2015-04-24 Thread Vasiliy Tolstov
2015-04-24 18:14 GMT+03:00 roger peppe : > 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 set

Re: gocharm help

2015-04-24 Thread Vasiliy Tolstov
mbits/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 s

Re: gocharm help

2015-04-23 Thread Vasiliy Tolstov
2015-04-23 18:01 GMT+03:00 Vasiliy Tolstov : > 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

Re: gocharm help

2015-04-23 Thread Vasiliy Tolstov
aste.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 packag

Re: gocharm help

2015-04-22 Thread Vasiliy Tolstov
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 : > 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/

gocharm help

2015-04-22 Thread Vasiliy Tolstov
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 Mod

Re: About bootstrap server , size and dedicate or share it for applications or not

2015-01-15 Thread Vasiliy Tolstov
nt 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 ma

Re: Announcement: gocharm

2014-12-19 Thread Vasiliy Tolstov
2014-12-19 17:25 GMT+03:00 roger peppe : > 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 ma

Re: resurrect state server based on agents already running?

2014-10-21 Thread Vasiliy Tolstov
hen 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

resurrect state server based on agents already running?

2014-10-21 Thread Vasiliy Tolstov
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: move already deployed service to new vps with different ip address.

2014-10-21 Thread Vasiliy Tolstov
d juju > add-machine ssh:user@container_ip thanks =) sorry. -- 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 Thread Vasiliy Tolstov
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

Re: move already deployed service to new vps with different ip address.

2014-10-21 Thread Vasiliy Tolstov
2014-10-21 17:11 GMT+04:00 Kapil Thangavelu : > 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-mai

Re: move already deployed service to new vps with different ip address.

2014-10-21 Thread Vasiliy Tolstov
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 Thread Vasiliy Tolstov
> > 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.u

Re: move already deployed service to new vps with different ip address.

2014-10-21 Thread Vasiliy Tolstov
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-20 Thread Vasiliy Tolstov
0t0TCP *:38017 (LISTEN) mongod 1505 root 18u IPv6 10888 0t0 TCP *: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: wordpress charm internal deps

2014-10-20 Thread Vasiliy Tolstov
2014-10-17 16:43 GMT+04:00 David Cheney : > 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

Re: lxc options in manual environment

2014-10-20 Thread Vasiliy Tolstov
e, 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

lxc options in manual environment

2014-10-18 Thread Vasiliy Tolstov
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

wordpress charm internal deps

2014-10-17 Thread Vasiliy Tolstov
11:34:16 INFO db-relation-changed tk tk8.6 x11-common x11-utils xbitmaps xterm Why in server drm, tk, xterm , libx libraries? -- 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

Re: move already deployed service to new vps with different ip address.

2014-10-15 Thread Vasiliy Tolstov
nual, deploy to lxc wordpress and mysql deploy to machine-0 haproxy and add relation to wordpress and haproxy. as i understand in this case ip not changed and all need to works fine =) -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Mo

Re: move already deployed service to new vps with different ip address.

2014-10-15 Thread Vasiliy Tolstov
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...@sel

move already deployed service to new vps with different ip address.

2014-10-14 Thread Vasiliy Tolstov
:03 INFO juju.worker runner.go:252 restarting "api" in 3s Does it possible to avoid this or i need to modify juju db to fix 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: how to get info about completing deploying charms

2014-10-14 Thread Vasiliy Tolstov
2014-10-14 16:35 GMT+04:00 Kapil Thangavelu : > the default execution directory for juju run is the charm directory, so if > you put it in hooks, you would use "./hooks/health" instead. Thanks -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju m

Re: how to get info about completing deploying charms

2014-10-14 Thread Vasiliy Tolstov
2014-10-14 9:48 GMT+04:00 Kapil Thangavelu : > 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 unsubscri

Re: how to get info about completing deploying charms

2014-10-13 Thread Vasiliy Tolstov
parsing. Ok, so if i need to check that for example mysql and wordpress completed and running i need to grep juju status for agent state and check that it started three times (machine started and wordpress and mysql), right? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@s

Re: how to get info about completing deploying charms

2014-10-12 Thread Vasiliy Tolstov
2014-10-13 0:38 GMT+04:00 Vasiliy Tolstov : > 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

how to get info about completing deploying charms

2014-10-12 Thread Vasiliy Tolstov
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: proper way to deploy to one server (lxc based)

2014-10-11 Thread Vasiliy Tolstov
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 Juj

Re: split charm templates and logic for different os (ubuntu/debian/centos)

2014-10-10 Thread Vasiliy Tolstov
raging a configuration management tool like chef or puppet which > abstracts that. Thanks for examples =) -- 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)

2014-10-10 Thread Vasiliy Tolstov
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

Re: proper way to deploy to one server (lxc based)

2014-10-09 Thread Vasiliy Tolstov
api/relations or other stuff to get already running juju services on current machine charm can recalculate memory for own use... -- 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.u

Re: proper way to deploy to one server (lxc based)

2014-10-08 Thread Vasiliy Tolstov
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

Re: failed to deploy wordpress via local

2014-10-08 Thread Vasiliy Tolstov
olution 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 Thread Vasiliy Tolstov
stall 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: proper way to deploy to one server (lxc based)

2014-10-08 Thread Vasiliy Tolstov
ll 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

proper way to deploy to one server (lxc based)

2014-10-07 Thread Vasiliy Tolstov
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... ? -- Va

Re: failed to deploy wordpress via local

2014-10-07 Thread Vasiliy Tolstov
sure of what you want to do, so I can't say whether the API will > actually help you do it. I need something like json api. To call from php code for example. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.ubuntu.com Modify

Re: request for mirror all charms from jujucahrms to github

2014-10-07 Thread Vasiliy Tolstov
2014-10-07 18:08 GMT+04:00 José Antonio Rey : > 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 l

Re: request for mirror all charms from jujucahrms to github

2014-10-07 Thread Vasiliy Tolstov
etter. 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 maili

generating config based on free memory

2014-10-07 Thread Vasiliy Tolstov
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 ma

request for mirror all charms from jujucahrms to github

2014-10-07 Thread Vasiliy Tolstov
Does it possible to mirror all charms to github for easy contribution? P.S. I'm know bzr , but not like to double own git stuff with bzr , and i don't like launchpad web ui =) -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- Juju mailing list Juju@lists.

Re: failed to deploy wordpress via local

2014-10-07 Thread Vasiliy Tolstov
gt; https://juju.ubuntu.com/docs/config-manual.html > You would install the Juju client on your laptop/desktop, then create a > "manual" config in environments.yaml pointing at your VPS. After > bootstrapping, you can then deploy units directly to that machine. Nice. Does jujud hav

failed to deploy wordpress via local

2014-10-06 Thread Vasiliy Tolstov
ress/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 --

supported operation systems and other questions

2014-10-05 Thread Vasiliy Tolstov
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

Re: relations system in juju

2013-11-22 Thread Vasiliy Tolstov
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 sourc

Re: What's coming for Juju in 14.04

2013-11-20 Thread Vasiliy Tolstov
t; > - http://www.youtube.com/watch?v=ZjzImjEinB8&feature=share&t=2m Can it possible to get in text/html roadmap =)? -- 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 Thread Vasiliy Tolstov
e 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.

Re: openstack hard depency or not

2013-11-19 Thread Vasiliy Tolstov
s used bu juju state server minimal i think i can use lxc for that. But this is not solve problem with multiply clients. I think best of all create ability to work with multiply clients using keys in one state server. > With respect to the "next two cycles", we mean roughly "less

Re: openstack hard depency or not

2013-11-17 Thread Vasiliy Tolstov
d 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 Tolsto

Re: openstack hard depency or not

2013-11-17 Thread Vasiliy Tolstov
2013/11/18 Mark Shuttleworth : > 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 jabb

Re: openstack hard depency or not

2013-11-17 Thread Vasiliy Tolstov
ant 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

openstack hard depency or not

2013-11-16 Thread Vasiliy Tolstov
Hi all. I like to provide for users ability to install popular software and try to choise what the best - aps or juju charms? Does juju needs openstack or i can provide some api to juju and it run smoothly not only on openstack? P.S. Now i need run all stuff only on single instance. -- Vasiliy