yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #83195
[Bug 1886160] [NEW] Anti-affinity instance creation failed and the scheduling node was incorrect.
Public bug reported:
Description
===========
Anti-affinity instance creation failed.My environment has five compute node, I created a server group, create instances, five the affinity of the fifth instance failure, log prompt "Exceeded Max scheduling attempts for 3 instan". In the first four instances on the calculation of 1-4, the fifth instance is created to compute1, compute2, compute3 try to create, due to the affinity strategy cannot create, prompted to create failure after trying three times, (the scheduler Max_attempts default 3),(max_server_per_host default 1).
compute1, compute2, compute3 all have error log, and compute4 ,compute5
have no error log.
Environment
===========
1.One control node, five compute nodes
2.Nova version:Queen
Error Logs
==========
'message': 'Exceeded maximum number of retries. Exceeded max scheduling attempts 3 for instan: Build of instance 019e9891-72c9-4a15-a8f4-3b6ccc3c4535 was re-scheduled: Anti-affinity instance group policy was viol', 'code': 500, "/var/lib/openstack/lib/python2.7/site-packages/nova/conductor/manager.py", line 610, in build_instances\n filter_properties, inst7/site-packages/nova/scheduler/utils.py", line 680, in populate_retry\n raise exception.MaxRetriesExceeded(reason=msg)\nMaxRetriesEax scheduling attempts 3 for instance 019e9891-72c9-4a15-a8f4-3b6ccc3c4535. Last exception: Build of instance 019e9891-72c9-4a15-a8f4-roup policy was violated.\n', 'created': '2020-07-02T06:21:20Z'}
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1886160
Title:
Anti-affinity instance creation failed and the scheduling node was
incorrect.
Status in OpenStack Compute (nova):
New
Bug description:
Description
===========
Anti-affinity instance creation failed.My environment has five compute node, I created a server group, create instances, five the affinity of the fifth instance failure, log prompt "Exceeded Max scheduling attempts for 3 instan". In the first four instances on the calculation of 1-4, the fifth instance is created to compute1, compute2, compute3 try to create, due to the affinity strategy cannot create, prompted to create failure after trying three times, (the scheduler Max_attempts default 3),(max_server_per_host default 1).
compute1, compute2, compute3 all have error log, and compute4
,compute5 have no error log.
Environment
===========
1.One control node, five compute nodes
2.Nova version:Queen
Error Logs
==========
'message': 'Exceeded maximum number of retries. Exceeded max scheduling attempts 3 for instan: Build of instance 019e9891-72c9-4a15-a8f4-3b6ccc3c4535 was re-scheduled: Anti-affinity instance group policy was viol', 'code': 500, "/var/lib/openstack/lib/python2.7/site-packages/nova/conductor/manager.py", line 610, in build_instances\n filter_properties, inst7/site-packages/nova/scheduler/utils.py", line 680, in populate_retry\n raise exception.MaxRetriesExceeded(reason=msg)\nMaxRetriesEax scheduling attempts 3 for instance 019e9891-72c9-4a15-a8f4-3b6ccc3c4535. Last exception: Build of instance 019e9891-72c9-4a15-a8f4-roup policy was violated.\n', 'created': '2020-07-02T06:21:20Z'}
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1886160/+subscriptions
Follow ups