Installer fails on Re-Installation

Hi All,

I have installed the latest installer and trying to perform a re-install
but encounter an error:

/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[fm-01.domain.local]/ensure:
change from absent to present failed: Could not set 'present on ensure: 422
Unprocessable Entity at
/usr/share/foreman-installer/modules/foreman_proxy/manifests/register.pp:12

Is this known or is there something else wrong ?

Thanks!

Matt

Hello,

this usually indicates that there is already smart-proxy registered with
another name than "fm-01.domain.local" but having the URL in the form of
"https://fm-01.domain.local:8443".

To fix this error, rename it to "fm-01.domain.local" and this
registration step will be skipped then.

LZ

··· On Wed, Nov 20, 2013 at 02:39:48AM -0800, yamakasi.014@gmail.com wrote: > Hi All, > > I have installed the latest installer and trying to perform a re-install > but encounter an error: > > /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[fm-01.domain.local]/ensure: > change from absent to present failed: Could not set 'present on ensure: 422 > Unprocessable Entity at > /usr/share/foreman-installer/modules/foreman_proxy/manifests/register.pp:12 > > Is this known or is there something else wrong ? > > Thanks! > > Matt > > > -- > You received this message because you are subscribed to the Google Groups "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/groups/opt_out.


Later,

Lukas “lzap” Zapletal
irc: lzap #theforeman

Hi,

Yes thanks that was it indeed, I changed that name to something more
"clean".

Cheers,

Matt

··· Op woensdag 20 november 2013 12:57:20 UTC+1 schreef Lukas Zapletal: > > Hello, > > this usually indicates that there is already smart-proxy registered with > another name than "fm-01.domain.local" but having the URL in the form of > "https://fm-01.domain.local:8443". > > To fix this error, rename it to "fm-01.domain.local" and this > registration step will be skipped then. > > LZ > > On Wed, Nov 20, 2013 at 02:39:48AM -0800, yamaka...@gmail.comwrote: > > Hi All, > > > > I have installed the latest installer and trying to perform a re-install > > but encounter an error: > > > > > /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[fm-01.domain.local]/ensure: > > > change from absent to present failed: Could not set 'present on ensure: > 422 > > Unprocessable Entity at > > > /usr/share/foreman-installer/modules/foreman_proxy/manifests/register.pp:12 > > > > Is this known or is there something else wrong ? > > > > Thanks! > > > > Matt > > > > > > -- > > You received this message because you are subscribed to the Google > Groups "Foreman users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to foreman-user...@googlegroups.com . > > To post to this group, send email to forema...@googlegroups.com. > > > Visit this group at http://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/groups/opt_out. > > -- > Later, > > Lukas "lzap" Zapletal > irc: lzap #theforeman >

Note there is another workaround available which I have documented here:

http://projects.theforeman.org/projects/foreman/wiki/Troubleshooting#Unprocessable-Entity-error-during-installation

LZ

··· -- Later,

Lukas “lzap” Zapletal
irc: lzap #theforeman