Packstack Existing Network Documention

asked 2015-01-22 19:33:21 -0600

Morgan Ross Egging gravatar image

I am following this guide to install Openstack.

I ran into trouble at the following line in the documentation:

Make /etc/sysconfig/network-scripts/ifcfg-eth0

resemble (no BOOTPROTO!):

Note: if on Centos7, the file is

/etc/sysconfig/network-scripts/enp2s0

DEVICE=eth0 # or enp2s0 if on CentOS 7

HWADDR=52:54:00:92:05:AE # your hwaddr

TYPE=OVSPort DEVICETYPE=ovs

OVS_BRIDGE=br-ex ONBOOT=yes

The closest file I have is ifcfg-enp6s0f0 and its contents are as follows:

DEVICE="enp6s0f0"

HWADDR="00:15:17:BD:B1:1C"

TYPE="Ethernet"

BOOTPROTO="dhcp"

DEFROUTE="yes"

PEERDNS="yes"

PEERROUTES="yes"

IPV4_FAILURE_FATAL="no"

IPV6INIT="yes"

IPV6_AUTOCONF="yes"

IPV6_DEFROUTE="yes"

IPV6_PEERDNS="yes"

IPV6_PEERROUTES="yes"

IPV6_FAILURE_FATAL="no"

NAME="enp6s0f0"

UUID="52cc819b-ffd9-4828-a7af-5031680c63a8"

ONBOOT="yes"

When I change the original file to "resemble" the documented file and restart network service, I'm booted off ssh and sftp until I physically goto computer and revert changes by console.

Why do I have to configure these files by hand? Is "internet" a special use case for computers in 2015, that requires a separate documentation and non-default install? Is this necessary, shouldn't I be able to configure networks from within Horizon? I am running CentOS 7, what should I be running? What should ifcfg-enp6s0f0 look like?

When I am the dashboard, it errors every time I try to setup a new network. No VM of mine has ever pinged anything from anywhere. I got firewall open open open.

Why does packstack documentation change without dates or version numbers or comments or threaded discussion? Why does "internet" need a seperate doc? Why does DEVSTACK work out of the box for networks, and I have spent 6 months with packstack?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-01-23 00:26:21 -0600

dbaxps gravatar image

updated 2015-01-23 00:34:53 -0600

Regarding manual update of ifcfg-* files:
1 I fix manually ifcfg-br-ex as OVS bridge and ifcfg-enp2s0 as OVS port on Network Node
View RDO Juno Set up Two Real Node (Controller+Compute) Gluster 3.5.2 Cluster ML2&OVS&VXLAN on CentOS 7
Post installation procedure.
2. I tune manually endpoints interfaces (VXLAN,GRE ) on Network && Compute Nodes to have right IPs and be up before running packstack --answer-file=./MultiNode.txt
Pre installation procedure.
I only once installed Havana manually on F20 boxes && it's quite enough NOT to complain RH's RDO && packstack for myself. I am ready manually fix configuration files after packstack run, only not to do it step by step with a banch of shell scripts , having a good chance to make mistake any time of this "exciting" procedure.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2015-01-22 19:33:21 -0600

Seen: 326 times

Last updated: Jan 23 '15