Hi all,

TL;DR:
Who does the copying of the template from the secondary storage pool to the
primary storage pool? Is this the responsibility of the Storage VM? Or does
the Storage VM tell a hypervisor to do this? (we're running 4.19.1.2)


For those that have a bit more time:
I'm confused with a particular concept here.
We have an acceptance environment where we have implemented several
different networks according to Apache CloudStack recommendations:
- we have a dedicated (L3) management network where our Apache CloudStack
VMs reside (db + mgt vms)
- we have a dedicated (L3) hypervisor network where our hypervisors reside
- we have a dedicated (L2) storage network where our primary storage pool
resides

Our secondary storage pool resides on a different L3 network and our
hypervisors obviously have an address in the L2 storage network as well.
During installation we configured our Storage VM to have an IP address in
the (L2) storage network as well and thought this was required in order to
be able to templates from the secondary storage pool (which resides on an
L3 network) to the primary storage pool (which resides on the L2 network).

This all worked beautifully but when we implemented the same design in
production, we had issues with the Storage VM being on and off again
unavailable up to the point that it just wasn't responding properly.
Looking into the console, we noticed that a route was added that was
causing the issue and the only way to properly get rid of it was to remove
the Storage IP range that was assigned for our Storage VM. We deleted the
Storage VM, it got created again though this time without an IP address in
the L2 primary storage network and lo and behold, everything worked as it
should. We're able to upload templates which in all isn't strange since our
secondary storage pool resides on an L3 network and is reachable from
(almost) anywhere. What is strange to us is that it's able to copy
templates from the secondary storage pool to the primary storage pool when
the Storage VM has no access (IP address) in the L2 Storage network. We
checked through the console of the Storage VM and it cannot reach or mount
any of the L2 Primary Storage pools.

So when you create a new VM, is it the Storage VM that does the copying of
a template from the Secondary storage pool to the primary storage pool (and
thus should have an IP address in any L2 network) or does it tell the
hypervisor to do that for it? If so, why would the Storage VM need an IP
address in an L2 storage network?

Kind regards,

Jeroen Kleijer

Reply via email to