Steps to reproduce:
1. Run nova-api service as daemon.
2. Send SIGHUP signal to nova-api service
kill -1 <parent_process_id_of_nova_api>
Just for testing in your environment, you can use below work around to fulfill step 1.
diff --git a/nova/openstack/common/service.py b/nova/openstack/common/servic
index f682b2b..12127d6 100644
--- a/nova/openstack/common/service.py
+++ b/nova/openstack/common/service.py
@@ -77,7 +77,7 @@ def _is_sighup_and_daemon(signo):
# Avoid checking if we are a daemon, because the signal isn't
# SIGHUP.
return False
- return _is_daemon()
+ return True
Hi Tiantian,
You need to run the nova-api service as daemon.
Steps to reproduce: process_ id_of_nova_ api>
1. Run nova-api service as daemon.
2. Send SIGHUP signal to nova-api service
kill -1 <parent_
Just for testing in your environment, you can use below work around to fulfill step 1.
diff --git a/nova/ openstack/ common/ service. py b/nova/ openstack/ common/ servic openstack/ common/ service. py openstack/ common/ service. py and_daemon( signo):
index f682b2b..12127d6 100644
--- a/nova/
+++ b/nova/
@@ -77,7 +77,7 @@ def _is_sighup_
# Avoid checking if we are a daemon, because the signal isn't
# SIGHUP.
return False
- return _is_daemon()
+ return True
def _signo_ to_signame( signo):