Cleanup leftover inmotion configs
This removes leftover inmotion clouds.yaml related configs from our configuration management. We remove the hardcoded cert (since the old cloud used a self signed cert) and various ansible vars used in testing. Note we keep the ansible task to write out special cloud certs so that we don't have to reinvent this code in the future / remember we had it once and unrevert it, but we feed that task an empty list making it a noop currently. Change-Id: I2a6fdf06879023ab6ee65437a592d55a8c0eb371
This commit is contained in:
parent
fdfa10ded9
commit
4a631dd201
@ -1,20 +0,0 @@
|
|||||||
-----BEGIN CERTIFICATE-----
|
|
||||||
MIIDRTCCAi2gAwIBAgIURsemqD9ImPMU6VhJSiN1CyGifxAwDQYJKoZIhvcNAQEL
|
|
||||||
BQAwUjELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAk5DMQwwCgYDVQQHDANSVFAxDjAM
|
|
||||||
BgNVBAoMBWtvbGxhMRgwFgYDVQQDDA8xNzMuMjMxLjI1NS4yMjgwHhcNMjEwNDIx
|
|
||||||
MTUyMTUyWhcNMzEwNDE5MTUyMTUyWjBSMQswCQYDVQQGEwJVUzELMAkGA1UECAwC
|
|
||||||
TkMxDDAKBgNVBAcMA1JUUDEOMAwGA1UECgwFa29sbGExGDAWBgNVBAMMDzE3My4y
|
|
||||||
MzEuMjU1LjIyODCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAPNdzpCV
|
|
||||||
ofCLK2bmn0ALtaz8VzihZJvLqxOlDaN12ufGiaL54gaWkbpis4jQPlFS3hkkjAvF
|
|
||||||
RvR+0dWH5rjjG2uIdVksav0WxulOIR5G0ssv/1XlXl4heqcuYLCrZDNq5QONV4rx
|
|
||||||
hzu3H1ZH5JyYc6ecDo9JfEauei5Xc0J3Et5IvvZzksD1BUq71Qhf/awH8Y/4KtRA
|
|
||||||
9kN1kSRDJT9WBsAwaACQ3bOQACyVQzCj1TJt5Ne0zkMRNdzmAxk8dLgMkx2pkE97
|
|
||||||
8RaPzgP0P/G8f4Wk0usSWC3b6t/8INQ+x3Pgw2ec7IUcj+hYr4bzZmaD/VRP0zFw
|
|
||||||
pS3IxFZu4phqgzcCAwEAAaMTMBEwDwYDVR0RBAgwBocEref/5DANBgkqhkiG9w0B
|
|
||||||
AQsFAAOCAQEAJLu91X1AUpkR2nBSi90eeccuProFzQP5+M+F8+xhCg9rvp9gEUkn
|
|
||||||
QwwgQviyRJsj+YhOvCEtWPMMr4z70MNcXjuc52rkmiivo8kHGPLIlt50Qo9rzE/m
|
|
||||||
DjGcbrfx03KzSZWNyVeGmG9frDD6BYWn/jDH0qnuS/ubcTIqbR8PnRO6FGaD83Lx
|
|
||||||
rTCOeLCe/adGxjeW1B8aCmP2ck3CXX1a4oV6c8OfgfECZtqwqv+rTUGDprWJJyy8
|
|
||||||
PJ35qM1X4araQeRbE6G7hZp/XOpKgHleHLTu1/t7dH+Em6hbxEJJkEO+dtd8t6Mp
|
|
||||||
rySdEAvwAWyGisaAiI9cO26erQrgMVueag==
|
|
||||||
-----END CERTIFICATE-----
|
|
@ -13,8 +13,7 @@
|
|||||||
mode: 0640
|
mode: 0640
|
||||||
owner: '{{ openstacksdk_config_owner }}'
|
owner: '{{ openstacksdk_config_owner }}'
|
||||||
src: '{{ item }}'
|
src: '{{ item }}'
|
||||||
loop:
|
loop: []
|
||||||
- inmotion_cacert.pem
|
|
||||||
|
|
||||||
- name: Install the clouds config file
|
- name: Install the clouds config file
|
||||||
template:
|
template:
|
||||||
|
@ -50,12 +50,6 @@ clouds:
|
|||||||
opendevzuul_osuosl_username: user
|
opendevzuul_osuosl_username: user
|
||||||
opendevzuul_osuosl_password: password
|
opendevzuul_osuosl_password: password
|
||||||
opendevzuul_osuosl_project_id: project
|
opendevzuul_osuosl_project_id: project
|
||||||
opendevci_inmotion_username: user
|
|
||||||
opendevci_inmotion_password: password
|
|
||||||
opendevci_inmotion_project_id: project
|
|
||||||
opendevzuul_inmotion_username: user
|
|
||||||
opendevzuul_inmotion_password: password
|
|
||||||
opendevzuul_inmotion_project_id: project
|
|
||||||
opendevci_openmetal_username: user
|
opendevci_openmetal_username: user
|
||||||
opendevci_openmetal_password: password
|
opendevci_openmetal_password: password
|
||||||
opendevci_openmetal_project_id: project
|
opendevci_openmetal_project_id: project
|
||||||
|
@ -49,9 +49,6 @@ nodepool_linaro_us_project: project
|
|||||||
nodepool_osuosl_username: user
|
nodepool_osuosl_username: user
|
||||||
nodepool_osuosl_password: password
|
nodepool_osuosl_password: password
|
||||||
nodepool_osuosl_project_id: project
|
nodepool_osuosl_project_id: project
|
||||||
nodepool_inmotion_username: user
|
|
||||||
nodepool_inmotion_password: password
|
|
||||||
nodepool_inmotion_project_id: project
|
|
||||||
nodepool_openmetal_username: user
|
nodepool_openmetal_username: user
|
||||||
nodepool_openmetal_password: password
|
nodepool_openmetal_password: password
|
||||||
nodepool_openmetal_project_id: project
|
nodepool_openmetal_project_id: project
|
||||||
|
@ -38,13 +38,6 @@ def test_openstacksdk_config(host):
|
|||||||
assert f.mode == 0o750
|
assert f.mode == 0o750
|
||||||
del f
|
del f
|
||||||
|
|
||||||
f = host.file('/etc/openstack/inmotion_cacert.pem')
|
|
||||||
assert f.exists
|
|
||||||
assert f.is_file
|
|
||||||
assert f.user == 'root'
|
|
||||||
assert f.group == 'root'
|
|
||||||
assert f.mode == 0o640
|
|
||||||
|
|
||||||
def test_root_authorized_keys(host):
|
def test_root_authorized_keys(host):
|
||||||
authorized_keys = host.file('/root/.ssh/authorized_keys')
|
authorized_keys = host.file('/root/.ssh/authorized_keys')
|
||||||
assert authorized_keys.exists
|
assert authorized_keys.exists
|
||||||
|
Loading…
Reference in New Issue
Block a user