Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Revert shebang change for InstanceHA startup script
Browse files Browse the repository at this point in the history
In Id915ded03ae5a471ffa2dca13e2da90021279f63 the shebang for
check-run-nova-compute has been changed to use /usr/bin/env, which
broke exec'ing the script:

  + exec /var/lib/nova/instanceha/check-run-nova-compute
  Running command: '/var/lib/nova/instanceha/check-run-nova-compute '
  /usr/bin/env: python -utt: No such file or directory

Revert the change for this script.

Change-Id: I96f82421638581122d687492f7420fd5724a7207
Closes-Bug: #1785245
(cherry picked from commit 9668e7b)
  • Loading branch information
dciabrin authored and mbaldessari committed Aug 4, 2018
1 parent 300f6f3 commit 481396a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extraconfig/tasks/instanceha/check-run-nova-compute
@@ -1,4 +1,4 @@
#!/usr/bin/env python -utt
#!/bin/python -utt

import os
import sys
Expand Down

0 comments on commit 481396a

Please sign in to comment.