Anything you can do in the UI you can also do in the using the API/CLI. To download the current installation log you can use the command
maas <profile> node-script-result download <system_id> current-installation Similarly you can do the same for commissioning or testing results maas <profile> node-script-result download <system_id> current-commissioning maas <profile> node-script-result download <system_id> current-testing For commissioning and testing results you may want to download a tar with all results instead of the text maas <profile> node-script-result download <system_id> current-testing filetype=tar.xz MAAS stores metadata about the result status as status, runtime, and when installation/commissioning/testing started maas <profile> node-script-result read <system_id> current-installation MAAS also stores historic results which can be viewed with maas <profile> node-script-results read <system_id> Hope that helps! Lee On Tue, Aug 8, 2017 at 7:29 PM, sachidananda sahu <[email protected]> wrote: > Yes Blake, the GUI provides only the node level events(Not at maas region > level and not overall about all the nodes), but is there any directory > where it is stored ? > > Jeff, you are right.This was my questions intention. > > It will be better to get the deployment log of each node in some specific > directory(may be in /etc/maas/logs/node* > > In addition to that it will be nice to have the logs or mantaining > statistics at overall maas level(Total no of node deployed, total no of > node failed in deployment , total no of node failed in specific event and > their cause etc) so that the user can get a overall idea about maas region > controller. > > On 09-Aug-2017 1:09 AM, "Jeffrey Lane" <[email protected]> wrote: > > I think the question is something like "is there a directory on the > MAAS Server Filesystem (like /var/log/maas/) where I can find text > file logs for each node OUTSIDE maas.log and the web UI". > > I had a similar thought in that it would be nice at least if the UI > would allow me to download a note's deployment logs, rather than > forcing me to copy/paste several hundred lines of text to a file. For > example, click on the "Deployment" tab and have a simple button at the > top of the output pane that says "Download Log" which would download > NODE_NAME-Deployment.log or whatever. It would also, for debugging > purposes, be nice to have those logs saved over time. For example, if > I am deploying a node 10 times in a row to test changes to > curtin_userdata, or to test the effects of various firmware settings > on deployments, as i have been today. It would be SUPER to be able to > go to a node specific directory, perhaps in /var/log/maas/, and be > able to see timestamped deployment logs for NODE_NAME so I can diff > them, or grep them all, or whatever I want en masse. > > On Tue, Aug 8, 2017 at 3:01 PM, Blake Rouse <[email protected]> > wrote: > > I am some what confused on the question you are asking, but what I > believe > > you are asking about is "node-events". "node-events" is exposed over the > API > > which provides all events that have occurred on a node (machine or > device) > > since it has been added to MAAS. > > > > The same events can also be seen in the GUI on the machine details page > on > > the "Events" tab. > > > > On Tue, Aug 8, 2017 at 7:17 AM, sachidananda sahu <[email protected]> > > wrote: > >> > >> Hi All, > >> > >> In case any compute node failed in deployment then we are able to see > only > >> in maas GUI and maas logs, so is there place or file, where all events, > >> statistics of different compute's data(failed in enlisting, failed in > >> deployment, power states and all details) so that we can have anoverall > idea > >> about the all the compute nodes undergone different problems. > >> > >> > >> > >> -- > >> Regards, > >> Sachidananda Sahu > >> +91-9035265767 > >> > >> -- > >> Maas-devel mailing list > >> [email protected] > >> Modify settings or unsubscribe at: > >> https://lists.ubuntu.com/mailman/listinfo/maas-devel > >> > > > > > > -- > > Maas-devel mailing list > > [email protected] > > Modify settings or unsubscribe at: > > https://lists.ubuntu.com/mailman/listinfo/maas-devel > > > > > > -- > "Entropy isn't what it used to be." > > Jeff Lane - > Server Certification Lead, Warrior Poet, Biker, Lover of Pie > Phone: 919-442-8649 > Ubuntu Ham: W4KDH Freenode IRC: bladernr or > bladernr_ > gpg: 1024D/3A14B2DD 8C88 B076 0DD7 B404 1417 C466 4ABD 3635 3A14 B2DD > > > > -- > Maas-devel mailing list > [email protected] > Modify settings or unsubscribe at: https://lists.ubuntu.com/ > mailman/listinfo/maas-devel > >
-- Maas-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/maas-devel
