Modify

Ticket #678 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

Packages plugin cleanups

Reported by: Jack Neely <jjneely@…> Owned by: desai
Priority: minor Milestone: Bcfg2 1.0.0 Release
Component: bcfg2-server Version: 1.0
Keywords: Cc:

Description

We need to catch exceptions thrown by

data = urllib2.urlopen(url).read()

around line 80 of Packages.py.

Also, appending additional directories/files onto URLs from the config.xml configuration needs to be done more robustly. Currently, if any of the YUMSource URLs in config.xml do not end with a / character you get some very weird messages resulting from not being able to fetch the repository data.

Attachments

Change History

comment:1 Changed 12 years ago by solj

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

This appears to be fixed in trunk.

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

View

Add a comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.