problem in network configuration newton

asked 2018-01-21 05:41:20 -0500

Fatemeh Abdollahei gravatar image

I have installed openstack (Newton release) on Ubuntu 16.04 (all in one); each node has one network interface. every service is running well, but my network configuration is not correct and in all instances stock in network management and ip allocation step when they want to be launched.

I have one all-in-one node and one extra compute node.

[root@controller-hp ~(keystone_admin)]$ neutron ext-list
+---------------------------+-----------------------------------------------+
| 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                                  |
| metering                  | Neutron Metering                              |
| agent                     | agent                                         |
| subnet_allocation         | Subnet Allocation                             |
| l3_agent_scheduler        | L3 Agent Scheduler                            |
| tag                       | Tag support                                   |
| multi-provider            | Multi Provider Network                        |
| address-scope             | Address scope                                 |
| extraroute                | Neutron Extra Route                           |
| shared_pools              | Shared pools for LBaaSv2                      |
| subnet-service-types      | Subnet service types                          |
| standard-attr-timestamp   | Resource timestamps                           |
| fwaas                     | Firewall service                              |
| service-type              | Neutron Service Type Management               |
| lb_network_vip            | Create loadbalancer with network_id           |
| l3-flavors                | Router Flavor Extension                       |
| port-security             | Port Security                                 |
| hm_max_retries_down       | Add a fall threshold to health monitor        |
| extra_dhcp_opt            | Neutron Extra DHCP opts                       |
| standard-attr-revisions   | Resource revision numbers                     |
| lbaasv2                   | LoadBalancing service v2                      |
| pagination                | Pagination support                            |
| sorting                   | Sorting support                               |
| lbaas_agent_schedulerv2   | Loadbalancer Agent Scheduler V2               |
| security-group            | security-group                                |
| dhcp_agent_scheduler      | DHCP Agent Scheduler                          |
| router_availability_zone  | Router Availability Zone                      |
| lb-graph                  | Load Balancer Graph                           |
| rbac-policies             | RBAC Policies                                 |
| l7                        | L7 capabilities for LBaaSv2                   |
| standard-attr-description | standard-attr-description                     |
| router                    | Neutron L3 Router                             |
| allowed-address-pairs     | Allowed Address Pairs                         |
| project-id                | project_id field enabled                      |
| dvr                       | Distributed Virtual Router                    |
+---------------------------+-----------------------------------------------+

My nova.conf file is here:

http://Nova conf (https://paste.debian.net/1005278/)

By using this https://docs.openstack.org/newton/install-guide-ubuntu/launch-instance-networks-provider.html (guide), My network configuration is: Network Overview

Name
physical01
ID
    212248e9-71ff-4015-8fec-54567f38e92f
Project ID
    43605ff65d2a40d19073e7268fd5d124
Status
       Active
Admin State
       UP
Shared
       Yes
External Network
       Yes
MTU
       1500
Provider Network
       Network Type: flat
Physical Network: physical01
       Segmentation ID: -

and:

[root@controller-hp ~(keystone_admin)]$ neutron net-list
+--------------------------------+------------+--------------------------------+
 | id                             | name       | subnets                        |
+--------------------------------+------------+--------------------------------+
 | 212248e9-71ff-4015-8fec-       | physical01 | ee667189-bb7c-4861-81a0-2735d0 |
 | 54567f38e92f                   |            | 1c2011 10.1.79.0/24            |
+--------------------------------+------------+--------------------------------+

that's the output of "tailf /var/log/neutron/neutron-*.log"

http://paste.openstack.org/show/648396/

These are my plugins configure:

http://paste.openstack.org/show/648401/ (ml2)

http://paste.openstack.org/show/648403/ (Linux Bridge Agent)

http://paste.openstack.org/show/648404/ (openvswitch)

http://paste.openstack.org/show/648410/ (DHCP agent)

http://paste.openstack.org/show/648413/ (L3 agent)

I don't know how can I configure my network. I just want all of my instances can get ip and connect to the Internet. because of that, I'm trying to use provider network in flat mode.

Any help would be appreciated.

edit retag flag offensive close merge delete

Comments

all instances stock in network management and ip allocation step

How do you know they are stuck?

The log file output doesn’t look complete. Only three lines across all Neutron logs?

Does physical01 have a DHCP server? Does it interfere with a DHCP server outside the cloud? Any DHCP logs?

Bernd Bausch gravatar imageBernd Bausch ( 2018-01-21 07:31:29 -0500 )edit

Also, you say (all in one); each node has one network interface. All in one or several hosts? Is eno1 (from the Linuxbridge config) the correct interface?

You did not follow https://docs.openstack.org/neutron/la...; there are several differences. Check config again.

Bernd Bausch gravatar imageBernd Bausch ( 2018-01-21 07:35:29 -0500 )edit

@Bernd Bausch thanks for your response. I have two host (node), that one of them is all-in-one and another one is an extra compute. every server (host) has one physical interface that connects to the Internet. phycial01 doesn't interfere with a DHCP server outside the cloud.

Fatemeh Abdollahei gravatar imageFatemeh Abdollahei ( 2018-01-22 01:59:09 -0500 )edit

So, how do you know your instances are stuck in network management?

Bernd Bausch gravatar imageBernd Bausch ( 2018-01-22 09:26:57 -0500 )edit

Actually they can't get ip and before getting ip an error occurs. I think it would be better to say "I guess they stuck in network management level"! sorry.

Fatemeh Abdollahei gravatar imageFatemeh Abdollahei ( 2018-01-23 02:12:58 -0500 )edit