No, the "problem" is that the host is down, but in this case I don't
care. My definitions look like this:

   "phost" slist => { "192.168.58.133", "127.0.0.1" };

later on...

body copy_from umycopy(from)
{
  source => "${from}";
  compare => "digest";
  verify => "true";
  purge => "false";
  servers => { @{phost} };
  trustkey => "true";
}

I thought the behavior on this case would be to copy from the first
server that responds, which is the case, but I would like to eliminate
the error messages - I don't care why one of the servers doesn't
respond (for this particular case), as long as one of them responds.

Thanks for any help,
--Diego


On Tue, Jan 26, 2010 at 2:42 PM, Mark <m...@iu.hio.no> wrote:
> If you are getting no route to host then the problem is with your network.
>
>
> Mark
>
>
> On 26 Jan 2010, at 19:46, Diego Zamboni <di...@zzamboni.org> wrote:
>
>> Hi,
>>
>> In my update promises, I have multiple policy hosts defined – in my
>> particular test setup, if the remote server is not available, I
>> connect to localhost, where a server is also running (it’s all just
>> for testing for now).
>>
>> However, when the update runs, I still get the connection failure
>> messages for the host that is down, even though the update does
>> succeed from the second server. Is there a way to avoid these errors,
>> when one of the servers in the “servers” list of copy_from does
>> succeed? I am using cfengine 3.0.3 community edition.
>>
>> Thanks,
>> --Diego
>>
>>
>> # cf-agent -KI -f /var/cfengine/inputs/promises_transferencia.cf -b update
>>>>
>>>> Using command line specified bundlesequence
>>
>> No server is responding on this port
>> !!! System error for socket: "No route to host"
>> Unable to establish connection with 192.168.58.133
>> _______________________________________________
>> Help-cfengine mailing list
>> Help-cfengine@cfengine.org
>> https://cfengine.org/mailman/listinfo/help-cfengine
>
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to