cloudfoundry / bosh-softlayer-cpi-release

An external BOSH CPI for the SoftLayer cloud written in Golang
Apache License 2.0
14 stars 20 forks source link

IP address not available for the link provider instance #261

Closed 7CHANHO closed 7 years ago

7CHANHO commented 7 years ago

CONTEXT

I used the following version of the release.

ISSUE

When I tried to deploy Cloud Foundry using cf-deployment, a wanning message occurred.

# bosh -d cf deploy cf-deployment.yml -o operations/softlayer.yml --vars-store deployment-vars.yml -v system_domain=DOMAIN
...
06:07:22 | Preparing deployment: Preparing deployment
06:07:23 | Warning: IP address not available for the link provider instance: consul/4ee72950-ab7e-4163-a690-f80c63ccb197
...

To solve this problem, I modified the cf-deployment.yml file as follows:

- name: consul
  ...
  networks:
  - default:
    - gateway
    - dns
    name: default
    static_ips:
    - 10.178.158.140
  - name: dynamic

QUESTION

After that, the problem did not occur anymore. Why are these warning messages generated? Is my solution the right way?

cf-gitbot commented 7 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/150798629

The labels on this github issue will be updated when the story is started.

7CHANHO commented 7 years ago

I used Bosh CLI v1 instead of Bosh CLI v2 and this problem no longer occurs.