Repository navigation
Closed
Labels
P3Priority 3PlatformRelates to OS, containers, platform-based utilities like FS, system based appsRegressionThe issue is a bug that breaks functionality known to work in previous releases.State-Modulebugbroken, incorrect, or confusing behaviorseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
Description
This is the same as issue #14530. It seems to have been re-introduced at some point.
The following state:
he6:
network.managed:
- enabled: true
- type: eth
- enable_ipv6: true
- ipv6proto: v4tunnel
- ipv6ipaddr: 2001:470:X:64::2
- ipv6endpoint: 216.66.80.X
- ipv6local: X.X.X.X
- ipv6ttl: 255
- ipv6gateway: 2001:470:X:64::1Resuts in this in /etc/network/interfaces:
auto he6
iface he6 inet static
iface he6 inet6 v4tunnel
address 2001:470:X:64::2
netmask 64
gateway 2001:470:X:64::1
endpoint 216.66.80.X
local X.X.X.X
ttl 255
The line iface he6 inet static should not be present at all.
# salt --versions-report
Salt Version:
Salt: 2015.8.1
Dependency Versions:
Jinja2: 2.7.3
M2Crypto: 0.21.1
Mako: 1.0.0
PyYAML: 3.11
PyZMQ: 14.4.0
Python: 2.7.9 (default, Mar 1 2015, 12:57:24)
RAET: Not Installed
Tornado: 4.2.1
ZMQ: 4.0.5
cffi: 0.8.6
cherrypy: Not Installed
dateutil: 2.2
gitdb: Not Installed
gitpython: Not Installed
ioflo: Not Installed
libnacl: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.4.2
mysql-python: 1.2.3
pycparser: 2.10
pycrypto: 2.6.1
pygit2: Not Installed
python-gnupg: Not Installed
smmap: Not Installed
timelib: Not Installed
System Versions:
dist: debian 8.2
machine: x86_64
release: 3.16.0-4-amd64
system: debian 8.2Metadata
Metadata
Assignees
Labels
P3Priority 3PlatformRelates to OS, containers, platform-based utilities like FS, system based appsRegressionThe issue is a bug that breaks functionality known to work in previous releases.State-Modulebugbroken, incorrect, or confusing behaviorseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around
Activity
jfindlay commentedon Oct 20, 2015
@tobbez, thanks for the report.
tobbez commentedon Oct 20, 2015
In addition, I guess I should mention that salt still thinks that the interface comes up (when it doesn't, since
ifupyields an error).jbfriedrich commentedon May 16, 2016
I see the same issue with Ubuntu 15.10 and Ubuntu 16.04. This is my state file:
This is the output in my interfaces file:
Also Salt is ignoring the
require_reboot: Trueoption completely. I think this is related to the issues #32983 and #27716.SaltStack version report:
jfindlay commentedon May 16, 2016
@jbfriedrich, thanks for reporting.
jbfriedrich commentedon May 30, 2016
I took a closer look last night and could identify and fix at least this problem as it is template related. Please expect a pull request later today that will help remedy the issue at hand.
In general the debian_ip.py modules needs a rewrite as the ipv4 and ipv6 settings are not consistently handled. All currently open issues with "bridging" and "up-commands" in the interfaces configuration are caused by these mentioned inconsistencies.
I will try to rewrite the module, as I solely use Debian/Ubuntu and need it to work reliably. Once I feel that the rewritten module has reached a state of maturity (and I don't need to be ashamed for it's quality 😊). I will put in another pull requests. It will take a couple of weeks though. If no one beats me to it 😉.