neutron-server service "reload" action semantics are wrong

Solution In Progress - Updated -

Issue

  • neutron-server service reload action restart the service
from: /etc/init.d/neutron-server

reload() {
    restart
}



force_reload() {
    restart
}


restart() {
    stop
    start
}


stop() {
    echo -n $"Stopping $prog: "
    killproc -p $pidfile $prog
    retval=$?
    echo
    [ $retval -eq 0 ] && rm -f $lockfile
    return $retval
}

  • While reloading the service, it will be stopped and then it will get started. If its not possible to dynamically reload all configuration files for neutron-* related services then the reload option should be removed to avoid confusion.

Environment

  • Red Hat Open Stack 4
  • openstack-neutron-2013.2.3-14.el6ost.noarch

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.