<div dir="ltr">I know it's just a warning, just take a look at this image:<div><div><img src="cid:ii_jxy6d8bb0" alt="image.png" width="320" height="42"><br></div></div><div>it's just hang there forever, and in the log show what I have shown to you </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 10, 2019 at 8:07 PM Gaëtan Trellu <<a href="mailto:gaetan.trellu@incloudus.com">gaetan.trellu@incloudus.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">This is just a warning, not an error.</div><div class="gmail_extra"><br><div class="gmail_quote">On Jul 10, 2019 3:12 AM, Vu Tan <<a href="mailto:vungoctan252@gmail.com" target="_blank">vungoctan252@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail-m_5871364250353914819quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Gaetan,<div>I follow you the guide you gave me, but the problem still persist, can you please take a look at my configuration to see what is wrong or what is missing in my config ? </div><div>the error: </div><div>2019-07-10 14:08:46.876 17292 WARNING keystonemiddleware._common.config [-] The option "__file__" in conf is not known to auth_token<br>2019-07-10 14:08:46.876 17292 WARNING keystonemiddleware._common.config [-] The option "here" in conf is not known to auth_token<br>2019-07-10 14:08:46.882 17292 WARNING keystonemiddleware.auth_token [-] AuthToken middleware is set with keystone_authtoken.service_<br></div><div><br></div><div>the config:</div><div><br></div><div>[DEFAULT]<br>enabled_apis = masakari_api<br>log_dir = /var/log/kolla/masakari<br>state_path = /var/lib/masakari<br>os_user_domain_name = default<br>os_project_domain_name = default<br>os_privileged_user_tenant = service<br>os_privileged_user_auth_url = <a href="http://controller:5000/v3" target="_blank">http://controller:5000/v3</a><br>os_privileged_user_name = nova<br>os_privileged_user_password = P@ssword<br>masakari_api_listen = controller<br>masakari_api_listen_port = 15868<br>debug = False<br>auth_strategy=keystone<br><br>[wsgi]<br># The paste configuration file path<br>api_paste_config = /etc/masakari/api-paste.ini<br><br>[keystone_authtoken]<br>www_authenticate_uri = <a href="http://controller:5000" target="_blank">http://controller:5000</a><br>auth_url = <a href="http://controller:5000" target="_blank">http://controller:5000</a><br>auth_type = password<br>project_domain_id = default<br>project_domain_name = default<br>user_domain_name = default<br>user_domain_id = default<br>project_name = service<br>username = masakari<br>password = P@ssword<br>region_name = RegionOne<br><br>[oslo_middleware]<br>enable_proxy_headers_parsing = True<br><br>[database]<br>connection = mysql+pymysql://masakari:P@ssword@controller/masakari<br></div><div><br></div><div><br></div></div><br><div class="gmail-m_5871364250353914819elided-text"><div dir="ltr">On Tue, Jul 9, 2019 at 10:25 PM Vu Tan <<a href="mailto:vungoctan252@gmail.com" target="_blank">vungoctan252@gmail.com</a>> wrote:<br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thank Patil Tushar, I hope it will be available soon </div><br><div class="gmail-m_5871364250353914819elided-text"><div dir="ltr">On Tue, Jul 9, 2019 at 8:18 AM Patil, Tushar <<a href="mailto:Tushar.Patil@nttdata.com" target="_blank">Tushar.Patil@nttdata.com</a>> wrote:<br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Vu and Gaetan,<br>
<br>
Gaetan, thank you for helping out Vu in setting up masakari-monitors service.<br>
<br>
As a masakari team ,we have noticed there is a need to add proper documentation to help the community run Masakari services in their environment. We are working on adding proper documentation in this 'Train' cycle.<br>
<br>
Will send an email on this mailing list once the patches are uploaded on the gerrit so that you can give your feedback on the same.<br>
<br>
If you have any trouble in setting up Masakari, please let us know on this mailing list or join the bi-weekly IRC Masakari meeting on the #openstack-meeting IRC channel. The next meeting will be held on 16th July 2019 @0400 UTC.<br>
<br>
Regards,<br>
Tushar Patil<br>
<br>
________________________________________<br>
From: Vu Tan <<a href="mailto:vungoctan252@gmail.com" target="_blank">vungoctan252@gmail.com</a>><br>
Sent: Monday, July 8, 2019 11:21:16 PM<br>
To: Gaëtan Trellu<br>
Cc: <a href="mailto:openstack-discuss@lists.openstack.org" target="_blank">openstack-discuss@lists.openstack.org</a><br>
Subject: Re: [masakari] how to install masakari on centos 7<br>
<br>
Hi Gaetan,<br>
Thanks for pinpoint this out, silly me that did not notice the simple "error InterpreterNotFound: python3". Thanks a lot, I appreciate it<br>
<br>
On Mon, Jul 8, 2019 at 9:15 PM <<a href="mailto:gaetan.trellu@incloudus.com" target="_blank">gaetan.trellu@incloudus.com</a><mailto:<a href="mailto:gaetan.trellu@incloudus.com" target="_blank">gaetan.trellu@incloudus.com</a>>> wrote:<br>
Vu Tan,<br>
<br>
About "auth_token" error, you need "os_privileged_user_*" options into<br>
your masakari.conf for the API.<br>
As mentioned previously please have a look here to have an example of<br>
configuration working (for me at least):<br>
<br>
- masakari.conf:<br>
<a href="https://review.opendev.org/#/c/615715/42/ansible/roles/masakari/templates/masakari.conf.j2" target="_blank">https://review.opendev.org/#/c/615715/42/ansible/roles/masakari/templates/masakari.conf.j2</a><br>
- masakari-monitor.conf:<br>
<a href="https://review.opendev.org/#/c/615715/42/ansible/roles/masakari/templates/masakari-monitors.conf.j2" target="_blank">https://review.opendev.org/#/c/615715/42/ansible/roles/masakari/templates/masakari-monitors.conf.j2</a><br>
<br>
About your tox issue make sure you have Python3 installed.<br>
<br>
Gaëtan<br>
<br>
On 2019-07-08 06:08, Vu Tan wrote:<br>
<br>
> Hi Gaetan,<br>
> I try to generate config file by using this command tox -egenconfig on<br>
> top level of masakari but the output is error, is this masakari still<br>
> in beta version ?<br>
> [root@compute1 masakari-monitors]# tox -egenconfig<br>
> genconfig create: /root/masakari-monitors/.tox/genconfig<br>
> ERROR: InterpreterNotFound: python3<br>
> _____________________________________________________________ summary<br>
> ______________________________________________________________<br>
> ERROR:  genconfig: InterpreterNotFound: python3<br>
><br>
> On Mon, Jul 8, 2019 at 3:24 PM Vu Tan <<a href="mailto:vungoctan252@gmail.com" target="_blank">vungoctan252@gmail.com</a><mailto:<a href="mailto:vungoctan252@gmail.com" target="_blank">vungoctan252@gmail.com</a>>> wrote:<br>
> Hi,<br>
> Thanks a lot for your reply, I install pacemaker/corosync,<br>
> masakari-api, maskari-engine on controller node, and I run masakari-api<br>
> with this command: masakari-api, but I dont know whether the process is<br>
> running like that or is it just hang there, here is what it shows when<br>
> I run the command, I leave it there for a while but it does not change<br>
> anything :<br>
> [root@controller masakari]# masakari-api<br>
> 2019-07-08 15:21:09.946 30250 INFO masakari.api.openstack [-] Loaded<br>
> extensions: ['extensions', 'notifications', 'os-hosts', 'segments',<br>
> 'versions']<br>
> 2019-07-08 15:21:09.955 30250 WARNING keystonemiddleware._common.config<br>
> [-] The option "__file__" in conf is not known to auth_token<br>
> 2019-07-08 15:21:09.955 30250 WARNING keystonemiddleware._common.config<br>
> [-] The option "here" in conf is not known to auth_token<br>
> 2019-07-08 15:21:09.960 30250 WARNING keystonemiddleware.auth_token [-]<br>
> AuthToken middleware is set with<br>
> keystone_authtoken.service_token_roles_required set to False. This is<br>
> backwards compatible but deprecated behaviour. Please set this to True.<br>
> 2019-07-08 15:21:09.974 30250 INFO masakari.wsgi [-] masakari_api<br>
> listening on <a href="http://127.0.0.1:15868" target="_blank">127.0.0.1:15868</a><<a href="http://127.0.0.1:15868" target="_blank">http://127.0.0.1:15868</a>><br>
> 2019-07-08 15:21:09.975 30250 INFO oslo_service.service [-] Starting 4<br>
> workers<br>
> 2019-07-08 15:21:09.984 30274 INFO masakari.masakari_api.wsgi.server<br>
> [-] (30274) wsgi starting up on <a href="http://127.0.0.1:15868" target="_blank">http://127.0.0.1:15868</a><br>
> 2019-07-08 15:21:09.985 30275 INFO masakari.masakari_api.wsgi.server<br>
> [-] (30275) wsgi starting up on <a href="http://127.0.0.1:15868" target="_blank">http://127.0.0.1:15868</a><br>
> 2019-07-08 15:21:09.992 30277 INFO masakari.masakari_api.wsgi.server<br>
> [-] (30277) wsgi starting up on <a href="http://127.0.0.1:15868" target="_blank">http://127.0.0.1:15868</a><br>
> 2019-07-08 15:21:09.994 30276 INFO masakari.masakari_api.wsgi.server<br>
> [-] (30276) wsgi starting up on <a href="http://127.0.0.1:15868" target="_blank">http://127.0.0.1:15868</a><br>
><br>
> On Sun, Jul 7, 2019 at 7:37 PM Gaëtan Trellu<br>
> <<a href="mailto:gaetan.trellu@incloudus.com" target="_blank">gaetan.trellu@incloudus.com</a><mailto:<a href="mailto:gaetan.trellu@incloudus.com" target="_blank">gaetan.trellu@incloudus.com</a>>> wrote:<br>
><br>
> Hi Vu Tan,<br>
><br>
> Masakari documentation doesn't really exist... I had to figured some<br>
> stuff by myself to make it works into Kolla project.<br>
><br>
> On controller nodes you need:<br>
><br>
> - pacemaker<br>
> - corosync<br>
> - masakari-api (openstack/masakari repository)<br>
> - masakari- engine (openstack/masakari repository)<br>
><br>
> On compute nodes you need:<br>
><br>
> - pacemaker-remote (integrated to pacemaker cluster as a resource)<br>
> - masakari- hostmonitor (openstack/masakari-monitor repository)<br>
> - masakari-instancemonitor (openstack/masakari-monitor repository)<br>
> - masakari-processmonitor (openstack/masakari-monitor repository)<br>
><br>
> For masakari-hostmonitor, the service needs to have access to systemctl<br>
> command (make sure you are not using sysvinit).<br>
><br>
> For masakari-monitor, the masakari-monitor.conf is a bit different, you<br>
> will have to configure the [api] section properly.<br>
><br>
> RabbitMQ needs to be configured (as transport_url) on masakari-api and<br>
> masakari-engine too.<br>
><br>
> Please check this review[1], you will have masakari.conf and<br>
> masakari-monitor.conf configuration examples.<br>
><br>
> [1] <a href="https://review.opendev.org/#/c/615715" target="_blank">https://review.opendev.org/#/c/615715</a><br>
><br>
> Gaëtan<br>
><br>
> On Jul 7, 2019 12:08 AM, Vu Tan <<a href="mailto:vungoctan252@gmail.com" target="_blank">vungoctan252@gmail.com</a><mailto:<a href="mailto:vungoctan252@gmail.com" target="_blank">vungoctan252@gmail.com</a>>> wrote:<br>
><br>
> VU TAN <<a href="mailto:VUNGOCTAN252@GMAIL.COM" target="_blank">VUNGOCTAN252@GMAIL.COM</a><mailto:<a href="mailto:VUNGOCTAN252@GMAIL.COM" target="_blank">VUNGOCTAN252@GMAIL.COM</a>>><br>
><br>
> 10:30 AM (35 minutes ago)<br>
><br>
> to openstack-discuss<br>
><br>
> Sorry, I resend this email because I realized that I lacked of prefix<br>
> on this email's subject<br>
><br>
> Hi,<br>
><br>
> I would like to use Masakari and I'm having trouble finding a step by<br>
> step or other documentation to get started with. Which part should be<br>
> installed on controller, which is should be on compute, and what is the<br>
> prerequisite to install masakari, I have installed corosync and<br>
> pacemaker on compute and controller nodes, , what else do I need to do<br>
> ?  step I have done so far:<br>
> - installed corosync/pacemaker<br>
> - install masakari on compute node on this github repo:<br>
> <a href="https://github.com/openstack/masakari" target="_blank">https://github.com/openstack/masakari</a><br>
> - add masakari in to mariadb<br>
> here is my configuration file of masakari.conf, do you mind to take a<br>
> look at it, if I have misconfigured anything?<br>
><br>
> [DEFAULT]<br>
> enabled_apis = masakari_api<br>
><br>
> # Enable to specify listening IP other than default<br>
> masakari_api_listen = controller<br>
> # Enable to specify port other than default<br>
> masakari_api_listen_port = 15868<br>
> debug = False<br>
> auth_strategy=keystone<br>
><br>
> [wsgi]<br>
> # The paste configuration file path<br>
> api_paste_config = /etc/masakari/api-paste.ini<br>
><br>
> [keystone_authtoken]<br>
> www_authenticate_uri = <a href="http://controller:5000" target="_blank">http://controller:5000</a><br>
> auth_url = <a href="http://controller:5000" target="_blank">http://controller:5000</a><br>
> auth_type = password<br>
> project_domain_id = default<br>
> user_domain_id = default<br>
> project_name = service<br>
> username = masakari<br>
> password = P@ssword<br>
><br>
> [database]<br>
> connection = mysql+pymysql://masakari:P@ssword@controller/masakari<br>
Disclaimer: This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data. If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding.<br>
</blockquote></div>
</blockquote></div>
</blockquote></div><br></div></blockquote></div>