Opsi installation auf RHEL 7.2 mit Python 2.7

Antworten
rburghardt
Beiträge: 6
Registriert: 18 Nov 2014, 09:23

Opsi installation auf RHEL 7.2 mit Python 2.7

Beitrag von rburghardt »

Hallo Zusammen,

ich wollte einen neuen Opsi Server auf einem frischen RHEL 7.2 installieren. Komm da aber nicht weiter da von den Opsi Paketen ein Python 2.6 erwartet wird, auf dem RHEL aber ein Python 2.7 drauf ist. Konnte auch keine alternativen Python 2.6 Pakete für RHEL 7.2 finden.

Hat jemand eine Idee wie ich es sinnvoll lösen kann?

Vielen Dank im Voraus.

Gruß
René
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Opsi installation auf RHEL 7.2 mit Python 2.7

Beitrag von n.wenselowski »

Hi René,

welches Repo setzt du ein und welchen Fehler meldet er genau?

Ich glaube wir hatten sowas schon mal bei irgendeinem RPM-System und haben dafür hässliche Workarounds gebaut :?


Gruß

Niko

Code: Alles auswählen

import OPSI
rburghardt
Beiträge: 6
Registriert: 18 Nov 2014, 09:23

Re: Opsi installation auf RHEL 7.2 mit Python 2.7

Beitrag von rburghardt »

Hi Niko,

Wir nutzen dieses Repo hier: http://download.opensuse.org/repositori ... 40/RHEL_7/

Wir haben dabei einen Satellite von RedHat dazwischen. Hier der Yum output:

Code: Alles auswählen

[root@opsi ~]$ yum  install opsi-depotserver.noarch
Loaded plugins: aliases, changelog, product-id, protectbase, rhnplugin, search-disabled-repos, subscription-manager, verify, versionlock
This system is receiving updates from RHN Classic or Red Hat Satellite.
rsi-prod-rhel-x86_64-server-7.2.z                                                                                                                                                    | 1.3 kB  00:00:00
rsi-prod-rhel-x86_64-server-optional-7.2.z                                                                                                                                           | 1.3 kB  00:00:00
rsi-prod-rhel-x86_64-server-rh-common-7.2.z                                                                                                                                          | 1.3 kB  00:00:00
rsi-prod-rhel-x86_64-server-supplementary-7.2.z                                                                                                                                      | 1.5 kB  00:00:00
rsi-prod-rhn-tools-rhel-x86_64-server-7.2.z                                                                                                                                          | 1.3 kB  00:00:00
rsi-prod-rsi-bareos-production-el7.2.z-x86_64                                                                                                                                        |  871 B  00:00:00
rsi-prod-rsi-base-production-x86_64-7.2.z                                                                                                                                            |  871 B  00:00:00
rsi-prod-rsi-epel-production-el7.2.z-x86_64                                                                                                                                          | 1.0 kB  00:00:00
rsi-prod-rsi-opsi4-production-x86_64-7.2.z                                                                                                                                           |  871 B  00:00:00
rsi-prod-rsi-percona-production-el7.2.z-x86_64                                                                                                                                       |  871 B  00:00:00
rsi-prod-rsi-percona-production-rhel7-noarch-el7.2.z-x86_64                                                                                                                          |  871 B  00:00:00
rsi-prod-sernet-samba44-x86_64-7.2                                                                                                                                                   |  871 B  00:00:00
0 packages excluded due to repository protections
Resolving Dependencies
--> Running transaction check
---> Package opsi-depotserver.noarch 0:4.0.6.7-1.1 will be installed
--> Processing Dependency: python-opsi >= 4.0.6.35 for package: opsi-depotserver-4.0.6.7-1.1.noarch
--> Processing Dependency: opsi-utils >= 4.0 for package: opsi-depotserver-4.0.6.7-1.1.noarch
--> Processing Dependency: opsipxeconfd >= 4.0 for package: opsi-depotserver-4.0.6.7-1.1.noarch
--> Processing Dependency: opsi-linux-bootimage >= 20090927 for package: opsi-depotserver-4.0.6.7-1.1.noarch
--> Processing Dependency: opsiconfd >= 4.0.1 for package: opsi-depotserver-4.0.6.7-1.1.noarch
--> Processing Dependency: opsi-atftp for package: opsi-depotserver-4.0.6.7-1.1.noarch
--> Running transaction check
---> Package opsi-atftp.x86_64 0:0.7.dfsg-12.1 will be installed
---> Package opsi-linux-bootimage.noarch 0:20160322-1.1 will be installed
---> Package opsi-utils.noarch 0:4.0.6.10-1.1 will be installed
---> Package opsiconfd.noarch 0:4.0.6.13-2.1 will be installed
--> Processing Dependency: python(abi) = 2.6 for package: opsiconfd-4.0.6.13-2.1.noarch
--> Processing Dependency: python-twisted for package: opsiconfd-4.0.6.13-2.1.noarch
---> Package opsipxeconfd.noarch 0:4.0.5.5-2.1 will be installed
--> Processing Dependency: python(abi) = 2.6 for package: opsipxeconfd-4.0.5.5-2.1.noarch
---> Package python-opsi.noarch 0:4.0.6.46-1.1 will be installed
--> Processing Dependency: python(abi) = 2.6 for package: python-opsi-4.0.6.46-1.1.noarch
--> Processing Dependency: python-ldaptor for package: python-opsi-4.0.6.46-1.1.noarch
--> Processing Dependency: lshw for package: python-opsi-4.0.6.46-1.1.noarch
--> Processing Dependency: duplicity for package: python-opsi-4.0.6.46-1.1.noarch
--> Processing Dependency: MySQL-python for package: python-opsi-4.0.6.46-1.1.noarch
--> Processing Dependency: PyPAM for package: python-opsi-4.0.6.46-1.1.noarch
--> Processing Dependency: python-sqlalchemy for package: python-opsi-4.0.6.46-1.1.noarch
--> Processing Dependency: python-crypto for package: python-opsi-4.0.6.46-1.1.noarch
--> Processing Dependency: python-ldap for package: python-opsi-4.0.6.46-1.1.noarch
--> Running transaction check
---> Package MySQL-python.x86_64 0:1.2.3-11.el7 will be installed
---> Package duplicity.x86_64 0:0.6.24-9.1 will be installed
--> Processing Dependency: python(abi) = 2.6 for package: duplicity-0.6.24-9.1.x86_64
--> Processing Dependency: python-lockfile for package: duplicity-0.6.24-9.1.x86_64
--> Processing Dependency: librsync.so.1()(64bit) for package: duplicity-0.6.24-9.1.x86_64
--> Processing Dependency: libpython2.6.so.1.0()(64bit) for package: duplicity-0.6.24-9.1.x86_64
---> Package lshw.x86_64 0:B.02.17-5.el7 will be installed
---> Package opsiconfd.noarch 0:4.0.6.13-2.1 will be installed
--> Processing Dependency: python(abi) = 2.6 for package: opsiconfd-4.0.6.13-2.1.noarch
---> Package opsipxeconfd.noarch 0:4.0.5.5-2.1 will be installed
--> Processing Dependency: python(abi) = 2.6 for package: opsipxeconfd-4.0.5.5-2.1.noarch
---> Package python-Twisted.x86_64 0:12.0.0-24.2 will be installed
--> Processing Dependency: python(abi) = 2.6 for package: python-Twisted-12.0.0-24.2.x86_64
--> Processing Dependency: python-serial for package: python-Twisted-12.0.0-24.2.x86_64
--> Processing Dependency: python-zope-interface for package: python-Twisted-12.0.0-24.2.x86_64
--> Processing Dependency: libpython2.6.so.1.0()(64bit) for package: python-Twisted-12.0.0-24.2.x86_64
---> Package python-crypto.x86_64 0:2.6.1-1.el7 will be installed
---> Package python-ldap.x86_64 0:2.4.15-2.el7 will be installed
---> Package python-ldaptor.x86_64 0:0.0.43-16.1 will be installed
--> Processing Dependency: python(abi) = 2.6 for package: python-ldaptor-0.0.43-16.1.x86_64
--> Processing Dependency: python-pyparsing for package: python-ldaptor-0.0.43-16.1.x86_64
---> Package python-opsi.noarch 0:4.0.6.46-1.1 will be installed
--> Processing Dependency: python(abi) = 2.6 for package: python-opsi-4.0.6.46-1.1.noarch
---> Package python-pam.x86_64 0:0.5.0-4.2 will be installed
--> Processing Dependency: python(abi) = 2.6 for package: python-pam-0.5.0-4.2.x86_64
--> Processing Dependency: libpython2.6.so.1.0()(64bit) for package: python-pam-0.5.0-4.2.x86_64
---> Package python-sqlalchemy.x86_64 0:0.9.8-1.el7 will be installed
--> Running transaction check
---> Package duplicity.x86_64 0:0.6.24-9.1 will be installed
--> Processing Dependency: python(abi) = 2.6 for package: duplicity-0.6.24-9.1.x86_64
--> Processing Dependency: libpython2.6.so.1.0()(64bit) for package: duplicity-0.6.24-9.1.x86_64
---> Package librsync.x86_64 0:0.9.7-175.2 will be installed
---> Package opsiconfd.noarch 0:4.0.6.13-2.1 will be installed
--> Processing Dependency: python(abi) = 2.6 for package: opsiconfd-4.0.6.13-2.1.noarch
---> Package opsipxeconfd.noarch 0:4.0.5.5-2.1 will be installed
--> Processing Dependency: python(abi) = 2.6 for package: opsipxeconfd-4.0.5.5-2.1.noarch
---> Package python-Twisted.x86_64 0:12.0.0-24.2 will be installed
--> Processing Dependency: python(abi) = 2.6 for package: python-Twisted-12.0.0-24.2.x86_64
--> Processing Dependency: libpython2.6.so.1.0()(64bit) for package: python-Twisted-12.0.0-24.2.x86_64
---> Package python-ldaptor.x86_64 0:0.0.43-16.1 will be installed
--> Processing Dependency: python(abi) = 2.6 for package: python-ldaptor-0.0.43-16.1.x86_64
---> Package python-lockfile.noarch 0:0.9.1-1.1 will be installed
--> Processing Dependency: python(abi) = 2.6 for package: python-lockfile-0.9.1-1.1.noarch
---> Package python-opsi.noarch 0:4.0.6.46-1.1 will be installed
--> Processing Dependency: python(abi) = 2.6 for package: python-opsi-4.0.6.46-1.1.noarch
---> Package python-pam.x86_64 0:0.5.0-4.2 will be installed
--> Processing Dependency: python(abi) = 2.6 for package: python-pam-0.5.0-4.2.x86_64
--> Processing Dependency: libpython2.6.so.1.0()(64bit) for package: python-pam-0.5.0-4.2.x86_64
---> Package python-pyparsing.noarch 0:2.0.7-5.1 will be installed
--> Processing Dependency: python(abi) = 2.6 for package: python-pyparsing-2.0.7-5.1.noarch
---> Package python-serial.noarch 0:2.4-11.2 will be installed
--> Processing Dependency: python(abi) = 2.6 for package: python-serial-2.4-11.2.noarch
---> Package python-zope-interface.x86_64 0:4.0.5-4.el7 will be installed
--> Finished Dependency Resolution
Error: Package: duplicity-0.6.24-9.1.x86_64 (rsi-prod-rsi-opsi4-production-x86_64-7.2.z)
           Requires: python(abi) = 2.6
           Installed: python-2.7.5-34.el7.x86_64 (@anaconda/7.2)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python-2.7.5-16.el7.x86_64 (rsi-prod-rhel-x86_64-server-7.2.z)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python-2.7.5-18.el7_1.1.x86_64 (rsi-prod-rhel-x86_64-server-7.2.z)
               python(abi) = 2.7
               python(abi) = 2.7
Error: Package: opsiconfd-4.0.6.13-2.1.noarch (rsi-prod-rsi-opsi4-production-x86_64-7.2.z)
           Requires: python(abi) = 2.6
           Installed: python-2.7.5-34.el7.x86_64 (@anaconda/7.2)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python-2.7.5-16.el7.x86_64 (rsi-prod-rhel-x86_64-server-7.2.z)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python-2.7.5-18.el7_1.1.x86_64 (rsi-prod-rhel-x86_64-server-7.2.z)
               python(abi) = 2.7
               python(abi) = 2.7
Error: Package: python-serial-2.4-11.2.noarch (rsi-prod-rsi-opsi4-production-x86_64-7.2.z)
           Requires: python(abi) = 2.6
           Installed: python-2.7.5-34.el7.x86_64 (@anaconda/7.2)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python-2.7.5-16.el7.x86_64 (rsi-prod-rhel-x86_64-server-7.2.z)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python-2.7.5-18.el7_1.1.x86_64 (rsi-prod-rhel-x86_64-server-7.2.z)
               python(abi) = 2.7
               python(abi) = 2.7
Error: Package: duplicity-0.6.24-9.1.x86_64 (rsi-prod-rsi-opsi4-production-x86_64-7.2.z)
           Requires: libpython2.6.so.1.0()(64bit)
Error: Package: python-pam-0.5.0-4.2.x86_64 (rsi-prod-rsi-opsi4-production-x86_64-7.2.z)
           Requires: libpython2.6.so.1.0()(64bit)
Error: Package: opsipxeconfd-4.0.5.5-2.1.noarch (rsi-prod-rsi-opsi4-production-x86_64-7.2.z)
           Requires: python(abi) = 2.6
           Installed: python-2.7.5-34.el7.x86_64 (@anaconda/7.2)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python-2.7.5-16.el7.x86_64 (rsi-prod-rhel-x86_64-server-7.2.z)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python-2.7.5-18.el7_1.1.x86_64 (rsi-prod-rhel-x86_64-server-7.2.z)
               python(abi) = 2.7
               python(abi) = 2.7
Error: Package: python-pam-0.5.0-4.2.x86_64 (rsi-prod-rsi-opsi4-production-x86_64-7.2.z)
           Requires: python(abi) = 2.6
           Installed: python-2.7.5-34.el7.x86_64 (@anaconda/7.2)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python-2.7.5-16.el7.x86_64 (rsi-prod-rhel-x86_64-server-7.2.z)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python-2.7.5-18.el7_1.1.x86_64 (rsi-prod-rhel-x86_64-server-7.2.z)
               python(abi) = 2.7
               python(abi) = 2.7
Error: Package: python-Twisted-12.0.0-24.2.x86_64 (rsi-prod-rsi-opsi4-production-x86_64-7.2.z)
           Requires: libpython2.6.so.1.0()(64bit)
Error: Package: python-lockfile-0.9.1-1.1.noarch (rsi-prod-rsi-opsi4-production-x86_64-7.2.z)
           Requires: python(abi) = 2.6
           Installed: python-2.7.5-34.el7.x86_64 (@anaconda/7.2)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python-2.7.5-16.el7.x86_64 (rsi-prod-rhel-x86_64-server-7.2.z)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python-2.7.5-18.el7_1.1.x86_64 (rsi-prod-rhel-x86_64-server-7.2.z)
               python(abi) = 2.7
               python(abi) = 2.7
Error: Package: python-opsi-4.0.6.46-1.1.noarch (rsi-prod-rsi-opsi4-production-x86_64-7.2.z)
           Requires: python(abi) = 2.6
           Installed: python-2.7.5-34.el7.x86_64 (@anaconda/7.2)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python-2.7.5-16.el7.x86_64 (rsi-prod-rhel-x86_64-server-7.2.z)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python-2.7.5-18.el7_1.1.x86_64 (rsi-prod-rhel-x86_64-server-7.2.z)
               python(abi) = 2.7
               python(abi) = 2.7
Error: Package: python-ldaptor-0.0.43-16.1.x86_64 (rsi-prod-rsi-opsi4-production-x86_64-7.2.z)
           Requires: python(abi) = 2.6
           Installed: python-2.7.5-34.el7.x86_64 (@anaconda/7.2)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python-2.7.5-16.el7.x86_64 (rsi-prod-rhel-x86_64-server-7.2.z)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python-2.7.5-18.el7_1.1.x86_64 (rsi-prod-rhel-x86_64-server-7.2.z)
               python(abi) = 2.7
               python(abi) = 2.7
Error: Package: python-Twisted-12.0.0-24.2.x86_64 (rsi-prod-rsi-opsi4-production-x86_64-7.2.z)
           Requires: python(abi) = 2.6
           Installed: python-2.7.5-34.el7.x86_64 (@anaconda/7.2)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python-2.7.5-16.el7.x86_64 (rsi-prod-rhel-x86_64-server-7.2.z)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python-2.7.5-18.el7_1.1.x86_64 (rsi-prod-rhel-x86_64-server-7.2.z)
               python(abi) = 2.7
               python(abi) = 2.7
Error: Package: python-pyparsing-2.0.7-5.1.noarch (rsi-prod-rsi-opsi4-production-x86_64-7.2.z)
           Requires: python(abi) = 2.6
           Installed: python-2.7.5-34.el7.x86_64 (@anaconda/7.2)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python-2.7.5-16.el7.x86_64 (rsi-prod-rhel-x86_64-server-7.2.z)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python-2.7.5-18.el7_1.1.x86_64 (rsi-prod-rhel-x86_64-server-7.2.z)
               python(abi) = 2.7
               python(abi) = 2.7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Ich weiß halt nicht ob es möglich ist das ihr in den Specfiles, der RPMs, das Requirement auf Python=2.7 oder Python>=2.6 stellen könnt? Denn ich wüsste nicht das RHEL 7.0 mit Python 2.6 raus kam.

Gruß René
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Opsi installation auf RHEL 7.2 mit Python 2.7

Beitrag von n.wenselowski »

Hi René,

bei mir klappt die Installation aus dem Repo, allerdings habe ich hier keinen Sattelite zum Testen.

Schaue ich mir die Metadaten aus dem Repo an, so ist da bspw. bei opsiconfd, der bei euch angemeckert wird, folgendes zu lesen:

Code: Alles auswählen

<rpm:entry name="python(abi)" flags="EQ" epoch="0" ver="2.7"/>
Einträge der Art mit 2.6 sehe ich da nicht.

Der Einfachheit halber würde ich mal einen Test ohne den Sattelite versuchen.


Gruß

Niko

Code: Alles auswählen

import OPSI
rburghardt
Beiträge: 6
Registriert: 18 Nov 2014, 09:23

Re: Opsi installation auf RHEL 7.2 mit Python 2.7

Beitrag von rburghardt »

Ok, das schaue ich mir nochmal an. Danke!
rburghardt
Beiträge: 6
Registriert: 18 Nov 2014, 09:23

Re: Opsi installation auf RHEL 7.2 mit Python 2.7

Beitrag von rburghardt »

Ich hab das nochmal nachvollzogen. Es liegt tatsächlich an dem Satellite. Da wir auch das Repo von Opsi für RHEL6 darüber eingebunden haben und die RPMs in den Repos für RHEL6 und RHEL7 gleich benannt sind, sieht der Satellite diese als das selbe Paket an, behält auch nur eines davon und lässt dann alle Satellite interne Channels auf dieses Paket zeigen. In unserem Fall wohl auf das für RHEL6.

Red Hat selbst stattet seine Pakete immer mit einem elX aus, je nach dem für welche RHEL Version es ist. Vielleicht könnt ihr ja eure Pakete auch entsprechend benennen. Mir ist damit aber erstmal geholfen, da das RHEL6 System eh abgelöst werden soll und es dann später nur noch das RHEL 7 System geben wird und es dann wohl funktioniert.

Viele Grüße

René
Benutzeravatar
ueluekmen
uib-Team
Beiträge: 1939
Registriert: 28 Mai 2008, 10:53

Re: Opsi installation auf RHEL 7.2 mit Python 2.7

Beitrag von ueluekmen »

Hallo Rene,

das ist leider nicht so einfach. Wir haben für die Benamung im RPM-Bereich wenig Einfluss auf das ganze. Bei uns ist das auch nicht zwangsläufig ein Problem, weil wir ja für RHEL6 und für RHEL7 verschiedene Repos haben. RPM-Based Distros und besonders RHEL ist da sehr empfindlich, was die Namen und die Versionierung angeht. Die haben sogar einen Mechanismus drin, der einfach mal so ein .1 oder ein .2 dran hängt, wenn sich die Version nicht ändert, aber das Paket, was auf dem Buildservice schon mal vorkommt. Ich verstehe von dem Satellite sehr wenig, aber für mich ist das ein cacher wie die anderen auch. Warum schmeißt der einfach alles in einen Topf? Wir sind doch nicht die einzigen RPMs, die diese Endung nicht nutzen oder?
opsi support - uib gmbh
For productive opsi installations we recommend support contracts.
http://www.uib.de
rburghardt
Beiträge: 6
Registriert: 18 Nov 2014, 09:23

Re: Opsi installation auf RHEL 7.2 mit Python 2.7

Beitrag von rburghardt »

Hi,

wir glaube das Problem ist wie er sich die Pakete abelegt und dann danach sucht. Dazu ist vielleicht zu sagen wir setzen noch den Satellite 5 ein. Die umstellungen auf den 6er wird für uns eine große Aufgabe. :)

Ganz kann ich es leider auch nicht erklären.

Er scheint sich beide Versionen gezogen zu haben aus den jeweiligen Repos und hat diese auf dem Filesystem abgelegt:

Code: Alles auswählen

[root@satellite satellite]$ rpm -qip /var/satellite/redhat/1/3b5/opsiconfd/4.0.6.13-2.1/noarch/3b59db645f5bafbee569e30318f0e937c2c927254be38d18b117d58671d97c86/opsiconfd-4.0.6.13-2.1.noarch.rpm
Name        : opsiconfd                    Relocations: (not relocatable)
Version     : 4.0.6.13                          Vendor: obs://build.opensuse.org/home:uibmz
Release     : 2.1                           Build Date: Wed 20 Apr 2016 11:54:53 AM CEST
Install Date: (not installed)               Build Host: cloud127
Group       : Productivity/Networking/Opsi   Source RPM: opsiconfd-4.0.6.13-2.1.src.rpm
Size        : 166552                           License: AGPL-3.0+
Signature   : DSA/SHA1, Wed 20 Apr 2016 11:55:08 AM CEST, Key ID 520b97144dc87421
URL         : http://www.opsi.org
Summary     : This is the opsi configuration service
Description :
This package contains the opsi configuration service.
[root@satellite satellite]$ rpm -qip /var/satellite/redhat/1/03c/opsiconfd/4.0.6.13-2.1/noarch/03c12bbfc58825c218ab5f0f57a82caef31f574a3cfc9d7e5750ce8c815685ca/opsiconfd-4.0.6.13-2.1.noarch.rpm
Name        : opsiconfd                    Relocations: (not relocatable)
Version     : 4.0.6.13                          Vendor: obs://build.opensuse.org/home:uibmz
Release     : 2.1                           Build Date: Wed 20 Apr 2016 11:52:03 AM CEST
Install Date: (not installed)               Build Host: cumulus1
Group       : Productivity/Networking/Opsi   Source RPM: opsiconfd-4.0.6.13-2.1.src.rpm
Size        : 166471                           License: AGPL-3.0+
Signature   : DSA/SHA1, Wed 20 Apr 2016 11:52:06 AM CEST, Key ID 520b97144dc87421
URL         : http://www.opsi.org
Summary     : This is the opsi configuration service
Description :
This package contains the opsi configuration service.
Der erste Eintrag dürfte der für RHEL7 sein, wenn ich die Dateigrößen vergleiche aus den Repos.

Hoffe ich bekomme das jetzt einigermaßen dargestellt von der Webseite des Satellites:

Code: Alles auswählen

Description: 
This package contains the opsi configuration service.
Package Architecture:
noarch
Available Architectures:
noarch
Available From:
RSI Opsi 4 Production Uib RHEL7
RSI Dev RSI Opsi 4 Development Uib for RHEL EUS (v. 7.2.z for 64-bit x86_64)
RSI Production RSI Opsi 4 Production Uib for RHEL EUS (v. 7.2.z for 64-bit x86_64)
Opsi 4 Uib RHEL7
Opsi 4 Uib RHEL6
RSI Opsi 4 Development Uib RHEL7
Vendor:
obs://build.opensuse.org/home:uibmz
Signing Key:
520b97144dc87421
SHA256sum:
03c12bbfc58825c218ab5f0f57a82caef31f574a3cfc9d7e5750ce8c815685ca
File System Path:
redhat/1/03c/opsiconfd/4.0.6.13-2.1/noarch/03c12bbfc58825c218ab5f0f57a82caef31f574a3cfc9d7e5750ce8c815685ca/opsiconfd-4.0.6.13-2.1.noarch.rpm
Package Size:
95.7 KB
Da setzt er diese dann zusammen und kennt das Paket aus den Channels von RHEL6 (Opsi 4 Uib RHEL6), welcher auf das Repo für RHEL6 zeigt und dem Channel für RHEL7 (Opsi 4 Uib RHEL7) welcher auf das Repo für RHEL7 zeigt. Das habe ich auch schon mehrfach überprüft, das ich da nicht beide auf RHEL6 zeigen lasse. Für uns sieht es dann so aus als würde er einfach den erst besten Treffer im Filesystem verwenden.

Bei den 3rd Party Repos die wir sonst so haben z.B.: Sernet Samba (sernet-samba-4.4.5-29.el7:99.x86_64) oder Linbit DRBD (drbd-8.9.5-1.el7.x86_64), ist jeweils im Namen die RHEL Version drin.
Wir haben da in unseren Spec-Files beim Release immer folgendes stehen:"Release: 1%{?dist}". Die 1 kann natürlich je nach Release varieren.

Mit den Problematiken von Software Distribution kennt ihr euch aber besser aus als meine Wenigkeit. :)

Aber am Ende liegt das Problem natürlich bei Red Hat mit dem Satellite. Werde da vielleicht mal ein Request stellen, nur dauert das da ewig bis da vielleicht eine Lösung kommt, wenn eine kommt.

Viele Grüße

René
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Opsi installation auf RHEL 7.2 mit Python 2.7

Beitrag von n.wenselowski »

Hi René,

schöne Detektivarbeit :)
rburghardt hat geschrieben:Bei den 3rd Party Repos die wir sonst so haben z.B.: Sernet Samba (sernet-samba-4.4.5-29.el7:99.x86_64) oder Linbit DRBD (drbd-8.9.5-1.el7.x86_64), ist jeweils im Namen die RHEL Version drin.
Wir haben da in unseren Spec-Files beim Release immer folgendes stehen:"Release: 1%{?dist}". Die 1 kann natürlich je nach Release varieren.

[...]

Aber am Ende liegt das Problem natürlich bei Red Hat mit dem Satellite. Werde da vielleicht mal ein Request stellen, nur dauert das da ewig bis da vielleicht eine Lösung kommt, wenn eine kommt.
Ich habe das mal intern aufgenommen, damit man sich das vllt für eines der nächsten Releases anschaut.
Falls der Schuh nochmal drücken sollte, dann am besten mal über einen Support-Vertrag anklopfen!


Viele Grüße

Niko

Code: Alles auswählen

import OPSI
Antworten