Compute Profile defaults

I am running into limitations of CPUs/Memory drop down list. I am using
Foreman 1.10 and defaults only go so far.
Is there a way to edit the list with more selection items?
-AP

After some feedling around I found that Foreman consults hypervisor to
compute (CPU/Memory/Volume) sizes. However, stepping of those values are
not what we would like.
For e.g., Memory steps are very high towards the end, 4/6/8/12/16/24/32.
Can it be changed to 4/6/8/10/12/14/16/18/20/22/24/26/28/30/32? Always do
increment of 2

··· On Tuesday, March 8, 2016 at 2:35:07 PM UTC-5, An Pat wrote: > > I am running into limitations of CPUs/Memory drop down list. I am using > Foreman 1.10 and defaults only go so far. > Is there a way to edit the list with more selection items? > -AP >

If I recall, that's hard-coded, so you'd have to alter the Foreman code to
get what you're looking for. There's no way to do it from the UI.

Greg

··· On 9 March 2016 at 14:41, An Pat wrote:

After some feedling around I found that Foreman consults hypervisor to
compute (CPU/Memory/Volume) sizes. However, stepping of those values are
not what we would like.
For e.g., Memory steps are very high towards the end, 4/6/8/12/16/24/32.
Can it be changed to 4/6/8/10/12/14/16/18/20/22/24/26/28/30/32? Always do
increment of 2

Do you recall which file contains them?

··· On Thu, Mar 10, 2016 at 11:24 AM, Greg Sutcliffe wrote:

On 9 March 2016 at 14:41, An Pat ap.work.secure@gmail.com wrote:

After some feedling around I found that Foreman consults hypervisor to
compute (CPU/Memory/Volume) sizes. However, stepping of those values are
not what we would like.
For e.g., Memory steps are very high towards the end, 4/6/8/12/16/24/32.
Can it be changed to 4/6/8/10/12/14/16/18/20/22/24/26/28/30/32? Always do
increment of 2

If I recall, that’s hard-coded, so you’d have to alter the Foreman code to
get what you’re looking for. There’s no way to do it from the UI.

Greg


You received this message because you are subscribed to a topic in the
Google Groups “Foreman users” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/foreman-users/yYIsi2Q3U3E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

IIRC it's

Awesome, thanks a bunch.

··· On Fri, Mar 11, 2016 at 9:34 AM, Greg Sutcliffe wrote:

IIRC it’s
https://github.com/theforeman/foreman/blob/7682bbb19435a57dbe786c175f0af4f217fde50d/app/helpers/compute_resources_helper.rb#L41-L44


You received this message because you are subscribed to a topic in the
Google Groups “Foreman users” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/foreman-users/yYIsi2Q3U3E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.