Hi there , Question related delete host in Foreman , Normally should foreman_proxy triggerd by foreman to delete host puppet ca ?
installation has unattended: true option . and sudoers file has foreman-proxy ALL = (root) NOPASSWD : /opt/puppetlabs/bin/puppet cert * Defaults:foreman-proxy !requiretty
Poornima joined the channel
or otherways can I send API call to smart proxy to delete host puppet ca ?
Poornima has quit
jsherrill_afk is now known as jsherrill
omaciel joined the channel
omaciel has quit
omaciel joined the channel
ping!
jcalla joined the channel
Alucard616
i still get errors when creating a new vm in vmware <NoPermission: Permission to perform this operation was denied.> (i did not get this messages before the update) + when using the remote-execution plugin: <Failed to initialize: Dynflow::ExecutionPlan::Steps::Error - The only applicable proxy ... is down>
inecas
Alucard616: what distro?
Alucard616
centos 7
inecas
Alucard616: is the smart_proyx_dynflow_core service running on your system?
Alucard616
inecas: sek
kpease joined the channel
inecas: yep
ichimonji10 joined the channel
inecas
Alucard616: what about smart-proxy service?
sry, foreman-proxy
gmccullo_ joined the channel
kpease_ joined the channel
Alucard616
inecas: it runs also (foreman-tasks, too)
gmccullough has quit
ikonia
is the provisioning task (especially for a compute resource) now a dynaflow task ?
aruzicka has quit
inecas
ikonia: nope
Alucard616: how many proxies do you have around?
kpease has quit
bryan_kearney1 has quit
Alucard616
inecas: none. i have only one server
Guest97951 has quit
kalinux
Hi there , Question related delete host in Foreman , Normally should foreman_proxy triggerd by foreman to delete host puppet ca ?
installation has unattended: true option . and sudoers file has foreman-proxy ALL = (root) NOPASSWD : /opt/puppetlabs/bin/puppet cert * Defaults:foreman-proxy !requiretty
or otherways can I send API call to smart proxy to delete host puppet ca ?
inecas
Alucard616: anything interesting in /var/log/foreman-proxy/smart_proxy_dynflow_core.log (I recommend restarting smart_proxy_dynflow_core service and watching the logs)
Alucard616: how about `curl -k --cert /etc/foreman-proxy/foreman_ssl_cert.pem --key /etc/foreman-proxy/foreman_ssl_key.pem https://localhost:8008/tasks/count`
Alucard616: how does your /etc/smart_proxy_dynflow_core/settings.yml looks like?
Alucard616: it seems like an issue with the service not listenign on 0.0.0.0
Alucard616: this is how the production setting file should look like
Alucard616
inecas: i'll test that, sec
inecas
Alucard616: you might need to update the foreman_url, the problem is, since installer was not used at the beginning, it's pretty hard for me to find where the issue with settings is
jmatthews joined the channel
nstrug has quit
Alucard616
inecas: i see. i didn't know, that i have to run the foreman-installer again, after an update to e.g. 1.13.x to 1.14.x
Raboo
i have come a cross what seems to be a bug. When i delete hosts, their DNS record remains. If I create a new host with the same name, it fails to overwrite. and the rollback also fails.
Create IPv4 DNS record for labb01.se-ix.delta.prod task failed with the following error: ERF12-2357 [ProxyAPI::ProxyException]: Unable to set DNS entry ([RestClient::Conflict]: 409 Conflict) for proxy http://foreman.se-ix.delta.prod:8443/dns
Failed to perform rollback on DHCP conflicts removal for labb01.se-ix.delta.prod - Must define a hostname