Hi,
Testing the latest release and I'm running into an issue when trying to
remove an invalid discovered host.
What I did:
I discovered a host and provisioned it.
During provisioning, I added a bond and tried to set that as primary
This failed and it may be because the primary interface cannot be
bonded yet. This has been an issue before and it may not be fully
solved yet.
I then tried to re-discover the host, but it fails after booting the
discovery image.
I then canceled the build and rebooted the machine
It still fails after booting the discovery image
Then I tried deleting the discovered host but got an error:
Oops, we're sorry but something went wrong undefined method
`progress_report_id' for #<Host::Discovered:0x00000004333c78>
I found this similar issue
(http://projects.theforeman.org/issues/15374) and implemented the
patches from github (https://github.com/theforeman/foreman/pull/3672).
So now I'm trying to delete it and get another error:
ERROR: update or delete on table "hosts" violates foreign key
constraint "host_status_hosts_host_id_fk" on table "host_status"
DETAIL: Key (id)=(4) is still referenced from table "host_status".
I managed to mess things up again and I try to avoid messing in the
database to remove it ;-)
Met vriendelijke groet, With kind regards,
Jorick Astrego
Netbulae Virtualization Experts
----------------
Tel: 053 20 30 270 [email protected] Staalsteden 4-3A
KvK 08198180
Fax: 053 20 30 271 www.netbulae.eu 7547 TA Enschede
BTW NL821234584B01
----------------
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.