about performance limitation of starting placement-api raised by me,I am not sure.
About apache configuration have some error as you said,could you give me some ideas?thanks very much!
发自网易邮箱大师
On 04/21/2017 17:56, Chris Dent wrote:
wiston, while your solution may be working for you, it has some issues:
* running /usr/bin/nova-placement-api directory is for testing purposes
only, the placement API expects to be run under apache, using mod-wsgi,
otherwise performance may be limited
* the reason things aren't working for you is that the apache
configuration for the placement service has some issues in the
respective packages that install it, resulting in a deployment that
cannot work without some tweaks to the apache configuration
What those tweaks are depends on whether you are using Ubuntu or RDO
packages and what is currently in your apache configuration.
Bug description:
This bug tracker is for errors with the documentation, use the
following as a template and remove or add fields as you see fit.
Convert [ ] into [x] to check boxes:
- [ ] This doc is inaccurate in this way: ______
- [ ] This is a doc addition request.
- [x] I have a fix to the document that I can paste below including example: input and output.
ERROR:
1. Compute node log error:
1.1 Check /var/log/nova/nova-compute.log :
2017-04-16 11:33:58.108 3226 WARNING nova.scheduler.client.report [req-931699f3-d38b-49dc-9461-6d2d04ae0cd4 - - - - -] Placement API service is not responding.
2. Controller node log error:
2.1 Check placement api port , not listen :
netstat –an|grep 8778
2.2 Check /var/log/nova/nova-scheduler.log:
2017-04-08 22:06:20.123 5717 WARNING nova.scheduler.client.report [req-d287ab3e-758f-4bb2-a758-68d257efa644 53b3b82fda094717b570cda47b4065e5 d2283a9485d2445bbb836c420aefcf22 - - -] Placement API service is not responding.
instances
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager Traceback (most recent call last):
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 866, in schedule_and_build_instances
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager request_specs[0].to_legacy_filter_properties_dict())
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 597, in _schedule_instances
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager hosts = self.scheduler_client.select_destinations(context, spec_obj)
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/utils.py", line 371, in wrapped
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager return func(*args, **kwargs)
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 51, in select_destinations
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager return self.queryclient.select_destinations(context, spec_obj)
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager return getattr(self.instance, __name)(*args, **kwargs)
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/query.py", line 32, in select_destinations
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager return self.scheduler_rpcapi.select_destinations(context, spec_obj)
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/rpcapi.py", line 129, in select_destinations
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager return cctxt.call(ctxt, 'select_destinations', **msg_args)
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 169, in call
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager retry=self.retry)
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 97, in _send
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager timeout=timeout, retry=retry)
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 458, in send
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager retry=retry)
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 449, in _send
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager raise result
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager NoValidHost_Remote: No valid host was found. There are not enough hosts available.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager Traceback (most recent call last):
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 218, in inner
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager return func(*args, **kwargs)
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/manager.py", line 98, in select_destinations
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager dests = self.driver.select_destinations(ctxt, spec_obj)
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py", line 79, in select_destinations
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager raise exception.NoValidHost(reason=reason)
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager NoValidHost: No valid host was found. There are not enough hosts available.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.manager
2017-04-08 21:23:50.574 5716 WARNING nova.scheduler.utils [req-3c7725b0-42af-4de2-a2c2-c21a1b9e908b 53b3b82fda094717b570cda47b4065e5 d2283a9485d2445bbb836c420aefcf22 - - -] Failed to
compute_task_build_instances: No valid host was found. There are not enough hosts available.
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 218, in inner
return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/nova/scheduler/manager.py", line 98, in select_destinations
dests = self.driver.select_destinations(ctxt, spec_obj)
File "/usr/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py", line 79, in select_destinations
raise exception.NoValidHost(reason=reason)
NoValidHost: No valid host was found. There are not enough hosts
available.
2.4 Check /var/log/nova/nova-placement-api.log , no this log
RESOLUTION:
1. Start nova-placement-api service :
/usr/bin/nova-placement-api
Check nova-placement-api port , default value is 8000.but it is 8778
in OpenStack guide.
2. Change /usr/bin/nova-placement-api file, from 8000 to 8778
3. Check port whether it is listening:
netstat –an|grep 8778
If you have a troubleshooting or support issue, use the following
resources:
about performance limitation of starting placement-api raised by me,I am not sure.
About apache configuration have some error as you said,could you give me some ideas?thanks very much!
发自网易邮箱大师
On 04/21/2017 17:56, Chris Dent wrote:
wiston, while your solution may be working for you, it has some issues:
* running /usr/bin/ nova-placement- api directory is for testing purposes
only, the placement API expects to be run under apache, using mod-wsgi,
otherwise performance may be limited
* the reason things aren't working for you is that the apache
configuration for the placement service has some issues in the
respective packages that install it, resulting in a deployment that
cannot work without some tweaks to the apache configuration
What those tweaks are depends on whether you are using Ubuntu or RDO
packages and what is currently in your apache configuration.
-- /bugs.launchpad .net/bugs/ 1683104
You received this bug notification because you are subscribed to the bug
report.
https:/
Title:
instance is not created rightly
Status in openstack-manuals:
Invalid
Bug description:
This bug tracker is for errors with the documentation, use the
following as a template and remove or add fields as you see fit.
Convert [ ] into [x] to check boxes:
- [ ] This doc is inaccurate in this way: ______
- [ ] This is a doc addition request.
- [x] I have a fix to the document that I can paste below including example: input and output.
ERROR: nova/nova- compute. log : client. report [req-931699f3- d38b-49dc- 9461-6d2d04ae0c d4 - - - - -] Placement API service is not responding.
1. Compute node log error:
1.1 Check /var/log/
2017-04-16 11:33:58.108 3226 WARNING nova.scheduler.
2. Controller node log error:
2.1 Check placement api port , not listen :
netstat –an|grep 8778
2.2 Check /var/log/ nova/nova- scheduler. log: client. report [req-d287ab3e- 758f-4bb2- a758-68d257efa6 44 53b3b82fda09471 7b570cda47b4065 e5 d2283a9485d2445 bbb836c420aefcf 22 - - -] Placement API service is not responding.
2017-04-08 22:06:20.123 5717 WARNING nova.scheduler.
2.3 Check /var/log/ nova/nova- conductor. log: 15.0.0. 0~rc3~dev1) manager [req-3c7725b0- 42af-4de2- a2c2-c21a1b9e90 8b 53b3b82fda09471 7b570cda47b4065 e5 d2283a9485d2445 bbb836c420aefcf 22 - - -] Failed to schedule
2017-04-08 14:43:54.629 5716 INFO nova.service [-] Starting conductor node (version 15.0.0-
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
instances manager Traceback (most recent call last): manager File "/usr/lib/ python2. 7/site- packages/ nova/conductor/ manager. py", line 866, in schedule_ and_build_ instances manager request_ specs[0] .to_legacy_ filter_ properties_ dict()) manager File "/usr/lib/ python2. 7/site- packages/ nova/conductor/ manager. py", line 597, in _schedule_instances manager hosts = self.scheduler_ client. select_ destinations( context, spec_obj) manager File "/usr/lib/ python2. 7/site- packages/ nova/scheduler/ utils.py" , line 371, in wrapped manager return func(*args, **kwargs) manager File "/usr/lib/ python2. 7/site- packages/ nova/scheduler/ client/ __init_ _.py", line 51, in select_destinations manager return self.queryclien t.select_ destinations( context, spec_obj) manager File "/usr/lib/ python2. 7/site- packages/ nova/scheduler/ client/ __init_ _.py", line 37, in __run_method manager return getattr( self.instance, __name)(*args, **kwargs) manager File "/usr/lib/ python2. 7/site- packages/ nova/scheduler/ client/ query.py" , line 32, in select_destinations manager return self.scheduler_ rpcapi. select_ destinations( context, spec_obj) manager File "/usr/lib/ python2. 7/site- packages/ nova/scheduler/ rpcapi. py", line 129, in select_destinations manager return cctxt.call(ctxt, 'select_ destinations' , **msg_args) manager File "/usr/lib/ python2. 7/site- packages/ oslo_messaging/ rpc/client. py", line 169, in call manager retry=self.retry) manager File "/usr/lib/ python2. 7/site- packages/ oslo_messaging/ transport. py", line 97, in _send manager timeout=timeout, retry=retry) manager File "/usr/lib/ python2. 7/site- packages/ oslo_messaging/ _drivers/ amqpdriver. py", line 458, in send manager retry=retry) manager File "/usr/lib/ python2. 7/site- packages/ oslo_messaging/ _drivers/ amqpdriver. py", line 449, in _send manager raise result manager NoValidHost_Remote: No valid host was found. There are not enough hosts available. manager Traceback (most recent call last): manager manager File "/usr/lib/ python2. 7/site- packages/ oslo_messaging/ rpc/server. py", line 218, in inner manager return func(*args, **kwargs) manager manager File "/usr/lib/ python2. 7/site- packages/ nova/scheduler/ manager. py", line 98, in select_destinations manager dests = self.driver. select_ destinations( ctxt, spec_obj) manager manager File "/usr/lib/ python2. 7/site- packages/ nova/scheduler/ filter_ scheduler. py", line 79, in select_destinations manager raise exception. NoValidHost( reason= reason) manager manager NoValidHost: No valid host was found. There are not enough hosts available. manager manager utils [req-3c7725b0- 42af-4de2- a2c2-c21a1b9e90 8b 53b3b82fda09471 7b570cda47b4065 e5 d2283a9485d2445 bbb836c420aefcf 22 - - -] Failed to
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.371 5716 ERROR nova.conductor.
2017-04-08 21:23:50.574 5716 WARNING nova.scheduler.
compute_ task_build_ instances: No valid host was found. There are not enough hosts available.
Traceback (most recent call last):
File "/usr/lib/ python2. 7/site- packages/ oslo_messaging/ rpc/server. py", line 218, in inner
return func(*args, **kwargs)
File "/usr/lib/ python2. 7/site- packages/ nova/scheduler/ manager. py", line 98, in select_destinations select_ destinations( ctxt, spec_obj)
dests = self.driver.
File "/usr/lib/ python2. 7/site- packages/ nova/scheduler/ filter_ scheduler. py", line 79, in select_destinations NoValidHost( reason= reason)
raise exception.
NoValidHost: No valid host was found. There are not enough hosts
available.
2.4 Check /var/log/ nova/nova- placement- api.log , no this log
RESOLUTION:
1. Start nova-placement-api service : nova-placement- api
/usr/bin/
Check nova-placement-api port , default value is 8000.but it is 8778
in OpenStack guide.
2. Change /usr/bin/ nova-placement- api file, from 8000 to 8778
3. Check port whether it is listening:
netstat –an|grep 8778
If you have a troubleshooting or support issue, use the following
resources:
- Ask OpenStack: http:// ask.openstack. org lists.openstack .org
- The mailing list: http://
- IRC: 'openstack' channel on Freenode
------ ------- ------- ------- ------- - 09f56f6d58235f3 39c30bda2a /git.openstack. org/cgit/ openstack/ openstack- manuals/ tree/doc/ install- guide/source/ environment- ntp-controller. rst /docs.openstack .org/ocata/ install- guide-obs/ environment- ntp-controller. html
Release: 15.0.0 on 2017-04-14 06:13
SHA: c73899569e19fc8
Source: https:/
URL: https:/
To manage notifications about this bug go to: /bugs.launchpad .net/openstack- manuals/ +bug/1683104/ +subscriptions
https:/