When running quickstart and trying to deploy a quickstart undercloud, if one passes in via the -e command tripleo_ui_secure_access="false", the expected result is that the UI can be accessed without SSL, but only the config file appears to respect this value.
Example quickstart commands:
bash quickstart.sh --clean --teardown all --no-clone -e tripleo_ui_secure_access="false" $VIRTHOST
The UI still requires the https URL to access and the config file is then not configured properly for https (using the haproxy configuration) so the UI is inaccessible.
For instance, the config looks like this:
window.tripleOUiConfig = {
"keystone": "http://172.16.213.197:5000/v2.0",
"tripleo": "http://172.16.213.197:8585/v1",
"validations": "http://172.16.213.197:5001/v1",
"heat": "http://172.16.213.197:8004/v1/9b55ab262f434846ba166c5033c79df5",
"ironic": "http://172.16.213.197:6385",
"mistral": "http://172.16.213.197:8989/v2",
"swift": "http://172.16.213.197:8080//v1/AUTH_9b55ab262f434846ba166c5033c79df5",
"zaqar_websocket_url": "ws://172.16.213.197:9000",
"zaqar_default_queue": "tripleo"
};
when it should look like this if secure access is otherwise on (apache requiring https):
window.tripleOUiConfig = {
'keystone': 'https://172.16.213.197/keystone/v3/',
'heat': 'https://172.16.213.197/heat/v1/9b55ab262f434846ba166c5033c79df5',
'ironic': 'https://172.16.213.197/ironic',
'ironic-inspector': 'https://172.16.213.197/ironic-inspector',
'mistral': 'https://172.16.213.197/mistral/v2',
'swift': 'https://172.16.213.197/swift/v1/AUTH_9b55ab262f434846ba166c5033c79df5',
'zaqar-websocket': 'ws://172.16.213.197/zaqar',
'zaqar_default_queue': 'tripleo',
'excludedLanguages': [],
'loggers': ["console","zaqar"]
};
Appears to be this file that does the configuration of the ui: /github. com/openstack/ tripleo- quickstart- extras/ blob/master/ roles/underclou d-deploy/ tasks/tripleo- ui.yml
https:/