Re: [Openstack-operators] Cinder quota per volume types in the dashboard

2017-10-12 Thread Arne Wiebalck
As requested in the feedback, a blueprint has been prepared and filed here:

https://blueprints.launchpad.net/horizon/+spec/quotas-per-cinder-volume-type

We’ll look into uploading our patch.

Cheers,
 Arne



> On 12 Oct 2017, at 13:27, Saverio Proto  wrote:
> 
> So we had a bad feedback on the bug:
> https://bugs.launchpad.net/horizon/+bug/1717342
> 
> Do we have anything pushed to Gerrit that we can at least use carrying
> a local patch ?
> 
> thanks
> 
> Saverio
> 
> 
> 2017-09-26 20:21 GMT+02:00 Massimo Sgaravatto :
>> ok, I will
>> 
>> 2017-09-26 14:43 GMT+02:00 Arne Wiebalck :
>>> 
>>> Massimo,
>>> 
>>> Following Rob’s comment on
>>> https://bugs.launchpad.net/horizon/+bug/1717342, would you
>>> be willing to write up a blueprint? Mateusz would then prepare our code
>>> and submit it to
>>> gerrit as a partial implementation (as we only have the user facing part,
>>> not the admin panel).
>>> 
>>> Cheers,
>>> Arne
>>> 
>>> 
>>> On 25 Sep 2017, at 10:46, Arne Wiebalck  wrote:
>>> 
>>> Ah, nice, wasn’t aware. Mateusz is one of the Horizon experts here at CERN
>>> I was referring to :)
>>> 
>>> On 25 Sep 2017, at 10:41, Massimo Sgaravatto
>>>  wrote:
>>> 
>>> Just found that there is already this one:
>>> 
>>> https://bugs.launchpad.net/horizon/+bug/1717342
>>> 
>>> 2017-09-25 10:28 GMT+02:00 Saverio Proto :
 
 Yes I am interested. Are you going to push them to gerrit ?
 Should we open a bug to track this change into Horizon ?
 
 massimo do you want to open the bug on Launchpad ? So if Arne pushed
 the patches on gerrit we can link them to the bug. I pointed
 robcresswell to this thread, he is reading us.
 
 thanks !
 
 Saverio
 
 2017-09-25 10:13 GMT+02:00 Arne Wiebalck :
> Massimo, Saverio,
> 
> We faced the same issue and have created patches for Horizon to display
> - the per volume quota in the volume request panel, and also
> - additional information about the volume type (like IOPS and
> throughput limits, intended usage etc.)
> 
> The patches will need some polishing before being sent upstream (I’ll
> need
> need to cross-check with our Horizon experts), but we use them in prod
> since
> quite a while and are happy to already share patch files if you’re
> interested.
> 
> Cheers,
> Arne
> 
> 
> 
>> On 25 Sep 2017, at 09:58, Saverio Proto  wrote:
>> 
>> I am pinging on IRC robcresswell from the Horizon project. He is still
>> PTL I think.
>> If you are on IRC please join #openstack-horizon.
>> 
>> We should ask the Horizon PTL how to get this feature request into
>> implementation.
>> 
>> With the command line interface, can you already see the two different
>> quotas for the two different volume types ? Can you paste an example
>> output from the CLI ?
>> 
>> thank you
>> 
>> Saverio
>> 
>> 
>> 2017-09-25 9:55 GMT+02:00 Massimo Sgaravatto
>> :
>>> We are currently running Mitaka (preparing to update to Ocata). I see
>>> the
>>> same behavior on an Ocata based testbed
>>> 
>>> Thanks, Massimo
>>> 
>>> 2017-09-25 9:50 GMT+02:00 Saverio Proto :
 
 Hello Massimo,
 
 what is your version of Openstack ??
 
 thank you
 
 Saverio
 
 2017-09-25 9:13 GMT+02:00 Massimo Sgaravatto
 :
> Hi
> 
> 
> In our OpenStack cloud we have two backends for Cinder (exposed
> using
> two
> volume types), and we set different quotas for these two volume
> types.
> 
> The problem happens when a user, using the dashboard, tries to
> create a
> volume using a volume type for which the project quota is over:
> 
> - the reported error message simply reports "unable to create
> volume",
> without mentioning that the problem is with quota
> 
> - (by default) the dashboard only shows the overall Cinder quota
> (and
> not
> the quota per volume)
> 
> 
> Do you know if it possible in some to expose on the dashboard the
> cinder
> quota per volume type ?
> 
> 
> Thanks, Massimo
> 
> 
> 
> 
> 
> 
> ___
> OpenStack-operators mailing list
> OpenStack-operators@lists.openstack.org
> 
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
> 
>>> 
>>> 
>> 

Re: [Openstack-operators] Cinder quota per volume types in the dashboard

2017-10-12 Thread Saverio Proto
So we had a bad feedback on the bug:
https://bugs.launchpad.net/horizon/+bug/1717342

Do we have anything pushed to Gerrit that we can at least use carrying
a local patch ?

thanks

Saverio


2017-09-26 20:21 GMT+02:00 Massimo Sgaravatto :
> ok, I will
>
> 2017-09-26 14:43 GMT+02:00 Arne Wiebalck :
>>
>> Massimo,
>>
>> Following Rob’s comment on
>> https://bugs.launchpad.net/horizon/+bug/1717342, would you
>> be willing to write up a blueprint? Mateusz would then prepare our code
>> and submit it to
>> gerrit as a partial implementation (as we only have the user facing part,
>> not the admin panel).
>>
>> Cheers,
>>  Arne
>>
>>
>> On 25 Sep 2017, at 10:46, Arne Wiebalck  wrote:
>>
>> Ah, nice, wasn’t aware. Mateusz is one of the Horizon experts here at CERN
>> I was referring to :)
>>
>> On 25 Sep 2017, at 10:41, Massimo Sgaravatto
>>  wrote:
>>
>> Just found that there is already this one:
>>
>> https://bugs.launchpad.net/horizon/+bug/1717342
>>
>> 2017-09-25 10:28 GMT+02:00 Saverio Proto :
>>>
>>> Yes I am interested. Are you going to push them to gerrit ?
>>> Should we open a bug to track this change into Horizon ?
>>>
>>> massimo do you want to open the bug on Launchpad ? So if Arne pushed
>>> the patches on gerrit we can link them to the bug. I pointed
>>> robcresswell to this thread, he is reading us.
>>>
>>> thanks !
>>>
>>> Saverio
>>>
>>> 2017-09-25 10:13 GMT+02:00 Arne Wiebalck :
>>> > Massimo, Saverio,
>>> >
>>> > We faced the same issue and have created patches for Horizon to display
>>> > - the per volume quota in the volume request panel, and also
>>> > - additional information about the volume type (like IOPS and
>>> > throughput limits, intended usage etc.)
>>> >
>>> > The patches will need some polishing before being sent upstream (I’ll
>>> > need
>>> > need to cross-check with our Horizon experts), but we use them in prod
>>> > since
>>> > quite a while and are happy to already share patch files if you’re
>>> > interested.
>>> >
>>> > Cheers,
>>> >  Arne
>>> >
>>> >
>>> >
>>> >> On 25 Sep 2017, at 09:58, Saverio Proto  wrote:
>>> >>
>>> >> I am pinging on IRC robcresswell from the Horizon project. He is still
>>> >> PTL I think.
>>> >> If you are on IRC please join #openstack-horizon.
>>> >>
>>> >> We should ask the Horizon PTL how to get this feature request into
>>> >> implementation.
>>> >>
>>> >> With the command line interface, can you already see the two different
>>> >> quotas for the two different volume types ? Can you paste an example
>>> >> output from the CLI ?
>>> >>
>>> >> thank you
>>> >>
>>> >> Saverio
>>> >>
>>> >>
>>> >> 2017-09-25 9:55 GMT+02:00 Massimo Sgaravatto
>>> >> :
>>> >>> We are currently running Mitaka (preparing to update to Ocata). I see
>>> >>> the
>>> >>> same behavior on an Ocata based testbed
>>> >>>
>>> >>> Thanks, Massimo
>>> >>>
>>> >>> 2017-09-25 9:50 GMT+02:00 Saverio Proto :
>>> 
>>>  Hello Massimo,
>>> 
>>>  what is your version of Openstack ??
>>> 
>>>  thank you
>>> 
>>>  Saverio
>>> 
>>>  2017-09-25 9:13 GMT+02:00 Massimo Sgaravatto
>>>  :
>>> > Hi
>>> >
>>> >
>>> > In our OpenStack cloud we have two backends for Cinder (exposed
>>> > using
>>> > two
>>> > volume types), and we set different quotas for these two volume
>>> > types.
>>> >
>>> > The problem happens when a user, using the dashboard, tries to
>>> > create a
>>> > volume using a volume type for which the project quota is over:
>>> >
>>> > - the reported error message simply reports "unable to create
>>> > volume",
>>> > without mentioning that the problem is with quota
>>> >
>>> > - (by default) the dashboard only shows the overall Cinder quota
>>> > (and
>>> > not
>>> > the quota per volume)
>>> >
>>> >
>>> > Do you know if it possible in some to expose on the dashboard the
>>> > cinder
>>> > quota per volume type ?
>>> >
>>> >
>>> > Thanks, Massimo
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > ___
>>> > OpenStack-operators mailing list
>>> > OpenStack-operators@lists.openstack.org
>>> >
>>> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>>> >
>>> >>>
>>> >>>
>>> >>
>>> >> ___
>>> >> OpenStack-operators mailing list
>>> >> OpenStack-operators@lists.openstack.org
>>> >>
>>> >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>>> >
>>> > --
>>> > Arne Wiebalck
>>> > CERN IT
>>> >
>>
>>
>>
>> --
>> Arne Wiebalck
>> CERN IT
>>
>> ___
>> OpenStack-operators 

Re: [Openstack-operators] Cinder quota per volume types in the dashboard

2017-09-26 Thread Massimo Sgaravatto
ok, I will

2017-09-26 14:43 GMT+02:00 Arne Wiebalck :

> Massimo,
>
> Following Rob’s comment on https://bugs.launchpad.net/horizon/+bug/1717342,
> would you
> be willing to write up a blueprint? Mateusz would then prepare our code
> and submit it to
> gerrit as a partial implementation (as we only have the user facing part,
> not the admin panel).
>
> Cheers,
>  Arne
>
>
> On 25 Sep 2017, at 10:46, Arne Wiebalck  wrote:
>
> Ah, nice, wasn’t aware. Mateusz is one of the Horizon experts here at CERN
> I was referring to :)
>
> On 25 Sep 2017, at 10:41, Massimo Sgaravatto 
> wrote:
>
> Just found that there is already this one:
>
> https://bugs.launchpad.net/horizon/+bug/1717342
>
> 2017-09-25 10:28 GMT+02:00 Saverio Proto :
>
>> Yes I am interested. Are you going to push them to gerrit ?
>> Should we open a bug to track this change into Horizon ?
>>
>> massimo do you want to open the bug on Launchpad ? So if Arne pushed
>> the patches on gerrit we can link them to the bug. I pointed
>> robcresswell to this thread, he is reading us.
>>
>> thanks !
>>
>> Saverio
>>
>> 2017-09-25 10:13 GMT+02:00 Arne Wiebalck :
>> > Massimo, Saverio,
>> >
>> > We faced the same issue and have created patches for Horizon to display
>> > - the per volume quota in the volume request panel, and also
>> > - additional information about the volume type (like IOPS and
>> throughput limits, intended usage etc.)
>> >
>> > The patches will need some polishing before being sent upstream (I’ll
>> need
>> > need to cross-check with our Horizon experts), but we use them in prod
>> since
>> > quite a while and are happy to already share patch files if you’re
>> interested.
>> >
>> > Cheers,
>> >  Arne
>> >
>> >
>> >
>> >> On 25 Sep 2017, at 09:58, Saverio Proto  wrote:
>> >>
>> >> I am pinging on IRC robcresswell from the Horizon project. He is still
>> >> PTL I think.
>> >> If you are on IRC please join #openstack-horizon.
>> >>
>> >> We should ask the Horizon PTL how to get this feature request into
>> >> implementation.
>> >>
>> >> With the command line interface, can you already see the two different
>> >> quotas for the two different volume types ? Can you paste an example
>> >> output from the CLI ?
>> >>
>> >> thank you
>> >>
>> >> Saverio
>> >>
>> >>
>> >> 2017-09-25 9:55 GMT+02:00 Massimo Sgaravatto <
>> massimo.sgarava...@gmail.com>:
>> >>> We are currently running Mitaka (preparing to update to Ocata). I see
>> the
>> >>> same behavior on an Ocata based testbed
>> >>>
>> >>> Thanks, Massimo
>> >>>
>> >>> 2017-09-25 9:50 GMT+02:00 Saverio Proto :
>> 
>>  Hello Massimo,
>> 
>>  what is your version of Openstack ??
>> 
>>  thank you
>> 
>>  Saverio
>> 
>>  2017-09-25 9:13 GMT+02:00 Massimo Sgaravatto
>>  :
>> > Hi
>> >
>> >
>> > In our OpenStack cloud we have two backends for Cinder (exposed
>> using
>> > two
>> > volume types), and we set different quotas for these two volume
>> types.
>> >
>> > The problem happens when a user, using the dashboard, tries to
>> create a
>> > volume using a volume type for which the project quota is over:
>> >
>> > - the reported error message simply reports "unable to create
>> volume",
>> > without mentioning that the problem is with quota
>> >
>> > - (by default) the dashboard only shows the overall Cinder quota
>> (and
>> > not
>> > the quota per volume)
>> >
>> >
>> > Do you know if it possible in some to expose on the dashboard the
>> cinder
>> > quota per volume type ?
>> >
>> >
>> > Thanks, Massimo
>> >
>> >
>> >
>> >
>> >
>> >
>> > ___
>> > OpenStack-operators mailing list
>> > OpenStack-operators@lists.openstack.org
>> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstac
>> k-operators
>> >
>> >>>
>> >>>
>> >>
>> >> ___
>> >> OpenStack-operators mailing list
>> >> OpenStack-operators@lists.openstack.org
>> >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstac
>> k-operators
>> >
>> > --
>> > Arne Wiebalck
>> > CERN IT
>> >
>>
>
>
> --
> Arne Wiebalck
> CERN IT
>
> ___
> OpenStack-operators mailing list
> OpenStack-operators@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
>
>
___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


Re: [Openstack-operators] Cinder quota per volume types in the dashboard

2017-09-26 Thread Arne Wiebalck
Massimo,

Following Rob’s comment on https://bugs.launchpad.net/horizon/+bug/1717342 
, would you
be willing to write up a blueprint? Mateusz would then prepare our code and 
submit it to
gerrit as a partial implementation (as we only have the user facing part, not 
the admin panel).

Cheers,
 Arne


> On 25 Sep 2017, at 10:46, Arne Wiebalck  wrote:
> 
> Ah, nice, wasn’t aware. Mateusz is one of the Horizon experts here at CERN I 
> was referring to :)
> 
>> On 25 Sep 2017, at 10:41, Massimo Sgaravatto > > wrote:
>> 
>> Just found that there is already this one:
>> 
>> https://bugs.launchpad.net/horizon/+bug/1717342 
>> 
>> 
>> 2017-09-25 10:28 GMT+02:00 Saverio Proto > >:
>> Yes I am interested. Are you going to push them to gerrit ?
>> Should we open a bug to track this change into Horizon ?
>> 
>> massimo do you want to open the bug on Launchpad ? So if Arne pushed
>> the patches on gerrit we can link them to the bug. I pointed
>> robcresswell to this thread, he is reading us.
>> 
>> thanks !
>> 
>> Saverio
>> 
>> 2017-09-25 10:13 GMT+02:00 Arne Wiebalck > >:
>> > Massimo, Saverio,
>> >
>> > We faced the same issue and have created patches for Horizon to display
>> > - the per volume quota in the volume request panel, and also
>> > - additional information about the volume type (like IOPS and throughput 
>> > limits, intended usage etc.)
>> >
>> > The patches will need some polishing before being sent upstream (I’ll need
>> > need to cross-check with our Horizon experts), but we use them in prod 
>> > since
>> > quite a while and are happy to already share patch files if you’re 
>> > interested.
>> >
>> > Cheers,
>> >  Arne
>> >
>> >
>> >
>> >> On 25 Sep 2017, at 09:58, Saverio Proto > >> > wrote:
>> >>
>> >> I am pinging on IRC robcresswell from the Horizon project. He is still
>> >> PTL I think.
>> >> If you are on IRC please join #openstack-horizon.
>> >>
>> >> We should ask the Horizon PTL how to get this feature request into
>> >> implementation.
>> >>
>> >> With the command line interface, can you already see the two different
>> >> quotas for the two different volume types ? Can you paste an example
>> >> output from the CLI ?
>> >>
>> >> thank you
>> >>
>> >> Saverio
>> >>
>> >>
>> >> 2017-09-25 9:55 GMT+02:00 Massimo Sgaravatto 
>> >> >:
>> >>> We are currently running Mitaka (preparing to update to Ocata). I see the
>> >>> same behavior on an Ocata based testbed
>> >>>
>> >>> Thanks, Massimo
>> >>>
>> >>> 2017-09-25 9:50 GMT+02:00 Saverio Proto > >>> >:
>> 
>>  Hello Massimo,
>> 
>>  what is your version of Openstack ??
>> 
>>  thank you
>> 
>>  Saverio
>> 
>>  2017-09-25 9:13 GMT+02:00 Massimo Sgaravatto
>>  >:
>> > Hi
>> >
>> >
>> > In our OpenStack cloud we have two backends for Cinder (exposed using
>> > two
>> > volume types), and we set different quotas for these two volume types.
>> >
>> > The problem happens when a user, using the dashboard, tries to create a
>> > volume using a volume type for which the project quota is over:
>> >
>> > - the reported error message simply reports "unable to create volume",
>> > without mentioning that the problem is with quota
>> >
>> > - (by default) the dashboard only shows the overall Cinder quota (and
>> > not
>> > the quota per volume)
>> >
>> >
>> > Do you know if it possible in some to expose on the dashboard the 
>> > cinder
>> > quota per volume type ?
>> >
>> >
>> > Thanks, Massimo
>> >
>> >
>> >
>> >
>> >
>> >
>> > ___
>> > OpenStack-operators mailing list
>> > OpenStack-operators@lists.openstack.org 
>> > 
>> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>> >  
>> > 
>> >
>> >>>
>> >>>
>> >>
>> >> ___
>> >> OpenStack-operators mailing list
>> >> OpenStack-operators@lists.openstack.org 
>> >> 
>> >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators 
>> >> 
>> >
>> > --
>> > Arne Wiebalck
>> > CERN IT
>> >
>> 
> 
> --
> Arne Wiebalck
> CERN IT
> 
> 

Re: [Openstack-operators] Cinder quota per volume types in the dashboard

2017-09-25 Thread Arne Wiebalck
Ah, nice, wasn’t aware. Mateusz is one of the Horizon experts here at CERN I 
was referring to :)

On 25 Sep 2017, at 10:41, Massimo Sgaravatto 
> wrote:

Just found that there is already this one:

https://bugs.launchpad.net/horizon/+bug/1717342

2017-09-25 10:28 GMT+02:00 Saverio Proto 
>:
Yes I am interested. Are you going to push them to gerrit ?
Should we open a bug to track this change into Horizon ?

massimo do you want to open the bug on Launchpad ? So if Arne pushed
the patches on gerrit we can link them to the bug. I pointed
robcresswell to this thread, he is reading us.

thanks !

Saverio

2017-09-25 10:13 GMT+02:00 Arne Wiebalck 
>:
> Massimo, Saverio,
>
> We faced the same issue and have created patches for Horizon to display
> - the per volume quota in the volume request panel, and also
> - additional information about the volume type (like IOPS and throughput 
> limits, intended usage etc.)
>
> The patches will need some polishing before being sent upstream (I’ll need
> need to cross-check with our Horizon experts), but we use them in prod since
> quite a while and are happy to already share patch files if you’re interested.
>
> Cheers,
>  Arne
>
>
>
>> On 25 Sep 2017, at 09:58, Saverio Proto 
>> > wrote:
>>
>> I am pinging on IRC robcresswell from the Horizon project. He is still
>> PTL I think.
>> If you are on IRC please join #openstack-horizon.
>>
>> We should ask the Horizon PTL how to get this feature request into
>> implementation.
>>
>> With the command line interface, can you already see the two different
>> quotas for the two different volume types ? Can you paste an example
>> output from the CLI ?
>>
>> thank you
>>
>> Saverio
>>
>>
>> 2017-09-25 9:55 GMT+02:00 Massimo Sgaravatto 
>> >:
>>> We are currently running Mitaka (preparing to update to Ocata). I see the
>>> same behavior on an Ocata based testbed
>>>
>>> Thanks, Massimo
>>>
>>> 2017-09-25 9:50 GMT+02:00 Saverio Proto 
>>> >:

 Hello Massimo,

 what is your version of Openstack ??

 thank you

 Saverio

 2017-09-25 9:13 GMT+02:00 Massimo Sgaravatto
 >:
> Hi
>
>
> In our OpenStack cloud we have two backends for Cinder (exposed using
> two
> volume types), and we set different quotas for these two volume types.
>
> The problem happens when a user, using the dashboard, tries to create a
> volume using a volume type for which the project quota is over:
>
> - the reported error message simply reports "unable to create volume",
> without mentioning that the problem is with quota
>
> - (by default) the dashboard only shows the overall Cinder quota (and
> not
> the quota per volume)
>
>
> Do you know if it possible in some to expose on the dashboard the cinder
> quota per volume type ?
>
>
> Thanks, Massimo
>
>
>
>
>
>
> ___
> OpenStack-operators mailing list
> OpenStack-operators@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
>>>
>>>
>>
>> ___
>> OpenStack-operators mailing list
>> OpenStack-operators@lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
> --
> Arne Wiebalck
> CERN IT
>


--
Arne Wiebalck
CERN IT

___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


Re: [Openstack-operators] Cinder quota per volume types in the dashboard

2017-09-25 Thread Massimo Sgaravatto
Just found that there is already this one:

https://bugs.launchpad.net/horizon/+bug/1717342

2017-09-25 10:28 GMT+02:00 Saverio Proto :

> Yes I am interested. Are you going to push them to gerrit ?
> Should we open a bug to track this change into Horizon ?
>
> massimo do you want to open the bug on Launchpad ? So if Arne pushed
> the patches on gerrit we can link them to the bug. I pointed
> robcresswell to this thread, he is reading us.
>
> thanks !
>
> Saverio
>
> 2017-09-25 10:13 GMT+02:00 Arne Wiebalck :
> > Massimo, Saverio,
> >
> > We faced the same issue and have created patches for Horizon to display
> > - the per volume quota in the volume request panel, and also
> > - additional information about the volume type (like IOPS and throughput
> limits, intended usage etc.)
> >
> > The patches will need some polishing before being sent upstream (I’ll
> need
> > need to cross-check with our Horizon experts), but we use them in prod
> since
> > quite a while and are happy to already share patch files if you’re
> interested.
> >
> > Cheers,
> >  Arne
> >
> >
> >
> >> On 25 Sep 2017, at 09:58, Saverio Proto  wrote:
> >>
> >> I am pinging on IRC robcresswell from the Horizon project. He is still
> >> PTL I think.
> >> If you are on IRC please join #openstack-horizon.
> >>
> >> We should ask the Horizon PTL how to get this feature request into
> >> implementation.
> >>
> >> With the command line interface, can you already see the two different
> >> quotas for the two different volume types ? Can you paste an example
> >> output from the CLI ?
> >>
> >> thank you
> >>
> >> Saverio
> >>
> >>
> >> 2017-09-25 9:55 GMT+02:00 Massimo Sgaravatto <
> massimo.sgarava...@gmail.com>:
> >>> We are currently running Mitaka (preparing to update to Ocata). I see
> the
> >>> same behavior on an Ocata based testbed
> >>>
> >>> Thanks, Massimo
> >>>
> >>> 2017-09-25 9:50 GMT+02:00 Saverio Proto :
> 
>  Hello Massimo,
> 
>  what is your version of Openstack ??
> 
>  thank you
> 
>  Saverio
> 
>  2017-09-25 9:13 GMT+02:00 Massimo Sgaravatto
>  :
> > Hi
> >
> >
> > In our OpenStack cloud we have two backends for Cinder (exposed using
> > two
> > volume types), and we set different quotas for these two volume
> types.
> >
> > The problem happens when a user, using the dashboard, tries to
> create a
> > volume using a volume type for which the project quota is over:
> >
> > - the reported error message simply reports "unable to create
> volume",
> > without mentioning that the problem is with quota
> >
> > - (by default) the dashboard only shows the overall Cinder quota (and
> > not
> > the quota per volume)
> >
> >
> > Do you know if it possible in some to expose on the dashboard the
> cinder
> > quota per volume type ?
> >
> >
> > Thanks, Massimo
> >
> >
> >
> >
> >
> >
> > ___
> > OpenStack-operators mailing list
> > OpenStack-operators@lists.openstack.org
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack-operators
> >
> >>>
> >>>
> >>
> >> ___
> >> OpenStack-operators mailing list
> >> OpenStack-operators@lists.openstack.org
> >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
> >
> > --
> > Arne Wiebalck
> > CERN IT
> >
>
___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


Re: [Openstack-operators] Cinder quota per volume types in the dashboard

2017-09-25 Thread Arne Wiebalck
Massimo, Saverio,

We faced the same issue and have created patches for Horizon to display
- the per volume quota in the volume request panel, and also
- additional information about the volume type (like IOPS and throughput 
limits, intended usage etc.)

The patches will need some polishing before being sent upstream (I’ll need
need to cross-check with our Horizon experts), but we use them in prod since
quite a while and are happy to already share patch files if you’re interested.

Cheers,
 Arne



> On 25 Sep 2017, at 09:58, Saverio Proto  wrote:
> 
> I am pinging on IRC robcresswell from the Horizon project. He is still
> PTL I think.
> If you are on IRC please join #openstack-horizon.
> 
> We should ask the Horizon PTL how to get this feature request into
> implementation.
> 
> With the command line interface, can you already see the two different
> quotas for the two different volume types ? Can you paste an example
> output from the CLI ?
> 
> thank you
> 
> Saverio
> 
> 
> 2017-09-25 9:55 GMT+02:00 Massimo Sgaravatto :
>> We are currently running Mitaka (preparing to update to Ocata). I see the
>> same behavior on an Ocata based testbed
>> 
>> Thanks, Massimo
>> 
>> 2017-09-25 9:50 GMT+02:00 Saverio Proto :
>>> 
>>> Hello Massimo,
>>> 
>>> what is your version of Openstack ??
>>> 
>>> thank you
>>> 
>>> Saverio
>>> 
>>> 2017-09-25 9:13 GMT+02:00 Massimo Sgaravatto
>>> :
 Hi
 
 
 In our OpenStack cloud we have two backends for Cinder (exposed using
 two
 volume types), and we set different quotas for these two volume types.
 
 The problem happens when a user, using the dashboard, tries to create a
 volume using a volume type for which the project quota is over:
 
 - the reported error message simply reports "unable to create volume",
 without mentioning that the problem is with quota
 
 - (by default) the dashboard only shows the overall Cinder quota (and
 not
 the quota per volume)
 
 
 Do you know if it possible in some to expose on the dashboard the cinder
 quota per volume type ?
 
 
 Thanks, Massimo
 
 
 
 
 
 
 ___
 OpenStack-operators mailing list
 OpenStack-operators@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
 
>> 
>> 
> 
> ___
> OpenStack-operators mailing list
> OpenStack-operators@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

--
Arne Wiebalck
CERN IT

___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


Re: [Openstack-operators] Cinder quota per volume types in the dashboard

2017-09-25 Thread Massimo Sgaravatto
Yes. From the CLI I have the info. E.g in the following example I have
three volume-types (ceph, iscsi-infnpd, gluster) and for two of them a
quota was set

Thanks, Massimo

[sgaravat@lxsgaravat ~]$ cinder quota-usage ${OS_PROJECT_ID}
+++--+---+
| Type   | In_use | Reserved | Limit |
+++--+---+
| backup_gigabytes   | 0  | 0| 1000  |
| backups| 0  | 0| 10|
| gigabytes  | 120| 0| 300   |
| gigabytes_ceph | 85 | 0| 100   |
| gigabytes_gluster  | 0  | 0| -1|
| gigabytes_iscsi-infnpd | 35 | 0| 200   |
| per_volume_gigabytes   | 0  | 0| 1000  |
| snapshots  | 0  | 0| 10|
| snapshots_ceph | 0  | 0| -1|
| snapshots_gluster  | 0  | 0| -1|
| snapshots_iscsi-infnpd | 0  | 0| -1|
| volumes| 8  | 0| 20|
| volumes_ceph   | 6  | 0| -1|
| volumes_gluster| 0  | 0| -1|
| volumes_iscsi-infnpd   | 2  | 0| -1|
+++--+---+
[sgaravat@lxsgaravat ~]$


2017-09-25 9:58 GMT+02:00 Saverio Proto :

> I am pinging on IRC robcresswell from the Horizon project. He is still
> PTL I think.
>  If you are on IRC please join #openstack-horizon.
>
> We should ask the Horizon PTL how to get this feature request into
> implementation.
>
> With the command line interface, can you already see the two different
> quotas for the two different volume types ? Can you paste an example
> output from the CLI ?
>
> thank you
>
> Saverio
>
>
> 2017-09-25 9:55 GMT+02:00 Massimo Sgaravatto  >:
> > We are currently running Mitaka (preparing to update to Ocata). I see the
> > same behavior on an Ocata based testbed
> >
> > Thanks, Massimo
> >
> > 2017-09-25 9:50 GMT+02:00 Saverio Proto :
> >>
> >> Hello Massimo,
> >>
> >> what is your version of Openstack ??
> >>
> >> thank you
> >>
> >> Saverio
> >>
> >> 2017-09-25 9:13 GMT+02:00 Massimo Sgaravatto
> >> :
> >> > Hi
> >> >
> >> >
> >> > In our OpenStack cloud we have two backends for Cinder (exposed using
> >> > two
> >> > volume types), and we set different quotas for these two volume types.
> >> >
> >> > The problem happens when a user, using the dashboard, tries to create
> a
> >> > volume using a volume type for which the project quota is over:
> >> >
> >> > - the reported error message simply reports "unable to create volume",
> >> > without mentioning that the problem is with quota
> >> >
> >> > - (by default) the dashboard only shows the overall Cinder quota (and
> >> > not
> >> > the quota per volume)
> >> >
> >> >
> >> > Do you know if it possible in some to expose on the dashboard the
> cinder
> >> > quota per volume type ?
> >> >
> >> >
> >> > Thanks, Massimo
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > ___
> >> > OpenStack-operators mailing list
> >> > OpenStack-operators@lists.openstack.org
> >> > http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack-operators
> >> >
> >
> >
>
___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


Re: [Openstack-operators] Cinder quota per volume types in the dashboard

2017-09-25 Thread Saverio Proto
I am pinging on IRC robcresswell from the Horizon project. He is still
PTL I think.
 If you are on IRC please join #openstack-horizon.

We should ask the Horizon PTL how to get this feature request into
implementation.

With the command line interface, can you already see the two different
quotas for the two different volume types ? Can you paste an example
output from the CLI ?

thank you

Saverio


2017-09-25 9:55 GMT+02:00 Massimo Sgaravatto :
> We are currently running Mitaka (preparing to update to Ocata). I see the
> same behavior on an Ocata based testbed
>
> Thanks, Massimo
>
> 2017-09-25 9:50 GMT+02:00 Saverio Proto :
>>
>> Hello Massimo,
>>
>> what is your version of Openstack ??
>>
>> thank you
>>
>> Saverio
>>
>> 2017-09-25 9:13 GMT+02:00 Massimo Sgaravatto
>> :
>> > Hi
>> >
>> >
>> > In our OpenStack cloud we have two backends for Cinder (exposed using
>> > two
>> > volume types), and we set different quotas for these two volume types.
>> >
>> > The problem happens when a user, using the dashboard, tries to create a
>> > volume using a volume type for which the project quota is over:
>> >
>> > - the reported error message simply reports "unable to create volume",
>> > without mentioning that the problem is with quota
>> >
>> > - (by default) the dashboard only shows the overall Cinder quota (and
>> > not
>> > the quota per volume)
>> >
>> >
>> > Do you know if it possible in some to expose on the dashboard the cinder
>> > quota per volume type ?
>> >
>> >
>> > Thanks, Massimo
>> >
>> >
>> >
>> >
>> >
>> >
>> > ___
>> > OpenStack-operators mailing list
>> > OpenStack-operators@lists.openstack.org
>> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>> >
>
>

___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


Re: [Openstack-operators] Cinder quota per volume types in the dashboard

2017-09-25 Thread Massimo Sgaravatto
We are currently running Mitaka (preparing to update to Ocata). I see the
same behavior on an Ocata based testbed

Thanks, Massimo

2017-09-25 9:50 GMT+02:00 Saverio Proto :

> Hello Massimo,
>
> what is your version of Openstack ??
>
> thank you
>
> Saverio
>
> 2017-09-25 9:13 GMT+02:00 Massimo Sgaravatto  >:
> > Hi
> >
> >
> > In our OpenStack cloud we have two backends for Cinder (exposed using two
> > volume types), and we set different quotas for these two volume types.
> >
> > The problem happens when a user, using the dashboard, tries to create a
> > volume using a volume type for which the project quota is over:
> >
> > - the reported error message simply reports "unable to create volume",
> > without mentioning that the problem is with quota
> >
> > - (by default) the dashboard only shows the overall Cinder quota (and not
> > the quota per volume)
> >
> >
> > Do you know if it possible in some to expose on the dashboard the cinder
> > quota per volume type ?
> >
> >
> > Thanks, Massimo
> >
> >
> >
> >
> >
> >
> > ___
> > OpenStack-operators mailing list
> > OpenStack-operators@lists.openstack.org
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
> >
>
___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


Re: [Openstack-operators] Cinder quota per volume types in the dashboard

2017-09-25 Thread Saverio Proto
Hello Massimo,

what is your version of Openstack ??

thank you

Saverio

2017-09-25 9:13 GMT+02:00 Massimo Sgaravatto :
> Hi
>
>
> In our OpenStack cloud we have two backends for Cinder (exposed using two
> volume types), and we set different quotas for these two volume types.
>
> The problem happens when a user, using the dashboard, tries to create a
> volume using a volume type for which the project quota is over:
>
> - the reported error message simply reports "unable to create volume",
> without mentioning that the problem is with quota
>
> - (by default) the dashboard only shows the overall Cinder quota (and not
> the quota per volume)
>
>
> Do you know if it possible in some to expose on the dashboard the cinder
> quota per volume type ?
>
>
> Thanks, Massimo
>
>
>
>
>
>
> ___
> OpenStack-operators mailing list
> OpenStack-operators@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>

___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


[Openstack-operators] Cinder quota per volume types in the dashboard

2017-09-25 Thread Massimo Sgaravatto
Hi


In our OpenStack cloud we have two backends for Cinder (exposed using two
volume types), and we set different quotas for these two volume types.

The problem happens when a user, using the dashboard, tries to create a
volume using a volume type for which the project quota is over:

- the reported error message simply reports "unable to create volume",
without mentioning that the problem is with quota

- (by default) the dashboard only shows the overall Cinder quota (and not
the quota per volume)


Do you know if it possible in some to expose on the dashboard the cinder
quota per volume type ?


Thanks, Massimo
___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators