Joe
Joe

Reputation: 47

Retrieve IP of the Cloudify Manager from inside Cloudify Application VM

I am using Cloudify 2.7 with OpenStack Iceouse.

How could I do to retrieve IP of the Cloudify Manager from inside Cloudify Application VM?

Upvotes: 0

Views: 73

Answers (1)

Barak
Barak

Reputation: 3066

Good question. Unfortunately, there is no simple API to get this. As Cloudify 2 has reached End-of-Life, there are no plans for adding such an API.

Having said that, there is an environment variable that contains this information. The environment variable name is:

LOOKUPLOCATORS

The value of this variable is of the format:

<HOST1>:<PORT1>;<HOST2>:<PORT2>

Where each of the hosts is a cloudify 2 manager.

Upvotes: 0

Related Questions