Re: Additional bindings

2018-05-17 Thread Vidmantas Rinkevičius

Thank, you. Worked like a charm.


On 2018-05-17 23:59, Xav Paice wrote:

"": admin


--
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Additional bindings

2018-05-17 Thread Xav Paice
What you could try is to add:

bindings:
  "": admin
  public: storage
  cluster: internal

That way, your defualt binding is to the admin space.

On Thu, May 17, 2018 at 11:44:55PM +0300, Vidmantas Rinkevičius wrote:
> Hi,
> 
> I am facing issue where I need additional network bindings in my deployment.
> I tried to add extra bind, but it looks like binds are hard coded.
> 
> services:
>   ceph-mon:
>     annotations:
>   gui-x: '750'
>   gui-y: '500'
>     charm: cs:~openstack-charmers-next/bionic/ceph-mon
>     num_units: 3
>     bindings:
>   public: storage
>   cluster: internal
>     extra-bindings:
>    admin: admin
>     options:
>   expected-osd-count: 3
>   source: proposed
>     to:
>     - lxd:6
>     - lxd:7
>     - lxd:8
> 
> After this I get error:
> 
> 23:28:44 DEBUG juju.api monitor.go:35 RPC connection died
> ERROR cannot deploy bundle: cannot deploy application "ceph-osd": invalid
> binding(s) supplied "admin", valid binding names are "cluster", "mon",
> "nrpe-external-master", "public", "secrets-storage"
> 
> I added admin bind with so that deployed container would have a vlan for
> admin. I have space defined so I assume issue is with bind name not being
> accepted.
> 
> -- 
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at: 
> https://lists.ubuntu.com/mailman/listinfo/juju


signature.asc
Description: PGP signature
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Additional bindings

2018-05-17 Thread Vidmantas Rinkevičius

Hi,

I am facing issue where I need additional network bindings in my 
deployment. I tried to add extra bind, but it looks like binds are hard 
coded.


services:
  ceph-mon:
    annotations:
  gui-x: '750'
  gui-y: '500'
    charm: cs:~openstack-charmers-next/bionic/ceph-mon
    num_units: 3
    bindings:
  public: storage
  cluster: internal
    extra-bindings:
   admin: admin
    options:
  expected-osd-count: 3
  source: proposed
    to:
    - lxd:6
    - lxd:7
    - lxd:8

After this I get error:

23:28:44 DEBUG juju.api monitor.go:35 RPC connection died
ERROR cannot deploy bundle: cannot deploy application "ceph-osd": 
invalid binding(s) supplied "admin", valid binding names are "cluster", 
"mon", "nrpe-external-master", "public", "secrets-storage"


I added admin bind with so that deployed container would have a vlan for 
admin. I have space defined so I assume issue is with bind name not 
being accepted.


--
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju