Comment 1 for bug 2039905

Revision history for this message
Samuel Allan (samuelallan) wrote :

For more information, I have the recommended 2 units deployed, and the charm status is active/idle. It's related to a working ceph-mon.

If I manually try to create the host that it's complaining is missing, I see this error:

```
/iscsi-target...csi-igw/hosts> create iqn.1993-08.org.debian:01:a4b5157f8afe
Failed: Clients can not be defined until a HA configuration has been defined (>2 gateways)
```

I'll investigate further for HA issues, but running `sudo gwcli ls` on each node results in:

first node (the one where I'm running the the action on - the ip address is the ip of that node):

```
...
  o- iscsi-targets ............................................................................... [DiscoveryAuth: None, Targets: 1]
    o- iqn.2003-01.com.ubuntu.iscsi-gw:iscsi-igw ......................................................... [Auth: None, Gateways: 1]
      o- disks .......................................................................................................... [Disks: 0]
      o- gateways ............................................................................................ [Up: 1/1, Portals: 1]
      | o- node-2.maas ...................................................................................... [192.168.151.128 (UP)]
      o- host-groups .................................................................................................. [Groups : 0]
      o- hosts ....................................................................................... [Auth: ACL_ENABLED, Hosts: 0]
```

And on the second node - the same exept for:

```
 | o- node-2.maas ................................................................................. [192.168.151.128 (UNKNOWN)]
```

And the second one also starts with a warning:

```
1 gateway is inaccessible - updates will be disabled
```