[ https://issues.apache.org/jira/browse/CLOUDSTACK-1583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sangeetha Hariharan reopened CLOUDSTACK-1583: --------------------------------------------- Reopening this issue to get confirmation on the following set of steps that had to be done manually to get the events to be published in RabbitMQ server: Add the following in /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/nonossComponentContext.xml <bean id="eventNotificationBus" class="org.apache.cloudstack.mom.rabbitmq.RabbitMQEventBus"> <property name="name" value="eventNotificationBus"/> <property name="server" value="10.223.52.61"/> <property name="port" value="5672"/> <property name="username" value="guest"/> <property name="password" value="guest"/> <property name="exchange" value="cloudstack-events"/> Restart management server. I see the "cloudstack-events" exchange being created automatically. But i had to create a 'queue' and bind it to this exchange, with binding key *.*.*.*.* . After I did this , I see events being published to RabbitMQ server. Wanted to confirm if creating the queue and binding it to the "cloudstack-events" exchange is a manual step which needs to be documented ? Is this something that can be done by cloudstack automatically , like creating the exchange ? > AWS Regions - RabbitMQ Server did not recieve any event notification during > account creation. > --------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-1583 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1583 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server > Affects Versions: 4.1.0 > Environment: Latest build from 4.1.0 > Reporter: Sangeetha Hariharan > Assignee: Murali Reddy > Priority: Blocker > Fix For: 4.1.0 > > > Set up: > Have a RabbitMQ server set up. > Enable rabbitmq_management plugin > > C:\Program Files\RabbitMQ Server\rabbitmq_server-3.0.3\sbin>rabbitmq-plugins > enable rabbitmq_management > Restart RabbitMQ service. > 2 regions with account/domain/users synced up between them. > Added the following in > /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/componentContext.xml > <bean id="eventNotificationBus" > class="org.apache.cloudstack.mom.rabbitmq.RabbitMQEventBus"> > <property name="name" value="eventNotificationBus"/> > <property name="server" value="10.210.224.156"/> > <property name="port" value="15672"/> > <property name="username" value="guest"/> > <property name="password" value="guest"/> > <property name="exchange" value="cloudstack-events"/> > </bean> > Restart management server. > Create an account. > We expect account creation , to generate an event to RabbitMQ serer. > This does not happen. I dont see a "cloudstack-event" exchange being created > in the RabbitMQ server's admin GUI. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira