You have been subscribed to a public bug:

Hi there,

I am separating nova-network to another host, but whenever i try to
spawn an instance, I get the following exception:

(nova.rpc): TRACE: Traceback (most recent call last):
(nova.rpc): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", 
line 244, in _process_data
(nova.rpc): TRACE:     rval = node_func(context=ctxt, **node_args)
(nova.rpc): TRACE:   File 
"/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 199, in wrapped
(nova.rpc): TRACE:     check_policy(context, action)
(nova.rpc): TRACE:   File 
"/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 211, in 
check_policy
(nova.rpc): TRACE:     nova.policy.enforce(context, _action, target)
(nova.rpc): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/policy.py", 
line 74, in enforce
(nova.rpc): TRACE:     init()
(nova.rpc): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/policy.py", 
line 47, in init
(nova.rpc): TRACE:     _POLICY_PATH = utils.find_config(FLAGS.policy_file)
(nova.rpc): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/utils.py", 
line 100, in find_config
(nova.rpc): TRACE:     raise 
exception.ConfigNotFound(path=os.path.abspath(config_path))
(nova.rpc): TRACE: ConfigNotFound: Could not find config at /run/policy.json

This is due to the absence of the policy.json file in /etc/nova/ . This
file is included in nova-api package but not in nova-network. Coping the
file to the nova configuration directory solves the problem. I am using
the Essex-3 packages of nova.

** Affects: nova (Ubuntu)
     Importance: Undecided
         Status: New

-- 
nova-network fails due to absence of policy.json
https://bugs.launchpad.net/bugs/923817
You received this bug notification because you are a member of Ubuntu Bugs, 
which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to