VMware Cloud Community
chadc1979
Enthusiast
Enthusiast
Jump to solution

RabbitMQ and vCD 10

Is there a specific version of the 3.7 branch I should be using?

These are my notes on the install and I seem to be having communication issues from anything remote like vROPS Tenant App

# In /etc/yum.repos.d/rabbitmq-erlang.repo
[rabbitmq-erlang]
name=rabbitmq-erlang
baseurl=https://dl.bintray.com/rabbitmq-erlang/rpm/erlang/22/el/7
gpgcheck=1
gpgkey=https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc
repo_gpgcheck=0
enabled=1

yum install erlang

# In /etc/yum.repos.d/rabbitmq-server.repo
[rabbitmq-server]
name=bintray-rabbitmq-rpm
baseurl=https://dl.bintray.com/rabbitmq/rpm/rabbitmq-server/v3.7.x/el/7/
gpgcheck=0
repo_gpgcheck=0
enabled=1

yum install rabbitmq-server

systemctl start rabbitmq-server
systemctl enable rabbitmq-server

firewall-cmd --add-port=5672/tcp --permanent

firewall-cmd --add-port=15672/tcp --permanent
firewall-cmd --reload

rabbitmq-plugins enable rabbitmq_management


rabbitmqctl add_user admin <mypassword>
rabbitmqctl set_user_tags admin administrator
rabbitmqctl set_permissions -p / admin ".*" ".*" ".*"

Using the HTML5 UI to test I get this error:

Test AMQP Broker Connection: Failed [ cce57418-888e-4137-b970-86cece744637 ] ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.

In the Flex UI to test I get a successful connection but when I browse to the vROPS Tenant App in vCloud Director I get this error:

Failed to get vRealize Operation Tennat App for vCloud Director endpoint!! Looks like AMQP Settings Invalid.

Reply
0 Kudos
1 Solution

Accepted Solutions
chadc1979
Enthusiast
Enthusiast
Jump to solution

Figured it out, inside the Tenant App: Administration > Support > Configure with VCD Tenant UI

That's where you configure AMQP and the public addresses for vCloud Director and Tenant App.

View solution in original post

Reply
0 Kudos
3 Replies
chadc1979
Enthusiast
Enthusiast
Jump to solution

I don't think it's RabbitMQ, vCD connects to it even though the HTML5 UI test button doesn't work as expected.

Maybe the vROPS vCloud Director MP but I've got it configured with the AMQP password, not really sure where vROPS Tenant App is pulling it's AMQP settings from as it doesn't ask in the OVF deployment and I'm not seeing anything in the Tenant App UI to configure it.

Reply
0 Kudos
artiman73
Enthusiast
Enthusiast
Jump to solution

We have a similar issue when we tested the connectivity between VCD 10 and Rabbit MQ with the same error, it turns out there is a bug with the HTML5 interface, we used the Flash UI and the communication was reported as OK.  May be this info can help you.

Andres Martinez, VCP # 360, VTSP, VSP, vExpert 2010 Founder and President Virtesa Masificando la Virtualización, Preparando para la Computación en la Nube Web: http://www.virtesa.com twitter: http://www.twitter.com/andresmartinez_ Linkedin: http://www.linkedin.com/in/andresmartinez73
Reply
0 Kudos
chadc1979
Enthusiast
Enthusiast
Jump to solution

Figured it out, inside the Tenant App: Administration > Support > Configure with VCD Tenant UI

That's where you configure AMQP and the public addresses for vCloud Director and Tenant App.

Reply
0 Kudos