engine: the link to host-deploy log is wrong

Hi, I'm not sure if I'm right or wrong so before filing a bug let me know if I don't miss anything - I think the audit log on fail deploy that says the path for the deploy log is wrong. few times I already faced that it points to somewhere under /tmp/ovirt-host-deploy... but the log is actually under /var/log/ovirt-engine/host-deploy/... -- *Yaniv Bronhaim.*

On Sun, Jan 1, 2017 at 5:59 PM, Yaniv Bronheim <ybronhei@redhat.com> wrote:
Hi, I'm not sure if I'm right or wrong so before filing a bug let me know if I don't miss anything - I think the audit log on fail deploy that says the path for the deploy log is wrong. few times I already faced that it points to somewhere under /tmp/ovirt-host-deploy... but the log is actually under /var/log/ovirt-engine/host-deploy/..
I'm not a maintainer of host-deploy but I can say for sure the logs are under /var/log/ovirt-engine/host-deploy as its being collected by OST as well. Sounds like a bug, but worth if you can paste here example of the wrong path and which log it shows on...
-- *Yaniv Bronhaim.*
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
-- Eyal Edri Associate Manager RHV DevOps EMEA ENG Virtualization R&D Red Hat Israel phone: +972-9-7692018 irc: eedri (on #tlv #rhev-dev #rhev-integ)

On Sun, Jan 1, 2017 at 4:59 PM, Yaniv Bronheim <ybronhei@redhat.com> wrote:
Hi, I'm not sure if I'm right or wrong so before filing a bug let me know if I don't miss anything - I think the audit log on fail deploy that says the path for the deploy log is wrong. few times I already faced that it points to somewhere under /tmp/ovirt-host-deploy... but the log is actually under /var/log/ovirt-engine/host-deploy/...
While running on the host, the logs are written in /tmp/.... At the end of the execution of ovirt-host-deploy, the logs are copied over ssh to the engine host and saved under /var/log/ovirt-engine/host-deploy/ So in ovirt-host-deploy output during its execution you should see saving logs in /tmp and at its end you should see a ssh copy back to the engine.
-- *Yaniv Bronhaim.*
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com

the report in the audit log is miss leading. I used to find on failures the logs under /tmp - but in recent versions it usually copied to /var/log already when the log says to find it under /tmp/ On Mon, Jan 2, 2017 at 10:53 AM, Sandro Bonazzola <sbonazzo@redhat.com> wrote:
On Sun, Jan 1, 2017 at 4:59 PM, Yaniv Bronheim <ybronhei@redhat.com> wrote:
Hi, I'm not sure if I'm right or wrong so before filing a bug let me know if I don't miss anything - I think the audit log on fail deploy that says the path for the deploy log is wrong. few times I already faced that it points to somewhere under /tmp/ovirt-host-deploy... but the log is actually under /var/log/ovirt-engine/host-deploy/...
While running on the host, the logs are written in /tmp/.... At the end of the execution of ovirt-host-deploy, the logs are copied over ssh to the engine host and saved under /var/log/ovirt-engine/host-deploy/ So in ovirt-host-deploy output during its execution you should see saving logs in /tmp and at its end you should see a ssh copy back to the engine.
-- *Yaniv Bronhaim.*
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com
-- *Yaniv Bronhaim.*

On Mon, Jan 2, 2017 at 10:48 AM, Yaniv Bronheim <ybronhei@redhat.com> wrote:
the report in the audit log is miss leading. I used to find on failures the logs under /tmp - but in recent versions it usually copied to /var/log already when the log says to find it under /tmp/
Not sure how the audit log is composed, maybe someone from infra can help here.
On Mon, Jan 2, 2017 at 10:53 AM, Sandro Bonazzola <sbonazzo@redhat.com> wrote:
On Sun, Jan 1, 2017 at 4:59 PM, Yaniv Bronheim <ybronhei@redhat.com> wrote:
Hi, I'm not sure if I'm right or wrong so before filing a bug let me know if I don't miss anything - I think the audit log on fail deploy that says the path for the deploy log is wrong. few times I already faced that it points to somewhere under /tmp/ovirt-host-deploy... but the log is actually under /var/log/ovirt-engine/host-deploy/...
While running on the host, the logs are written in /tmp/.... At the end of the execution of ovirt-host-deploy, the logs are copied over ssh to the engine host and saved under /var/log/ovirt-engine/host-deploy/ So in ovirt-host-deploy output during its execution you should see saving logs in /tmp and at its end you should see a ssh copy back to the engine.
-- *Yaniv Bronhaim.*
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com
-- *Yaniv Bronhaim.*
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com
participants (3)
-
Eyal Edri
-
Sandro Bonazzola
-
Yaniv Bronheim