Ticket #765 (closed defect: fixed)

Opened 13 years ago

Last modified 13 years ago

YUMng __init__ fails to properly set up repo when base system is RHEL5 updating from Satellite

Reported by: tcampbel Owned by: desai
Priority: major Milestone: Bcfg2 1.0.0 Release
Component: bcfg2-client Version: 1.0
Keywords: Cc: [email protected]


RHEL5 systems use yum to get their updates. When a RHEL5 system is configured to use Satellite instead of a classic yum repository, yum runs a plugin to translate Satellite into yumspeak.

Unfortunately, it appears that the default yum/ specifically disables the instantiation of plugins. Because calls doGenericSetup as part of the init of the yum repo for querying if it finds that the system supports the doGenericSetup attribute, yum basically self-configures with the Satellite plugin disabled.

I'm not sure what the correct work around is at this point. Commenting out the doGenericSetup call does the "right" thing but I don't know if it's the correct thing.

I test this with doGenericSetup in a default uncommented state by twiddling the self._getConfig(init_plugins=False) in yum/ to be true and version checking began working.


Change History

comment:1 Changed 13 years ago by tcampbel

comment:2 Changed 13 years ago by desai

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in [c07c12e5311ae21c4d28bab11b846f71b47f64d7] (SVN r5517). This will be included in 1.0.0rc2

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.