Bug 439820

Summary: [systemsmanagement:zlm] rug can not access standard repositories
Product: [openSUSE] openSUSE.org Reporter: Elmar Stellnberger <estellnb>
Component: 3rd party softwareAssignee: Rashmi Ranjan Mohanty <rashmiranjan.mohanty>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: 64bit   
OS: openSUSE 11.0   
Whiteboard:
Found By: Community of Practice Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: further unsucessfull attempts to use rug

Description Elmar Stellnberger 2008-10-29 12:13:21 UTC
It is neither possible to add an update source nor any other repository from the build service. Something with the metadata of these repositories must have changed, because they do not work any more with rug. My concern would be either to keep the metadata compatible or to update zenworks.

# rug sa --type ZYPP http://download.opensuse.org/update/11.0 openSUSE-11.0-Updates
Adding zypp service...
                                                                                                                                                                                                             0%

ERRO:Não foi possível adicionar 'http://download.opensuse.org/update/11.0': Failed to parse metadata: The remote server returned an error: (404) Not Found.
Comment 1 Elmar Stellnberger 2008-10-29 12:14:13 UTC
Created attachment 248579 [details]
further unsucessfull attempts to use rug
Comment 2 Cristian Rodriguez 2008-10-29 18:36:01 UTC
Elmar: where did you got "rug" for openSUSE 11 ? there is no ZenWorks in the distribution anymore.. 
Comment 4 Duncan Mac-Vicar 2008-11-25 09:06:13 UTC
Rashmi, it may be the Code10 parser can't handle Code11 repositories (I don't see why). In any case, I reassign to you so you know about it, however, feel free to close this as WONTFIX. I have no idea which backend is the user using in this case.

We have already the same problem with zypp:svn / zypp:Backport which is mean for adventurous users, but we get bugreports back ;-)
Comment 5 Rashmi Ranjan Mohanty 2009-01-28 17:23:45 UTC
Duncan, it uses the libsat backend only. It should work. Thing is that a new tag susedata has been introduced. The parser is not able to handle the new tag. Anyway I have  made changes to handle the new tag and checked in the code to build service. 

Elmar, try the zmd version 7.3.0.0-48.1

Also you are using service type as ZYPP for update repo. Its not ZYPP, its YUM. Try this

# rug sa --type YUM http://download.opensuse.org/update/11.0 openSUSE-11.0-Updates

Marking as FIXED.
Comment 6 Rashmi Ranjan Mohanty 2009-01-29 00:10:50 UTC
I did not see the attachment in comment # 1 while writing the previous comment

There is another error in that attachment "Child exited due to SIGSEGV"
That error is specific to 64 bit arch and is already fixed sometime back. Also I have made some optimizations in the backend code in between. Now dependency resolution is much much faster because now ZMD also uses the binary cache (.solv files) like zypper which makes loading repo metadata very fast.
Comment 7 Elmar Stellnberger 2009-05-03 10:47:04 UTC
Still an issue as long as OpenSuse-updater fails to check for updates automatically and as long as it stays far behind in means of functionality (bug 481652, Bug 380286, Bug 353538); at least for x86_64-platforms, because the SIGSEGV error does not seem to be resolved yet.

> rug sa http://download.opensuse.org/update/11.1/ repo-update
Adding YUM service http://download.opensuse.org/update/11.1/...                                                                                                                                                       33%, 164,0 byte/s

FEHLER: Hinzufügen von'http://download.opensuse.org/update/11.1/' nicht möglich: Failed to parse XML metadata: Child exited due to SIGSEGV


> rug sa --type ZYPP http://download.opensuse.org/update/11.1/ repo-update
Adding zypp service...                                                                                                                                                                        0%
FEHLER: Hinzufügen von'http://download.opensuse.org/update/11.1/' nicht möglich: Failed to parse metadata: The remote server returned an error: (404) Not Found.


> rug sa --type YUM http://download.opensuse.org/update/11.1/ repo-update
Adding YUM service http://download.opensuse.org/update/11.1/...
33%
FEHLER: Hinzufügen von'http://download.opensuse.org/update/11.1/' nicht möglich: Failed to parse XML metadata: Child exited due to SIGSEGV
Comment 8 Rashmi Ranjan Mohanty 2009-05-04 06:24:44 UTC
Missed the SIGSEGV fix at one place. Added it and tested on a 64 bit opensuse 11.1. Works fine.

# cat /etc/SuSE-release 
openSUSE 11.1 (x86_64)
VERSION = 11.1

# rug sa http://download.opensuse.org/update/11.1/ repo-update

Adding YUM service http://download.opensuse.org/update/11.1/...
                                                                                                                   100% 

Successfully added service 'http://download.opensuse.org/update/11.1/'


Submitted the code to build service. However build service is not triggering the build for any x86_64 arch. Its building for i586 though.

zmd-7.3.0.0-54.* has the fix. Whenever build happens and package is available for x86_64, use it.

Marking as resolved.