Public bug reported:
I updated the hostname (via /etc/hostname) on the latest Ubuntu Wily and
rebooted. Next time I logged in via the console and then landscape-
sysinfo broke in the following way as I logged in:
/usr/bin/landscape-sysinfo
Traceback (most recent call last):
File "/usr/bin/landscape-sysinfo", line 22, in <module>
run(sys.argv[1:], reactor)
File "/usr/lib/python2.7/dist-packages/landscape/sysinfo/deployment.py", line
106, in run
for plugin in config.get_plugins():
File "/usr/lib/python2.7/dist-packages/landscape/sysinfo/deployment.py", line
62, in get_plugins
for plugin_name in plugins]
File "/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line 168,
in namedObject
module = namedModule('.'.join(classSplit[:-1]))
File "/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line 154,
in namedModule
topLevel = __import__(name)
File "/usr/lib/python2.7/dist-packages/landscape/sysinfo/processes.py", line
3, in <module>
from landscape.lib.process import ProcessInformation
File "/usr/lib/python2.7/dist-packages/landscape/lib/process.py", line 10, in
<module>
from landscape.monitor.computeruptime import BootTimes, get_uptime
File "/usr/lib/python2.7/dist-packages/landscape/monitor/computeruptime.py",
line 7, in <module>
from landscape.monitor.plugin import MonitorPlugin
File "/usr/lib/python2.7/dist-packages/landscape/monitor/plugin.py", line 7,
in <module>
from landscape.broker.client import BrokerClientPlugin
File "/usr/lib/python2.7/dist-packages/landscape/broker/client.py", line 7,
in <module>
from landscape.amp import remote
File "/usr/lib/python2.7/dist-packages/landscape/amp.py", line 16, in <module>
from landscape.lib.amp import (
File "/usr/lib/python2.7/dist-packages/landscape/lib/amp.py", line 53, in
<module>
from twisted.protocols.amp import (
File "/usr/lib/python2.7/dist-packages/twisted/protocols/amp.py", line 201,
in <module>
from twisted.internet import ssl
File "/usr/lib/python2.7/dist-packages/twisted/internet/ssl.py", line 223, in
<module>
from twisted.internet._sslverify import (
File "/usr/lib/python2.7/dist-packages/twisted/internet/_sslverify.py", line
192, in <module>
verifyHostname, VerificationError = _selectVerifyImplementation(OpenSSL)
File "/usr/lib/python2.7/dist-packages/twisted/internet/_sslverify.py", line
167, in _selectVerifyImplementation
from service_identity import VerificationError
File "/usr/lib/python2.7/dist-packages/service_identity/__init__.py", line
12, in <module>
from . import pyopenssl
File "/usr/lib/python2.7/dist-packages/service_identity/pyopenssl.py", line
14, in <module>
from ._common import (
File "/usr/lib/python2.7/dist-packages/service_identity/_common.py", line
136, in <module>
@attributes(["pattern"], apply_with_init=False)
TypeError: attributes() got an unexpected keyword argument 'apply_with_init'
** Affects: ubuntu
Importance: High
Status: New
** Changed in: ubuntu
Importance: Undecided => High
** Description changed:
I updated the hostname (via /etc/hostname) on the latest Ubuntu Wily and
- rebooted. Next time I logged in via the console landscape-sysinfo broke
- in the following way:
+ rebooted. Next time I logged in via the console and then landscape-
+ sysinfo broke in the following way as I logged in:
- /usr/bin/landscape-sysinfo
+ /usr/bin/landscape-sysinfo
Traceback (most recent call last):
- File "/usr/bin/landscape-sysinfo", line 22, in <module>
- run(sys.argv[1:], reactor)
- File "/usr/lib/python2.7/dist-packages/landscape/sysinfo/deployment.py",
line 106, in run
- for plugin in config.get_plugins():
- File "/usr/lib/python2.7/dist-packages/landscape/sysinfo/deployment.py",
line 62, in get_plugins
- for plugin_name in plugins]
- File "/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line
168, in namedObject
- module = namedModule('.'.join(classSplit[:-1]))
- File "/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line
154, in namedModule
- topLevel = __import__(name)
- File "/usr/lib/python2.7/dist-packages/landscape/sysinfo/processes.py",
line 3, in <module>
- from landscape.lib.process import ProcessInformation
- File "/usr/lib/python2.7/dist-packages/landscape/lib/process.py", line 10,
in <module>
- from landscape.monitor.computeruptime import BootTimes, get_uptime
- File
"/usr/lib/python2.7/dist-packages/landscape/monitor/computeruptime.py", line 7,
in <module>
- from landscape.monitor.plugin import MonitorPlugin
- File "/usr/lib/python2.7/dist-packages/landscape/monitor/plugin.py", line
7, in <module>
- from landscape.broker.client import BrokerClientPlugin
- File "/usr/lib/python2.7/dist-packages/landscape/broker/client.py", line 7,
in <module>
- from landscape.amp import remote
- File "/usr/lib/python2.7/dist-packages/landscape/amp.py", line 16, in
<module>
- from landscape.lib.amp import (
- File "/usr/lib/python2.7/dist-packages/landscape/lib/amp.py", line 53, in
<module>
- from twisted.protocols.amp import (
- File "/usr/lib/python2.7/dist-packages/twisted/protocols/amp.py", line 201,
in <module>
- from twisted.internet import ssl
- File "/usr/lib/python2.7/dist-packages/twisted/internet/ssl.py", line 223,
in <module>
- from twisted.internet._sslverify import (
- File "/usr/lib/python2.7/dist-packages/twisted/internet/_sslverify.py",
line 192, in <module>
- verifyHostname, VerificationError = _selectVerifyImplementation(OpenSSL)
- File "/usr/lib/python2.7/dist-packages/twisted/internet/_sslverify.py",
line 167, in _selectVerifyImplementation
- from service_identity import VerificationError
- File "/usr/lib/python2.7/dist-packages/service_identity/__init__.py", line
12, in <module>
- from . import pyopenssl
- File "/usr/lib/python2.7/dist-packages/service_identity/pyopenssl.py", line
14, in <module>
- from ._common import (
- File "/usr/lib/python2.7/dist-packages/service_identity/_common.py", line
136, in <module>
- @attributes(["pattern"], apply_with_init=False)
+ File "/usr/bin/landscape-sysinfo", line 22, in <module>
+ run(sys.argv[1:], reactor)
+ File "/usr/lib/python2.7/dist-packages/landscape/sysinfo/deployment.py",
line 106, in run
+ for plugin in config.get_plugins():
+ File "/usr/lib/python2.7/dist-packages/landscape/sysinfo/deployment.py",
line 62, in get_plugins
+ for plugin_name in plugins]
+ File "/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line
168, in namedObject
+ module = namedModule('.'.join(classSplit[:-1]))
+ File "/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line
154, in namedModule
+ topLevel = __import__(name)
+ File "/usr/lib/python2.7/dist-packages/landscape/sysinfo/processes.py",
line 3, in <module>
+ from landscape.lib.process import ProcessInformation
+ File "/usr/lib/python2.7/dist-packages/landscape/lib/process.py", line 10,
in <module>
+ from landscape.monitor.computeruptime import BootTimes, get_uptime
+ File
"/usr/lib/python2.7/dist-packages/landscape/monitor/computeruptime.py", line 7,
in <module>
+ from landscape.monitor.plugin import MonitorPlugin
+ File "/usr/lib/python2.7/dist-packages/landscape/monitor/plugin.py", line
7, in <module>
+ from landscape.broker.client import BrokerClientPlugin
+ File "/usr/lib/python2.7/dist-packages/landscape/broker/client.py", line 7,
in <module>
+ from landscape.amp import remote
+ File "/usr/lib/python2.7/dist-packages/landscape/amp.py", line 16, in
<module>
+ from landscape.lib.amp import (
+ File "/usr/lib/python2.7/dist-packages/landscape/lib/amp.py", line 53, in
<module>
+ from twisted.protocols.amp import (
+ File "/usr/lib/python2.7/dist-packages/twisted/protocols/amp.py", line 201,
in <module>
+ from twisted.internet import ssl
+ File "/usr/lib/python2.7/dist-packages/twisted/internet/ssl.py", line 223,
in <module>
+ from twisted.internet._sslverify import (
+ File "/usr/lib/python2.7/dist-packages/twisted/internet/_sslverify.py",
line 192, in <module>
+ verifyHostname, VerificationError = _selectVerifyImplementation(OpenSSL)
+ File "/usr/lib/python2.7/dist-packages/twisted/internet/_sslverify.py",
line 167, in _selectVerifyImplementation
+ from service_identity import VerificationError
+ File "/usr/lib/python2.7/dist-packages/service_identity/__init__.py", line
12, in <module>
+ from . import pyopenssl
+ File "/usr/lib/python2.7/dist-packages/service_identity/pyopenssl.py", line
14, in <module>
+ from ._common import (
+ File "/usr/lib/python2.7/dist-packages/service_identity/_common.py", line
136, in <module>
+ @attributes(["pattern"], apply_with_init=False)
TypeError: attributes() got an unexpected keyword argument 'apply_with_init'
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1492339
Title:
landscape-sysinfo breaks when I change the hostname
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1492339/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs