Comment 3 for bug 1715338

Revision history for this message
Aydin Doyak (aydintd) wrote :

We were thinking about using these below commands for collecting MAAS data from customers for support purposes in case of any need:

1. To get information about MAAS network diagnostics, MAAS' cluster configuration, bootable images and their metadata information :

sudo maas-rack support-dump > maas-support.dump

I did not come across any problems while running above command.

2. To get MAAS database dump and/or it's tables dump in particular in JSON format for investigation :

sudo maas-region dumpdata > `hostname -f`-maas-db-dump.json (to get full dump)

or

sudo maas-region dumpdata metadataserver.nodeuserdata > file.json (to get a spesific table's dump in JSON format)

which fails when trying to get a db dump in JSON format if MAAS deploys a node for Juju. Error message is present in the bug description. This prevents us to collect dump data from MAAS if it's used for deploying a node via juju.