Actions
Bug #7297
closedVirsh error handlers throw "uninitialized constant Proxy::DNS" error
Description
When a virsh update fails, the error handlers in lib/proxy/virsh.rb throw an uninitialized constant error themselves:
D, [2014-08-29T11:12:17.142706 #24336] DEBUG -- : /usr/bin/sudo /usr/bin/virsh net-update default add-last dns-host --xml '<host ip="192.168.122.112"><hostname>pdb2.example.com</hostname></host>' --live --config 2>&1 E, [2014-08-29T11:12:17.195826 #24336] ERROR -- : uninitialized constant Proxy::DNS D, [2014-08-29T11:12:17.195996 #24336] DEBUG -- : /home/dcleal/code/foreman/smart-proxy/lib/proxy/virsh.rb:54:in `rescue in virsh_update_dns' /home/dcleal/code/foreman/smart-proxy/lib/proxy/virsh.rb:47:in `virsh_update_dns' /home/dcleal/code/foreman/smart-proxy/modules/dns/providers/virsh.rb:17:in `create' /home/dcleal/code/foreman/smart-proxy/modules/dns/dns_api.rb:47:in `block in <class:Api>'
Actions