Just for reference, I added a feature request for OS12.2 on bugzilla in order for RIS/zypper services to be included during the installation procedure. https://bugzilla.novell.com/show_bug.cgi?id=778666 Best regards, Joschi Brauchle On 07/12/2012 05:46 PM, Joschi Brauchle wrote:
Hello Uwe,
I just tried to add the service during a manual installation of 11.4. Short summary: It did not work!
Long version: Looking at y2log, one can see that parts of the logic to process services is indeed there. See the part of y2log where I run the dialog to add an AddOn with "specify URL" and URL:"nfs://gemini/ha/export/install/linux/opensuse/11.4/ris" plus NAME:"RIS Service". When I click "OK", the following happens:
-------y2log------ 2012-07-12 11:31:05 <1> test114(3535) [YCP] SourceDialogs.ycp:2331 Type dialog returned $["download":true, "ui":`next] 2012-07-12 11:31:05 <1> test114(3535) [YCP] SourceDialogs.ycp:196 URL is ISO: false 2012-07-12 11:31:05 <1> test114(3535) [YCP] SourceDialogs.ycp:279 URL scheme for URL : url 2012-07-12 11:31:05 <1> test114(3535) [YCP] SourceDialogs.ycp:2225 Displaying dialog for protocol url 2012-07-12 11:31:05 <1> test114(3535) [ui-shortcuts] YShortcutManager.cc(checkShortcuts):134 Shortcut conflict: 'R' used for YInputField "Repository Name" at 0x9e9208 2012-07-12 11:31:05 <1> test114(3535) [ui-shortcuts] YShortcutManager.cc(checkShortcuts):134 Shortcut conflict: 'R' used for YQWizardButton "Abort" at 0x9ea2f8 2012-07-12 11:31:26 <1> test114(3535) [qt-ui] YQUI.cc(qMessageHandler):725 <libqt-debug> Registering QFrame(0xcbbdb0, name = "steps") for parent YQWizard(0xcc6570, name = "wizard") 2012-07-12 11:31:26 <1> test114(3535) [qt-ui] YQUI.cc(qMessageHandler):725 2012-07-12 11:31:26 <1> test114(3535) [qt-ui] YQUI.cc(qMessageHandler):725 <libqt-debug> Registering QFrame(0xcc74f0, name = "work_area") for parent YQWizard(0xcc6570, name = "wizard") 2012-07-12 11:31:26 <1> test114(3535) [qt-ui] YQUI.cc(qMessageHandler):725 2012-07-12 11:31:26 <2> test114(3535) [qt-ui] YQUI.cc(qMessageHandler):729 <libqt-warning> QLayout: Attempting to add QLayout "" to QFrame "work_area", which already has a layout 2012-07-12 11:31:26 <1> test114(3535) [ui] YPushButton.cc(setFunctionKey):204 Guessing button role YOKButton for YPushButton "Next" at 0xcc0108 from function key F10 2012-07-12 11:31:26 <2> test114(3535) [qt-ui] YQUI.cc(qMessageHandler):729 <libqt-warning> QColor::setNamedColor: Unknown color name '#bebbe' 2012-07-12 11:31:26 <2> test114(3535) [qt-ui] YQUI.cc(qMessageHandler):729 <libqt-warning> QCssParser::parseHexColor: Unknown color name '#bebbe' 2012-07-12 11:31:27 <1> test114(3535) [YCP] packager/repositories_include.ycp:46 createSource: nfs://gemini/ha/export/install/linux/opensuse/11.4/ris, plaindir: false, download: true, name: RIS Service 2012-07-12 11:31:27 <1> test114(3535) [YCP] Progress.ycp:380 Progress::New(Adding a New Repository, 3, ["Check Repository Type", "Add Repository", "Read Repository License"]) 2012-07-12 11:31:27 <1> test114(3535) [YCP] Progress.ycp:469 No progress icons defined 2012-07-12 11:31:27 <1> test114(3535) [Pkg] packager/repositories_include.ycp:79 Pkg Builtin called: ServiceProbe 2012-07-12 11:31:27 <1> test114(3535) [Pkg] PkgFunctions.cc(CreateRepoManager):242 Path to repository files: /etc/zypp/repos.d 2012-07-12 11:31:27 <1> test114(3535) [zypp] RepoManager.cc(init_knownRepositories):552 start construct known repos 2012-07-12 11:31:27 <1> test114(3535) [zypp] RepoManager.cc(init_knownRepositories):573 end construct known repos 2012-07-12 11:31:27 <1> test114(3535) [Pkg] ServiceManager.cc(Probe):272 Probing service at nfs://gemini/ha/export/install/linux/opensuse/11.4/ris... 2012-07-12 11:31:27 <1> test114(3535) [zypp++] MediaSetAccess.cc(rewriteUrl):392 Rewriting url nfs://gemini/ha/export/install/linux/opensuse/11.4/ris 2012-07-12 11:31:27 <1> test114(3535) [zypp] MediaAccess.cc(open):118 Trying scheme 'nfs' 2012-07-12 11:31:27 <1> test114(3535) [zypp] MediaNFS.cc(MediaNFS):48 MediaNFS::MediaNFS(nfs://gemini/ha/export/install/linux/opensuse/11.4/ris, ) 2012-07-12 11:31:27 <1> test114(3535) [zypp] MediaAccess.cc(open):234 Opened: nfs(nfs://gemini/ha/export/install/linux/opensuse/11.4/ris not attached; localRoot "") 2012-07-12 11:31:27 <1> test114(3535) [zypp++] MediaManager.cc(open):279 Opened new media access using id 5 to nfs://gemini/ha/export/install/linux/opensuse/11.4/ris 2012-07-12 11:31:27 <1> test114(3535) [zypp++] MediaSetAccess.cc(provide):203 Going to try to provide file /repo/repoindex.xml from media number 1 2012-07-12 11:31:27 <1> test114(3535) [zypp++] MediaManager.cc(attach):415 attach(id=5) 2012-07-12 11:31:27 <1> test114(3535) [zypp++] MediaHandler.cc(createAttachPoint):393 Trying to create attach point in /var/adm/mount 2012-07-12 11:31:27 <1> test114(3535) [zypp] PathInfo.cc(mkdir):315 mkdir /var/adm/mount/AP_0x00000001 00755 2012-07-12 11:31:27 <1> test114(3535) [zypp] MediaHandler.cc(createAttachPoint):370 Created default attach point /var/adm/mount/AP_0x00000001 2012-07-12 11:31:27 <1> test114(3535) [zypp++] ExternalProgram.cc(start_program):229 Executing '/bin/mount' '-t' 'nfs' '-o' 'ro,nolock,soft,timeo=300' 'gemini:/ha/export/install/linux/opensuse/11.4/ris' '/var/adm/mount/AP_0x00000001' 2012-07-12 11:31:27 <1> test114(3535) [zypp++] ExternalProgram.cc(start_program):381 pid 8316 launched 2012-07-12 11:31:27 <1> test114(3535) [zypp++] ExternalProgram.cc(checkStatus):482 Pid 8316 successfully completed 2012-07-12 11:31:27 <1> test114(3535) [zypp++] Mount.cc(Status):260 exit code: 0 2012-07-12 11:31:27 <1> test114(3535) [zypp] Mount.cc(mount):156 mounted gemini:/ha/export/install/linux/opensuse/11.4/ris /var/adm/mount/AP_0x00000001 2012-07-12 11:31:27 <1> test114(3535) [zypp++] MediaHandler.cc(checkAttached):520 Forced check of the mount table 2012-07-12 11:31:27 <1> test114(3535) [zypp++] MediaHandler.cc(checkAttached):563 Found media name nfs<gemini:/ha/export/install/linux/opensuse/11.4/ris> in the mount table as gemini:/ha/export/install/linux/opensuse/11.4/ris 2012-07-12 11:31:27 <1> test114(3535) [zypp] Mount.cc(~Mount):54 ~Mount() 2012-07-12 11:31:27 <1> test114(3535) [zypp] Mount.cc(~Mount):61 ~Mount() end 2012-07-12 11:31:27 <1> test114(3535) [zypp] MediaHandler.cc(attach):647 Attached: nfs://gemini/ha/export/install/linux/opensuse/11.4/ris attached; localRoot "/var/adm/mount/AP_0x00000001" 2012-07-12 11:31:27 <1> test114(3535) [zypp++] MediaManager.cc(checkDesired):109 checkDesired(5): desired (report by zypp::media::NoVerifier) 2012-07-12 11:31:27 <1> test114(3535) [zypp++] MediaManager.cc(checkDesired):112 checkDesired(5): desired (cached) 2012-07-12 11:31:27 <1> test114(3535) [zypp++] MediaManager.cc(checkDesired):112 checkDesired(5): desired (cached) 2012-07-12 11:31:27 <1> test114(3535) [zypp++] MediaSetAccess.cc(release):431 Releasing all media IDs held by this MediaSetAccess 2012-07-12 11:31:27 <1> test114(3535) [zypp++] MediaManager.cc(release):488 release(id=5) 2012-07-12 11:31:27 <1> test114(3535) [zypp++] MediaHandler.cc(release):707 Request to release attached media nfs<gemini:/ha/export/install/linux/opensuse/11.4/ris>, use count=1 2012-07-12 11:31:27 <1> test114(3535) [zypp++] MediaHandler.cc(release):714 Releasing media nfs<gemini:/ha/export/install/linux/opensuse/11.4/ris> 2012-07-12 11:31:27 <1> test114(3535) [zypp++] ExternalProgram.cc(start_program):229 Executing '/bin/umount' '/var/adm/mount/AP_0x00000001' 2012-07-12 11:31:27 <1> test114(3535) [zypp++] ExternalProgram.cc(start_program):381 pid 8320 launched 2012-07-12 11:31:27 <1> test114(3535) [zypp++] ExternalProgram.cc(checkStatus):482 Pid 8320 successfully completed 2012-07-12 11:31:27 <1> test114(3535) [zypp++] Mount.cc(Status):260 exit code: 0 2012-07-12 11:31:27 <1> test114(3535) [zypp] Mount.cc(umount):227 unmounted /var/adm/mount/AP_0x00000001 2012-07-12 11:31:27 <1> test114(3535) [zypp] Mount.cc(~Mount):54 ~Mount() 2012-07-12 11:31:27 <1> test114(3535) [zypp] Mount.cc(~Mount):61 ~Mount() end 2012-07-12 11:31:27 <1> test114(3535) [zypp++] MediaHandler.cc(removeAttachPoint):178 MediaHandler - checking if to remove attach point 2012-07-12 11:31:27 <1> test114(3535) [zypp] PathInfo.cc(recursive_rmdir):429 recursive_rmdir /var/adm/mount/AP_0x00000001 2012-07-12 11:31:27 <1> test114(3535) [zypp] MediaHandler.cc(removeAttachPoint):190 Deleted default attach point /var/adm/mount/AP_0x00000001 2012-07-12 11:31:27 <1> test114(3535) [zypp] MediaHandler.cc(release):768 Released: nfs://gemini/ha/export/install/linux/opensuse/11.4/ris not attached; localRoot "" 2012-07-12 11:31:27 <1> test114(3535) [Pkg] ServiceManager.cc(Probe):274 Detected service type: ris 2012-07-12 11:31:27 <1> test114(3535) [YCP] packager/repositories_include.ycp:80 Probed service type: ris 2012-07-12 11:31:27 <1> test114(3535) [YCP] packager/repositories_include.ycp:84 Adding a service of type ris... 2012-07-12 11:31:27 <1> test114(3535) [YCP] packager/repositories_include.ycp:121 Added new service: $["alias":"service", "autorefresh":true, "enabled":true, "name":"RIS Service", "url":"nfs://gemini/ha/export/install/linux/opensuse/11.4/ris"] 2012-07-12 11:31:27 <1> test114(3535) [Pkg] add-on/add-on-workflow.ycp:181 Pkg Builtin called: SourceGetCurrent 2012-07-12 11:31:27 <1> test114(3535) [YCP] add-on/add-on-workflow.ycp:182 Sources with new one added: [0] 2012-07-12 11:31:27 <2> test114(3535) [YCP] add-on/add-on-workflow.ycp:202 Fallback src_id: 0 2012-07-12 11:31:27 <1> test114(3535) [Pkg] add-on/add-on-workflow.ycp:208 Pkg Builtin called: SourceRefreshNow 2012-07-12 11:31:27 <1> test114(3535) [Pkg] Source_Download.cc(SourceRefreshHelper):393 Forced refresh : false 2012-07-12 11:31:27 <1> test114(3535) [Pkg] PkgFunctions.cc(CreateRepoManager):242 Path to repository files: /etc/zypp/repos.d 2012-07-12 11:31:27 <1> test114(3535) [zypp] RepoManager.cc(init_knownRepositories):552 start construct known repos 2012-07-12 11:31:27 <1> test114(3535) [zypp] RepoManager.cc(init_knownRepositories):573 end construct known repos 2012-07-12 11:31:27 <1> test114(3535) [Pkg] Source_Download.cc(SourceRefreshHelper):416 Refreshing metadata 'openSUSE-11.4-11.4-0' 2012-07-12 11:31:27 <1> test114(3535) [Pkg] PkgFunctions.cc(CreateRepoManager):242 Path to repository files: /etc/zypp/repos.d 2012-07-12 11:31:27 <1> test114(3535) [zypp] RepoManager.cc(init_knownRepositories):552 start construct known repos 2012-07-12 11:31:27 <1> test114(3535) [zypp] RepoManager.cc(init_knownRepositories):573 end construct known repos 2012-07-12 11:31:27 <1> test114(3535) [zypp] RpmDb.cc(initDatabase):322 Calling initDatabase: '(/)/var/lib/rpm' (quickinit) ... ...stripped the rest... no more processing of services found... ------------------
Clearly the RIS service is detected and added, according to the line: ------------------ 2012-07-12 11:31:27 <1> test114(3535) [Pkg] ServiceManager.cc(Probe):274 Detected service type: ris 2012-07-12 11:31:27 <1> test114(3535) [YCP] packager/repositories_include.ycp:80 Probed service type: ris 2012-07-12 11:31:27 <1> test114(3535) [YCP] packager/repositories_include.ycp:84 Adding a service of type ris... 2012-07-12 11:31:27 <1> test114(3535) [YCP] packager/repositories_include.ycp:121 Added new service: $["alias":"service", "autorefresh":true, "enabled":true, "name":"RIS Service", "url":"nfs://gemini/ha/export/install/linux/opensuse/11.4/ris"] ------------------- but it seems like the respositories defined by the service are not loaded or anything.
The dialog returns to an empty list of AddOns.
If I continue with the installation process and stop at the software selection, I can go to "Details" and list packages by "Repositories". This repo list only contains the repo from the "install=<path>" kernel parameter, but none of the repos defined in the RIS service.
Best regards, Joschi Brauchle
On 07/06/2012 01:25 PM, Uwe Gansert wrote:
On 03.07.2012 17:57, Joschi Brauchle wrote:
But then, it looks like the service is not used or activated or anything. The repos defined in the repoindex.xml are definitely not added and the lines above are all I see about services.
can you do me a favour and test if your service works when you add the service during a manual installation? I want to know if it's a general missing feature during installation or a missing part in the add-on client of autoyast.