Project

General

Profile

Actions

Bug #1765

closed

Changing IP on managed host remove DNS A record

Added by Romain Vrignaud almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
DNS
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I loose my DNS A record when I change IP on managed host.

See logs:
Started POST "/hosts/testromain1.example.com" for 192.168.200.117 at Wed Jul 18 13:39:12 +0200 2012
Processing by HostsController#update as
Parameters: {"capabilities"=>"build", "authenticity_token"=>"gfF89D3ohhPL1XbmeVSth6RtFKBGHakV3Jahm92P/Tw=", "utf8"=>"✓", "id"=>"testromain1.example.com", "host"=>{"name"=>"testromain1", "managed"=>"1", "subnet_id"=>"2", "architecture_id"=>"1", "comment"=>"", "compute_attributes"=>{"nics_attributes"=>{"new_nics"=>{"_delete"=>"", "bridge"=>"breth0"}, "0"=>{"_delete"=>"", "id"=>"70368579529060", "bridge"=>"breth0"}}, "volumes_attributes"=>{"new_volumes"=>{"_delete"=>"", "pool_name"=>"default", "format_type"=>"raw", "capacity"=>"10G"}, "0"=>{"_delete"=>"", "pool_name"=>"default", "id"=>"/var/lib/libvirt/images/testromain1.example.com-disk1", "format_type"=>"raw", "capacity"=>"10"}}}, "sp_mac"=>"", "provision_method"=>"build", "overwrite"=>"true", "puppet_proxy_id"=>"2", "puppet_ca_proxy_id"=>"2", "mac"=>"52:54:00:a5:fe:30", "domain_id"=>"4", "sp_name"=>"", "hostgroup_id"=>"5", "medium_id"=>"6", "root_pass"=>"[FILTERED]", "enabled"=>"1", "ptable_id"=>"6", "is_owned_by"=>"9-Users", "environment_id"=>"2", "progress_report_id"=>"[FILTERED]", "ip"=>"192.168.200.195", "sp_subnet_id"=>"", "puppetclass_ids"=>[""], "sp_ip"=>"", "disk"=>"", "operatingsystem_id"=>"2"}}
DHCP record testromain1.example.com-52:54:00:a5:fe:30/192.168.200.44 already exists
Delete the DNS A record for testromain1.example.com/192.168.200.44
Delete DHCP reservation for testromain1.example.com-52:54:00:a5:fe:30/192.168.200.44
Delete DHCP reservation for testromain1.example.com-52:54:00:a5:fe:30/192.168.200.44
Add DNS A record for testromain1.example.com/192.168.200.195
Add DNS PTR record for 192.168.200.195/testromain1.example.com
Delete the DNS PTR record for 192.168.200.44/testromain1.example.com
Delete the DNS A record for testromain1.example.com/192.168.200.44
Create DHCP reservation for testromain1.example.com-52:54:00:a5:fe:30/192.168.200.195
Completed 200 OK in 17395ms (Views: 0.3ms | ActiveRecord: 17.5ms)

Actions #1

Updated by Ohad Levy almost 12 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF