[Bug 1287373] Re: cli 'nodes list-allocated' does not list all nodes allocated
Scott Moser
smoser at ubuntu.com
Mon Mar 3 22:01:32 UTC 2014
** Description changed:
$ maas cts nodes list-allocated > allocated.json
$ maas cts nodes list > all.json
$ ./shownodes.py all.json | grep smoser
carroll smoser 6 node-147ddcba-a0b0-11e3-8c08-5254002f0d0f
sprite smoser 6 node-62ef92b2-a0b0-11e3-a800-5254002f0d0f
- $ ./shownodes.py allocated.json
+ $ ./shownodes.py allocated.json
sprite smoser 6 node-62ef92b2-a0b0-11e3-a800-5254002f0d0f
+ $ cat shownodes.py
+ #!/usr/bin/python
+ import json, sys
+ data = json.load(open(sys.argv[1], "r"))
+ for node in data:
+ print '\t'.join(str(f) for f in [
+ node.get('hostname').split(".")[0],
+ node.get('owner'),
+ node.get('status'),
+ node.get('system_id'),
+ ])
- Why is carroll not shown in list-allocated output? It is allocated to
- my user per 'list'.
+
+ Why is carroll not shown in list-allocated output? It is allocated to my user per 'list'.
$ dpkg-query --show maas-cli
maas-cli 1.5+bzr1977-0ubuntu2
Thats the client version, the server is:
maas 1.4+bzr1693+dfsg-0ubuntu2.2~ctools0
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: maas-cli 1.5+bzr1977-0ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-8.27-generic 3.13.2
Uname: Linux 3.13.0-8-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Mar 3 15:12:09 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2011-10-19 (866 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
PackageArchitecture: all
SourcePackage: maas
UpgradeStatus: Upgraded to trusty on 2013-05-20 (287 days ago)
--
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/1287373
Title:
cli 'nodes list-allocated' does not list all nodes allocated
To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1287373/+subscriptions
More information about the Ubuntu-server-bugs
mailing list