Bug 1401962 - otopi fails not nicely on python < 2.7
Summary: otopi fails not nicely on python < 2.7
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: otopi
Classification: oVirt
Component: Core
Version: ---
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ovirt-4.1.0-beta
: 1.6.0
Assignee: Yedidyah Bar David
QA Contact: Lucie Leistnerova
URL:
Whiteboard:
Depends On:
Blocks: 1379402
TreeView+ depends on / blocked
 
Reported: 2016-12-06 13:11 UTC by aygul
Modified: 2017-05-11 09:24 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-02-01 14:37:05 UTC
oVirt Team: Integration
Embargoed:
ylavi: ovirt-4.1+


Attachments (Terms of Use)
it is engine.log for ovirt (13.76 KB, text/plain)
2016-12-06 13:11 UTC, aygul
no flags Details
oVirt 3.6 errorfile (528.73 KB, text/plain)
2016-12-09 08:33 UTC, aygul
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 67916 0 master MERGED core: Require python 2.7 2016-12-07 09:07:17 UTC

Description aygul 2016-12-06 13:11:00 UTC
Created attachment 1228475 [details]
it is engine.log for ovirt

Description of problem:
Hi,

We can not add host from ovirt-engine.While we add host we had an error.I attached the error message.Setted up 7.2 Centos and 4.0 ovirt on this server.I m trying to add host which is had Red-Hat 6.7.


Version-Release number of selected component (if applicable):

oVirt 4.0

Steps to Reproduce:
1.İnstall CEntos 7.2
2.İnstall ovirt-engine onto Centos 7.2
3.Try to add host a running which had Red-Hat 6.7 via ovirt-engine

Actual results:
Red-hat 6.7 host have to add on oVirt 


Expected results:
it should be configure as a node on ovirt


Additional info:

Comment 1 Yaniv Kaul 2016-12-07 07:41:53 UTC
We do not support EL 6.x hosts in oVirt 4.0. The only question is if the failure is understood from the error messages or not. It does indeed seem like we fail badly.

Comment 2 Yedidyah Bar David 2016-12-07 07:52:46 UTC
The failure is due to recent otopi relying on python >= 2.7. Since we knew we do not need to support 2.6 anymore, we allowed ourselves to use 2.7 syntax. But we didn't fix the code to fail nicely.

Comment 3 aygul 2016-12-07 08:23:37 UTC
Thanks for answer Yedidyah,

Which ovirt version support EL 6.x or not?

if not support ,can you update your web page because we waste our time :(

Thanks,

Best Regards.

Comment 4 Yedidyah Bar David 2016-12-07 09:11:41 UTC
(In reply to aygul from comment #3)
> Thanks for answer Yedidyah,
> 
> Which ovirt version support EL 6.x or not?

4.0 supports only el7. Please check the release notes [1]. Where did you see otherwise?

[1] http://www.ovirt.org/release/4.0.0/

> 
> if not support ,can you update your web page because we waste our time :(
> 
> Thanks,

Thanks for the bug report!

Comment 5 Yedidyah Bar David 2016-12-07 09:13:40 UTC
Patch merged to master, moving to MODIFIED.

With this, trying to install a centos6 host emits this event:

Failed to install Host h1. Python version 2.6 is too old, expecting at least 2.7.

Sandro - is it enough? Also please flag etc. if we want this in 4.0. Thanks.

Comment 6 aygul 2016-12-07 09:15:54 UTC
"4.0 supports only el7. Please check the release notes [1]. Where did you see otherwise"

Okay but my question is different.I asked;

"Which ovirt version support EL 6.x or not?"

Thanks,

Best Regards.

Comment 7 Yedidyah Bar David 2016-12-07 10:28:19 UTC
(In reply to aygul from comment #6)
> "4.0 supports only el7. Please check the release notes [1]. Where did you
> see otherwise"
> 
> Okay but my question is different.I asked;
> 
> "Which ovirt version support EL 6.x or not?"

This depends on definition of "support".

oVirt 4.0 only ships packages for el7 hosts.
It can still manage existing el6 hosts with 3.6 packages, in 3.6-compatibility mode. I do not think you can add new 3.6/el6 hosts, not sure, didn't check.

oVirt 3.6 was the last version fully supporting el6.

Comment 8 aygul 2016-12-07 13:15:58 UTC
Thanks for answering.I will try to use 3.6 and i hope it can help me for adding 6.7 hosts.

Thanks,

Best Regards.

Comment 9 aygul 2016-12-09 08:33:31 UTC
Created attachment 1229882 [details]
oVirt 3.6 errorfile

Comment 10 aygul 2016-12-09 08:33:59 UTC
Hi Yedidyah,

I tryed to use oVirt 3.6 and try to add el 6.7 host.But i had different error.I attached the engine.logs.Can you help me? or if you want i can create a new bug or we can continue here.

Thanks,

Best Regards.

Comment 11 Sandro Bonazzola 2016-12-11 06:00:46 UTC
Please backport to 4.0.7 as well. In 4.0 we already dropped compatibility with versions older than 3.6 so no el6 hosts can be handled there too.
There's no support for 3.6/el6 hosts, 3.6 already was el7 hosts only.

Comment 12 Yedidyah Bar David 2016-12-11 07:37:07 UTC
(In reply to aygul from comment #10)
> Hi Yedidyah,
> 
> I tryed to use oVirt 3.6 and try to add el 6.7 host.But i had different
> error.I attached the engine.logs.Can you help me? or if you want i can
> create a new bug or we can continue here.

General support for oVirt is on:

http://www.ovirt.org/community/

Bugzilla is for bugs. If you found a bug (didn't check logs yet, I am on a train), please open a new one. Thanks!

Comment 13 aygul 2016-12-12 13:27:07 UTC
Hi Yedidyah,


I opened new bug before 3 days.The bug number is "Bug 1403219"

Thanks,

Best Regards.

Comment 14 Lucie Leistnerova 2017-01-30 11:40:31 UTC
adding RHEL 6.8 host to engine 4.1 returns error 'Python version 2.6 is too old, expecting at least 2.7.'

verified in ovirt-engine-4.1.0.2-0.1.el7.noarch with otopi-1.6.0-1.el7ev.noarch


Note You need to log in before you can comment on or make changes to this bug.