Hi Piotr,

as far as I know, it's not possible to change in in the normal/official
way, but you can actually change it via DB (test on DEV first and makes
sure to run some tests, deploy VMs, do some live migrations etc...)

UPDATE cloud.storage_pool SET pod_id=1, cluster_id=1, scope='CLUSTER'
WHERE  id=6;

In example above id=6 is the ID value from the storage_pool table for the
storage you are editing (changing scope), and since you are changing from
ZONE (no specific pod/cluster), to CLUSTER (specific CLUSTER inside
specific POD), then also need to define IDs of you POD and cluster (again
these are IDs from the cloud.cluster table and cloud.host_pod_ref table)

Let me know if this works, I needed to change it once in same way, but we
didn't do it eventually.

Cheers,

Andrija

On 22 February 2018 at 08:49, Piotr Pisz <pp...@pulab.pl> wrote:

> Hello,
>
> Is there any possibility of change primary storage scope from cluster to
> zone?
>
> Regards,
> Piotr
>
>
>


-- 

Andrija Panić

Reply via email to