Ask Your Question
0

No compute service record found [closed]

asked 2016-05-20 03:22:32 -0600

GG1982 gravatar image

updated 2016-05-20 10:23:21 -0600

Hello! I have installed OpenStack Mitaka according to the documentation: http://docs.openstack.org/mitaka/install-guide-ubuntu/index.html (http://docs.openstack.org/mitaka/inst...)

When I try to create a new instance with this command: openstack server create --flavor m1.nano --image cirros --nic net-id=07f29d4d-29e0-4d49-b00b-62aa1e8fa0b0 --security-group default --key-name mykey selservice-instance, I got this error in nova-scheduler.log:

No compute service record found for host oscompute01
Filter RetryFilter returned 0 hosts
Filtering removed all hosts for the request with instance ID 'b5e98b41-7bab-45a1-8241-9e499642e58a'. Filter results: ['RetryFilter: (start: 0, end: 0)']

The commande nova-manage service list returns :

Option "verbose" from group "DEFAULT" is deprecated for removal.  Its value may be silently ignored in the future.
DEPRECATED: Use the nova service-* commands from python-novaclient instead or the os-services REST resource. The service subcommand will be removed in the 14.0 release.
Binary           Host                                 Zone             Status     State Updated_At
nova-osapi_compute 0.0.0.0                              internal         enabled    XXX   None
nova-metadata    0.0.0.0                              internal         enabled    XXX   None
nova-consoleauth OSCONTROLL01                         internal         enabled    :-)   2016-05-20 08:02:47
nova-scheduler   OSCONTROLL01                         internal         enabled    :-)   2016-05-20 08:02:46
nova-conductor   OSCONTROLL01                         internal         enabled    :-)   2016-05-20 08:02:44
nova-compute     OSCOMPUTE01                          nova             enabled    :-)   2016-05-20 08:02:40

The command nova hypervisor-stats returns:

+----------------------+--------+
| Property             | Value  |
+----------------------+--------+
| count                | 1      |
| current_workload     | 0      |
| disk_available_least | 118    |
| free_disk_gb         | 127    |
| free_ram_mb          | 144546 |
| local_gb             | 127    |
| local_gb_used        | 0      |
| memory_mb            | 145058 |
| memory_mb_used       | 512    |
| running_vms          | 0      |
| vcpus                | 24     |
| vcpus_used           | 0      |
+----------------------+--------+

The commande nova hypervisor-show oscompute01 returns:

+---------------------------+----------------------------------------+
| Property                  | Value                                  |
+---------------------------+----------------------------------------+
| cpu_info_arch             | x86_64                                 |
| cpu_info_features         | ["pge", "clflush", "sep", "syscall",   |
|                           | "vme", "dtes64", "msr", "vmx", "xtpr", |
|                           | "cmov", "ssse3", "est", "pat",         |
|                           | "monitor", "smx", "pbe", "lm", "tsc",  |
|                           | "nx", "fxsr", "tm", "sse4.1", "pae",   |
|                           | "sse4.2", "pclmuldq", "acpi", "mmx",   |
|                           | "cx8", "mce", "de", "rdtscp", "ht",    |
|                           | "dca", "lahf_lm", "pdcm", "mca",       |
|                           | "pdpe1gb", "apic", "sse", "pse", "ds", |
|                           | "invtsc", "pni", "tm2", "aes", "sse2", |
|                           | "ss", "ds_cpl", "pcid", "fpu", "cx16", |
|                           | "pse36", "mtrr", "popcnt"]             |
| cpu_info_model            | Westmere                               |
| cpu_info_topology_cells   | 2                                      |
| cpu_info_topology_cores   | 6                                      |
| cpu_info_topology_sockets | 1                                      |
| cpu_info_topology_threads | 2                                      |
| cpu_info_vendor           | Intel                                  |
| current_workload          | 0                                      |
| disk_available_least      | 118                                    |
| free_disk_gb              | 127                                    |
| free_ram_mb               | 144546                                 |
| host_ip                   | 10.10.10.3                             |
| hypervisor_hostname       | oscompute01                            |
| hypervisor_type           | QEMU                                   |
| hypervisor_version        | 2005000                                |
| id                        | 2                                      |
| local_gb                  | 127                                    |
| local_gb_used             | 0                                      |
| memory_mb                 | 145058                                 |
| memory_mb_used            | 512                                    |
| running_vms               | 0                                      |
| service_disabled_reason   | None                                   |
| service_host              | oscompute01                            |
| service_id                | 19                                     |
| state                     | up                                     |
| status                    | enabled                                |
| vcpus                     | 24                                     |
| vcpus_used                | 0                                      |
+---------------------------+----------------------------------------+

OSCONTROLL01 and OSCOMPUTE01 are both physical machine. The OS is Ubuntu 14.04.

On the controller node, the command neutron ext-list return:

+---------------------------+-----------------------------------------------+
| alias                     | name                                          |
+---------------------------+-----------------------------------------------+
| default-subnetpools       | Default Subnetpools                           |
| network-ip-availability   | Network IP Availability                       |
| network_availability_zone | Network Availability Zone                     |
| auto-allocated-topology   | Auto Allocated Topology Services              |
| ext-gw-mode               | Neutron L3 Configurable external gateway mode |
| binding                   | Port Binding                                  |
| agent                     | agent                                         |
| subnet_allocation         | Subnet Allocation                             |
| l3_agent_scheduler        | L3 Agent Scheduler                            |
| tag                       | Tag support                                   |
| external-net              | Neutron external network                      |
| net-mtu                   | Network MTU                                   |
| availability_zone         | Availability Zone                             |
| quotas                    | Quota management support                      |
| l3-ha                     | HA Router extension                           |
| provider                  | Provider Network                              |
| multi-provider            | Multi Provider Network                        |
| address-scope             | Address scope                                 |
| extraroute                | Neutron Extra Route                           |
| timestamp_core            | Time Stamp Fields addition for core resources |
| router                    | Neutron L3 Router                             |
| extra_dhcp_opt            | Neutron Extra DHCP opts                       |
| dns-integration           | DNS Integration                               |
| security-group            | security-group                                |
| dhcp_agent_scheduler      | DHCP Agent Scheduler                          |
| router_availability_zone  | Router Availability Zone                      |
| rbac-policies             | RBAC Policies                                 |
| standard-attr-description | standard-attr-description                     |
| port-security             | Port Security                                 |
| allowed-address-pairs     | Allowed Address Pairs                         |
| dvr                       | Distributed Virtual Router                    |
+---------------------------+-----------------------------------------------+

Something strange, the flavors alias is not present, and it is ... (more)

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by GG1982
close date 2016-05-27 09:18:28.836505

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-05-27 09:16:46 -0600

GG1982 gravatar image

I have made a fresh reinstallation, and now everything works fine. I think there was a mistake in my nova configuration files.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-05-20 03:22:32 -0600

Seen: 1,128 times

Last updated: May 27 '16