<html><body><p><tt><font size="2">Matt Riedemann <mriedemos@gmail.com> wrote on 04/19/2018 06:11:58 PM:<br>> How loose are we with saying things like, "you should run this as root" <br>> in the docs?<br>> <br>> I was triaging this nova bug [1] which is saying that the docs should <br>> tell you to run nova-status (which implies also nova-manage) as root, <br>> but isn't running admin-level CLIs implied that you need root, or <br>> something with access to those commands (sudo)?<br>> <br>> I'm not sure how prescriptive we should be with stuff like this in the <br>> docs because if we did start saying this, I feel like we'd have to say <br>> it everywhere.<br>> <br>> [1] </font></tt><a href="https://bugs.launchpad.net/nova/+bug/1764530"><tt><font size="2">https://bugs.launchpad.net/nova/+bug/1764530</font></tt></a><br><br><tt><font size="2">Maybe instead of treating this as a docs bug, we should fix the command to return a nicer error when run as non-root. Presumably the caller has root access, but forgot they were logged in as something else or forgot sudo. Dumping that stack trace on them is more likely to confuse than anything.</font></tt><BR>
</body></html>