Forum
Welcome, Guest
Username: Password: Remember me
This is the optional category header for the Suggestion Box.
  • Page:
  • 1
  • 2

TOPIC:

E-Mail alert behaviour at OP_MODE=1 7 years 9 months ago #913

I am running a single vAPP group in OP_MODE=1 with four VMs. If I disable HA and start the group and enable HA I am getting every hour the message below:
 
HA-Lizard Alert Notification

Process: ha-lizard Version: 1.8.8 
Host: IT1XENMASTER1 
Time: Tue Jul 5 14:20:33 CEST 2016 

vm_state_check: Server IT1XENMASTER1: vm_state_check: Some VMs not running 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 
website: www.halizard.com     forum: http://www.halizard.com/forum    Sponsored by Pulse Supply

I could trace this condition also in the message logs:
Jul  5 14:40:35 IT1XENMASTER1 ha-lizard: 10420 check_email_enabled: Email enabled for vm_mon
Jul  5 14:40:35 IT1XENMASTER1 ha-lizard: 10420 email: Duplicate message - not sending. Content = vm_mon:  SERVER IT1XENMASTER1: Some VMs down. HA enabled for UUID: 47b64264-18e8-8098-1ec8-b8f6669ed652 - attempting to start vapp
Jul  5 14:40:35 IT1XENMASTER1 ha-lizard: 10420 email: Message barred for 60 minutes
Jul  5 14:40:35 IT1XENMASTER1 ha-lizard-NOTICE-/etc/ha-lizard/ha-lizard.sh: You attempted an operation that was not allowed.
Jul  5 14:40:35 IT1XENMASTER1 ha-lizard-NOTICE-/etc/ha-lizard/ha-lizard.sh: reason: There are no halted VMs in this appliance.
Jul  5 14:40:38 IT1XENMASTER1 ha-lizard: 10322 ha-lizard Watchdog: ha-lizard runhm/ha-lizard-mail
Jul  5 14:40:35 IT1XENMASTER1 ha-lizard: 10420 check_email_enabled: Email enabled for vm_mon
Jul  5 14:40:35 IT1XENMASTER1 ha-lizard: 10420 email: Duplicate message - not sending. Content = vm_mon:  SERVER IT1XENMASTER1: Some VMs down. HA enabled for UUID: 47b64264-18e8-8098-1ec8-b8f6669ed652 - attempting to start vapp
Jul  5 14:40:35 IT1XENMASTER1 ha-lizard: 10420 email: Message barred for 60 minutes
Jul  5 14:40:35 IT1XENMASTER1 ha-lizard-NOTICE-/etc/ha-lizard/ha-lizard.sh: You attempted an operation that was not allowed.
Jul  5 14:40:35 IT1XENMASTER1 ha-lizard-NOTICE-/etc/ha-lizard/ha-lizard.sh: reason: There are no halted VMs in this appliance.
Jul  5 14:40:38 IT1XENMASTER1 ha-lizard: 10322 ha-lizard Watchdog: ha-lizard runing - OK 

Could This behaviour changed in a way that the trigger to send e-mails checks first if gthe vAPP group is already running?

BR Andreas

Please Log in or Create an account to join the conversation.

E-Mail alert behaviour at OP_MODE=1 7 years 9 months ago #916

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 722
The log is showing that some VMs in the vAPP are not running while HA is enabled for the vAPP. Is that actually the case?

Please Log in or Create an account to join the conversation.

E-Mail alert behaviour at OP_MODE=1 7 years 9 months ago #917

No, in the group are 4 VMs and they are all running.

As the log states also:
HA enabled for UUID: 47b64264-18e8-8098-1ec8-b8f6669ed652 - [b]attempting to start vapp[/b]
Jul  5 14:40:35 IT1XENMASTER1 ha-lizard: 10420 email: Message barred for 60 minutes
Jul  5 14:40:35 IT1XENMASTER1 ha-lizard-NOTICE-/etc/ha-lizard/[b]ha-lizard.sh: You attempted an operation that was not allowed.[/b]
Jul  5 14:40:35 IT1XENMASTER1 ha-lizard-NOTICE-/etc/ha-lizard[b]/ha-lizard.sh: reason: There are no halted VMs in this appliance.[/b]

Please Log in or Create an account to join the conversation.

E-Mail alert behaviour at OP_MODE=1 7 years 9 months ago #918

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 722
can you try running the command below and report back the results.

xe appliance-list uuid=47b64264-18e8-8098-1ec8-b8f6669ed652

Please Log in or Create an account to join the conversation.

E-Mail alert behaviour at OP_MODE=1 7 years 9 months ago #919

[root@IT1XENSLAVE1 ~]# xe appliance-list uuid=47b64264-18e8-8098-1ec8-b8f6669ed652
uuid ( RO) : 47b64264-18e8-8098-1ec8-b8f6669ed652
name-label ( RW): Boot
name-description ( RW): In dieser Gruppe sind die VMs enthalten, die in einer bestimmten Reihenfolge starten sollen.
VMs (SRO): c1c66017-64c8-0c0f-3171-896eb261402b; 1bdefd86-cf56-99ee-2217-22e4b29ed715; e0f8428c-db5b-a901-0163-c3ddb217ce73; 1265a965-1ab7-defd-23ee-683e9aff88a9
allowed-operations (SRO): clean_shutdown; hard_shutdown; shutdown
current-operations (SRO):


I have restartet on the master the HA-lizard/watch dog service. nothing have changed except I could not get back the XenCenter Console?

I still could login via putty ssh.

Please Log in or Create an account to join the conversation.

E-Mail alert behaviour at OP_MODE=1 7 years 9 months ago #920

I think I have found the problem. It is the Text of the description of the vapp group:
In dieser Gruppe sind die VMs enthalten, die in einer bestimmten Reihenfolge starten sollen.

When removed, the e-mails alerts are not generated.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2