You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Vivek Kumar <vi...@indiqus.com.INVALID> on 2025/01/12 10:11:48 UTC

Send Event Notifications on External AMQP

Hello,

I have enabled Event Notification to be sent to external RabbitMQ by following the below document -
https://docs.cloudstack.apache.org/en/latest/adminguide/events.html. I can see that beans (RabbitMQEventBus) are loaded in the management server logs but event are not being pushed to RabbitMQ but apart from that i couldn't find anything related to event being sent to RabbitMQ.

How can we trace or debug if any events are getting successfully pushed to RabbitMQ.


Regards,
Vivek Kumar

-- 
This message is intended only for the use of the individual or entity to 
which it is addressed and may contain confidential and/or privileged 
information. If you are not the intended recipient, please delete the 
original message and any copy of it from your computer system. You are 
hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited unless proper authorization has been 
obtained for such action. If you have received this communication in error, 
please notify the sender immediately. Although IndiQus attempts to sweep 
e-mail and attachments for viruses, it does not guarantee that both are 
virus-free and accepts no liability for any damage sustained as a result of 
viruses.

Re: Send Event Notifications on External AMQP

Posted by Vivek Kumar <vi...@indiqus.com.INVALID>.
It’s been resolved by the link which Midhun has shared..! Thanks everyone



From: pavan aravapalli <ar...@gmail.com>
Date: Monday, 20 January 2025 at 11:15 AM
To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
Subject: Re: Send Event Notifications on External AMQP
Hi,

is  your management node enabled with trace logs.


Thanks & Regards,
Pavan.

On Sun, 12 Jan 2025 at 15:42, Vivek Kumar <vi...@indiqus.com.invalid>
wrote:

> Hello,
>
> I have enabled Event Notification to be sent to external RabbitMQ by
> following the below document -
> https://docs.cloudstack.apache.org/en/latest/adminguide/events.html. I
> can see that beans (RabbitMQEventBus) are loaded in the management server
> logs but event are not being pushed to RabbitMQ but apart from that i
> couldn't find anything related to event being sent to RabbitMQ.
>
> How can we trace or debug if any events are getting successfully pushed to
> RabbitMQ.
>
>
> Regards,
> Vivek Kumar
>
> --
> This message is intended only for the use of the individual or entity to
> which it is addressed and may contain confidential and/or privileged
> information. If you are not the intended recipient, please delete the
> original message and any copy of it from your computer system. You are
> hereby notified that any dissemination, distribution or copying of this
> communication is strictly prohibited unless proper authorization has been
> obtained for such action. If you have received this communication in
> error,
> please notify the sender immediately. Although IndiQus attempts to sweep
> e-mail and attachments for viruses, it does not guarantee that both are
> virus-free and accepts no liability for any damage sustained as a result
> of
> viruses.
>

-- 
This message is intended only for the use of the individual or entity to 
which it is addressed and may contain confidential and/or privileged 
information. If you are not the intended recipient, please delete the 
original message and any copy of it from your computer system. You are 
hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited unless proper authorization has been 
obtained for such action. If you have received this communication in error, 
please notify the sender immediately. Although IndiQus attempts to sweep 
e-mail and attachments for viruses, it does not guarantee that both are 
virus-free and accepts no liability for any damage sustained as a result of 
viruses.

Re: Send Event Notifications on External AMQP

Posted by pavan aravapalli <ar...@gmail.com>.
Hi,

is  your management node enabled with trace logs.


Thanks & Regards,
Pavan.

On Sun, 12 Jan 2025 at 15:42, Vivek Kumar <vi...@indiqus.com.invalid>
wrote:

> Hello,
>
> I have enabled Event Notification to be sent to external RabbitMQ by
> following the below document -
> https://docs.cloudstack.apache.org/en/latest/adminguide/events.html. I
> can see that beans (RabbitMQEventBus) are loaded in the management server
> logs but event are not being pushed to RabbitMQ but apart from that i
> couldn't find anything related to event being sent to RabbitMQ.
>
> How can we trace or debug if any events are getting successfully pushed to
> RabbitMQ.
>
>
> Regards,
> Vivek Kumar
>
> --
> This message is intended only for the use of the individual or entity to
> which it is addressed and may contain confidential and/or privileged
> information. If you are not the intended recipient, please delete the
> original message and any copy of it from your computer system. You are
> hereby notified that any dissemination, distribution or copying of this
> communication is strictly prohibited unless proper authorization has been
> obtained for such action. If you have received this communication in
> error,
> please notify the sender immediately. Although IndiQus attempts to sweep
> e-mail and attachments for viruses, it does not guarantee that both are
> virus-free and accepts no liability for any damage sustained as a result
> of
> viruses.
>

Re: Send Event Notifications on External AMQP

Posted by Vivek Kumar <vi...@indiqus.com.INVALID>.
Hello Midhun,

Yes, I was facing issues on 4.20 and it got resolved after the work around metioned in the link you shared.

Thanks Mate.

Regards,
Vivek Kumar

From: Midhun Jose <mi...@stackbill.com>
Date: Monday, 13 January 2025 at 9:26 AM
To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
Cc: vivek.kumar@indiqus.com.invalid <vi...@indiqus.com.invalid>
Subject: Re: Send Event Notifications on External AMQP
Hey Vivek,
If you are facing this on latest cloudstack release 4.20.0 below link will
help you

https://github.com/apache/cloudstack/issues/10117#issuecomment-2551213379

Best Regards,
Midhun



On Sun, Jan 12, 2025 at 10:46 PM Simon Weller <si...@gmail.com> wrote:

> Hey Vivek,
>
> Are you using loopback ip on your management server, or an actual routable
> ip?
>
> Cloudstack originates the traffic from the MGMT server ip, so if your
> rabbitmq instance is on another server, or is not listening on the same
> loopback, you'll need to change the MGMT server ip to an RFC1918.
>
> -Si
>
> On Sun, Jan 12, 2025, 4:12 AM Vivek Kumar <vivek.kumar@indiqus.com
> .invalid>
> wrote:
>
> > Hello,
> >
> > I have enabled Event Notification to be sent to external RabbitMQ by
> > following the below document -
> > https://docs.cloudstack.apache.org/en/latest/adminguide/events.html. I
> > can see that beans (RabbitMQEventBus) are loaded in the management server
> > logs but event are not being pushed to RabbitMQ but apart from that i
> > couldn't find anything related to event being sent to RabbitMQ.
> >
> > How can we trace or debug if any events are getting successfully pushed
> to
> > RabbitMQ.
> >
> >
> > Regards,
> > Vivek Kumar
> >
> > --
> > This message is intended only for the use of the individual or entity to
> > which it is addressed and may contain confidential and/or privileged
> > information. If you are not the intended recipient, please delete the
> > original message and any copy of it from your computer system. You are
> > hereby notified that any dissemination, distribution or copying of this
> > communication is strictly prohibited unless proper authorization has been
> > obtained for such action. If you have received this communication in
> > error,
> > please notify the sender immediately. Although IndiQus attempts to sweep
> > e-mail and attachments for viruses, it does not guarantee that both are
> > virus-free and accepts no liability for any damage sustained as a result
> > of
> > viruses.
> >
>

--




*This E-mail is confidential. It may also be legally privileged. If you
are not the addressee you may not copy, forward, disclose or use any part
of
it. If you have received this message in error, please delete it and all
copies
from your system and notify the sender immediately by return E-mail.
Internet
communications cannot be guaranteed to be timely, secure, error or
virus-free.
The sender does not accept liability for any errors or
omissions*

-- 
This message is intended only for the use of the individual or entity to 
which it is addressed and may contain confidential and/or privileged 
information. If you are not the intended recipient, please delete the 
original message and any copy of it from your computer system. You are 
hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited unless proper authorization has been 
obtained for such action. If you have received this communication in error, 
please notify the sender immediately. Although IndiQus attempts to sweep 
e-mail and attachments for viruses, it does not guarantee that both are 
virus-free and accepts no liability for any damage sustained as a result of 
viruses.

Re: Send Event Notifications on External AMQP

Posted by Midhun Jose <mi...@stackbill.com>.
Hey Vivek,
If you are facing this on latest cloudstack release 4.20.0 below link will
help you

https://github.com/apache/cloudstack/issues/10117#issuecomment-2551213379

Best Regards,
Midhun



On Sun, Jan 12, 2025 at 10:46 PM Simon Weller <si...@gmail.com> wrote:

> Hey Vivek,
>
> Are you using loopback ip on your management server, or an actual routable
> ip?
>
> Cloudstack originates the traffic from the MGMT server ip, so if your
> rabbitmq instance is on another server, or is not listening on the same
> loopback, you'll need to change the MGMT server ip to an RFC1918.
>
> -Si
>
> On Sun, Jan 12, 2025, 4:12 AM Vivek Kumar <vivek.kumar@indiqus.com
> .invalid>
> wrote:
>
> > Hello,
> >
> > I have enabled Event Notification to be sent to external RabbitMQ by
> > following the below document -
> > https://docs.cloudstack.apache.org/en/latest/adminguide/events.html. I
> > can see that beans (RabbitMQEventBus) are loaded in the management server
> > logs but event are not being pushed to RabbitMQ but apart from that i
> > couldn't find anything related to event being sent to RabbitMQ.
> >
> > How can we trace or debug if any events are getting successfully pushed
> to
> > RabbitMQ.
> >
> >
> > Regards,
> > Vivek Kumar
> >
> > --
> > This message is intended only for the use of the individual or entity to
> > which it is addressed and may contain confidential and/or privileged
> > information. If you are not the intended recipient, please delete the
> > original message and any copy of it from your computer system. You are
> > hereby notified that any dissemination, distribution or copying of this
> > communication is strictly prohibited unless proper authorization has been
> > obtained for such action. If you have received this communication in
> > error,
> > please notify the sender immediately. Although IndiQus attempts to sweep
> > e-mail and attachments for viruses, it does not guarantee that both are
> > virus-free and accepts no liability for any damage sustained as a result
> > of
> > viruses.
> >
>

-- 




*This E-mail is confidential. It may also be legally privileged. If you
are not the addressee you may not copy, forward, disclose or use any part 
of
it. If you have received this message in error, please delete it and all 
copies
from your system and notify the sender immediately by return E-mail. 
Internet
communications cannot be guaranteed to be timely, secure, error or 
virus-free.
The sender does not accept liability for any errors or 
omissions*

Re: Send Event Notifications on External AMQP

Posted by Simon Weller <si...@gmail.com>.
Hey Vivek,

Are you using loopback ip on your management server, or an actual routable
ip?

Cloudstack originates the traffic from the MGMT server ip, so if your
rabbitmq instance is on another server, or is not listening on the same
loopback, you'll need to change the MGMT server ip to an RFC1918.

-Si

On Sun, Jan 12, 2025, 4:12 AM Vivek Kumar <vi...@indiqus.com.invalid>
wrote:

> Hello,
>
> I have enabled Event Notification to be sent to external RabbitMQ by
> following the below document -
> https://docs.cloudstack.apache.org/en/latest/adminguide/events.html. I
> can see that beans (RabbitMQEventBus) are loaded in the management server
> logs but event are not being pushed to RabbitMQ but apart from that i
> couldn't find anything related to event being sent to RabbitMQ.
>
> How can we trace or debug if any events are getting successfully pushed to
> RabbitMQ.
>
>
> Regards,
> Vivek Kumar
>
> --
> This message is intended only for the use of the individual or entity to
> which it is addressed and may contain confidential and/or privileged
> information. If you are not the intended recipient, please delete the
> original message and any copy of it from your computer system. You are
> hereby notified that any dissemination, distribution or copying of this
> communication is strictly prohibited unless proper authorization has been
> obtained for such action. If you have received this communication in
> error,
> please notify the sender immediately. Although IndiQus attempts to sweep
> e-mail and attachments for viruses, it does not guarantee that both are
> virus-free and accepts no liability for any damage sustained as a result
> of
> viruses.
>