Symlinks to environment files don't work when using --environment-directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Expired
|
Undecided
|
Unassigned |
Bug Description
When doing an overcloud deploy command similar to
time openstack overcloud deploy \
--templates templates \
--environment-
-t 180 \
--validation-
--overcloud-
and the contents of environments-ssl is
01-puppet-
02-network-
03-ips-
04-storage-
05-enable-tls.yaml -> /home/stack/
06-tls-
10-nuclab-
11-nuclab-
12-nuclab-
13-nuclab-
14-nuclab-
It looks like none of the symlinked environment files (which are from my tht directory) are included. I think this is a bug as I don't think we want to encourage users to copy standard tht environment files into their own directories (as they will have to maintain and update them themselves).
Likely this is just due to the way that we resolve symlinks in tripleo-common. Also note this doesn't work with relative symlinks either (though probably should).
Changed in tripleo: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Carlos Camacho (ccamacho) |
Actually it looks like when I don't use symlinks but copy all the files in as follows
ls environments-ssl
01-puppet- pacemaker. yaml isolation. yaml from-pool- all.yaml environment. yaml endpoints- public- dns.yaml host-definition s.yaml storage- environment. yaml network- environment. yaml customisations. yaml enable- ssl.yaml
02-network-
03-ips-
04-storage-
05-enable-tls.yaml
06-tls-
10-nuclab-
11-nuclab-
12-nuclab-
13-nuclab-
14-nuclab-
I hit the same problem, so perhaps --environments- directory itself is just broken?