
Hello, I am working on engine upgrade job. I have a slave with 'ip-10-82-253-208' hostname. This job fails on engine-setup [1] because of this hostname. Sandro, Alex can you take a look please ? [1] http://jenkins.ovirt.org/job/ovirt_engine_upgrade_stable_32_to_latest_32/las... - Kiril

----- Original Message -----
From: "Kiril Nesenko" <kiril@redhat.com> To: "Alex Lourie" <alourie@redhat.com>, "Sandro Bonazzola" <sbonazzo@redhat.com> Cc: "infra" <infra@ovirt.org> Sent: Tuesday, May 7, 2013 10:33:33 PM Subject: Engine Upgrade job
Hello, I am working on engine upgrade job. I have a slave with 'ip-10-82-253-208' hostname. This job fails on engine-setup [1] because of this hostname. Sandro, Alex can you take a look please ?
this is due to the following code: if not validateDomain(param,options): return False in engine-validators.py we can patch this out just for the upgrade job or change the regex that is being used.
[1] http://jenkins.ovirt.org/job/ovirt_engine_upgrade_stable_32_to_latest_32/las...
- Kiril _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra

On Tue, May 7, 2013 at 10:53 PM, Ohad Basan <obasan@redhat.com> wrote:
----- Original Message -----
From: "Kiril Nesenko" <kiril@redhat.com> To: "Alex Lourie" <alourie@redhat.com>, "Sandro Bonazzola" <sbonazzo@redhat.com> Cc: "infra" <infra@ovirt.org> Sent: Tuesday, May 7, 2013 10:33:33 PM Subject: Engine Upgrade job
Hello, I am working on engine upgrade job. I have a slave with 'ip-10-82-253-208' hostname. This job fails on engine-setup [1] because of this hostname. Sandro, Alex can you take a look please ?
this is due to the following code:
if not validateDomain(param,options): return False
in engine-validators.py we can patch this out just for the upgrade job or change the regex that is being used.
The failing job is actually the correct behavior. The provided FQDN parameter failed validation (as Ohad said). You can choose to ignore the validator by commenting out the code, but you'll have to do it in every job and for each test for each patch. The other way would be providing a real fqdn in answer file, which is much better solution.
[1]
http://jenkins.ovirt.org/job/ovirt_engine_upgrade_stable_32_to_latest_32/las...
- Kiril _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra

----- Original Message -----
From: "Alex Lourie" <alourie@redhat.com> To: "Ohad Basan" <obasan@redhat.com> Cc: "Sandro Bonazzola" <sbonazzo@redhat.com>, "Kiril Nesenko" <kiril@redhat.com>, "infra" <infra@ovirt.org> Sent: Wednesday, May 8, 2013 12:37:06 AM Subject: Re: Engine Upgrade job
On Tue, May 7, 2013 at 10:53 PM, Ohad Basan <obasan@redhat.com> wrote:
----- Original Message -----
From: "Kiril Nesenko" <kiril@redhat.com> To: "Alex Lourie" <alourie@redhat.com>, "Sandro Bonazzola" <sbonazzo@redhat.com> Cc: "infra" <infra@ovirt.org> Sent: Tuesday, May 7, 2013 10:33:33 PM Subject: Engine Upgrade job
Hello, I am working on engine upgrade job. I have a slave with 'ip-10-82-253-208' hostname. This job fails on engine-setup [1] because of this hostname. Sandro, Alex can you take a look please ?
this is due to the following code:
if not validateDomain(param,options): return False
in engine-validators.py we can patch this out just for the upgrade job or change the regex that is being used.
The failing job is actually the correct behavior. The provided FQDN parameter failed validation (as Ohad said).
You can choose to ignore the validator by commenting out the code, but you'll have to do it in every job and for each test for each patch.
The other way would be providing a real fqdn in answer file, which is much better solution.
Thanks Alex. Eyal, can we change the hostname of this slave to a real one ?
[1]
http://jenkins.ovirt.org/job/ovirt_engine_upgrade_stable_32_to_latest_32/las...
- Kiril _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra

go for it. ----- Original Message -----
From: "Kiril Nesenko" <kiril@redhat.com> To: "Alex Lourie" <alourie@redhat.com>, "Eyal Edri" <eedri@redhat.com> Cc: "Ohad Basan" <obasan@redhat.com>, "Sandro Bonazzola" <sbonazzo@redhat.com>, "infra" <infra@ovirt.org> Sent: Wednesday, May 8, 2013 2:35:16 PM Subject: Re: Engine Upgrade job
----- Original Message -----
From: "Alex Lourie" <alourie@redhat.com> To: "Ohad Basan" <obasan@redhat.com> Cc: "Sandro Bonazzola" <sbonazzo@redhat.com>, "Kiril Nesenko" <kiril@redhat.com>, "infra" <infra@ovirt.org> Sent: Wednesday, May 8, 2013 12:37:06 AM Subject: Re: Engine Upgrade job
On Tue, May 7, 2013 at 10:53 PM, Ohad Basan <obasan@redhat.com> wrote:
----- Original Message -----
From: "Kiril Nesenko" <kiril@redhat.com> To: "Alex Lourie" <alourie@redhat.com>, "Sandro Bonazzola" <sbonazzo@redhat.com> Cc: "infra" <infra@ovirt.org> Sent: Tuesday, May 7, 2013 10:33:33 PM Subject: Engine Upgrade job
Hello, I am working on engine upgrade job. I have a slave with 'ip-10-82-253-208' hostname. This job fails on engine-setup [1] because of this hostname. Sandro, Alex can you take a look please ?
this is due to the following code:
if not validateDomain(param,options): return False
in engine-validators.py we can patch this out just for the upgrade job or change the regex that is being used.
The failing job is actually the correct behavior. The provided FQDN parameter failed validation (as Ohad said).
You can choose to ignore the validator by commenting out the code, but you'll have to do it in every job and for each test for each patch.
The other way would be providing a real fqdn in answer file, which is much better solution.
Thanks Alex. Eyal, can we change the hostname of this slave to a real one ?
[1]
http://jenkins.ovirt.org/job/ovirt_engine_upgrade_stable_32_to_latest_32/las...
- Kiril _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra

----- Original Message -----
From: "Eyal Edri" <eedri@redhat.com> To: "Kiril Nesenko" <kiril@redhat.com> Cc: "Alex Lourie" <alourie@redhat.com>, "Sandro Bonazzola" <sbonazzo@redhat.com>, "infra" <infra@ovirt.org> Sent: Wednesday, May 8, 2013 2:37:16 PM Subject: Re: Engine Upgrade job
go for it.
I changed the hostname. But there is no A record for slaves ip. Alix, Sandro because we are talking about public servers, I think that there will be some issues with hostnames. Is there any workaround for this ? To pass this validation ? - Kiril
----- Original Message -----
From: "Kiril Nesenko" <kiril@redhat.com> To: "Alex Lourie" <alourie@redhat.com>, "Eyal Edri" <eedri@redhat.com> Cc: "Ohad Basan" <obasan@redhat.com>, "Sandro Bonazzola" <sbonazzo@redhat.com>, "infra" <infra@ovirt.org> Sent: Wednesday, May 8, 2013 2:35:16 PM Subject: Re: Engine Upgrade job
----- Original Message -----
From: "Alex Lourie" <alourie@redhat.com> To: "Ohad Basan" <obasan@redhat.com> Cc: "Sandro Bonazzola" <sbonazzo@redhat.com>, "Kiril Nesenko" <kiril@redhat.com>, "infra" <infra@ovirt.org> Sent: Wednesday, May 8, 2013 12:37:06 AM Subject: Re: Engine Upgrade job
On Tue, May 7, 2013 at 10:53 PM, Ohad Basan <obasan@redhat.com> wrote:
----- Original Message -----
From: "Kiril Nesenko" <kiril@redhat.com> To: "Alex Lourie" <alourie@redhat.com>, "Sandro Bonazzola" <sbonazzo@redhat.com> Cc: "infra" <infra@ovirt.org> Sent: Tuesday, May 7, 2013 10:33:33 PM Subject: Engine Upgrade job
Hello, I am working on engine upgrade job. I have a slave with 'ip-10-82-253-208' hostname. This job fails on engine-setup [1] because of this hostname. Sandro, Alex can you take a look please ?
this is due to the following code:
if not validateDomain(param,options): return False
in engine-validators.py we can patch this out just for the upgrade job or change the regex that is being used.
The failing job is actually the correct behavior. The provided FQDN parameter failed validation (as Ohad said).
You can choose to ignore the validator by commenting out the code, but you'll have to do it in every job and for each test for each patch.
The other way would be providing a real fqdn in answer file, which is much better solution.
Thanks Alex. Eyal, can we change the hostname of this slave to a real one ?
[1]
http://jenkins.ovirt.org/job/ovirt_engine_upgrade_stable_32_to_latest_32/las...
- Kiril _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra

You're using just ip-10-82-253-208 as fqdn. If you attach the domain it should validate: try using something like ip-10-82-253-208.your.domain.name if the DNS doesn't resolve the full domain name, add a line in /etc/hosts assigning the full domain name to the same IP address assigned to ip-10-82-253-208 Il 09/05/2013 10:00, Kiril Nesenko ha scritto:
----- Original Message -----
From: "Eyal Edri" <eedri@redhat.com> To: "Kiril Nesenko" <kiril@redhat.com> Cc: "Alex Lourie" <alourie@redhat.com>, "Sandro Bonazzola" <sbonazzo@redhat.com>, "infra" <infra@ovirt.org> Sent: Wednesday, May 8, 2013 2:37:16 PM Subject: Re: Engine Upgrade job
go for it. I changed the hostname. But there is no A record for slaves ip. Alix, Sandro because we are talking about public servers, I think that there will be some issues with hostnames. Is there any workaround for this ? To pass this validation ?
- Kiril
----- Original Message -----
From: "Kiril Nesenko" <kiril@redhat.com> To: "Alex Lourie" <alourie@redhat.com>, "Eyal Edri" <eedri@redhat.com> Cc: "Ohad Basan" <obasan@redhat.com>, "Sandro Bonazzola" <sbonazzo@redhat.com>, "infra" <infra@ovirt.org> Sent: Wednesday, May 8, 2013 2:35:16 PM Subject: Re: Engine Upgrade job
----- Original Message -----
From: "Alex Lourie" <alourie@redhat.com> To: "Ohad Basan" <obasan@redhat.com> Cc: "Sandro Bonazzola" <sbonazzo@redhat.com>, "Kiril Nesenko" <kiril@redhat.com>, "infra" <infra@ovirt.org> Sent: Wednesday, May 8, 2013 12:37:06 AM Subject: Re: Engine Upgrade job
On Tue, May 7, 2013 at 10:53 PM, Ohad Basan <obasan@redhat.com> wrote:
----- Original Message -----
From: "Kiril Nesenko" <kiril@redhat.com> To: "Alex Lourie" <alourie@redhat.com>, "Sandro Bonazzola" <sbonazzo@redhat.com> Cc: "infra" <infra@ovirt.org> Sent: Tuesday, May 7, 2013 10:33:33 PM Subject: Engine Upgrade job
Hello, I am working on engine upgrade job. I have a slave with 'ip-10-82-253-208' hostname. This job fails on engine-setup [1] because of this hostname. Sandro, Alex can you take a look please ?
this is due to the following code:
if not validateDomain(param,options): return False
in engine-validators.py we can patch this out just for the upgrade job or change the regex that is being used.
The failing job is actually the correct behavior. The provided FQDN parameter failed validation (as Ohad said).
You can choose to ignore the validator by commenting out the code, but you'll have to do it in every job and for each test for each patch.
The other way would be providing a real fqdn in answer file, which is much better solution. Thanks Alex. Eyal, can we change the hostname of this slave to a real one ?
[1]
http://jenkins.ovirt.org/job/ovirt_engine_upgrade_stable_32_to_latest_32/las...
- Kiril _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com

Issue solved ! Thanks . - Kiril ----- Original Message -----
From: "Sandro Bonazzola" <sbonazzo@redhat.com> To: "Kiril Nesenko" <kiril@redhat.com> Cc: "Alex Lourie" <alourie@redhat.com>, "infra" <infra@ovirt.org>, "Eyal Edri" <eedri@redhat.com> Sent: Thursday, May 9, 2013 11:05:27 AM Subject: Re: Engine Upgrade job
You're using just ip-10-82-253-208 as fqdn. If you attach the domain it should validate: try using something like ip-10-82-253-208.your.domain.name if the DNS doesn't resolve the full domain name, add a line in /etc/hosts assigning the full domain name to the same IP address assigned to ip-10-82-253-208
Il 09/05/2013 10:00, Kiril Nesenko ha scritto:
From: "Eyal Edri" <eedri@redhat.com> To: "Kiril Nesenko" <kiril@redhat.com> Cc: "Alex Lourie" <alourie@redhat.com>, "Sandro Bonazzola" <sbonazzo@redhat.com>, "infra" <infra@ovirt.org> Sent: Wednesday, May 8, 2013 2:37:16 PM Subject: Re: Engine Upgrade job
go for it. I changed the hostname. But there is no A record for slaves ip. Alix, Sandro because we are talking about public servers, I think that
----- Original Message ----- there will be some issues with hostnames. Is there any workaround for this ? To pass this validation ?
- Kiril
----- Original Message -----
From: "Kiril Nesenko" <kiril@redhat.com> To: "Alex Lourie" <alourie@redhat.com>, "Eyal Edri" <eedri@redhat.com> Cc: "Ohad Basan" <obasan@redhat.com>, "Sandro Bonazzola" <sbonazzo@redhat.com>, "infra" <infra@ovirt.org> Sent: Wednesday, May 8, 2013 2:35:16 PM Subject: Re: Engine Upgrade job
----- Original Message -----
From: "Alex Lourie" <alourie@redhat.com> To: "Ohad Basan" <obasan@redhat.com> Cc: "Sandro Bonazzola" <sbonazzo@redhat.com>, "Kiril Nesenko" <kiril@redhat.com>, "infra" <infra@ovirt.org> Sent: Wednesday, May 8, 2013 12:37:06 AM Subject: Re: Engine Upgrade job
On Tue, May 7, 2013 at 10:53 PM, Ohad Basan <obasan@redhat.com> wrote:
----- Original Message ----- > From: "Kiril Nesenko" <kiril@redhat.com> > To: "Alex Lourie" <alourie@redhat.com>, "Sandro Bonazzola" > <sbonazzo@redhat.com> > Cc: "infra" <infra@ovirt.org> > Sent: Tuesday, May 7, 2013 10:33:33 PM > Subject: Engine Upgrade job > > Hello, > I am working on engine upgrade job. I have a slave with > 'ip-10-82-253-208' > hostname. > This job fails on engine-setup [1] because of this hostname. > Sandro, Alex can > you take a look please ? > this is due to the following code:
if not validateDomain(param,options): return False
in engine-validators.py we can patch this out just for the upgrade job or change the regex that is being used.
The failing job is actually the correct behavior. The provided FQDN parameter failed validation (as Ohad said).
You can choose to ignore the validator by commenting out the code, but you'll have to do it in every job and for each test for each patch.
The other way would be providing a real fqdn in answer file, which is much better solution. Thanks Alex. Eyal, can we change the hostname of this slave to a real one ?
> > [1] > > http://jenkins.ovirt.org/job/ovirt_engine_upgrade_stable_32_to_latest_32/las... > > - Kiril > _______________________________________________ > Infra mailing list > Infra@ovirt.org > http://lists.ovirt.org/mailman/listinfo/infra > >
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com
participants (5)
-
Alex Lourie
-
Eyal Edri
-
Kiril Nesenko
-
Ohad Basan
-
Sandro Bonazzola