diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-02-17 18:01:57 +0100 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-02-17 21:04:09 +0100 |
commit | 81561126307f15d4f65a743ed2431ea8c713a921 (patch) | |
tree | 12d90ee09e13e06e491dd21cbe4d8659139bca4e /mcp/salt-formulas/maas/machines/delete.sls | |
parent | 30993030ea4b5a35ab4ae9d0aeb6be85c1e259c3 (diff) |
[MaaS] Override failed testing by default
Some nodes fail automatic testing done by MaaS during commissioning,
although running the testing suites one more time manually works.
For now, just override all 'failed testing' nodes unconditionally.
JIRA: FUEL-333
Change-Id: I13d3ee3d82550524480aa53aa8752ab90aa940cd
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/salt-formulas/maas/machines/delete.sls')
-rw-r--r-- | mcp/salt-formulas/maas/machines/delete.sls | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mcp/salt-formulas/maas/machines/delete.sls b/mcp/salt-formulas/maas/machines/delete.sls index dbb625a02..2903f9226 100644 --- a/mcp/salt-formulas/maas/machines/delete.sls +++ b/mcp/salt-formulas/maas/machines/delete.sls @@ -10,6 +10,7 @@ maas_login_admin: cmd.run: - name: "maas-region apikey --username {{ region.admin.username }} > /var/lib/maas/.maas_credentials" + - unless: 'test -e /var/lib/maas/.maas_credentials' # TODO: implement delete_machine via _modules/maas.py delete_machine: |