Mentions légales du service

Skip to content
Snippets Groups Projects

[execo_g5k] Fix check_deployed_command to account for miniOS or NVMe drives

Open JONGLEZ Baptiste requested to merge bjonglez/execo:fix_check_deployed_command into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -25,7 +25,7 @@ g5k_configuration = {
@@ -25,7 +25,7 @@ g5k_configuration = {
'default_env_name': None,
'default_env_name': None,
'default_env_file': None,
'default_env_file': None,
'default_timeout': 900,
'default_timeout': 900,
'check_deployed_command': "! (mount | grep -E '^/dev/[[:alpha:]]+2 on / ')",
'check_deployed_command': "mount | grep -q '^/dev/.*3 on / '",
'no_ssh_for_local_frontend' : False,
'no_ssh_for_local_frontend' : False,
'polling_interval' : 20,
'polling_interval' : 20,
'tiny_polling_interval' : 10,
'tiny_polling_interval' : 10,
@@ -61,7 +61,7 @@ g5k_configuration = {
@@ -61,7 +61,7 @@ g5k_configuration = {
`execo_g5k.kadeploy.deploy` to check that the nodes are correctly
`execo_g5k.kadeploy.deploy` to check that the nodes are correctly
deployed. This command should return 0 if the node is correctly
deployed. This command should return 0 if the node is correctly
deployed, or another value otherwise. The default checks that the
deployed, or another value otherwise. The default checks that the
root is not on the second partition of the disk.
root filesystem is on the third partition of the disk.
- ``no_ssh_for_local_frontend``: if True, don't use ssh to issue g5k
- ``no_ssh_for_local_frontend``: if True, don't use ssh to issue g5k
commands for local site. If False, always use ssh, both for remote
commands for local site. If False, always use ssh, both for remote
Loading