After changing the NIC name within Windows from "Ethernet 2" to "eth0" it's
working.
I would consider this a workaround, but not a final solution because in
windows usually the interfaces are being named according to their purpose.
Am Mittwoch, 22. Juni 2016 16:52:58 UTC+2 schrieb Robert K:
>
> Obviously the log is too long to work inline. I've attached the log itself.
>
>
> Am Mittwoch, 22. Juni 2016 16:50:50 UTC+2 schrieb Robert K:
>>
>> Hi Greg,
>>
>> all other hosts, roughly ~330, are working fine and the new vm is the
>> only one, not being duplicated.
>> I've looked into the debug logfiles, like you recommended and found the
>> following exception:
>>
>> | Started POST "/api/hosts/facts" for 172.29.46.129 at 2016-06-22 16:40:
>> 48 +0200
>> 2016-06-22 16:40:48 [app] [I] Processing by Api::V2::HostsController#facts
>> as JSON
>> 2016-06-22 16:40:48 [app] [I] Parameters: {"facts"=>"[FILTERED]",
>> "name"=>"WIN-I8LJ0IKEFMM", "certname"=>"win-i8lj0ikefmm", "apiv"=>"v2", :
>> host=>{"name"=>"WIN-I8LJ0IKEFMM", "certname"=>"win-i8lj0ikefmm"}}
>> 2016-06-22 16:40:48 [app] [D] Setting current organization thread-local
>> variable to none
>> 2016-06-22 16:40:48 [app] [D] Verifying request from [
>> "puppet-master-7005-01.internal.domain"] against [
>> "puppet-master-7001-02.internal.domain",
>> "puppet-master-7001-03.internal.domain",
>> "puppet-master-7001-04.internal.domain",
>> "puppet-master-7002-02.internal.domain",
>> "puppet-master-7003-02.internal.domain",
>> "puppet-master-7003-03.internal.domain",
>> "puppet-master-7004-02.internal.domain",
>> "puppet-master-7005-01.internal.domain",
>> "zed-lcfgm-7006-03.internal.domain",
>> "puppet-master-7006-04.internal.domain"]
>> 2016-06-22 16:40:48 [app] [D] Setting current user thread-local variable
>> to foreman_api_admin
>> 2016-06-22 16:40:48 [app] [D] Merging facts for 'win-i8lj0ikefmm':
>> deleted 0 facts
>> 2016-06-22 16:40:48 [app] [D] Merging facts for 'win-i8lj0ikefmm': added
>> 0 facts
>> 2016-06-22 16:40:48 [app] [D] Merging facts for 'win-i8lj0ikefmm':
>> updated 7 facts
>> 2016-06-22 16:40:48 [app] [I] Import facts for 'win-i8lj0ikefmm'
>> completed. Added: 0, Updated: 7, Deleted 0 facts
>> 2016-06-22 16:40:48 [app] [D] We have following interfaces 'ethernet_2'
>> based on facts
>> 2016-06-22 16:40:48 [app] [D] Interface ethernet_2 facts: {"ipaddress"=>
>> "192.168.250.71", "macaddress"=>"DA:22:D3:73:F3:7F", "netmask"=>
>> "255.255.255.224", "mtu"=>"0", "network"=>"192.168.250.64"}
>> 2016-06-22 16:40:48 [app] [W] Action failed
>> | ActiveRecord::RecordInvalid: Validation failed: Identifier Can't add
>> or remove `.` from identifier
>> |
>> /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/validations.rb:56:in
>>
>> `save!'
>> | /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/
>> active_record/attribute_methods/dirty.rb:33:in `save!'
>> |
>> /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/transactions.rb:246:in
>>
>> `block in save!'
>> |
>> /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/transactions.rb:295:in
>>
>> `block in with_transaction_returning_status'
>> | /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/
>> active_record/connection_adapters/abstract/database_statements.rb:192:in
>> `transaction'
>> |
>> /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in
>>
>> `transaction'
>> |
>> /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/transactions.rb:293:in
>>
>> `with_transaction_returning_status'
>> | /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/
>> active_record/transactions.rb:246:in `save!'
>> | /usr/share/foreman/app/models/host/base.rb:168:in `<span
>> style="color: #0
>>
>
--
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.