Additional bindings

Vidmantas Rinkevičius vidmantas.rinkevicius at vgtu.lt
Thu May 17 20:44:55 UTC 2018


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.



More information about the Juju mailing list