Univention Bugzilla – Full Text Bug Listing |
Summary: | IPv6 gateway "fe80::1" is not supported | ||
---|---|---|---|
Product: | UCS | Reporter: | Sönke Schwardt-Krummrich <schwardt> |
Component: | Network | Assignee: | Janek Walkenhorst <walkenhorst> |
Status: | CLOSED FIXED | QA Contact: | Philipp Hahn <hahn> |
Severity: | normal | ||
Priority: | P5 | CC: | gohmann, s.anders, walkenhorst |
Version: | UCS 4.0 | ||
Target Milestone: | UCS 4.0-2-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | --- | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | Enterprise Customer affected?: | ||
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | IPv6 | |
Max CVSS v3 score: | |||
Bug Depends on: | |||
Bug Blocks: | 44026 |
Description
Sönke Schwardt-Krummrich
2014-08-23 21:36:51 CEST
What I really meant was ucr set ipv6/gateway="fe80::1%eth0" (In reply to Sönke Schwardt-Krummrich from comment #1) > What I really meant was > ucr set ipv6/gateway="fe80::1%eth0" My recommendation would be to skip the automatic interface detection for the gateway, if the interface is specified ("%" in ipv6/gateway), and instead simply using the specified interface. This affects also UCS 4.0 patchlevel 1 erratalevel 163 Advisories: 2015-05-13-univention-base-files.yaml, 2015-05-13-univention-config-registry.yaml OK: 2015-05-13-univention-base-files.yaml OK: 2015-05-13-univention-config-registry.yaml OK: r60680 FAIL: inter package dependency must be updated - otherwise all IPv6 addresses are temporary lost as no IPv6 config is generated in /etc/network/interfaces: # dpkg-query -W univention-base-files univention-config univention-base-files 4.0.8-2.184.201505131755 univention-config 10.0.1-8.480.201502261454 # dpkg -s univention-base-files Depends: univention-config (>= 8.0.2-1) # ucr filter </etc/univention/templates/files/etc/network/interfaces.d/10-default Traceback (most recent call last): File "<stdin>", line 144, in <module> File "<stdin>", line 142, in main File "<stdin>", line 75, in ipv6 AttributeError: 'Interfaces' object has no attribute 'ipv6_gateway_zone_index' OK: ipv6/gateway='fe80::1%eth0' OK: ipv6/gateway='2001:4dd0:ff00:8c42:ff17::1%eth0' OK: ipv6/gateway='2001:4dd0:ff00:8c42:ff17::1%eth42' Installed version of python-univention-config-registry: 10.0.2-2.487.201505131750 root@unassigned-hostname:~# PYTHONPATH=/usr/lib/pymodules/python2.7/univention/config_registry python2.7 Python 2.7.3 (default, Jul 2 2014, 15:00:03) [GCC 4.7.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from interfaces import Interfaces >>> print Interfaces().get_default_ip_address().ip Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/pymodules/python2.7/univention/config_registry/interfaces.py", line 223, in __init__ gateway, zone_index = (ucr['ipv6/gateway'].rsplit('%', 1) + [None])[:2] AttributeError: 'NoneType' object has no attribute 'rsplit' >>> root@unassigned-hostname:~# (In reply to Philipp Hahn from comment #5) > FAIL: inter package dependency must be updated Dependency updated, univention-base-files 4.0.8-4 (In reply to Stefan Gohmann from comment #6) > AttributeError: 'NoneType' object has no attribute 'rsplit' UCR access with KeyError is now always used, univention-config-registry 10.0.2-3 Advisories updated. OK: r60997 r61000 OK: aptitude install '?source-package(univention-base-files)~i' OK: aptitude install '?source-package(univention-config)~i' OK: ucr set ipv6/gateway=... OK: AttributeError: 'NoneType' ADDED: r61002 unit test OK: 2015-05-13-univention-config-registry.yaml 2015-05-13-univention-base-files.yaml OK: errata-announce -V 2015-05-13-univention-base-files.yaml OK: errata-announce -V 2015-05-13-univention-config-registry.yaml |