Advice on converting zone-wide to cluster-wide storage

2017-09-29 Thread Andrija Panic
Hi all, I was wondering if anyone have experience hacking DB and converting zone-wide primary storage to cluster-wide. We have: 1 x NFS primary storage, zone-wide 1 x CEPH primary storage, zone-wide 1 x SOLIDFIRE orimary storage, zone-wide 1 zone, 1 pod, 1 cluster., Advanced zone, and 1 NFS regul

listTemplates: multiple items with same ID

2017-09-29 Thread Richard Downer
Hello, I'm debugging an issue on behalf of one of our users. We are using Apache jclouds to talk to Apache CloudStack which is on a customer's site. jclouds is invoking the `listTemplates` API, but is then choking while processing the query results. It seems that on this CloudStack instance, th

Re: Advice on converting zone-wide to cluster-wide storage

2017-09-29 Thread Tutkowski, Mike
Hi Andrija, I just took a look at the SolidFire logic around adding primary storage at the zone level versus the cluster scope. I recommend you try this in development prior to production, but it looks like you can make the following changes for SolidFire: • In cloud.storage_pool, enter the ap

Re: Advice on converting zone-wide to cluster-wide storage

2017-09-29 Thread Andrija Panic
Hi Mike, thx for that info, that is exactly what I also see as DB differences, but was also wondering if anyone played with it in Production :) Will wait for some more reply hopefully ! Cheers Andrija On 29 September 2017 at 15:27, Tutkowski, Mike wrote: > Hi Andrija, > > I just took a look a

Re: listTemplates: multiple items with same ID

2017-09-29 Thread Rafael Weingärtner
If the template is in multiple zones at the same time, then you are going to have multiple template objects with the same ID. Otherwise, this should not happen. You could check the database table "vm_template" to see if you find any inconsistency there. On Fri, Sep 29, 2017 at 9:21 AM, Richard Dow

Secondary Storage explained

2017-09-29 Thread Jeremy Peterson
Can someone explain the folder structure in secondary storage. I see /var/cloud_mount/87156045-e430-3fe3-aa4b-3d41c1af8df2 In there I have a bunch of folders Xen5 snapshots]# ls 10 13 130 153 2 23 390 4 449 480 605 61 64 664 67 684 7 75 8 87 9 Xen5 snapshots]# find . -name

Re: Secondary Storage explained

2017-09-29 Thread Rafael Weingärtner
The numbers are the IDs of the volume (id of the database). In the volume table you can find the VM in which the volume is attached to. If it is a snapshot, then you might want to check the snapshot table as well (I might be wrong, but I think snapshots also have an entry in the volume table).

Re: Secondary Storage explained

2017-09-29 Thread Makrand
Let me correct a little bit of what Rafael has said. In the snapshots folder itself, the number dirs are account IDs. root@gcx-bom-cloudstack:/mnt/secondary/snapshots# ls -l total 6 drwxr-xr-x 8 nobody nogroup 8 Jul 13 12:07 10 drwxr-xr-x 18 nobody nogroup 18 Aug 3 2016 2 drwxr-xr-x 11 nobody