Additional bindings

Xav Paice xav.paice at canonical.com
Thu May 17 20:59:58 UTC 2018


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 at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/juju/attachments/20180518/39181d96/attachment.sig>


More information about the Juju mailing list