OPenStack创建测试实例失败,https://docs.openstack.org/ocata ... tance-provider.html,CentOS 7上创建的。
/var/log/nova/nova-compute.log提示如下:
2017-04-18 02:58:29.724 31256 ERROR nova.scheduler.client.report [req-d5d9a6f2-2b85-4c73-a621-9edce15e8d37 - - - - -] Failed to create resource provider record in placement API for UUID feb2f1da-043d-431f-89ad-1e9ddba199d4. Got 404: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /placement/resource_providers was not found on this server.</p>
</body></html>
.
2017-04-18 02:58:29.726 31256 WARNING nova.scheduler.client.report [req-d5d9a6f2-2b85-4c73-a621-9edce15e8d37 - - - - -] Unable to refresh my resource provider record
2017-04-18 02:58:29.862 31256 INFO nova.compute.resource_tracker [req-d5d9a6f2-2b85-4c73-a621-9edce15e8d37 - - - - -] Final resource view: name=compute1 phys_ram=3838MB used_ram=512MB phys_disk=49GB used_disk=0GB total_vcpus=2 used_vcpus=0 pci_stats=[]
2017-04-18 02:59:29.672 31256 ERROR nova.scheduler.client.report [req-d5d9a6f2-2b85-4c73-a621-9edce15e8d37 - - - - -] Failed to create resource provider record in placement API for UUID feb2f1da-043d-431f-89ad-1e9ddba199d4. Got 404: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /placement/resource_providers was not found on this server.</p>
</body></html>
/var/log/nova/nova-scheduler.log如下
2017-04-18 03:00:24.159 22431 ERROR nova.scheduler.client.report [req-f62d1479-e180-4314-a9c5-7903cb4d666c - - - - -] Failed to retrieve filtered list of resource providers from placement API for filters {'resources': 'DISK_GB:1,MEMORY_MB:64,VCPU:1'}. Got 404: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /placement/resource_providers was not found on this server.</p>
</body></html>
.
2017-04-18 03:00:24.160 22431 INFO nova.filters [req-f62d1479-e180-4314-a9c5-7903cb4d666c - - - - -] Filter RetryFilter returned 0 hosts
2017-04-18 03:00:24.161 22431 INFO nova.filters [req-f62d1479-e180-4314-a9c5-7903cb4d666c - - - - -] Filtering removed all hosts for the request with instance ID 'f394df8d-aaf8-463d-bcee-021762ac634a'. Filter results: ['RetryFilter: (start: 0, end: 0)']
2017-04-18 03:00:25.262 22431 INFO nova.scheduler.host_manager [req-8bf04d8c-16a8-4ce4-afd3-d200aaeca3c9 - - - - -] Successfully synced instances from host 'compute1'.
2017-04-18 03:02:30.386 22431 INFO nova.scheduler.host_manager [req-492df2d0-ace1-4142-9a6d-cf1e11d9ffba - - - - -] Successfully synced instances from host 'compute1'.
2017-04-18 03:04:33.303 22431 INFO nova.scheduler.host_manager [req-19b2077d-d008-4d4b-a3b7-9be15e460fb4 - - - - -] Successfully synced instances from host 'compute1'.
2017-04-18 03:06:34.384 22431 INFO nova.scheduler.host_manager [req-da9c0697-24cd-4c9d-918e-8aac2b6d1c24 - - - - -] Successfully synced instances from host 'compute1'.
2017-04-18 03:08:37.346 22431 INFO nova.scheduler.host_manager [req-14698144-8c06-4cd0-bab4-f2e86d752e79 - - - - -] Successfully synced instances from host 'compute1'.
2017-04-18 03:10:37.346 22431 INFO nova.scheduler.host_manager [req-845da10a-39df-448c-961a-a3bee66a6076 - - - - -] Successfully synced instances from host 'compute1'.
2017-04-18 03:12:38.303 22431 INFO nova.scheduler.host_manager [req-4e632976-2839-40f7-8c5f-46e0d4bf85d1 - - - - -] Successfully synced instances from host 'compute1'.
|