Univention Bugzilla – Full Text Bug Listing |
Summary: | mirror.list is emptied if a repository server has network problems | ||
---|---|---|---|
Product: | UCS | Reporter: | Daniel Orrego <orrego> |
Component: | Update - Repository administration | Assignee: | UCS maintainers <ucs-maintainers> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | normal | ||
Priority: | P5 | CC: | mai |
Version: | UCS 3.2 | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: | https://forge.univention.org/bugzilla/show_bug.cgi?id=42450 | ||
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): | ||
Max CVSS v3 score: |
Description
Daniel Orrego
2015-04-27 18:34:07 CEST
More generally, mirror.list is overwritten with a traceback if the repository server has problems accessing the network. Here the server can't resolve the hostnames in repository/online/.../server=* **Configuration error: host is unresolvable** # An error occurred during the repository check. The error message: # Traceback (most recent call last): # File "<stdin>", line 13, in <module> # File "/usr/lib/pymodules/python2.6/univention/updater/mirror.py", line 49, in __init__ # UniventionUpdater.__init__(self, check_access) # File "/usr/lib/pymodules/python2.6/univention/updater/tools.py", line 556, in __init__ # self.ucr_reinit() # File "/usr/lib/pymodules/python2.6/univention/updater/tools.py", line 611, in ucr_reinit # assert self.server.access('/univention-repository/') # File "/usr/lib/pymodules/python2.6/univention/updater/tools.py", line 481, in access # raise ConfigurationError(uri, reason) # ConfigurationError: Configuration error: host is unresolvable # # After fixing this issue, you should rewrite this file with the following command: # univention-config-registry commit /etc/apt/mirror.list # Happened again with a UCS instance created by ucs-kt-get: /etc/apt/sources.list.d/15_ucs-online-version.list: # An error occurred during the repository check. The error message: # Traceback (most recent call last): # File "<stdin>", line 13, in <module> # File "/usr/lib/pymodules/python2.7/univention/updater/tools.py", line 579, in __init__ # self.ucr_reinit() # File "/usr/lib/pymodules/python2.7/univention/updater/tools.py", line 660, in ucr_reinit # assert self.server.access(None, '') # File "/usr/lib/pymodules/python2.7/univention/updater/tools.py", line 488, in access # raise ConfigurationError(uri, reason) # ConfigurationError: Configuration error: host is unresolvable This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4. If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks. This issue has been filed against UCS 3.2. UCS 3.2 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you. |