GitHub user TheKunalSen added a comment to the discussion: Connecting Two 
management servers

> > @weizhouapache we are in the same situation soon also where we are going to 
> > deploy another redundant management server but on another site so how big 
> > can the `management.network.cidr` be? Because we deploy it on another site 
> > and our IPv4 usage is quite extreme the only supernet i can possible think 
> > of might be 10/8 or even 0/0 if we are unlucky. Would it be possible to add 
> > multiple networks to `management.network.cidr` ?
> 
> @Sparc0 let's wait for @TheKunalSen to confirm. If it works, we can improve 
> source code to support multiple comma-separated cidrs as 
> management.network.cidr



@weizhouapache 

i have change the management cidr now the .2 network host is added and up

but the system vms are failing for .2 zone 

i have kept a common nfs secondary storage for z1 and z2 on 192.168.1.103

z1 is having the primary storage on nfs 192.168.1.103

and a separate primary storage for z2 on 192.168.2.102

this is what my export file looks like on nfs 1

```
user@nfs1:~$ cat /etc/exports
# /etc/exports: the access control list for filesystems which may be exported
#               to NFS clients.  See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes       hostname1(rw,sync,no_subtree_check) 
hostname2(ro,sync,no_subtree_check)
#
# Example for NFSv4:
# /srv/nfs4        gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
# /srv/nfs4/homes  gss/krb5i(rw,sync,no_subtree_check)
#

# CloudStack NFS Storage
/export/primary   *(rw,async,no_root_squash,no_subtree_check)
/export/secondary *(rw,async,no_root_squash,no_subtree_check)
```


i am getting error on agent side

```
2026-05-21 06:00:09,855 WARN  [utils.script.Script] (AgentRequest-Handler-5:[]) 
(logid:3ff05cbd) Process [34991] for command [/bin/bash -c mountpoint -q 
/mnt/018eedde-0d32-30b4-9fe0-77c8adbfc4c2 ] encountered the error: [32].
2026-05-21 06:00:10,143 ERROR [kvm.storage.LibvirtStorageAdaptor] 
(AgentRequest-Handler-5:[]) (logid:3ff05cbd) org.libvirt.LibvirtException: 
internal error: Child process (/usr/bin/mount -o nodev,nosuid,noexec 
192.168.1.103:/export/secondary/template/tmpl/1/3 
/mnt/018eedde-0d32-30b4-9fe0-77c8adbfc4c2) unexpected exit status 32: 
mount.nfs: Operation not permitted

2026-05-21 06:00:10,143 ERROR [kvm.storage.LibvirtStorageAdaptor] 
(AgentRequest-Handler-5:[]) (logid:3ff05cbd) Failed to create netfs mount: 
192.168.1.103:/export/secondary/template/tmpl/1/3 org.libvirt.LibvirtException: 
internal error: Child process (/usr/bin/mount -o nodev,nosuid,noexec 
192.168.1.103:/export/secondary/template/tmpl/1/3 
/mnt/018eedde-0d32-30b4-9fe0-77c8adbfc4c2) unexpected exit status 32: 
mount.nfs: Operation not permitted

        at org.libvirt.ErrorHandler.processError(Unknown Source)
        at org.libvirt.ErrorHandler.processError(Unknown Source)
        at org.libvirt.Connect.storagePoolCreateXML(Unknown Source)
        at 
com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createNetfsStoragePool(LibvirtStorageAdaptor.java:313)
        at 
com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:815)
        at 
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:392)
        at 
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.getStoragePoolByURI(KVMStoragePoolManager.java:338)
        at 
com.cloud.hypervisor.kvm.storage.KVMStorageProcessor.copyTemplateToPrimaryStorage(KVMStorageProcessor.java:293)
        at 
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:103)
        at 
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:65)
        at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStorageSubSystemCommandWrapper.execute(LibvirtStorageSubSystemCommandWrapper.java:36)
        at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStorageSubSystemCommandWrapper.execute(LibvirtStorageSubSystemCommandWrapper.java:30)
        at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
        at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:2280)
        at com.cloud.agent.Agent.processRequest(Agent.java:813)
        at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1295)
        at com.cloud.utils.nio.Task.call(Task.java:83)
        at com.cloud.utils.nio.Task.call(Task.java:29)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)
```

GitHub link: 
https://github.com/apache/cloudstack/discussions/13201#discussioncomment-17000131

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to