Public bug reported: previously, 'maas-cli MAASNAME nodes list' would produce json formated output to stdout. Now, it produces invalid json. This is because its writing a deprecation warning to stdout that should go to stderr.
$ maas-cli list 2>/dev/null WARNING: The maas-cli command is deprecated and will be removed in a future version. From now on please use 'maas' instead. admin http://localhost/MAAS/api/1.0/ NyLhcdfTbR926dqG5g:mVrUNqFvjnV9xg8F7a:K8FCtSLgkVDERxDjU2J6z8QvNzMjBSTS smoser http://localhost/MAAS/api/1.0/ uwWpQxVC2qq59tvGJU:HXCNAJxu6SH7KUuvwt:kWn2rTf5c6AsZDQSzP54R5cF4CMYGcuP That is fixed with: maas-cli admin nodes list | sed '1d; 2d' | python -c 'import json, sys; json.load(sys.stdin)' essentially your deprecation warning caused a regression. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: maas-cli 1.5+bzr1951-0ubuntu1 ProcVersionSignature: Ubuntu 3.13.0-8.28-generic 3.13.2 Uname: Linux 3.13.0-8-generic x86_64 ApportVersion: 2.13.2-0ubuntu5 Architecture: amd64 Date: Wed Feb 19 18:46:16 2014 PackageArchitecture: all SourcePackage: maas UpgradeStatus: Upgraded to trusty on 2013-05-22 (273 days ago) ** Affects: maas (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug trusty -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1282218 Title: maas-cli stdout is not json formated To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1282218/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs