on Thursday 30 June 2011 Jason Babicka wrote:
When we perform an onsite installation, we use a predefined autoinstall.xml file that is located on a USB Drive. Unfortunately, when I tried doing this the installation screen printed a message that said "Unable to add product cd:////updates?devices=/dev/sr0". When I saw this, my first thought was that perhaps I had the format of the add_on_products.xml file incorrect. Here is a copy of my add_on_products.xml file:
is your add-on signed?
My add-on was not signed.
If not, did you tell autoyast to ignore signature failures?
<general> ... <signature-handling>
config:type="boolean">true true true true true true </signature-handling> </general>I added the XML snippet from above so that autoyast would ignore the fact that my add_on_products.xml was not signed. Despite doing this, I still encountered the same type of behavior. So, it looks like I can rule this out as the cause of my issue.
if you did that, it might help to look into the /var/log/YaST2/y2log file in the moment you see the error popup.
Uwe, per your suggestion I reviewed the y2log. Like I had mentioned before, I specified my add-on repository url as "relurl:///updates". In looking through the y2log I saw that autoyast was converting "relurl:///updates" to "cd:///updates?devices=/dev/sr0". So, what I will post below are the snippets from my y2log that pertained to the "cd:///" (if more of the y2log would be needed, please let me know what else might be useful.
2011-07-01 04:34:36 <1> linux(3625) [YCP] InstURL.ycp:70 Found CD/DVD device in Linuxrc RepoURL: cd:/?device=sr0 2011-07-01 04:34:36 <1> linux(3625) [YCP] Packages.ycp:1335 Initialize Package Manager: cd:///?devices=/dev/sr0 2011-07-01 04:34:37 <1> linux(3625) [Pkg] Source_Create.cc(ScanProductsWithCallBacks):61 Scanning products in cd:///?devices=/dev/sr0 ... 2011-07-01 04:34:37 <1> linux(3625) [zypp] MediaCD.cc(MediaCD):87 MediaCD::MediaCD(cd:///?devices=/dev/sr0, ) 2011-07-01 04:34:37 <1> linux(3625) [zypp] MediaAccess.cc(open):162 Opened: cd(cd:///?devices=/dev/sr0 not attached; localRoot "") 2011-07-01 04:34:37 <1> linux(3625) [zypp++] MediaManager.cc(open):279 Opened new media access using id 1 to cd:///?devices=/dev/sr0 2011-07-01 04:34:37 <1> linux(3625) [zypp] MediaHandler.cc(attach):647 Attached: cd:///?devices=/dev/sr0 attached; localRoot "/var/adm/mount/AP_0x00000001" 2011-07-01 04:34:37 <1> linux(3625) [zypp] MediaHandler.cc(release):768 Released: cd:///?devices=/dev/sr0 not attached; localRoot "" 2011-07-01 04:34:37 <1> linux(3625) [Pkg] Source_Create.cc(createManagedSource):174 Original URL: cd:///?devices=/dev/sr0, product directory: / 2011-07-01 04:34:37 <1> linux(3625) [Pkg] Source_Create.cc(createManagedSource):215 Probing source type: 'cd:///?devices=/dev/sr0' 2011-07-01 04:34:37 <1> linux(3625) [zypp] RepoManager.cc(probe):1176 going to probe the repo type at cd:///?devices=/dev/sr0 () 2011-07-01 04:34:37 <1> linux(3625) [zypp] MediaCD.cc(MediaCD):87 MediaCD::MediaCD(cd:///?devices=/dev/sr0, ) 2011-07-01 04:34:37 <1> linux(3625) [zypp] MediaAccess.cc(open):162 Opened: cd(cd:///?devices=/dev/sr0 not attached; localRoot "") 2011-07-01 04:34:37 <1> linux(3625) [zypp++] MediaManager.cc(open):279 Opened new media access using id 2 to cd:///?devices=/dev/sr0 2011-07-01 04:34:37 <1> linux(3625) [zypp] MediaHandler.cc(attach):647 Attached: cd:///?devices=/dev/sr0 attached; localRoot "/var/adm/mount/AP_0x00000001" 2011-07-01 04:34:37 <1> linux(3625) [zypp] RepoManager.cc(probe):1218 Probed type YAST2 at cd:///?devices=/dev/sr0 () 2011-07-01 04:34:37 <1> linux(3625) [zypp] MediaHandler.cc(release):768 Released: cd:///?devices=/dev/sr0 not attached; localRoot "" 2011-07-01 04:34:37 <1> linux(3625) [Pkg] Source_Create.cc(createManagedSource):298 Adding source 'SUSE-Linux- Enterprise-Server-11-SP1 11.1.1-1.152' (cd:///?devices=/dev/sr0, dir: /) 2011-07-01 04:34:37 <1> linux(3625) [zypp] RepoManager.cc(checkIfToRefreshMetadata):744 Going to try to check whether refresh is needed for cd:///?devices=/dev/sr0 2011-07-01 04:34:37 <1> linux(3625) [zypp] RepoManager.cc(refreshMetadata):898 Going to refresh metadata from cd:///?devices=/dev/sr0 2011-07-01 04:34:37 <1> linux(3625) [zypp] MediaCD.cc(MediaCD):87 MediaCD::MediaCD(cd:///?devices=/dev/sr0, ) 2011-07-01 04:34:37 <1> linux(3625) [zypp] MediaAccess.cc(open):162 Opened: cd(cd:///?devices=/dev/sr0 not attached; localRoot "") 2011-07-01 04:34:37 <1> linux(3625) [zypp++] MediaManager.cc(open):279 Opened new media access using id 3 to cd:///?devices=/dev/sr0 2011-07-01 04:34:37 <1> linux(3625) [zypp] MediaHandler.cc(attach):647 Attached: cd:///?devices=/dev/sr0 attached; localRoot "/var/adm/mount/AP_0x00000001" 2011-07-01 04:34:40 <1> linux(3625) [zypp] MediaHandler.cc(release):768 Released: cd:///?devices=/dev/sr0 not attached; localRoot "" 2011-07-01 04:34:40 <1> linux(3625) [Pkg] Source_Create.cc(createManagedSource):324 Added source 'SUSE-Linux- Enterprise-Server-11-SP1 11.1.1-1.152': 'cd:///?devices=/dev/sr0', enabled: true, autorefresh: false 2011-07-01 04:34:41 <1> linux(3625) [Pkg] YRepo.cc(mediaAccess):55 Creating new MediaSetAccess for url cd:///?devices=/dev/sr0 2011-07-01 04:34:41 <1> linux(3625) [zypp] MediaCD.cc(MediaCD):87 MediaCD::MediaCD(cd:///?devices=/dev/sr0, ) 2011-07-01 04:34:41 <1> linux(3625) [zypp] MediaAccess.cc(open):162 Opened: cd(cd:///?devices=/dev/sr0 not attached; localRoot "") 2011-07-01 04:34:41 <1> linux(3625) [zypp++] MediaManager.cc(open):279 Opened new media access using id 4 to cd:///?devices=/dev/sr0 2011-07-01 04:34:41 <1> linux(3625) [zypp] MediaHandler.cc(attach):647 Attached: cd:///?devices=/dev/sr0 attached; localRoot "/var/adm/mount/AP_0x00000001" 2011-07-01 04:34:41 <1> linux(3625) [YCP] AddOnProduct.ycp:292 New base URL: cd:///?devices=/dev/sr0 2011-07-01 04:34:41 <1> linux(3625) [YCP] AddOnProduct.ycp:1316 Base URL: cd:///?devices=/dev/sr0 2011-07-01 04:34:41 <1> linux(3625) [YCP] AddOnProduct.ycp:351 Merging 'relurl:///updates' (params '') to 'cd:///' (params 'devices=/dev/sr0') 2011-07-01 04:34:41 <1> linux(3625) [YCP] AddOnProduct.ycp:395 Final URL: 'cd:////updates?devices=/dev/sr0' 2011-07-01 04:34:41 <1> linux(3625) [YCP] AddOnProduct.ycp:1331 Adding products: [$["name":"Updates", "url":"cd:////updates?devices=/dev/sr0"]] 2011-07-01 04:34:41 <1> linux(3625) [YCP] AddOnProduct.ycp:1336 Adding Repository: cd:////updates?devices=/dev/sr0 2011-07-01 04:34:41 <1> linux(3625) [Pkg] Source_Create.cc(ScanProductsWithCallBacks):61 Scanning products in cd:///%2Fupdates?devices=/dev/sr0 ... 2011-07-01 04:34:41 <1> linux(3625) [zypp] MediaCD.cc(MediaCD):87 MediaCD::MediaCD(cd:///%2Fupdates?devices=/dev/sr0, ) 2011-07-01 04:34:41 <1> linux(3625) [zypp] MediaAccess.cc(open):162 Opened: cd(cd:///%2Fupdates?devices=/dev/sr0 not attached; localRoot "") 2011-07-01 04:34:41 <1> linux(3625) [zypp++] MediaManager.cc(open):279 Opened new media access using id 5 to cd:///%2Fupdates?devices=/dev/sr0 2011-07-01 04:34:41 <1> linux(3625) [zypp] MediaHandler.cc(attach):647 Attached: cd:///%2Fupdates?devices=/dev/sr0 attached; localRoot "/var/adm/mount/AP_0x00000001/updates" 2011-07-01 04:34:41 <1> linux(3625) [zypp] MediaHandler.cc(release):768 Released: cd:///%2Fupdates?devices=/dev/sr0 not attached; localRoot "" 2011-07-01 04:34:41 <1> linux(3625) [Pkg] Source_Create.cc(createManagedSource):174 Original URL: cd:///%2Fupdates?devices=/dev/sr0, product directory: / 2011-07-01 04:34:41 <1> linux(3625) [Pkg] Source_Create.cc(createManagedSource):215 Probing source type: 'cd:///updates?devices=/dev/sr0' 2011-07-01 04:34:41 <1> linux(3625) [zypp] RepoManager.cc(probe):1176 going to probe the repo type at cd:///updates?devices=/dev/sr0 () 2011-07-01 04:34:41 <1> linux(3625) [zypp] MediaCD.cc(MediaCD):87 MediaCD::MediaCD(cd:///updates?devices=/dev/sr0, ) 2011-07-01 04:34:41 <1> linux(3625) [zypp] MediaAccess.cc(open):162 Opened: cd(cd:///updates?devices=/dev/sr0 not attached; localRoot "") 2011-07-01 04:34:41 <1> linux(3625) [zypp++] MediaManager.cc(open):279 Opened new media access using id 6 to cd:///updates?devices=/dev/sr0 2011-07-01 04:34:41 <1> linux(3625) [zypp] MediaHandler.cc(attach):647 Attached: cd:///updates?devices=/dev/sr0 attached; localRoot "/var/adm/mount/AP_0x00000001/updates" 2011-07-01 04:34:41 <1> linux(3625) [zypp] RepoManager.cc(probe):1218 Probed type YAST2 at cd:///updates?devices=/dev/sr0 () 2011-07-01 04:34:41 <1> linux(3625) [zypp] MediaHandler.cc(release):768 Released: cd:///updates?devices=/dev/sr0 not attached; localRoot "" 2011-07-01 04:34:41 <1> linux(3625) [Pkg] Source_Create.cc(createManagedSource):298 Adding source '-Updates' (cd:///%2Fupdates?devices=/dev/sr0, dir: /) 2011-07-01 04:34:41 <1> linux(3625) [zypp] RepoManager.cc(checkIfToRefreshMetadata):744 Going to try to check whether refresh is needed for cd:///%2Fupdates?devices=/dev/sr0 2011-07-01 04:34:41 <1> linux(3625) [zypp] RepoManager.cc(refreshMetadata):898 Going to refresh metadata from cd:///%2Fupdates?devices=/dev/sr0 2011-07-01 04:34:41 <1> linux(3625) [zypp] MediaCD.cc(MediaCD):87 MediaCD::MediaCD(cd:///%2Fupdates?devices=/dev/sr0, ) 2011-07-01 04:34:41 <1> linux(3625) [zypp] MediaAccess.cc(open):162 Opened: cd(cd:///%2Fupdates?devices=/dev/sr0 not attached; localRoot "") 2011-07-01 04:34:41 <1> linux(3625) [zypp++] MediaManager.cc(open):279 Opened new media access using id 7 to cd:///%2Fupdates?devices=/dev/sr0 2011-07-01 04:34:41 <1> linux(3625) [zypp] MediaHandler.cc(attach):647 Attached: cd:///%2Fupdates?devices=/dev/sr0 attached; localRoot "/var/adm/mount/AP_0x00000001/updates" 2011-07-01 04:34:41 <1> linux(3625) [zypp] MediaHandler.cc(release):768 Released: cd:///%2Fupdates?devices=/dev/sr0 not attached; localRoot "" 2011-07-01 04:34:41 <3> linux(3625) [Pkg] Source_Create.cc(SourceCreateEx):664 SourceCreate for 'cd:///%2Fupdates?devices=/dev/sr0' product '' has failed 2011-07-01 04:34:41 <3> linux(3625) [YCP] AddOnProduct.ycp:1341 Unable to add product: cd:////updates?devices=/dev/sr0 2011-07-01 04:34:41 <3> linux(3625) [YCP] Report.ycp:472 Unable to add product cd:////updates?devices=/dev/sr0.
Uwe, In addition to the y2log that I provided above, is there anything else that I can post that might provide some useful information? -Jason This transmission may contain information that is privileged, confidential, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org