Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Adam Grare
@agrare
you can check the exact path with cd /var/www/miq/vmdb; bundle show manageiq-providers-vmware
wallerz
@wallerz
@agrare 可以在具体一些吗?我看的有些晕
Adam Grare
@agrare
Are you able to find the manageiq-providers-vmware directory?
wallerz
@wallerz
image.png
@agrare 有的
Adam Grare
@agrare
Nice so add the line from that pr to that directory in file app/models/manageiq/providers/VMware/infra_manager/inventory/parser.rb and then systemctl restart evmserverd
wallerz
@wallerz
我进入改文件了,然后添加哪些具体参数 @agrare
Adam Grare
@agrare
If you added that one alias line that should be enough
wallerz
@wallerz
是可以随便添加的吗?
@agrare
Adam Grare
@agrare
Okay that one didn't translate well
wallerz
@wallerz
image.png
在342行添加您在GitHub上面的参数吗?例如: 别名 parse_pbm_capability_profile parse_pbm_profile
别名 parse_pbm_default_capability_profile parse_pbm_profile
Adam Grare
@agrare
You can add that line anytime, then you have to restart evmserverd to pick up the changed code
Then the VMware refresh will run automatically on startup
wallerz
@wallerz
收到,我试一下
wallerz
@wallerz
image.png
@agrare CPU利用率都无法呈现出来
Adam Grare
@agrare
nice so the refresh is working now
those graphs are populated by capacity & utilization (aka metrics)
jpurca
@jpurca
Does anyone know how to solve this problem when configuring manageiq with saml2 authentication?
Captura de Pantalla 2021-06-09 a la(s) 17.02.56.png
Jason Frey
@Fryguy
@jpurca - have you gone through the troubleshooting steps here: https://www.manageiq.org/blog/tags/tutorials/ ?
jpurca
@jpurca
is it possible to use these attributes from Azure AD?
Captura de Pantalla 2021-06-09 a la(s) 17.39.35.png
wallerz
@wallerz
@agrare 刷新也了 也无法出现CPU的信息
sunny007007
@sunny007007

Hello Guys,

I am kind of stuck with managing quota part in manageIQ.

I have created a tenant and edited some quota there. And i have created a catalog also which is pointing to that tenant.

So now when i am trying to provision a new vm it is getting created and the new vm is getting created without quota validation.

Can someone help me in resolving the above quota issue also need help in understanding that how i can manage the quota for multiple child tenants.

thanks-
sunny

Peter McGowan
@pemcg
@sunny007007 Do you see the "Quota Used:” message in automation.log?
It would be interesting to see whether quota checking is being bypassed altogether, or you’re just not getting the emails
in fact grep -i ‘quota’ automation.log would be useful to see what is and isn’t being run
wallerz
@wallerz
image.png
我新增加了openstack的环境,但是查询不到主机及虚拟机,只可以看到模板,怎么进行设置一下呢
Adam Grare
@agrare
Hey @wallerz it looks like the refresh failed with a 401 unauthorized error which means we couldn't fetch everything
Michael Butak
@mikebutak

I like the idea of enabling it during provisioning...can you open an RFE issue for that and assign it to me?

@agrare do I correctly understand then that it's not currently possible to deploy with hot add enabled?

The implication is that while users can make a vm reconfiguration request from the UI, it will fail.

Adam Grare
@agrare
@mikebutak you can always enable it on the template (convert to vm, reconfigure, mark as template) and it will be inherited by vms provisioned from it
correct, you can't reconfigure that specific property while the vm is powered on
and I pinged you on the PR, but now you can enable hot-add as part of the provision dialogs
Michael Butak
@mikebutak
Yeah when our virtualization team enable it it still doesn't work.
Adam Grare
@agrare
which part doesn't work?
enabling it on the template or reconfiguring it after
Michael Butak
@mikebutak
enabling on template
Michael Butak
@mikebutak
Thanks!
Michael Butak
@mikebutak
Here's how it played out:
  1. We realized users couldn't reconfigure VMs.
  2. Virtualization team edited template to enable hot add.
  3. Suddenly all vm provision requests fail. they get provisioned in a powered off state. Cannot power on because 'performance counters' are turned on.
  4. Virtualization team turns off the performance counters in the template, says hot add should work now. We test it. It doesn't work. We get: Error: Cannot change CPU cores per socket on a running VM
which is weird bc the reconfigure screen actually warns the user that they will have to restart their vm for the change to take effect.
JVue
@JVue
Hello, I have a custom VM action that generally takes a few minutes to run (for other/external factors), however it seems like at any given time ManageIQ will only run two concurrent threads for these actions… so if there’s an influx of requests coming thru, it runs a couple and queues the rest. Is this something that’s configurable? I’ve already maxed out the general/priority workers on the appliances… cpu/memory resources during these runs are plenty as well. TIA
Adam Grare
@agrare
@JVue we default to two generic workers per appliance so at any time two pieces of generic work will run at any one time, however the proper way to architect a long running process is as a state machine which has a state to check for completion so that it isn't blocking other work while simply waiting for an external task to finish
JVue
@JVue
Thanks @agrare . If I rewrite them as a state machine, will that allow more than 2 instances to run simutaneously?
Adam Grare
@agrare
Yes you'll be able to run a lot of state machines at once, the idea being the time it takes to check for completion is tiny compared to how long it takes for run to run
JVue
@JVue
excellent. I will give this a shot. thanks again @agrare !!