Uploaded image for project: 'XenServer Org'
  1. XenServer Org
  2. XSO-652

CoreOS Cloud Config variables don't work ($public_ipv4, $private_ipv4)

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 6.5 SP1
    • other
    • None

    Description

      When writing a cloud-config.yml file for CoreOS the variables $private_ipv4 or $public_ipv4 are not recognised and are substituted for empty strings. Other vendors (VMWare etc) support this.

      To resolve this XenServer should populate /usr/share/oem I believe. Related documentation and the source:
      https://coreos.com/os/docs/latest/notes-for-distributors.html
      https://github.com/coreos/coreos-cloudinit

      Example logs:

      -- Unit etcd2.service has begun starting up.
      Nov 28 14:35:35 coreos1 etcd2[2270]: recognized and used environment variable ETCD_ADVERTISE_CLIENT_URLS=http://:2379
      Nov 28 14:35:35 coreos1 etcd2[2270]: recognized and used environment variable ETCD_DATA_DIR=/var/lib/etcd2
      Nov 28 14:35:35 coreos1 etcd2[2270]: recognized and used environment variable ETCD_DISCOVERY=https://discovery.etcd.io/7ad8b4a0b91913254a90d77a6e12e0a8
      Nov 28 14:35:35 coreos1 etcd2[2270]: recognized and used environment variable ETCD_INITIAL_ADVERTISE_PEER_URLS=http://:2380
      Nov 28 14:35:35 coreos1 etcd2[2270]: recognized and used environment variable ETCD_LISTEN_CLIENT_URLS=http://0.0.0.0:2379,http://0.0.0.0:4001
      Nov 28 14:35:35 coreos1 etcd2[2270]: recognized and used environment variable ETCD_LISTEN_PEER_URLS=http://:2380,http://:7001
      Nov 28 14:35:35 coreos1 etcd2[2270]: recognized and used environment variable ETCD_NAME=coreos1
      Nov 28 14:35:35 coreos1 etcd2[2270]: etcd Version: 2.3.7
      Nov 28 14:35:35 coreos1 etcd2[2270]: Git SHA: fd17c91
      Nov 28 14:35:35 coreos1 etcd2[2270]: Go Version: go1.7.1
      Nov 28 14:35:35 coreos1 etcd2[2270]: Go OS/Arch: linux/amd64
      Nov 28 14:35:35 coreos1 etcd2[2270]: setting maximum number of CPUs to 4, total number of available CPUs is 4
      Nov 28 14:35:35 coreos1 etcd2[2270]: listening for peers on http://:2380
      Nov 28 14:35:35 coreos1 etcd2[2270]: listening for peers on http://:7001
      Nov 28 14:35:35 coreos1 etcd2[2270]: listening for client requests on http://0.0.0.0:2379
      Nov 28 14:35:35 coreos1 etcd2[2270]: listening for client requests on http://0.0.0.0:4001
      Nov 28 14:35:35 coreos1 etcd2[2270]: resolving :2380 to :2380
      Nov 28 14:35:35 coreos1 etcd2[2270]: resolving :2380 to :2380
      

      Attachments

        Activity

          People

            thomasmc Thomas Mckelvey
            bpbp Boden Garman
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: