Re: Snapshots only on Primary Storage feature

2018-05-17 Thread Simon Weller
The whole point of the original PR was to optionally disable this functionality. We don't expose views of the backup state to our customers (we have our own customer interfaces) and it's a large waste of space for us to be backing up tons of VM images when we have a solid primary storage infrast

Re: Snapshots only on Primary Storage feature

2018-05-17 Thread Will Stevens
PLD, please review. We also need the backup to secondary to be optional/on demand for our latest implementation plans. *Will Stevens* Chief Technology Officer c 514.826.0190 On Thu, May 17, 2018 at 3:22 PM Suresh Kumar Anaparti < sureshkumar.anapa...@gmail.com> wrote:

Re: Snapshots only on Primary Storage feature

2018-05-17 Thread Suresh Kumar Anaparti
Hi Si, No. not possible to disable the backup to secondary. It copies the volume snapshot to secondary in a background thread using asyncBackup param (set to true) and allows other operations during that time. I understand that the backup was on demand when any operations are performed on the sna

Re: Dynamic roles question

2018-05-17 Thread Suresh Kumar Anaparti
Hi Ivan, This would be a good improvement. Instead of changing the rules for the account role based on the requirements or on demand, account can be mapped to a new role (manually or automatic after trial) of the same role type [User]. Do you have any use case for changing account role for Admin /

Re: Snapshots only on Primary Storage feature

2018-05-17 Thread Simon Weller
Suresh, With this new merged PR, is it possible to disable the backup to secondary completely? I can't tell from the reference spec and we're not on a 4.10/4.11 base yet. For the record, in the instances where a volume or template from snapshot was required, the backup image was copied on de

Re: Snapshots only on Primary Storage feature

2018-05-17 Thread Suresh Kumar Anaparti
Hi Glen / Si, In PR# 1697, the global setting *snapshot.backup.rightafter* if set to true, it'll be the default behaviour and snapshot is copied to the secondary storage. If set to false, then the snapshot state transitions are mocked and Snapshot would be in BackedUp state even though it is not r

Re: Snapshots only on Primary Storage feature

2018-05-17 Thread Simon Weller
Glen, This feature was implemented in 4.9 by my colleague Nathan Johnson. You enable it by changing the global setting snapshot.backup.rightafter to false. The PR is reference here: https://github.com/apache/cloudstack/pull/1697 We have the exact same use case as you, as we also use Ceph.

Snapshots only on Primary Storage feature

2018-05-17 Thread Glen Baars
Hello Devs, I have been thinking about a feature request and want to see what people think about the use case. We use KVM + Ceph RBD as storage. Currently, when a client takes a snapshot, Cloudstack takes a Ceph snapshot and then uses qemu-img to export to secondary storage. This creates

Re: Dynamic roles question

2018-05-17 Thread Ivan Kudryavtsev
Yep, something like that is the key. Add an optional parameter to updateAccount. чт, 17 мая 2018 г., 20:56 Rafael Weingärtner : > That seems a nice enhancement. > > Are you thinking about adding an extra parameter to "updateAccount"? > > On Thu, May 17, 2018 at 10:03 AM, Ivan Kudryavtsev < > kudr

Re: Ceph RBD issues in 4.11

2018-05-17 Thread Wido den Hollander
On 05/17/2018 04:32 PM, Glen Baars wrote: > Hello Wido, > > Thanks for the reply. > > I used the RBD command line tool directly without specifying any features. > It’s the default since Ceph Jewel. > > The features that I require are for these use cases: > > 1.Using 'rbd du' the get the real

RE: Ceph RBD issues in 4.11

2018-05-17 Thread Glen Baars
Hello Wido, Thanks for the reply. I used the RBD command line tool directly without specifying any features. It’s the default since Ceph Jewel. The features that I require are for these use cases: 1.Using 'rbd du' the get the real disk usage of a volume without fast-diff is very slow. We need

Re: Ceph RBD issues in 4.11

2018-05-17 Thread Wido den Hollander
On 05/17/2018 01:50 PM, Glen Baars wrote: > Hello Dev, > > I have recently upgraded our cloudstack environment to 4.11. Mostly all has > been smooth. ( this environment is legacy from cloud.com days! ) > > There are some issues that I have run into: > > 1.Can't install any VMs from ISO ( I ha

Re: Dynamic roles question

2018-05-17 Thread Rafael Weingärtner
That seems a nice enhancement. Are you thinking about adding an extra parameter to "updateAccount"? On Thu, May 17, 2018 at 10:03 AM, Ivan Kudryavtsev wrote: > Hello, community. > > I'm thinking about implementing the feature for accounts which permits to > change account role. Basically, the r

Re: Ceph RBD issues in 4.11

2018-05-17 Thread Simon Weller
Glen, Can you open a github issue here: https://github.com/apache/cloudstack/issues Please include logs of the second issue and we'll take a look at it. - Si From: Glen Baars Sent: Thursday, May 17, 2018 7:20 AM To: dev@cloudstack.apache.org Subject: Re: C

Dynamic roles question

2018-05-17 Thread Ivan Kudryavtsev
Hello, community. I'm thinking about implementing the feature for accounts which permits to change account role. Basically, the rationale is trials or demonstration modes which restricts users from doing extra stuff, like VM creation, service offering changes, etc. Basically, after trial the accou

Re: Ceph RBD issues in 4.11

2018-05-17 Thread Glen Baars
Yes - thanks for that. Do you have any info about the second issue? Glen Baars Sent from my Cyanogen phone On 17 May 2018 8:14 PM, Rafael Weing?rtner wrote: This problem sounds like the one described here https://github.com/apache/cloudstack/issues/2641. It seems that it was already fixed and

Re: Ceph RBD issues in 4.11

2018-05-17 Thread Rafael Weingärtner
This problem sounds like the one described here https://github.com/apache/cloudstack/issues/2641. It seems that it was already fixed and will go out in 4.11.1.0 On Thu, May 17, 2018 at 8:50 AM, Glen Baars wrote: > Hello Dev, > > I have recently upgraded our cloudstack environment to 4.11. Mostly

Ceph RBD issues in 4.11

2018-05-17 Thread Glen Baars
Hello Dev, I have recently upgraded our cloudstack environment to 4.11. Mostly all has been smooth. ( this environment is legacy from cloud.com days! ) There are some issues that I have run into: 1.Can't install any VMs from ISO ( I have seen this in the list previously but can't find a bug re