PDA

View Full Version : SLES 11.3SP3 can't access repositories though its registered



tassitsupport
29-May-2015, 14:56
Hi all,

Well, the title says it all. I installed SLES 11.3 SP3 and registered it. During registration through yast it shows the registration status as sucessfull. I can also see the machine being registered @ suse.com. During the registration it should download the repositories, which it doesn't. The only repository I see is the DVD. Removing and re-registering either through yast or the command line doesn't work either.
Also tried to add a repository using zypper (like: zypper ar https://updates.suse.com/repo/$RCE/SLES11-SP3-Updates/sle-11-i586 updates). This adds the repo but I still can't access it, giving me an error: Permission to access 'https://updates.suse.com/repo//SLES11-SP3-Updates/sle-11-i586/repodata/repomd.xml' denied.
I went through the forums but wasn't able to find a lot of usefull resolutions, the ones I found didn't help.

So I'm kind of lost here about how to resolve it, anybody have any suggestions?

Thanks in advance.

malcolmlewis
29-May-2015, 15:27
On Fri 29 May 2015 02:04:02 PM CDT, tassitsupport wrote:


Hi all,

Well, the title says it all. I installed SLES 11.3 SP3 and registered
it. During registration through yast it shows the registration status as
sucessfull. I can also see the machine being registered @ suse.com.
During the registration it should download the repositories, which it
doesn't. The only repository I see is the DVD. Removing and
re-registering either through yast or the command line doesn't work
either.
Also tried to add a repository using zypper (like: -zypper ar
https://updates.suse.com/repo/$RCE/SLES11-SP3-Updates/sle-11-i586
updates-). This adds the repo but I still can't access it, giving me an
error: -Permission to access
'https://updates.suse.com/repo//SLES11-SP3-Updates/sle-11-i586/repodata/repomd.xml'
denied.-
I went through the forums but wasn't able to find a lot of usefull
resolutions, the ones I found didn't help.

So I'm kind of lost here about how to resolve it, anybody have any
suggestions?

Thanks in advance.




Hi
De-register the system in SCC again and clean out the credentials
in /etc/zypp/credentials.d/ as in delete.

Then re-register and then run a zypper ref from the command line
and the repos should be added.

--
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.39-47-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!

tassitsupport
29-May-2015, 15:39
Hi
De-register the system in SCC again and clean out the credentials
in /etc/zypp/credentials.d/ as in delete.

Then re-register and then run a zypper ref from the command line
and the repos should be added.


What would the best way to re-register: yast or suse_register?

jmozdzen
29-May-2015, 15:55
Hi tassitsupport,

> What would the best way to re-register: yast or suse_register?

I'd say - whatever you are more comfortable with ;) YaST2 gives you more suppport ui-wise, while suse_register gives you any and all CLI options you might want to employ. You decide.

Regards,
Jens

malcolmlewis
29-May-2015, 16:05
On Fri 29 May 2015 02:44:02 PM CDT, tassitsupport wrote:


malcolmlewis;28092 Wrote:
> Hi
> De-register the system in SCC again and clean out the credentials
> in /etc/zypp/credentials.d/ as in delete.
>
> Then re-register and then run a zypper ref from the command line
> and the repos should be added.
>

What would the best way to re-register: yast or suse_register?




Hi
I would use the command line suse_register and then run zypper ref.

--
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.39-47-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!

tassitsupport
29-May-2015, 16:11
Ok guys, things I tried:

-de-registered the server in scc and removed the credential file locally

-Tried registering using suse_register that gave me an error and a success:


Service 'updates'
Execute command: /usr/bin/zypper --non-interactive ref --service
Execute command exit(4): Permission to access 'https://updates.suse.com/repo//SLES11-SP3-Updates/sle-11-i586/repodata/repomd.xml' denied.

Permission to access 'https://updates.suse.com/repo//SLES11-SP3-Updates/sle-11-i586/content' denied.

Repository 'updates' is invalid.
[|] Valid metadata not found at specified URL(s)
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'updates' because of the above error.
Some of the repositories have not been refreshed because of an error.
Execute command result: All services have been refreshed.
Retrieving repository 'updates' metadata [.
Abort, retry, ignore? [a/r/i/?] (a): a
Abort, retry, ignore? [a/r/i/?] (a): a
Abort, retry, ignore? [a/r/i/?] (a): a
Abort, retry, ignore? [a/r/i/?] (a): a
error]
Refresh failed(34): All services have been refreshed.
Retrieving repository 'updates' metadata [.
Abort, retry, ignore? [a/r/i/?] (a): a
Abort, retry, ignore? [a/r/i/?] (a): a
Abort, retry, ignore? [a/r/i/?] (a): a
Abort, retry, ignore? [a/r/i/?] (a): a
error]
Permission to access 'https://updates.suse.com/repo//SLES11-SP3-Updates/sle-11-i586/repodata/repomd.xml' denied.

Permission to access 'https://updates.suse.com/repo//SLES11-SP3-Updates/sle-11-i586/content' denied.

Repository 'updates' is invalid.
[|] Valid metadata not found at specified URL(s)
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'updates' because of the above error.
Some of the repositories have not been refreshed because of an error.
All services have been refreshed.
Retrieving repository 'updates' metadata [.
Abort, retry, ignore? [a/r/i/?] (a): a
Abort, retry, ignore? [a/r/i/?] (a): a
Abort, retry, ignore? [a/r/i/?] (a): a
Abort, retry, ignore? [a/r/i/?] (a): a
error]
Permission to access 'https://updates.suse.com/repo//SLES11-SP3-Updates/sle-11-i586/repodata/repomd.xml' denied.

Permission to access 'https://updates.suse.com/repo//SLES11-SP3-Updates/sle-11-i586/content' denied.

Repository 'updates' is invalid.
[|] Valid metadata not found at specified URL(s)
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'updates' because of the above error.
Some of the repositories have not been refreshed because of an error.
Ignored(34)
Registration finished successfully


This was the repo I added manually. So I removed the repo and credentials again and tried it through yast.
I got forwarded to a webpage to enter my regcode and email address and after that the registration seemed successfull. The only thing is that there still was no repo added. In the details of the success message it stated something like 'repositories do not need to be changed'

So I'm still facing the same challenge. Everything seems to go well but in the end I don't get any repos added and can't access updates.
*bumps head against wall*

tassitsupport
29-May-2015, 16:31
Hi Malcolm,

I posted some result, do they show? It seems they stick to the bottom of the page....

Anyway like said, both methods give a 'success' on registering but don't add any repos. I'm still stuck with only my DVD repo.
Anything else I could try?

Thanks for your efforts so far.

malcolmlewis
31-May-2015, 01:39
On Fri 29 May 2015 03:14:02 PM CDT, tassitsupport wrote:
<snip>

So I'm still facing the same challenge. Everything seems to go well but
in the end I don't get any repos added and can't access updates.
*bumps head against wall*

Hi
Are the credentials present in /etc/zypp/credentials.d directory? NCC
and SCC?

If you force a refresh, do they get added;


zypper ref -f


--
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.39-47-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!

tassitsupport
01-Jun-2015, 08:24
Hi
Are the credentials present in /etc/zypp/credentials.d directory? NCC
and SCC?

If you force a refresh, do they get added;


zypper ref -f


--
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.39-47-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!

Hi Malcolm,

Yes, after deleting and re-registering a new NCCcredentials file is created and it contains a username and password.
When I issue the zypper ref -f I get the following:

Forcing raw metadata refresh
Retrieving repository 'SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138' metadata [done]
Forcing building of repository cache
Building repository 'SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138' cache [done]
All repositories have been refreshed.


The thing is that after that, I can still only see the DVD repository:

zypper lr -d
# | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service
--+--------------------------------------------------+--------------------------------------------------+---------+---------+----------+-------+--------------------------------------------------------------------------------+--------
1 | SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138 | SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138 | Yes | No | 99 | yast2 | cd:///?devices=/dev/disk/by-id/usb-PHILIPS_SPD3200L1_DEF10B6A832A-0:0,/dev/sr0 |



I registered again with debugging turned on (suse_register -d 3 -a regcode-sles=xxxxxxxx -a email=myemail -a moniker=hostname -L suse_register-d3.log) but I can't seem to find any errors in the logging.

malcolmlewis
01-Jun-2015, 16:16
Hi
Strange indeed, must be something with the interconnect between NCC and SCC....

If you try searching for something with zypper, eg;


zypper se libgpgme11

Does this start to add repositories? Else I think you may need to raise an SR.

ataschner
02-Jun-2015, 09:32
Hi
Perhaps you want to try
# suse_register --restor-repos

Running suse_register after having de-registered often does not enable repositories, that were there in the past.
//Andreas

smflood
02-Jun-2015, 10:59
On 02/06/2015 09:34, ataschner wrote:

> Perhaps you want to try
> # suse_register --restor-repos

Command is "suse_register --restore-repos" (restore with two "e"s) or
"suse_register -r".

HTH.
--
Simon
SUSE Knowledge Partner

------------------------------------------------------------------------
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.
------------------------------------------------------------------------

ataschner
03-Jun-2015, 07:29
> # suse_register --restor-repos

Command is "suse_register --restore-repos" (restore with two "e"s) or
"suse_register -r".

Thanks Simon - obvious typo :-)
suse_register would error out with an "Unknown option : restor-repos" which hopefully could have lead the user to try "suse_register -h" and get the supported options listed..
//Andreas

tassitsupport
03-Jun-2015, 16:04
Hi
Strange indeed, must be something with the interconnect between NCC and SCC....

If you try searching for something with zypper, eg;


zypper se libgpgme11

Does this start to add repositories? Else I think you may need to raise an SR.

Raising an SR could be somewhat difficult, I have a 'download only' subscription.

But......

I think I got it!

I already tried to add a repository manually (through Yast) using a URL like: https://updates.suse.com/repo/$RCE/SLES11-SP3_Pool/sle-11-x86_64 which kept giving me a 401.

After searching through the forums and google I came up with something worth a try. I tried adding a repo again but now I used the following URLs:
https://nu.novell.com/repo/$RCE/SLES11-SP3_Pool/sle-11-x86_64?credentials=NCCcredentials and https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials
Now the repos were added (yay!).

Through zypper I was now able to run an update, online update through Yast was still asking me to connect and get the repos. I'm not sure if running the updates or rebooting the server fixed that as well.
So indeed it look like there's something quite wrong with the interconnection between ncc and scc.

But anyway, thanks for your support! :)

tassitsupport
03-Jun-2015, 16:37
Ok, this is getting weird.

The above solution worked on a virtual machine which I installed on the server that originally had the issues. Now I'm trying to do the same on that server but it is giving me errors.
In Yast it only says: 'unable to create repository', when I try to add the repo using zypper it seems to work until I want to use it:


zypper ar -f https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials update
Adding repository 'update' [done]
Repository 'update' successfully added
Enabled: Yes
Autorefresh: Yes
GPG check: Yes
URI: https://nu.novell.com/repo//SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials

zypper lu
Retrieving repository 'update' metadata [error]
Repository 'update' is invalid.
[|] Valid metadata not found at specified URL(s)
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Disabling repository 'update' because of the above error.
Retrieving repository 'updates' metadata [error]
Repository 'updates' is invalid.
[|] Valid metadata not found at specified URL(s)
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Disabling repository 'updates' because of the above error.
Loading repository data...
Reading installed packages...
No updates found.

So there is some progress but we're not quite there yet :p

jmozdzen
03-Jun-2015, 16:41
Hi tassitsupport,


Ok, this is getting weird.

The above solution worked on a virtual machine which I installed on the server that originally had the issues. Now I'm trying to do the same on that server but it is giving me errors.
In Yast it only says: 'unable to create repository', when I try to add the repo using zypper it seems to work until I want to use it:


zypper ar -f https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials update
Adding repository 'update' [done]
Repository 'update' successfully added
Enabled: Yes
Autorefresh: Yes
GPG check: Yes
URI: https://nu.novell.com/repo//SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials

zypper lu
Retrieving repository 'update' metadata [error]
Repository 'update' is invalid.
[|] Valid metadata not found at specified URL(s)
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Disabling repository 'update' because of the above error.
Retrieving repository 'updates' metadata [error]
Repository 'updates' is invalid.
[|] Valid metadata not found at specified URL(s)
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Disabling repository 'updates' because of the above error.
Loading repository data...
Reading installed packages...
No updates found.

So there is some progress but we're not quite there yet :p

either quote the URL or escape the $ sign:

> zypper ar -f https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials update
> URI: https://nu.novell.com/repo//SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials

the shell replaced $RCE with the contents of the variable RCE :)

Regards,
Jens

tassitsupport
03-Jun-2015, 17:20
Yeah, I noticed that in the meantime (doh).

But even after correcting that, no luck:


sx333:/storage/xenvm/windows7x64-1 # zypper ar -f https://nu.novell.com/repo/\$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials update
Adding repository 'update' [done]
Repository 'update' successfully added
Enabled: Yes
Autorefresh: Yes
GPG check: Yes
URI: https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials

sx333:/storage/xenvm/windows7x64-1 # zypper lu
Retrieving repository 'update' metadata [error]
Repository 'update' is invalid.
[|] Valid metadata not found at specified URL(s)
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Disabling repository 'update' because of the above error.
Loading repository data...
Reading installed packages...
No updates found.
sx333:/storage/xenvm/windows7x64-1 # zypper lr -d
# | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service
--+--------------------------------------------------+--------------------------------------------------+---------+---------+----------+-------+---------------------------------------------------------------------------------------------+--------
1 | SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138 | SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138 | Yes | No | 99 | yast2 | cd:///?devices=/dev/disk/by-id/usb-PHILIPS_SPD3200L1_DEF10B6A832A-0:0,/dev/sr0 |
2 | update | update | Yes | Yes | 99 | NONE | https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials |


I noticed that the type for the repo was 'NONE', so I tried again adding the type to the command:


sx333:/storage/xenvm/windows7x64-1 # zypper ar -t rpm-md -f https://nu.novell.com/repo/\$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials update
Adding repository 'update' [done]
Repository 'update' successfully added
Enabled: Yes
Autorefresh: Yes
GPG check: Yes
URI: https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials

sx333:/storage/xenvm/windows7x64-1 # zypper lu
Retrieving repository 'update' metadata [\]
Timeout exceeded when accessing 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml?credentials=NCCcredentials'.

Abort, retry, ignore? [a/r/i] (r):
Trying again...
Retrieving repository 'update' metadata [|]
Timeout exceeded when accessing 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml?credentials=NCCcredentials'.

Abort, retry, ignore? [a/r/i] (r):
Autoselecting 'r' after 26 seconds.
Retrieving repository 'update' metadata [error]
Repository 'update' is invalid.
[|] Valid metadata not found at specified URL(s)
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Disabling repository 'update' because of the above error.
Loading repository data...
Reading installed packages...
No updates found.
sx333:/storage/xenvm/windows7x64-1 # zypper lr -d
# | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service
--+--------------------------------------------------+--------------------------------------------------+---------+---------+----------+--------+---------------------------------------------------------------------------------------------+--------
1 | SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138 | SUSE-Linux-Enterprise-Server-11-SP3 11.3.3-1.138 | Yes | No | 99 | yast2 | cd:///?devices=/dev/disk/by-id/usb-PHILIPS_SPD3200L1_DEF10B6A832A-0:0,/dev/sr0 |
2 | update | update | Yes | Yes | 99 | rpm-md | https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials |
sx333:/storage/xenvm/windows7x64-1 #


So now I get a timeout (?)

I checked on the VM that is working to see if the URL was still ok and yes, the /repodata/repomd.xml is there.

Strange that this is working on one machine and getting timeouts on the other :confused:

jmozdzen
03-Jun-2015, 17:45
Hi tassitsupport,

> I checked on the VM that is working to see if the URL was still ok and yes, the /repodata/repomd.xml is there.

have you tried to manually retrieve the file via wget or curl - maybe something is actually in the way, network-wise. Would you need to set a proxy that wasn't configured on sx333 (but was set on the VM), or something similar?

Regards,
Jens

tassitsupport
04-Jun-2015, 08:38
Hi tassitsupport,

> I checked on the VM that is working to see if the URL was still ok and yes, the /repodata/repomd.xml is there.

have you tried to manually retrieve the file via wget or curl - maybe something is actually in the way, network-wise. Would you need to set a proxy that wasn't configured on sx333 (but was set on the VM), or something similar?

Regards,
Jens

We're definitely thinking along the same lines here :)
I checked the firewall and saw some packets being blocked when running zypper lu. But when I checked on the VM, the same messages appeared but the zypper command seemed to work without any errors.

So I have a host server that is installed using the virtualization host scenario that isn't able to update. Then I got a guest VM on that server that is installed using the 'physical server' scenario that is working..........
Could it have something to do with the fact that the host is booted with another kernel (xen)?
Or could it be that it has something to do with the fact that the host is using bridge interfaces and the guest isn't (config directly in eth0)?

I'll keep looking but would appreciate any additional insights.

jmozdzen
04-Jun-2015, 10:05
Hi tassitsupport,

> I'll keep looking but would appreciate any additional insights

well, usually this boils down to either "the credentials are bogus" (which I for now will rule out, as the same work from within the VM) or "cannot access the URL". To check the latter, I typically try to use some tool under my control (wget, curl) to access the URL in question manually, and evaluate its returns.

"zypper" doesn't do any low-level magic - it just tries to fetch the files via the URL stem specified. OTOH, when there are proxies to be used, there are different ways to configure for the different tools and as I don't do this every day, I need to look up which one needs which configure. IIRC, zypper uses libcurl, which in turn does check configuration files for proxy settings (see "man curl" for a list of config file locations checked) - so if that's used inside the VM to set the proxy, that'd override any environment variable. OTOH, if no proxy is to be used, but set on sx333 somewhere, the request might fail as well.

Have you checked the zypper logs to see details of the HTML request, and tried manually (via wget, curl, browser - but making sure the request comes from the server in question, not ie browser on your PC ;) )? If so, what were the results? Does the request need to go through a proxy and if so, does it log the request?

Regards,
Jens

tassitsupport
04-Jun-2015, 10:31
No proxies needed. I should now, I also administer the network :cool:

Using zypper verbose doesn't make things any more clear:


sx333:~ # zypper -vvv lu
Verbosity: 5
Initializing Target
Checking whether to refresh metadata for update
Retrieving: https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml.asc?credentials=NCCcredentials [error]
Retrieving: https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml.key?credentials=NCCcredentials [error]
Retrieving: https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml?credentials=NCCcredentials [error]
Timeout exceeded when accessing 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml?credentials=NCCcredentials'

Using wget I see the following:


sx333:~ # wget https://nu.novell.com/repo/\$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials
--2015-06-04 11:26:12-- https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials
Resolving nu.novell.com... 68.232.34.212
Connecting to nu.novell.com|68.232.34.212|:443... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Authorization failed.


Interesting.... But I'm not sure if wget supports the use of ?credentials=NCCcredentials (?)

Also checked the contents of the NCCcredentials file. Those are the same as shown on the scc site for this machine.

tassitsupport
04-Jun-2015, 10:33
Oh, btw there are two sets of credentials: one for the VM and another one for the physical host. But that shouldn't matter, should it?

jmozdzen
04-Jun-2015, 12:49
Hi tassitsupport,


No proxies needed. I should now, I also administer the network :cool:

ok, that rules out one source of trouble.

,


Using zypper verbose doesn't make things any more clear:


sx333:~ # zypper -vvv lu
Verbosity: 5
Initializing Target
Checking whether to refresh metadata for update
Retrieving: https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml.asc?credentials=NCCcredentials [error]
Retrieving: https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml.key?credentials=NCCcredentials [error]
Retrieving: https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml?credentials=NCCcredentials [error]
Timeout exceeded when accessing 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml?credentials=NCCcredentials'

Using wget I see the following:


sx333:~ # wget https://nu.novell.com/repo/\$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials
--2015-06-04 11:26:12-- https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials
Resolving nu.novell.com... 68.232.34.212
Connecting to nu.novell.com|68.232.34.212|:443... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Authorization failed.


Interesting.... But I'm not sure if wget supports the use of ?credentials=NCCcredentials (?)

Also checked the contents of the NCCcredentials file. Those are the same as shown on the scc site for this machine.

I'm *sure* that wget won't do that. But it at least confirms that the system may, per default configuration, access the target system, as you see the response of the remote server.

Have you had a look at /var/log/zypper.log? Oh, and are these actual time-outs or are the retries "immediate", suggesting some completely different error is causing this (i.e. certificate verification problems)?

Next thing *I* then would do is to run tcpdump / wireshark / ... to see what is actually going on during "zypper", as far as https will let me see. Also there's a slight chance that "strace" will be able to report useful information about the session establishment, but it's certain that it will report a lot of stuff, so that it will take some experience and/or time to filter out the appropriate parts.

Regards,
Jens

jmozdzen
04-Jun-2015, 12:58
Oh, btw there are two sets of credentials: one for the VM and another one for the physical host. But that shouldn't matter, should it?

oh, of course that could matter - theoretically. It could be that the target CC user has no permission for the product, or a typo in the config file (yes, I know, you wrote you verified the credentials :) ), or some other problem. Have you tried zypper from the VM using the host's credentials? That might rule out credential problems...

Regards,
Jens

tassitsupport
05-Jun-2015, 09:00
I'm *sure* that wget won't do that. But it at least confirms that the system may, per default configuration, access the target system, as you see the response of the remote server.


Ok, clear. I tried also using
wget https://user:pass@nu.novell.com/repo/\$RCE/SLES11-SP3_Updates/sle-11-x86_64 but it gave me the same error:


Resolving nu.novell.com... 68.232.34.212
Connecting to nu.novell.com|68.232.34.212|:443... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Reusing existing connection to nu.novell.com:443.
HTTP request sent, awaiting response... 404 Not Found
2015-06-05 09:19:39 ERROR 404: Not Found.



Have you had a look at /var/log/zypper.log? Oh, and are these actual time-outs or are the retries "immediate", suggesting some completely different error is causing this (i.e. certificate verification problems)?

I'm pretty sure these are timeouts, the retries aren't immediate.

The log shows a number of errors: 401, 404, 504. It looks like there is an authentication error....... Oh, yesterday I once again removed the credentials an re-registered but no luck.

Part of the log:


2015-06-05 09:38:36 <3> sx333(10306) [zypp] MediaCurl.cc(doGetFileCopyFile):1433 curl error: 22: The requested URL returned error: 401, temp file size 0 bytes.
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaCurl.cc(evaluateCurlCode):961 HTTP response: 401 Login failed (URL: https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml.asc?credentials=NCCcredentials)
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaCurl.cc(evaluateCurlCode):962 MediaUnauthorizedException auth hint: ''
2015-06-05 09:38:36 <5> sx333(10306) [zypp] Exception.cc(log):137 MediaCurl.cc(evaluateCurlCode):966 THROW: Login failed. (https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml.asc?credentials=NCCcredentials): The requested URL returned error: 401
2015-06-05 09:38:36 <5> sx333(10306) [zypp] Exception.cc(log):137 MediaCurl.cc(evaluateCurlCode):1042 RETHROW: Login failed. (https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml.asc?credentials=NCCcredentials): The requested URL returned error: 401
2015-06-05 09:38:36 <5> sx333(10306) [zypp] Exception.cc(log):137 MediaCurl.cc(doGetFileCopyFile):1445 RETHROW: Login failed. (https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml.asc?credentials=NCCcredentials): The requested URL returned error: 401
2015-06-05 09:38:36 <1> sx333(10306) [zypp] PathInfo.cc(unlink):669 unlink /var/adm/mount/AP_0xAMAaR2/repodata/repomd.xml.asc.new.zypp.H6pQVC
2015-06-05 09:38:36 <5> sx333(10306) [zypp] Exception.cc(log):137 MediaMultiCurl.cc(doGetFileCopy):1293 RETHROW: Login failed. (https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml.asc?credentials=NCCcredentials): The requested URL returned error: 401
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] CredentialManager.cc(init_globalCredentials):146 global cred file does not existGot 0 global records.
2015-06-05 09:38:36 <1> sx333(10306) [zypp] IniParser.cc(parse):69 Start parsing /root/.zypp/credentials.cat[g___]
2015-06-05 09:38:36 <1> sx333(10306) [zypp] IniParser.cc(parse):119 Done parsing /root/.zypp/credentials.cat[_eF_]
2015-06-05 09:38:36 <1> sx333(10306) [Progress++] ProgressData.cc(report):86 {#6|/root/.zypp/credentials.cat}END
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] CredentialManager.cc(init_userCredentials):168 Got 3 user records.
2015-06-05 09:38:36 <1> sx333(10306) [zypp] IniParser.cc(parse):69 Start parsing /etc/zypp/credentials.d/NCCcredentials[g___]
2015-06-05 09:38:36 <1> sx333(10306) [zypp] IniParser.cc(parse):119 Done parsing /etc/zypp/credentials.d/NCCcredentials[_eF_]
2015-06-05 09:38:36 <1> sx333(10306) [Progress++] ProgressData.cc(report):86 {#7|/etc/zypp/credentials.d/NCCcredentials}END
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaCurl.cc(authenticate):1629 got stored credentials:
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaCurl.cc(authenticate):1629 username: '*********'
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaCurl.cc(authenticate):1629 password: <non-empty>
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaCurl.cc(authenticate):1629 auth_type: (0)
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaCurl.cc(authenticate):1629
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaMultiCurl.cc(doGetFileCopy):1266 dest: /var/adm/mount/AP_0xAMAaR2/repodata/repomd.xml.asc
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaMultiCurl.cc(doGetFileCopy):1267 temp: /var/adm/mount/AP_0xAMAaR2/repodata/repomd.xml.asc.new.zypp.TPxaTe
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaCurl.cc(doGetFileCopyFile):1359 /repodata/repomd.xml.asc
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaCurl.cc(doGetFileCopyFile):1369 URL: https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml.asc?credentials=NCCcredentials
2015-06-05 09:38:36 <3> sx333(10306) [zypp] MediaCurl.cc(doGetFileCopyFile):1433 curl error: 22: The requested URL returned error: 504, temp file size 0 bytes.
2015-06-05 09:38:36 <5> sx333(10306) [zypp] Exception.cc(log):137 MediaCurl.cc(evaluateCurlCode):972 THROW: Timeout exceeded when accessing 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml.asc?credentials=NCCcredentials'.
2015-06-05 09:38:36 <5> sx333(10306) [zypp] Exception.cc(log):137
2015-06-05 09:38:36 <5> sx333(10306) [zypp] Exception.cc(log):137 MediaCurl.cc(evaluateCurlCode):1042 RETHROW: Timeout exceeded when accessing 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml.asc?credentials=NCCcredentials'.
2015-06-05 09:38:36 <5> sx333(10306) [zypp] Exception.cc(log):137
2015-06-05 09:38:36 <5> sx333(10306) [zypp] Exception.cc(log):137 MediaCurl.cc(doGetFileCopyFile):1445 RETHROW: Timeout exceeded when accessing 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml.asc?credentials=NCCcredentials'.
2015-06-05 09:38:36 <5> sx333(10306) [zypp] Exception.cc(log):137
2015-06-05 09:38:36 <1> sx333(10306) [zypp] PathInfo.cc(unlink):669 unlink /var/adm/mount/AP_0xAMAaR2/repodata/repomd.xml.asc.new.zypp.TPxaTe
2015-06-05 09:38:36 <5> sx333(10306) [zypp] Exception.cc(log):137 MediaMultiCurl.cc(doGetFileCopy):1293 RETHROW: Timeout exceeded when accessing 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml.asc?credentials=NCCcredentials'.
2015-06-05 09:38:36 <5> sx333(10306) [zypp] Exception.cc(log):137
2015-06-05 09:38:36 <5> sx333(10306) [zypp] Exception.cc(log):137 MediaCurl.cc(getFileCopy):880 RETHROW: Timeout exceeded when accessing 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml.asc?credentials=NCCcredentials'.
2015-06-05 09:38:36 <5> sx333(10306) [zypp] Exception.cc(log):137
2015-06-05 09:38:36 <5> sx333(10306) [zypp] Exception.cc(log):137 MediaSetAccess.cc(provide):216 CAUGHT: Timeout exceeded when accessing 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml.asc?credentials=NCCcredentials'.
2015-06-05 09:38:36 <5> sx333(10306) [zypp] Exception.cc(log):137
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaManager.cc(checkDesired):112 checkDesired(1): desired (cached)
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaHandler.cc(getDetectedDevices):1372 No devices for this medium
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaSetAccess.cc(provide):228 Media couldn't provide file /repodata/repomd.xml.asc , releasing.
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaManager.cc(release):486 release(id=1)
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaHandler.cc(release):725 Request to release attached media https<https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials>, use count=1
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaHandler.cc(release):732 Releasing media https<https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials>
2015-06-05 09:38:36 <1> sx333(10306) [zypp] MediaHandler.cc(disconnect):704 Disconnected: https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials attached; localRoot "/var/adm/mount/AP_0xAMAaR2"
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaHandler.cc(removeAttachPoint):179 MediaHandler - checking if to remove attach point
2015-06-05 09:38:36 <1> sx333(10306) [zypp] PathInfo.cc(recursive_rmdir):428 recursive_rmdir /var/adm/mount/AP_0xAMAaR2
2015-06-05 09:38:36 <1> sx333(10306) [zypp] MediaHandler.cc(removeAttachPoint):191 Deleted default attach point /var/adm/mount/AP_0xAMAaR2
2015-06-05 09:38:36 <1> sx333(10306) [zypp] MediaHandler.cc(release):786 Released: https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials not attached; localRoot ""
2015-06-05 09:38:36 <1> sx333(10306) [zypp] MediaSetAccess.cc(provide):263 Can't provide file. Non-Interactive mode.
2015-06-05 09:38:36 <5> sx333(10306) [zypp] Exception.cc(log):137 MediaSetAccess.cc(provide):264 RETHROW: Timeout exceeded when accessing 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml.asc?credentials=NCCcredentials'.
2015-06-05 09:38:36 <5> sx333(10306) [zypp] Exception.cc(log):137
2015-06-05 09:38:36 <5> sx333(10306) [zypp] Exception.cc(log):137 Fetcher.cc(provideToDest):576 CAUGHT: Timeout exceeded when accessing 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml.asc?credentials=NCCcredentials'.
2015-06-05 09:38:36 <5> sx333(10306) [zypp] Exception.cc(log):137
2015-06-05 09:38:36 <2> sx333(10306) [zypp:fetcher] Fetcher.cc(provideToDest):577 optional resource [1]/repodata/repomd.xml.asc{0 B|NoCheckSum} could not be transfered
2015-06-05 09:38:36 <1> sx333(10306) [zypp:fetcher] Fetcher.cc(downloadAndReadIndexList):716 No indexes to read.
2015-06-05 09:38:36 <1> sx333(10306) [zypp:fetcher] Fetcher.cc(provideFromCache):350 start fetcher with 2 cache directories.
2015-06-05 09:38:36 <1> sx333(10306) [zypp:fetcher] Fetcher.cc(provideToDest):548 Not found in cache, downloading
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaSetAccess.cc(provide):203 Going to try to provide optional file /repodata/repomd.xml.key from media number 1
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaManager.cc(attach):413 attach(id=1)
2015-06-05 09:38:36 <1> sx333(10306) [zypp] MediaHandler.cc(createAttachPoint):371 Created default attach point /var/adm/mount/AP_0xTGE3yR
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] Sysconfig.cc(read):31 Load '/etc/sysconfig/proxy'
2015-06-05 09:38:36 <1> sx333(10306) [zypp] Sysconfig.cc(read):71 done reading '/etc/sysconfig/proxy'
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaCurl.cc(setupEasy):637 Enabling HTTP authentication methods: digest,basic (CURLOPT_HTTPAUTH=3)
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaCurl.cc(setupEasy):691 Proxy: not explicitly set
2015-06-05 09:38:36 <1> sx333(10306) [zypp] MediaHandler.cc(attach):665 Attached: https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials attached; localRoot "/var/adm/mount/AP_0xTGE3yR"
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaManager.cc(checkDesired):109 checkDesired(1): desired (report by zypp::media::NoVerifier)
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaManager.cc(checkDesired):112 checkDesired(1): desired (cached)
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaManager.cc(checkDesired):112 checkDesired(1): desired (cached)
2015-06-05 09:38:36 <1> sx333(10306) [zypp] PathInfo.cc(assert_dir):356 mkdir /var/adm/mount/AP_0xTGE3yR/repodata 00755
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaMultiCurl.cc(doGetFileCopy):1266 dest: /var/adm/mount/AP_0xTGE3yR/repodata/repomd.xml.key
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaMultiCurl.cc(doGetFileCopy):1267 temp: /var/adm/mount/AP_0xTGE3yR/repodata/repomd.xml.key.new.zypp.fvSZeu
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaCurl.cc(doGetFileCopyFile):1359 /repodata/repomd.xml.key
2015-06-05 09:38:36 <1> sx333(10306) [zypp++] MediaCurl.cc(doGetFileCopyFile):1369 URL: https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml.key?credentials=NCCcredentials
2015-06-05 09:38:38 <3> sx333(10306) [zypp] MediaCurl.cc(doGetFileCopyFile):1433 curl error: 22: The requested URL returned error: 404, temp file size 0 bytes.
2015-06-05 09:38:38 <5> sx333(10306) [zypp] Exception.cc(log):137 MediaCurl.cc(evaluateCurlCode):981 THROW: File '/repodata/repomd.xml.key' not found on medium 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials'
2015-06-05 09:38:38 <5> sx333(10306) [zypp] Exception.cc(log):137
2015-06-05 09:38:38 <5> sx333(10306) [zypp] Exception.cc(log):137 MediaCurl.cc(evaluateCurlCode):1042 RETHROW: File '/repodata/repomd.xml.key' not found on medium 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials'
2015-06-05 09:38:38 <5> sx333(10306) [zypp] Exception.cc(log):137
2015-06-05 09:38:38 <5> sx333(10306) [zypp] Exception.cc(log):137 MediaCurl.cc(doGetFileCopyFile):1445 RETHROW: File '/repodata/repomd.xml.key' not found on medium 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials'
2015-06-05 09:38:38 <5> sx333(10306) [zypp] Exception.cc(log):137
2015-06-05 09:38:38 <1> sx333(10306) [zypp] PathInfo.cc(unlink):669 unlink /var/adm/mount/AP_0xTGE3yR/repodata/repomd.xml.key.new.zypp.fvSZeu
2015-06-05 09:38:38 <5> sx333(10306) [zypp] Exception.cc(log):137 MediaMultiCurl.cc(doGetFileCopy):1293 RETHROW: File '/repodata/repomd.xml.key' not found on medium 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials'
2015-06-05 09:38:38 <5> sx333(10306) [zypp] Exception.cc(log):137
2015-06-05 09:38:38 <5> sx333(10306) [zypp] Exception.cc(log):137 MediaCurl.cc(getFileCopy):880 RETHROW: File '/repodata/repomd.xml.key' not found on medium 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials'
2015-06-05 09:38:38 <5> sx333(10306) [zypp] Exception.cc(log):137
2015-06-05 09:38:38 <5> sx333(10306) [zypp] Exception.cc(log):137 MediaSetAccess.cc(provide):216 CAUGHT: File '/repodata/repomd.xml.key' not found on medium 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials'
2015-06-05 09:38:38 <5> sx333(10306) [zypp] Exception.cc(log):137
2015-06-05 09:38:38 <1> sx333(10306) [zypp++] MediaManager.cc(checkDesired):112 checkDesired(1): desired (cached)
2015-06-05 09:38:38 <1> sx333(10306) [zypp++] MediaHandler.cc(getDetectedDevices):1372 No devices for this medium
2015-06-05 09:38:38 <1> sx333(10306) [zypp++] MediaSetAccess.cc(provide):228 Media couldn't provide file /repodata/repomd.xml.key , releasing.
2015-06-05 09:38:38 <1> sx333(10306) [zypp++] MediaManager.cc(release):486 release(id=1)
2015-06-05 09:38:38 <1> sx333(10306) [zypp++] MediaHandler.cc(release):725 Request to release attached media https<https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials>, use count=1
2015-06-05 09:38:38 <1> sx333(10306) [zypp++] MediaHandler.cc(release):732 Releasing media https<https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials>
2015-06-05 09:38:38 <1> sx333(10306) [zypp] MediaHandler.cc(disconnect):704 Disconnected: https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials attached; localRoot "/var/adm/mount/AP_0xTGE3yR"
2015-06-05 09:38:38 <1> sx333(10306) [zypp++] MediaHandler.cc(removeAttachPoint):179 MediaHandler - checking if to remove attach point
2015-06-05 09:38:38 <1> sx333(10306) [zypp] PathInfo.cc(recursive_rmdir):428 recursive_rmdir /var/adm/mount/AP_0xTGE3yR
2015-06-05 09:38:38 <1> sx333(10306) [zypp] MediaHandler.cc(removeAttachPoint):191 Deleted default attach point /var/adm/mount/AP_0xTGE3yR
2015-06-05 09:38:38 <1> sx333(10306) [zypp] MediaHandler.cc(release):786 Released: https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials not attached; localRoot ""
2015-06-05 09:38:38 <1> sx333(10306) [zypp] MediaSetAccess.cc(provide):263 Can't provide file. Non-Interactive mode.
2015-06-05 09:38:38 <5> sx333(10306) [zypp] Exception.cc(log):137 MediaSetAccess.cc(provide):264 RETHROW: File '/repodata/repomd.xml.key' not found on medium 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials'
2015-06-05 09:38:38 <5> sx333(10306) [zypp] Exception.cc(log):137
2015-06-05 09:38:38 <5> sx333(10306) [zypp] Exception.cc(log):137 Fetcher.cc(provideToDest):576 CAUGHT: File '/repodata/repomd.xml.key' not found on medium 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials'
2015-06-05 09:38:38 <5> sx333(10306) [zypp] Exception.cc(log):137
2015-06-05 09:38:38 <2> sx333(10306) [zypp:fetcher] Fetcher.cc(provideToDest):577 optional resource [1]/repodata/repomd.xml.key{0 B|NoCheckSum} could not be transfered
2015-06-05 09:38:38 <1> sx333(10306) [zypp:fetcher] Fetcher.cc(downloadAndReadIndexList):716 No indexes to read.
2015-06-05 09:38:38 <1> sx333(10306) [zypp:fetcher] Fetcher.cc(provideFromCache):350 start fetcher with 2 cache directories.
2015-06-05 09:38:38 <1> sx333(10306) [zypp:fetcher] Fetcher.cc(provideToDest):548 Not found in cache, downloading
2015-06-05 09:38:38 <1> sx333(10306) [zypp++] MediaSetAccess.cc(provide):203 Going to try to provide file /repodata/repomd.xml from media number 1
2015-06-05 09:38:38 <1> sx333(10306) [zypp++] MediaManager.cc(attach):413 attach(id=1)
2015-06-05 09:38:38 <1> sx333(10306) [zypp] MediaHandler.cc(createAttachPoint):371 Created default attach point /var/adm/mount/AP_0xniB49a
2015-06-05 09:38:38 <1> sx333(10306) [zypp++] Sysconfig.cc(read):31 Load '/etc/sysconfig/proxy'
2015-06-05 09:38:38 <1> sx333(10306) [zypp] Sysconfig.cc(read):71 done reading '/etc/sysconfig/proxy'
2015-06-05 09:38:38 <1> sx333(10306) [zypp++] MediaCurl.cc(setupEasy):637 Enabling HTTP authentication methods: digest,basic (CURLOPT_HTTPAUTH=3)
2015-06-05 09:38:38 <1> sx333(10306) [zypp++] MediaCurl.cc(setupEasy):691 Proxy: not explicitly set
2015-06-05 09:38:38 <1> sx333(10306) [zypp] MediaHandler.cc(attach):665 Attached: https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials attached; localRoot "/var/adm/mount/AP_0xniB49a"
2015-06-05 09:38:38 <1> sx333(10306) [zypp++] MediaManager.cc(checkDesired):109 checkDesired(1): desired (report by zypp::media::NoVerifier)
2015-06-05 09:38:38 <1> sx333(10306) [zypp++] MediaManager.cc(checkDesired):112 checkDesired(1): desired (cached)
2015-06-05 09:38:38 <1> sx333(10306) [zypp++] MediaManager.cc(checkDesired):112 checkDesired(1): desired (cached)
2015-06-05 09:38:38 <1> sx333(10306) [zypp] PathInfo.cc(assert_dir):356 mkdir /var/adm/mount/AP_0xniB49a/repodata 00755
2015-06-05 09:38:38 <1> sx333(10306) [zypp++] MediaMultiCurl.cc(doGetFileCopy):1266 dest: /var/adm/mount/AP_0xniB49a/repodata/repomd.xml
2015-06-05 09:38:38 <1> sx333(10306) [zypp++] MediaMultiCurl.cc(doGetFileCopy):1267 temp: /var/adm/mount/AP_0xniB49a/repodata/repomd.xml.new.zypp.m7tc5R
2015-06-05 09:38:38 <1> sx333(10306) [zypp++] MediaCurl.cc(doGetFileCopyFile):1359 /repodata/repomd.xml
2015-06-05 09:38:38 <1> sx333(10306) [zypp++] MediaCurl.cc(doGetFileCopyFile):1369 URL: https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml?credentials=NCCcredentials
2015-06-05 09:38:39 <3> sx333(10306) [zypp] MediaCurl.cc(doGetFileCopyFile):1433 curl error: 22: The requested URL returned error: 504, temp file size 0 bytes.
2015-06-05 09:38:39 <5> sx333(10306) [zypp] Exception.cc(log):137 MediaCurl.cc(evaluateCurlCode):972 THROW: Timeout exceeded when accessing 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml?credentials=NCCcredentials'.
2015-06-05 09:38:39 <5> sx333(10306) [zypp] Exception.cc(log):137
2015-06-05 09:38:39 <5> sx333(10306) [zypp] Exception.cc(log):137 MediaCurl.cc(evaluateCurlCode):1042 RETHROW: Timeout exceeded when accessing 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml?credentials=NCCcredentials'.
2015-06-05 09:38:39 <5> sx333(10306) [zypp] Exception.cc(log):137
2015-06-05 09:38:39 <5> sx333(10306) [zypp] Exception.cc(log):137 MediaCurl.cc(doGetFileCopyFile):1445 RETHROW: Timeout exceeded when accessing 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml?credentials=NCCcredentials'.
2015-06-05 09:38:39 <5> sx333(10306) [zypp] Exception.cc(log):137
2015-06-05 09:38:39 <1> sx333(10306) [zypp] PathInfo.cc(unlink):669 unlink /var/adm/mount/AP_0xniB49a/repodata/repomd.xml.new.zypp.m7tc5R
2015-06-05 09:38:39 <5> sx333(10306) [zypp] Exception.cc(log):137 MediaMultiCurl.cc(doGetFileCopy):1293 RETHROW: Timeout exceeded when accessing 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml?credentials=NCCcredentials'.
2015-06-05 09:38:39 <5> sx333(10306) [zypp] Exception.cc(log):137
2015-06-05 09:38:39 <5> sx333(10306) [zypp] Exception.cc(log):137 MediaCurl.cc(getFileCopy):880 RETHROW: Timeout exceeded when accessing 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml?credentials=NCCcredentials'.
2015-06-05 09:38:39 <5> sx333(10306) [zypp] Exception.cc(log):137
2015-06-05 09:38:39 <5> sx333(10306) [zypp] Exception.cc(log):137 MediaSetAccess.cc(provide):216 CAUGHT: Timeout exceeded when accessing 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml?credentials=NCCcredentials'.
2015-06-05 09:38:39 <5> sx333(10306) [zypp] Exception.cc(log):137
2015-06-05 09:38:39 <1> sx333(10306) [zypp++] MediaManager.cc(checkDesired):112 checkDesired(1): desired (cached)
2015-06-05 09:38:39 <1> sx333(10306) [zypp++] MediaHandler.cc(getDetectedDevices):1372 No devices for this medium
2015-06-05 09:38:39 <1> sx333(10306) [zypp++] MediaSetAccess.cc(provide):228 Media couldn't provide file /repodata/repomd.xml , releasing.
2015-06-05 09:38:39 <1> sx333(10306) [zypp++] MediaManager.cc(release):486 release(id=1)
2015-06-05 09:38:39 <1> sx333(10306) [zypp++] MediaHandler.cc(release):725 Request to release attached media https<https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials>, use count=1
2015-06-05 09:38:39 <1> sx333(10306) [zypp++] MediaHandler.cc(release):732 Releasing media https<https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials>
2015-06-05 09:38:39 <1> sx333(10306) [zypp] MediaHandler.cc(disconnect):704 Disconnected: https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials attached; localRoot "/var/adm/mount/AP_0xniB49a"
2015-06-05 09:38:39 <1> sx333(10306) [zypp++] MediaHandler.cc(removeAttachPoint):179 MediaHandler - checking if to remove attach point
2015-06-05 09:38:39 <1> sx333(10306) [zypp] PathInfo.cc(recursive_rmdir):428 recursive_rmdir /var/adm/mount/AP_0xniB49a
2015-06-05 09:38:39 <1> sx333(10306) [zypp] MediaHandler.cc(removeAttachPoint):191 Deleted default attach point /var/adm/mount/AP_0xniB49a
2015-06-05 09:38:39 <1> sx333(10306) [zypp] MediaHandler.cc(release):786 Released: https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials not attached; localRoot ""
2015-06-05 09:38:39 <1> sx333(10306) [zypp] MediaManager.cc(releaseAll):525 Releasing all attached media
2015-06-05 09:38:39 <1> sx333(10306) [zypp++] MediaManager.cc(releaseAll):543 Media id 1 not attached
2015-06-05 09:38:39 <1> sx333(10306) [zypp] MediaManager.cc(releaseAll):553 Exit
2015-06-05 09:38:39 <1> sx333(10306) [zypper++] media.cc(requestMedia):215 medium problem, url: https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials, error 5, label '', #1
2015-06-05 09:38:39 <1> sx333(10306) [zypper] misc.cc(is_changeable_media):39 Checking if this is a changeable medium
2015-06-05 09:38:39 <1> sx333(10306) [zypp] MediaAccess.cc(open):118 Trying scheme 'https'
2015-06-05 09:38:39 <2> sx333(10306) [zypp] MediaAccess.cc(open):161 unknown mediahandler set:
2015-06-05 09:38:39 <1> sx333(10306) [zypp] MediaCurl.cc(MediaCurl):448 MediaCurl::MediaCurl(https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials, )
2015-06-05 09:38:39 <1> sx333(10306) [zypp] MediaMultiCurl.cc(MediaMultiCurl):1158 MediaMultiCurl::MediaMultiCurl(https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials, )
2015-06-05 09:38:39 <1> sx333(10306) [zypp] MediaAccess.cc(open):234 Opened: https(https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials not attached; localRoot "")
2015-06-05 09:38:39 <1> sx333(10306) [zypp++] MediaManager.cc(open):277 Opened new media access using id 2 to https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials
2015-06-05 09:38:39 <1> sx333(10306) [zypp++] MediaManager.cc(close):309 Close to access handler using id 2 requested
2015-06-05 09:38:39 <1> sx333(10306) [zypp++] MediaHandler.cc(release):718 Request to release media - not attached; eject ''
2015-06-05 09:38:39 <1> sx333(10306) [zypp] MediaAccess.cc(close):285 Close: https(https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64?credentials=NCCcredentials not attached; localRoot "") (OK)
2015-06-05 09:38:39 <1> sx333(10306) [zypp++] MediaHandler.cc(release):718 Request to release media - not attached; eject ''
2015-06-05 09:38:39 <1> sx333(10306) [zypp++] MediaHandler.cc(removeAttachPoint):179 MediaHandler - checking if to remove attach point
2015-06-05 09:38:43 <1> sx333(10306) [zypper++] prompt.cc(read_action_ari_with_timeout):195 reply: a (a lowercase)
2015-06-05 09:38:43 <1> sx333(10306) [zypper++] prompt.cc(read_action_ari_with_timeout):199 index: 0 option: a
2015-06-05 09:38:43 <1> sx333(10306) [zypp] MediaSetAccess.cc(provide):282 ProvideFile exception caught, callback answer: 0
2015-06-05 09:38:43 <1> sx333(10306) [zypp++] MediaSetAccess.cc(provide):286 Aborting
2015-06-05 09:38:43 <5> sx333(10306) [zypp] Exception.cc(log):137 MediaSetAccess.cc(provide):287 RETHROW: Timeout exceeded when accessing 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml?credentials=NCCcredentials'.
2015-06-05 09:38:43 <5> sx333(10306) [zypp] Exception.cc(log):137
2015-06-05 09:38:43 <5> sx333(10306) [zypp] Exception.cc(log):137 Fetcher.cc(provideToDest):583 RETHROW: Timeout exceeded when accessing 'https://nu.novell.com/repo/$RCE/SLES11-SP3_Updates/sle-11-x86_64/repodata/repomd.xml?credentials=NCCcredentials'.
2015-06-05 09:38:43 <5> sx333(10306) [zypp] Exception.cc(log):137
2015-06-05 09:38:43 <5> sx333(10306) [zypp] Exception.cc(log):137 History:
2015-06-05 09:38:43 <5> sx333(10306) [zypp] Exception.cc(log):137 - Can't provide /repodata/repomd.xml
2015-06-05 09:38:43 <5> sx333(10306) [zypp] Exception.cc(log):137
2015-06-05 09:38:43 <1> sx333(10306) [Progress++] ProgressData.cc(report):86 {#4|}END




Next thing *I* then would do is to run tcpdump / wireshark / ... to see what is actually going on during "zypper", as far as https will let me see. Also there's a slight chance that "strace" will be able to report useful information about the session establishment, but it's certain that it will report a lot of stuff, so that it will take some experience and/or time to filter out the appropriate parts.

Ah, wireshark. My favorite seefood :) I'll have a go at that and try strace, I have the time and hopefully the experience to dig through that.


Have you tried zypper from the VM using the host's credentials? That might rule out credential problems.

Good one! I'll try that first and see what happens.

This might take some time as I also have other duties to attend to, but I'll get back as soon as I have some more insights.