Skip to content

DNS name for auth_url in provision.tfvars causes error in remote provision.sh #47

@metahertz

Description

@metahertz

If using a DNS name rather than an IP address for auth_url in terraform.tfvars , the make provision stage of the install will fail.

The error occurs in the remote (bastion) execution of provision.sh with this line, that expects an IP address to grep out of the OS_AUTH_URL var, and results in an empty OPENSTACK_IP= statement if passed a DNS name instead, which fails the script.

IE:
OS_AUTH_URL="https://1.2.3.4:5000/v2.0" #works
OS_AUTH_URL="https://amsterdam.cloud.somewhere.com:5000/v2.0" #fails as below

matt@MATJOHN2-M-401J terraform-openstack-cf-install (master) $ make provision
./provision/prepare-provision
./provision/provision-ssh
Attempting to SSH to Bastion server...
provision.sh                                                                                                                     100%   17KB  16.6KB/s   00:00    
1> Success
make: *** [provision] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions