Bug 658711

Summary: Openjsuse 11.4 Yast online update not working because update server setup fails.
Product: [openSUSE] openSUSE 11.4 Reporter: andreas hoffmann <andreas.in.hk>
Component: YaST2Assignee: Jiří Suchomel <jsuchome>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: euchrid, jdsn, mc, schubi
Version: Milestone 4 of 6   
Target Milestone: ---   
Hardware: Other   
OS: SUSE Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description andreas hoffmann 2010-12-10 07:34:14 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101026 SUSE/3.6.12-1.2 Firefox/3.6.12

Online update in yast not working, cant setup the update server.
Its redirecting me to a novel website to register, but its constantly failing.
When i click continue in the registration page nothing happens or the browser closes as the continue button has some javascript link that closes the browser.
Without this step the yast online update wont work. pls fix as im using yast mainly to update the system.

Reproducible: Always

Steps to Reproduce:
1. do online update in yast
2. on the following registration diaolg click continue
3. redireted to browser, click continue there
4. browser closes or nothing happens.
5. cycle begins if browser closes or is closed manually
Actual Results:  
the result is the update still doesnt work.

Expected Results:  
online update working after server registration.
Comment 1 J. Daniel Schmidt 2011-01-07 16:04:03 UTC
openSUSE does NOT require any registration at all since 11.3 - it is not even supported anymore by the Novell registration server.
The real bug is, that there is still something that points to the registration.

During development of 11.3 I did a drop request for the registration. Somehow it ended up in the distribution again, grrr - will open another bug for this.
This bug is to track that part of YaST that point to the useless and obsolete registration.
Comment 2 J. Daniel Schmidt 2011-01-10 16:32:23 UTC
The existence of yast2-registration in openSUSE is tracked in bug #663416 now.
Comment 3 J. Daniel Schmidt 2011-01-14 16:32:18 UTC
(In reply to comment #0)
> 
> Online update in yast not working, cant setup the update server.

The update server is added automatically during installation.
Upon accidental removal it can even be restored using the repository manager.

> Its redirecting me to a novel website to register, but its constantly failing.

What is redirecting you to a website?

What pointed you to the registration in the first place?
Registration is obsolete for openSUSE, so no other software should even call it.
If you can tell us, we can remove it. Thanks.
Comment 4 andreas hoffmann 2011-01-17 07:41:46 UTC
Now it works for a few times already after I did some updates with zypper update on the console maybe a few days ago.

It appeared initially when i ran online update in yast. Then it told me that 
the update server needs to be configured. And in this process it points me to a 
registration page which doesnt work. All out of a sudden, after doing the updates by zypper manually for a few times i tried again in yast and it worked then.

Before when it was broken the new tool and zypper always worked out of the box, just yast was not working in the beginning. But now it works, at least for me.
Comment 5 Stefan Schubert 2011-01-17 09:50:17 UTC
Lukas do you know where (in which module) the registration is called ?
Comment 6 Lukas Ocilka 2011-01-17 10:27:28 UTC
Probably from
  a.) YaST online update
or
  b.) The online update applet

Installation or Upgrade frameworks that I still maintain do not check
whether you have any online update repository and do not offer to
configure it via obsolete registration.
Comment 7 Stefan Schubert 2011-01-17 13:58:43 UTC
Jiri, could you please check the online update ?
Comment 8 Jiří Suchomel 2011-01-17 14:31:56 UTC
online update used to call inst_suse_register if update repo was lost, see bug 565094. If this was changed, what should we do instead?
Comment 9 J. Daniel Schmidt 2011-01-17 15:29:38 UTC
(In reply to comment #8)
> online update used to call inst_suse_register if update repo was lost, see bug
> 565094. If this was changed, what should we do instead?

Please instead call the repsitories module, the update repo should be in the list of community repos. If it is not we should ask coolo to add it there.
Comment 12 Jiří Suchomel 2011-01-20 13:49:27 UTC
Done: repositories module is called in case of openSUSE