Re: Is there a universal interface I can use?

2017-11-22 Thread John Meinel
I did start working on a Cassandra interface for something I was working on. I don't know that it is complete but https://github.com/jameinel/interface-cassandra Was my attempt at it. John =:-> On Nov 23, 2017 02:26, "Haw Loeung" wrote: > Hi Tilman, > > On Wed, Nov 22, 2017 at 04:02:08PM +0100

Re: Is there a universal interface I can use?

2017-11-22 Thread Haw Loeung
Hi Tilman, On Wed, Nov 22, 2017 at 04:02:08PM +0100, Tilman Baumann wrote: > However, that doesn't seem to work. Juju complains the relation doesn't > exist. > $ juju add-relation cassandra-backup:database cassandra:database > ERROR no relations found > > So, is there a interface that I can (ab-)u

Re: Is there a universal interface I can use?

2017-11-22 Thread Dmitrii Shcherbakov
Also: "scope: global" vs "scope: container" in metadata.yaml are Juju-level per-relation concepts. Regardless of reactive or non-reactive charms, when you do juju add-relation : : relation data will flow only between primary and subordinate units on a given logical machine (machine or container

Re: Is there a universal interface I can use?

2017-11-22 Thread Cory Johns
You can use the "juju-info" interface type for subordinates, but I'm not sure that this is the correct thing for your case. You're trying to attach the non-subordinate "database" endpoint (of interface protocol "juju-info") on your charm to the "database" endpoint (of interface protocol "cassandra

Re: Juju patents

2017-11-22 Thread Merlijn Sebrechts
Hi Mark The United States Patent Office has an online filing system where you can submit prior art. I can help search for prior art, but I have no idea what's actually required to be valid prior art. The patent application is very dense, and it's no

Is there a universal interface I can use?

2017-11-22 Thread Tilman Baumann
I'm writing a reactive subordinate charm for cassandra. I can not find a interface for cassandra. But that's ok, since I don't really need a full blown database connection client. Easy I thought and just re-used the juju-info interface for fun and profit. requires: host-system: interface: ju

VMWare support in 2.3-rc1.1

2017-11-22 Thread Merlijn Sebrechts
Hi all I've been trying out Juju 2.3-rc1.1 on VMware. Good work on this, we were finally able to create a functional controller on our cluster! There are however still a couple of issues I wanted to bring to your attention. The most serious one is that LXD support seems to be broken (more than o

Re: using the juju client from jenkins

2017-11-22 Thread Tom Barber
I'm not sure if this is of any use: https://github.com/spiculedata/circleci-juju/blob/master/charmlogin I use `expect` to process a charm login for me. On 22/11/17 13:01, James Beedy wrote: Konstantinos, Thanks for that. I need to get CI/CD setup for my charms, that will be very helpful to

Re: using the juju client from jenkins

2017-11-22 Thread James Beedy
Konstantinos, Thanks for that. I need to get CI/CD setup for my charms, that will be very helpful to me very soon. Possibly I didn't illuminate the issue I'm having correctly though. 1) I have a pdl-api charm, that manages the pdl-api.snap. 2) My CI/CD pipeline for the pdl-api has two steps; bui

Re: using the juju client from jenkins

2017-11-22 Thread Konstantinos Tsakalozos
Hi James, We build our charms, push them to the store on the edge channel, and then our tests run against what is on edge. With this approach the team can sync on a specific build revision instead of each one separately trying to rebuild the charm locally and reproduce any unexpected behaviour. As