Re: [ovirt-users] trying to test engine metrics, using ovirt-engine-metrics package

2017-06-03 Thread Yedidyah Bar David
On Sat, Jun 3, 2017 at 12:05 AM, Sergey Kulikov  wrote:
>
> Hi! I'm trying to deploy metrics in my ovirt test enviroment, configured 
> fluentd on dst host, configured
> /etc/ovirt-engine-metrics/config.yml , after that trying to execute:
> /usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_hosts_for_metrics.sh
> 4 host are configured correctly (This is Centos 7.3 Hypervisors)
> 1 host fails (this is the only ovirt-node host)
> Error:
> fatal: []: FAILED! => {"changed": false, "failed": 
> true, "msg": "OSError: [Errno 0] Error\n"}
> After some digging into metrics ansible scripts I've found out, that it's 
> setting port permissions in selinux:
>
> on ok host it looks like:
> # semanage port -l | grep collectd_port_t
> collectd_port_tudp  8125, 25826
>
> on host with errors:
> # semanage port -l | grep collectd_port_t
> collectd_port_tudp  25826
>
> I've tried to set it manually with no luck:
> # semanage port -a -t collectd_port_t -p udp 8125
> libsemanage.semanage_module_info_set_name: Name 200 is invalid.
> OSError: Error
>
> maybe something is wrong in Ovirt-Node selinux, or it should be preconfigured 
> in node image?
> Is there anything I can try to fix it?

Not sure, adding Ryan.

I suggest to also open a bug about this and attach relevant logs.

Thanks and best regards,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] trying to test engine metrics, using ovirt-engine-metrics package

2017-06-02 Thread Sergey Kulikov

Hi! I'm trying to deploy metrics in my ovirt test enviroment, configured 
fluentd on dst host, configured
/etc/ovirt-engine-metrics/config.yml , after that trying to execute:
/usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_hosts_for_metrics.sh
4 host are configured correctly (This is Centos 7.3 Hypervisors)
1 host fails (this is the only ovirt-node host)
Error: 
fatal: []: FAILED! => {"changed": false, "failed": true, 
"msg": "OSError: [Errno 0] Error\n"}
After some digging into metrics ansible scripts I've found out, that it's 
setting port permissions in selinux:

on ok host it looks like:
# semanage port -l | grep collectd_port_t
collectd_port_tudp  8125, 25826

on host with errors:
# semanage port -l | grep collectd_port_t
collectd_port_tudp  25826

I've tried to set it manually with no luck:
# semanage port -a -t collectd_port_t -p udp 8125
libsemanage.semanage_module_info_set_name: Name 200 is invalid.
OSError: Error

maybe something is wrong in Ovirt-Node selinux, or it should be preconfigured 
in node image?
Is there anything I can try to fix it?

-- 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users