Re: Juju 2.3 beta2 is here!

2017-11-10 Thread Dmitrii Shcherbakov
ay not be + 1). I think this edge case can stay as is because you've already hacked an initial model further at this point - just modify your add-on bundle to reflect the model state. But a clean deployment is an important case to consider in my view. Best Regards, Dmitrii Shcherbakov Field S

Re: Juju 2.3 beta2 is here!

2017-11-10 Thread Dmitrii Shcherbakov
t's good to clarify)? bundle-add-ons.yaml: ... to: - old-app/0 - old-app/1 - old-app/2 This is different from = mapping which isn't considered as you mentioned. It's rather a reference to symbolic machine name ideas. Best Regards, Dmitrii Shcherbakov Field Software Engineer

Re: Juju 2.3 beta2 is here!

2017-11-09 Thread Dmitrii Shcherbakov
cluster=space-oam" cat ../rabbitmq.yaml rabbitmq-server: source: cloud:xenial-ocata min-cluster-size: 3 cluster-partition-handling: pause_minority Which includes brain-parsing the definition, serializing it to .yaml + -n --to --bind Machine to unit mapping: not that important i

Re: Juju 2.3 beta2 is here!

2017-11-09 Thread Dmitrii Shcherbakov
ng: https://launchpad.net/charm-6wind-virtual-accelerator 2. endpoint -> network space bindings and storage bindings for existing apps in a given model that may be present in a newly deployed bundle. Really appreciate the major changes coming to Juju 2.3 - thanks a lot! Best Regards, Dmitrii

Re: Consuming MongoDB from a Snap

2017-06-26 Thread Dmitrii Shcherbakov
Hi everybody, Thanks for highlighting this in a public thread. Before switching to snaps, please consider mongodb lifetime as snapd does not give you any strict lifetime guarantees as of now: 1. it will try to stop a service on update; 2. will send SIGTERM if that timed out; 3. if processes in t

Re: Exiting an unconditional juju debug-hooks session

2017-06-05 Thread Dmitrii Shcherbakov
ike bash (pid 3391) was forked 4 times consecutively with the last process (3404) `exec`-ing `tmux attach-session -t {unit_name}` I am going to need to check why there are 4 of them but detaching like that is fine by me. Best Regards, Dmitrii Shcherbakov Field Software Engineer IRC (freenode): Dmi

Exiting an unconditional juju debug-hooks session

2017-06-04 Thread Dmitrii Shcherbakov
https://github.com/juju/juju/blob/develop/worker/uniter/runner/debug/common.go#L24 --- If this approach with killing a tmux session is fine then I could create a PR for the doc repo and for the description in the debugHooksServerScript to explicitly mention it. I doubt it deserves a helper comm

Re: Juju Leader Election and Application-Specific Leadership

2017-04-06 Thread Dmitrii Shcherbakov
ut CAP and protocols such as Paxos and Raft. Best Regards, Dmitrii Shcherbakov On Thu, Apr 6, 2017 at 5:07 PM, Aaron Bentley wrote: > On 2017-04-05 09:30 PM, Andrew Wilkins wrote: >> On Wed, Apr 5, 2017 at 10:26 PM Dmitrii Shcherbakov > >> This doc says >> "

Re: Juju Leader Election and Application-Specific Leadership

2017-04-06 Thread Dmitrii Shcherbakov
dership.is_leader) def handler(rel) # <--- error rel.set_remote('x', 'y') or: @when(leadership.is_leader) def handler(rel=None) if rel: rel.set_remote('x', 'y') # <--- dead code Thoughts? Best Regards, Dmitrii Shcherbakov Dmitrii Shcherb

Juju Leader Election and Application-Specific Leadership

2017-04-05 Thread Dmitrii Shcherbakov
one know the current official stance on this? Thanks in advance! Best Regards, Dmitrii Shcherbakov Field Software Engineer IRC (freenode): Dmitrii-Sh -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev

Re: Network Space Binding Changes After Deployment or Upgrades

2017-03-28 Thread Dmitrii Shcherbakov
(an old thread) src/qemu $ git log 4616e3592ba62dd44d62babd84b23f84f6b33ddb~10..4616e3592ba62dd44d62babd84b23f84f6b33ddb http://git.qemu-project.org/?p=qemu.git;a=commit;h=4616e3592ba62dd44d62babd84b23f84f6b33ddb Best Regards, Dmitrii Shcherbakov Dmitrii Shcherbakov | Canonical Field

Network Space Binding Changes After Deployment or Upgrades

2017-03-27 Thread Dmitrii Shcherbakov
id and more update-friendly. Has it been discussed before? Any feedback is appreciated - thanks in advance. Best Regards, Dmitrii Shcherbakov Field Software Engineer IRC (freenode): Dmitrii-Sh -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev