Instance is not able to obtain IP from DHCP

Solution In Progress - Updated -

Issue

  • All instances in one of our project are not able to obtain IP from DHCP. Instance reboot does not help.

  • With rule ce75d320-ad19-4e75-a34b-2f72b5599c01, DHCP works. If we remove that rule, DHCP is not served to the VM.

  • Here is the port properties:

$ openstack port show d5d5ca71-f4bd-4e45-a701-d920bbe6d10c -f json
{
  "allowed_address_pairs": "",
  "extra_dhcp_opts": "",
  "updated_at": "2020-05-22T13:18:21Z",
  "dns_domain": null,
  "device_owner": "compute:nova",
  "revision_number": 12,
  "port_security_enabled": true,
  "fixed_ips": "ip_address='10.10.10.10', subnet_id='89387a48-5c5e-4dd0-8e0a-2181c97ec19a'",
  "id": "d5d5ca71-f4bd-4e45-a701-d920bbe6d10c",
  "description": "",
  "binding_vnic_type": "normal",
  "option_name": null,
  "qos_policy_id": null,
  "mac_address": "fa:16:3e:00:00:00",
  "project_id": "4f4f0e4dac384f3c9faa7d15b5f8c0a1",
  "status": "ACTIVE",
  "binding_profile": "",
  "binding_vif_type": "ovs",
  "binding_vif_details": "port_filter='True'",
  "tags": "",
  "option_value": null,
  "dns_assignment": "fqdn='host-10-10-10-10.openstacklocal.', hostname='host-10-10-10-10', ip_address='10.10.10.10'",
  "trunk_details": null,
  "security_group_ids": "f3bbc5b3-b095-4dee-bf3c-7f344c42b0fe",
  "ip_address": null,
  "device_id": "e22952cf-0ed6-4b2a-9213-3e3e29145814",
  "name": "",
  "admin_state_up": "UP",
  "network_id": "5f60202f-e4e2-4a4e-81f9-c7e2545dc125",
  "dns_name": "",
  "created_at": "2020-05-22T12:08:58Z",
  "subnet_id": null,
  "data_plane_status": null,
  "binding_host_id": "overcloud-compute-0.localdomain"
}
  • Here is the security group rules list:
$ openstack security group show f3bbc5b3-b095-4dee-bf3c-7f344c42b0fe
+-----------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field           | Value                                                                                                                                                                                                                                          |
+-----------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| created_at      | 2019-09-17T15:41:26Z                                                                                                                                                                                                                           |
| description     | testing purposes, tcp/22, tcp/53, tcp/80, icmp only                                                                                                                                                                                            |
| id              | f3bbc5b3-b095-4dee-bf3c-7f344c42b0fe                                                                                                                                                                                                           |
| name            | test-bence                                                                                                                                                                                                                                     |
| project_id      | 4f4f0e4dac384f3c9faa7d15b5f8c0a1                                                                                                                                                                                                               |
| revision_number | 28                                                                                                                                                                                                                                             |
| rules           | created_at='2019-09-17T15:43:23Z', direction='ingress', ethertype='IPv4', id='5e8e6753-77be-4a41-9718-b538073464c0', protocol='icmp', remote_ip_prefix='0.0.0.0/0', updated_at='2019-09-17T15:43:23Z'                                          |
|                 | created_at='2019-09-17T15:42:39Z', direction='ingress', ethertype='IPv4', id='983ef02b-6fae-40cf-8afd-edb1952f86f0', port_range_max='22', port_range_min='22', protocol='tcp', remote_ip_prefix='0.0.0.0/0', updated_at='2019-09-17T15:42:39Z' |
|                 | created_at='2020-05-25T10:02:19Z', direction='egress', ethertype='IPv4', id='ce75d320-ad19-4e75-a34b-2f72b5599c01', port_range_max='67', port_range_min='67', protocol='udp', remote_ip_prefix='0.0.0.0/0', updated_at='2020-05-25T10:02:19Z'  |
|                 | created_at='2020-05-20T19:45:35Z', direction='egress', ethertype='IPv4', id='e07e313c-1ded-4cdc-a67b-933980771361', protocol='icmp', remote_ip_prefix='0.0.0.0/0', updated_at='2020-05-20T19:45:35Z'                                           |
| tags            | []                                                                                                                                                                                                                                             |
| updated_at      | 2020-05-25T10:02:19Z                                                                                                                                                                                                                           |
+-----------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

Environment

  • Red Hat OpenStack Platform 13.0 (RHOSP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content