[JIRA] Created: (HUDSON-6667) Restart from UI after updating plugins doesn't work

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (HUDSON-6667) Restart from UI after updating plugins doesn't work

Hudson issues mailing list
Restart from UI after updating plugins doesn't work
---------------------------------------------------

                 Key: HUDSON-6667
                 URL: http://issues.hudson-ci.org/browse/HUDSON-6667
             Project: Hudson
          Issue Type: Bug
          Components: core
    Affects Versions: current
            Reporter: davidkarlsen


If attempting an "update after no jobs are running", I get:

Exception in thread "safe-restart thread" hudson.security.AccessDeniedException2: anonymous is missing the Administer permission
        at hudson.security.ACL.checkPermission(ACL.java:53)
        at hudson.model.Node.checkPermission(Node.java:310)
        at hudson.model.Hudson.doQuietDown(Hudson.java:2466)
        at hudson.model.Hudson$17.run(Hudson.java:2942)


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-6667) Restart from UI after updating plugins doesn't work

Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-6667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139023#action_139023 ]

voorth commented on HUDSON-6667:
--------------------------------

I'm getting the same error, even though I'm logged in with admin privileges.


> Restart from UI after updating plugins doesn't work
> ---------------------------------------------------
>
>                 Key: HUDSON-6667
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6667
>             Project: Hudson
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>            Reporter: davidkarlsen
>
> If attempting an "update after no jobs are running", I get:
> Exception in thread "safe-restart thread" hudson.security.AccessDeniedException2: anonymous is missing the Administer permission
>         at hudson.security.ACL.checkPermission(ACL.java:53)
>         at hudson.model.Node.checkPermission(Node.java:310)
>         at hudson.model.Hudson.doQuietDown(Hudson.java:2466)
>         at hudson.model.Hudson$17.run(Hudson.java:2942)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Assigned: (HUDSON-6667) Restart from UI after updating plugins doesn't work

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-6667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mindless reassigned HUDSON-6667:
--------------------------------

    Assignee: kohsuke

this is caused by r31001 / r31015
the doQuietDown call added in the background thread checks ADMINISTER permission.. the background thread is anonymous.  (and ADMINISTER permission was already checked before starting bg thread)

> Restart from UI after updating plugins doesn't work
> ---------------------------------------------------
>
>                 Key: HUDSON-6667
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6667
>             Project: Hudson
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>            Reporter: davidkarlsen
>            Assignee: kohsuke
>
> If attempting an "update after no jobs are running", I get:
> Exception in thread "safe-restart thread" hudson.security.AccessDeniedException2: anonymous is missing the Administer permission
>         at hudson.security.ACL.checkPermission(ACL.java:53)
>         at hudson.model.Node.checkPermission(Node.java:310)
>         at hudson.model.Hudson.doQuietDown(Hudson.java:2466)
>         at hudson.model.Hudson$17.run(Hudson.java:2942)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-6667) Restart from UI after updating plugins doesn't work

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-6667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139104#action_139104 ]

scm_issue_link commented on HUDSON-6667:
----------------------------------------

Code changed in hudson
User: : kohsuke
Path:
 trunk/hudson/main/core/src/main/java/hudson/model/Hudson.java
 trunk/www/changelog.html
http://hudson-ci.org/commit/31608
Log:
[FIXED HUDSON-6667] Background threads should run as the SYSTEM user.


> Restart from UI after updating plugins doesn't work
> ---------------------------------------------------
>
>                 Key: HUDSON-6667
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6667
>             Project: Hudson
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>            Reporter: davidkarlsen
>            Assignee: kohsuke
>
> If attempting an "update after no jobs are running", I get:
> Exception in thread "safe-restart thread" hudson.security.AccessDeniedException2: anonymous is missing the Administer permission
>         at hudson.security.ACL.checkPermission(ACL.java:53)
>         at hudson.model.Node.checkPermission(Node.java:310)
>         at hudson.model.Hudson.doQuietDown(Hudson.java:2466)
>         at hudson.model.Hudson$17.run(Hudson.java:2942)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Resolved: (HUDSON-6667) Restart from UI after updating plugins doesn't work

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-6667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

scm_issue_link resolved HUDSON-6667.
------------------------------------

    Resolution: Fixed

> Restart from UI after updating plugins doesn't work
> ---------------------------------------------------
>
>                 Key: HUDSON-6667
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6667
>             Project: Hudson
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>            Reporter: davidkarlsen
>            Assignee: kohsuke
>
> If attempting an "update after no jobs are running", I get:
> Exception in thread "safe-restart thread" hudson.security.AccessDeniedException2: anonymous is missing the Administer permission
>         at hudson.security.ACL.checkPermission(ACL.java:53)
>         at hudson.model.Node.checkPermission(Node.java:310)
>         at hudson.model.Hudson.doQuietDown(Hudson.java:2466)
>         at hudson.model.Hudson$17.run(Hudson.java:2942)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-6667) Restart from UI after updating plugins doesn't work

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-6667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139143#action_139143 ]

scm_issue_link commented on HUDSON-6667:
----------------------------------------

Code changed in hudson
User: : mindless
Path:
 trunk/hudson/main/core/src/main/java/hudson/model/Hudson.java
http://hudson-ci.org/commit/31633
Log:
[HUDSON-6667] wait indefinitely for quiet down to complete,
instead of waiting just 10 seconds and proceeding with restart (not so safe!)


> Restart from UI after updating plugins doesn't work
> ---------------------------------------------------
>
>                 Key: HUDSON-6667
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6667
>             Project: Hudson
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>            Reporter: davidkarlsen
>            Assignee: kohsuke
>
> If attempting an "update after no jobs are running", I get:
> Exception in thread "safe-restart thread" hudson.security.AccessDeniedException2: anonymous is missing the Administer permission
>         at hudson.security.ACL.checkPermission(ACL.java:53)
>         at hudson.model.Node.checkPermission(Node.java:310)
>         at hudson.model.Hudson.doQuietDown(Hudson.java:2466)
>         at hudson.model.Hudson$17.run(Hudson.java:2942)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]