← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1734585] [NEW] Controller node in neutron - Ubuntu1710 Netplan

 

Public bug reported:

Hello.

The Installation page for Pike (Ubuntu 17.10) still has reference to
ifup/down methods for setting network interfaces, Ubuntu 17.10 has gone
with netplan.

Here is a submission for an update to this page
https://docs.openstack.org/neutron/pike/install/environment-networking-
controller-ubuntu.html (Section 2) .

uggested update for neutron/pike/install/environment-networking-
controller-ubtuntu.html

For 17.10 (w/netplan)


Replace 2. with:

	Ubuntu 17.10 uses netplan not ifup/down, so you must etc /etc/netplan/XX-netplan-file.yaml for your system
 
 - Edit /etc/netplan/50-cloud-init.yaml (on my system) file to contain the following:
	<code>
	# This file is generated from information provided by
	# the datasource.  Changes to it will not persist across an instance.
	# To disable cloud-init's network configuration capabilities, write a file
	# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
	# network: {config: disabled}
	network:
	    version: 2
	    ethernets:
	        eth0:
	            dhcp4: true
        	    match:
                        macaddress: 00:XX:XX:XX:XX:XX
                        addresses: [10.0.0.11/24]
			gateway4: 10.0.0.1
			nameservers: 
			    addresses: [8.8.8.8,8.8.4.4]

	            set-name: eth0
	       eth1:
	            dhcp4: true
	            match:
                        macaddress: 00:XX:XX:XX:XX:XX
                        addresses: [172.16.1.4/24]
			gateway4: 172.16.1.1
			nameservers: 
			    addresses: [8.8.8.8,8.8.4.4]
	            set-name: eth1
	</code>

1 - Run "netplan generate" to generate that configuration from the file you edited above
2 - Run "netplan apply" to apply the configuration (warning - if you are switching networking and are logged in remotely, you may lose connectivity here - use console instead)


This bug tracker is for errors with the documentation, use the following
as a template and remove or add fields as you see fit. Convert [ ] into
[x] to check boxes:

- [X] This doc is inaccurate in this way:Uses Deprecated Commands for Ubuntu 17.10
- [ ] This is a doc addition request.
- [X] I have a fix to the document that I can paste below including example: input and output. 

If you have a troubleshooting or support issue, use the following
resources:

 - Ask OpenStack: http://ask.openstack.org
 - The mailing list: http://lists.openstack.org
 - IRC: 'openstack' channel on Freenode

-----------------------------------
Release: 11.0.3.dev6 on 2017-11-23 02:11
SHA: b1f71de42ead2c1278343307307984ad1ff00c71
Source: https://git.openstack.org/cgit/openstack/neutron/tree/doc/source/install/environment-networking-controller-ubuntu.rst
URL: https://docs.openstack.org/neutron/pike/install/environment-networking-controller-ubuntu.html

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: doc netplan

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1734585

Title:
  Controller node in neutron - Ubuntu1710 Netplan

Status in neutron:
  New

Bug description:
  Hello.

  The Installation page for Pike (Ubuntu 17.10) still has reference to
  ifup/down methods for setting network interfaces, Ubuntu 17.10 has
  gone with netplan.

  Here is a submission for an update to this page
  https://docs.openstack.org/neutron/pike/install/environment-
  networking-controller-ubuntu.html (Section 2) .

  uggested update for neutron/pike/install/environment-networking-
  controller-ubtuntu.html

  For 17.10 (w/netplan)

  
  Replace 2. with:

  	Ubuntu 17.10 uses netplan not ifup/down, so you must etc /etc/netplan/XX-netplan-file.yaml for your system
   
   - Edit /etc/netplan/50-cloud-init.yaml (on my system) file to contain the following:
  	<code>
  	# This file is generated from information provided by
  	# the datasource.  Changes to it will not persist across an instance.
  	# To disable cloud-init's network configuration capabilities, write a file
  	# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
  	# network: {config: disabled}
  	network:
  	    version: 2
  	    ethernets:
  	        eth0:
  	            dhcp4: true
          	    match:
                          macaddress: 00:XX:XX:XX:XX:XX
                          addresses: [10.0.0.11/24]
  			gateway4: 10.0.0.1
  			nameservers: 
  			    addresses: [8.8.8.8,8.8.4.4]

  	            set-name: eth0
  	       eth1:
  	            dhcp4: true
  	            match:
                          macaddress: 00:XX:XX:XX:XX:XX
                          addresses: [172.16.1.4/24]
  			gateway4: 172.16.1.1
  			nameservers: 
  			    addresses: [8.8.8.8,8.8.4.4]
  	            set-name: eth1
  	</code>

  1 - Run "netplan generate" to generate that configuration from the file you edited above
  2 - Run "netplan apply" to apply the configuration (warning - if you are switching networking and are logged in remotely, you may lose connectivity here - use console instead)


  
  This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes:

  - [X] This doc is inaccurate in this way:Uses Deprecated Commands for Ubuntu 17.10
  - [ ] This is a doc addition request.
  - [X] I have a fix to the document that I can paste below including example: input and output. 

  If you have a troubleshooting or support issue, use the following
  resources:

   - Ask OpenStack: http://ask.openstack.org
   - The mailing list: http://lists.openstack.org
   - IRC: 'openstack' channel on Freenode

  -----------------------------------
  Release: 11.0.3.dev6 on 2017-11-23 02:11
  SHA: b1f71de42ead2c1278343307307984ad1ff00c71
  Source: https://git.openstack.org/cgit/openstack/neutron/tree/doc/source/install/environment-networking-controller-ubuntu.rst
  URL: https://docs.openstack.org/neutron/pike/install/environment-networking-controller-ubuntu.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1734585/+subscriptions