[Bug 1293990] Re: error: config file /etc/landscape/client.conf can't be read
** Changed in: landscape-client Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293990 Title: error: config file /etc/landscape/client.conf can't be read To manage notifications about this bug go to: https://bugs.launchpad.net/landscape-client/+bug/1293990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1293990] Re: error: config file /etc/landscape/client.conf can't be read
** Branch linked: lp:ubuntu/landscape-client -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293990 Title: error: config file /etc/landscape/client.conf can't be read To manage notifications about this bug go to: https://bugs.launchpad.net/landscape-client/+bug/1293990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1293990] Re: error: config file /etc/landscape/client.conf can't be read
This bug was fixed in the package landscape-client - 14.01-0ubuntu3 --- landscape-client (14.01-0ubuntu3) trusty; urgency=medium * landscape-sysinfo should ignore non existent or unreadable default config files. (LP: #1293990) -- Andreas HasenackFri, 28 Mar 2014 10:20:01 -0300 ** Changed in: landscape-client (Ubuntu Trusty) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293990 Title: error: config file /etc/landscape/client.conf can't be read To manage notifications about this bug go to: https://bugs.launchpad.net/landscape-client/+bug/1293990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1293990] Re: error: config file /etc/landscape/client.conf can't be read
Package uploaded to trusty-proposed: https://launchpad.net/ubuntu/trusty/+queue?queue_state=1&queue_text=landscape-c ** Also affects: landscape-client (Ubuntu Trusty) Importance: High Assignee: Andreas Hasenack (ahasenack) Status: In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293990 Title: error: config file /etc/landscape/client.conf can't be read To manage notifications about this bug go to: https://bugs.launchpad.net/landscape-client/+bug/1293990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1293990] Re: error: config file /etc/landscape/client.conf can't be read
** Changed in: landscape-client Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293990 Title: error: config file /etc/landscape/client.conf can't be read To manage notifications about this bug go to: https://bugs.launchpad.net/landscape-client/+bug/1293990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1293990] Re: error: config file /etc/landscape/client.conf can't be read
** Branch unlinked: lp:~adam-collard/landscape-client/sysinfo-config- different-to-client ** Branch linked: lp:~ack/landscape-client/sysinfo-config-different-to- client -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293990 Title: error: config file /etc/landscape/client.conf can't be read To manage notifications about this bug go to: https://bugs.launchpad.net/landscape-client/+bug/1293990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1293990] Re: error: config file /etc/landscape/client.conf can't be read
** Changed in: landscape-client Status: Fix Committed => In Progress ** Branch linked: lp:~adam-collard/landscape-client/sysinfo-config- different-to-client -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293990 Title: error: config file /etc/landscape/client.conf can't be read To manage notifications about this bug go to: https://bugs.launchpad.net/landscape-client/+bug/1293990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1293990] Re: error: config file /etc/landscape/client.conf can't be read
The fix needs to be slightly different. This is how 13.07.3 behaves: ubuntu@server-d3b53f12-ca66-486f-b82f-f87ff392df3c:~$ l /etc/landscape/ total 12K drwxr-xr-x 2 root root 4.0K Mar 25 13:55 . drwxr-xr-x 86 root root 4.0K Mar 25 13:53 .. -rw--- 1 landscape root 164 Mar 25 13:55 client.conf ubuntu@server-d3b53f12-ca66-486f-b82f-f87ff392df3c:~$ landscape-sysinfo System load: 1.07 Processes: 60 Usage of /: 8.8% of 9.84GB Users logged in: 1 Memory usage: 3% IP address for eth0: 10.55.32.37 Swap usage: 0% Graph this data and manage this system at: https://landscape.canonical.com/ ubuntu@server-d3b53f12-ca66-486f-b82f-f87ff392df3c:~$ landscape-sysinfo -c /etc/landscape/client.conf error: config file /etc/landscape/client.conf can't be read ubuntu@server-d3b53f12-ca66-486f-b82f-f87ff392df3c:~$ In summary, sysinfo in 14.01 should not complain if: a) the *default* config file does not exist b) the *default* config file is not readable It should complain if the file specified by -c: a) does not exist b) is not readable -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293990 Title: error: config file /etc/landscape/client.conf can't be read To manage notifications about this bug go to: https://bugs.launchpad.net/landscape-client/+bug/1293990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1293990] Re: error: config file /etc/landscape/client.conf can't be read
** Changed in: landscape-client (Ubuntu) Status: Confirmed => In Progress ** Changed in: landscape-client (Ubuntu) Assignee: (unassigned) => Andreas Hasenack (ahasenack) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293990 Title: error: config file /etc/landscape/client.conf can't be read To manage notifications about this bug go to: https://bugs.launchpad.net/landscape-client/+bug/1293990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1293990] Re: error: config file /etc/landscape/client.conf can't be read
This bug has been reported on the Ubuntu ISO testing tracker. A list of all reports related to this bug can be found here: http://iso.qa.ubuntu.com/qatracker/reports/bugs/1293990 ** Tags added: iso-testing -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293990 Title: error: config file /etc/landscape/client.conf can't be read To manage notifications about this bug go to: https://bugs.launchpad.net/landscape-client/+bug/1293990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1293990] Re: error: config file /etc/landscape/client.conf can't be read
** Changed in: landscape-client Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293990 Title: error: config file /etc/landscape/client.conf can't be read To manage notifications about this bug go to: https://bugs.launchpad.net/landscape-client/+bug/1293990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1293990] Re: error: config file /etc/landscape/client.conf can't be read
** Changed in: landscape-client Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293990 Title: error: config file /etc/landscape/client.conf can't be read To manage notifications about this bug go to: https://bugs.launchpad.net/landscape-client/+bug/1293990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1293990] Re: error: config file /etc/landscape/client.conf can't be read
** Tags added: squad-gamma -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293990 Title: error: config file /etc/landscape/client.conf can't be read To manage notifications about this bug go to: https://bugs.launchpad.net/landscape-client/+bug/1293990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1293990] Re: error: config file /etc/landscape/client.conf can't be read
** Branch linked: lp:~adam-collard/landscape-client/config-file-sysinfo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293990 Title: error: config file /etc/landscape/client.conf can't be read To manage notifications about this bug go to: https://bugs.launchpad.net/landscape-client/+bug/1293990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1293990] Re: error: config file /etc/landscape/client.conf can't be read
To clarify, both 13.07.3 and 14.01 present the same behavior if accept_nonexistent_config=True. It's just that 13.07.3 didn't need it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293990 Title: error: config file /etc/landscape/client.conf can't be read To manage notifications about this bug go to: https://bugs.launchpad.net/landscape-client/+bug/1293990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1293990] Re: error: config file /etc/landscape/client.conf can't be read
** Changed in: landscape-client Assignee: (unassigned) => Adam Collard (adam-collard) ** Changed in: landscape-client Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293990 Title: error: config file /etc/landscape/client.conf can't be read To manage notifications about this bug go to: https://bugs.launchpad.net/landscape-client/+bug/1293990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1293990] Re: error: config file /etc/landscape/client.conf can't be read
The problem with that fix is that it will silently ignore config files you give in the command line that don't exist: # l /etc/landscape/client.conf ls: cannot access /etc/landscape/client.conf: No such file or directory # landscape-sysinfo -c /foo/bar/does/not/exist (...) Users logged in: 1 => There is 1 zombie process. Graph this data and manage this system at: https://landscape.canonical.com/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293990 Title: error: config file /etc/landscape/client.conf can't be read To manage notifications about this bug go to: https://bugs.launchpad.net/landscape-client/+bug/1293990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1293990] Re: error: config file /etc/landscape/client.conf can't be read
This seems to fix it. Why it wasn't needed in 13.07.3 I don't know yet, could be related to the change from ConfigParser to ConfigObj. === modified file 'landscape/sysinfo/deployment.py' --- landscape/sysinfo/deployment.py revid:landscape-de...@lists.canonical.com-20140226145949-u3qs33zmsg52ka7k +++ landscape/sysinfo/deployment.py 2014-03-18 20:52:29 + @@ -100,7 +100,7 @@ if sysinfo is None: sysinfo = SysInfoPluginRegistry() config = SysInfoConfiguration() -config.load(args) +config.load(args, accept_nonexistent_config=True) for plugin in config.get_plugins(): sysinfo.add(plugin) I'll test this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293990 Title: error: config file /etc/landscape/client.conf can't be read To manage notifications about this bug go to: https://bugs.launchpad.net/landscape-client/+bug/1293990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1293990] Re: error: config file /etc/landscape/client.conf can't be read
landscape-common 13.07.3 doesn't exhibit this, and it also doesn't install /etc/landscape/client.conf -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293990 Title: error: config file /etc/landscape/client.conf can't be read To manage notifications about this bug go to: https://bugs.launchpad.net/landscape-client/+bug/1293990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1293990] Re: error: config file /etc/landscape/client.conf can't be read
** Tags removed: kanban -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293990 Title: error: config file /etc/landscape/client.conf can't be read To manage notifications about this bug go to: https://bugs.launchpad.net/landscape-client/+bug/1293990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1293990] Re: error: config file /etc/landscape/client.conf can't be read
** Changed in: landscape-client (Ubuntu) Status: New => Confirmed ** Also affects: landscape-client Importance: Undecided Status: New ** Changed in: landscape-client (Ubuntu) Importance: Undecided => High ** Changed in: landscape-client Milestone: None => 14.04 ** Changed in: landscape-client Status: New => Confirmed ** Tags added: kanban -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293990 Title: error: config file /etc/landscape/client.conf can't be read To manage notifications about this bug go to: https://bugs.launchpad.net/landscape-client/+bug/1293990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1293990] Re: error: config file /etc/landscape/client.conf can't be read
ok, after a second logon the motd sysinfo get also displayed on ssh. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293990 Title: error: config file /etc/landscape/client.conf can't be read To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1293990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1293990] Re: error: config file /etc/landscape/client.conf can't be read
But sysinfo get not displayed over remote shell (ssh) - like it was before :( -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293990 Title: error: config file /etc/landscape/client.conf can't be read To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1293990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1293990] Re: error: config file /etc/landscape/client.conf can't be read
touch /etc/landscape/client.conf fixed the error and the sysinfo get displayed. But I think, we should ask in the script, if the file exist or not. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293990 Title: error: config file /etc/landscape/client.conf can't be read To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1293990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1293990] Re: error: config file /etc/landscape/client.conf can't be read
running /usr/bin/landscape-sysinfo exit also with the error and the sysinfo get not displayed :( -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293990 Title: error: config file /etc/landscape/client.conf can't be read To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1293990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs