On Tue, Dec 15, 2015 at 7:24 PM, Fabrice Bacchella
<fabrice.bacchella(a)orange.fr> wrote:
My setup is a mix of engine-setup and puppet.
The reasons that prevent the restart are not the real problem. It try to launch
'/bin/systemctl start httpd' and that fails, as expected.
The standard service httpd is unusable as the port 80 is already used by my custom apache
and I've done other tweaks, like setup up my own PKI. I don't expect it to start
in any way.
I just want to keep total control on Apache's configuration and to use the one done
by ovirt configuration as a template. So it should no try to restart it, just leave it
alone. I will manage that by myself.
This does not seem possible currently. It should be a simple patch to
add another env key for that. patches (in gerrit) or RFEs (in
bugzilla) are welcome :-)
If you want to patch, check [1]. Do not hesitate to ask questions.
[1] packaging/setup/plugins/ovirt-engine-common/ovirt-engine-common/system/apache.py
Best,
> Le 15 déc. 2015 à 18:12, Simone Tiraboschi <stirabos(a)redhat.com> a écrit :
>
> Hi Fabrice,
> can you please attach the setup logs?
>
> thanks,
> Simone
>
> On Tue, Dec 15, 2015 at 6:04 PM, Fabrice Bacchella
<fabrice.bacchella(a)orange.fr> wrote:
> I'm using a custom apache implementation, so `service httpd restart` fails on my
server.
>
> And so:
> engine-setup --config-append=${answers_file}
> fails with:
> ...
> [ INFO ] Restarting httpd
> [ ERROR ] Failed to execute stage 'Closing up': Failed to start service
'httpd'
>
> I could try to do OVESETUP_APACHE/httpdService="myapacheservice", but if
fails for not very good technical reasons (my fault this one).
OVESETUP_APACHE/httpdService=bool:False or OVESETUP_APACHE/enable=bool:False both fail
too.
>
> I try to find a way to prevent that in answer files, like :
OVESETUP_APACHE/needRestart=bool:False. But this does nothing, I think it's rewritten
latter.
>
> Is there a way to prevent apache management or restart in ovirt installer ?
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/users
>
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
--
Didi