[JIRA] [core] (JENKINS-33776) Cannot start from preview rpm

26 views
Skip to first unread message

bent@terp.se (JIRA)

unread,
Mar 24, 2016, 12:11:01 AM3/24/16
to jenkinsc...@googlegroups.com
Bent Terp created an issue
 
Jenkins / Bug JENKINS-33776
Cannot start from preview rpm
Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 2016/Mar/24 4:10 AM
Environment: CentOS 7
openjdk version "1.8.0_71"
Labels: 2.0
Priority: Major Major
Reporter: Bent Terp

I installed the rpm from the preview repository and simply started it, but get this in the log:
Running from: /usr/lib/jenkins/jenkins.war
Mar 24, 2016 3:55:27 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Logging initialized @1015ms
Mar 24, 2016 3:55:27 AM winstone.Logger logInternal
INFO: Beginning extraction from war file
Mar 24, 2016 3:55:28 AM org.eclipse.jetty.util.log.JavaUtilLog warn
WARNING: Empty contextPath
Mar 24, 2016 3:55:29 AM winstone.Logger logInternal
INFO: Winstone shutdown successfully
Mar 24, 2016 3:55:29 AM winstone.Logger logInternal
SEVERE: Container startup failed
java.io.IOException: Failed to start a listener: winstone.Ajp13ConnectorFactory
at winstone.Launcher.spawnListener(Launcher.java:207)
at winstone.Launcher.<init>(Launcher.java:148)
at winstone.Launcher.main(Launcher.java:352)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at Main._main(Main.java:246)
at Main.main(Main.java:91)
Caused by: java.lang.UnsupportedOperationException: AJP support is removed in Winstone 3.0 due to Jetty 9 not supporting AJP. For reverse proxying, please use HTTP instead of AJP.
at winstone.Ajp13ConnectorFactory.start(Ajp13ConnectorFactory.java:31)
at winstone.Launcher.spawnListener(Launcher.java:205)
... 8 more

The issue does not go away when downgrading Java to java version "1.7.0_95"

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

dbeck@cloudbees.com (JIRA)

unread,
Mar 24, 2016, 10:53:02 AM3/24/16
to jenkinsc...@googlegroups.com
Daniel Beck commented on Bug JENKINS-33776
 
Re: Cannot start from preview rpm

Is this a new installation, or an upgrade?

Could you try the beta which we released earlier today?

dbeck@cloudbees.com (JIRA)

unread,
Mar 24, 2016, 11:30:02 AM3/24/16
to jenkinsc...@googlegroups.com
Daniel Beck updated an issue
 
Change By: Daniel Beck
Priority: Major Critical

bent@terp.se (JIRA)

unread,
Mar 24, 2016, 1:29:01 PM3/24/16
to jenkinsc...@googlegroups.com
Bent Terp commented on Bug JENKINS-33776
 
Re: Cannot start from preview rpm

There is no new version available on the jenkins-rc repo:
[centos@jenkins ~]$ sudo yum list jenkins
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

I can't see which build it corresponds to.

dbeck@cloudbees.com (JIRA)

unread,
Mar 24, 2016, 8:10:03 PM3/24/16
to jenkinsc...@googlegroups.com

Probably just caused by our release process that does not support multiple alphas etc. and reuses/replaces versions. This is the first time we don't just increment a number on a weekly basis, and it shows

If you look at http://pkg.jenkins-ci.org/redhat-rc/ it was last updated this Thursday.

bent@terp.se (JIRA)

unread,
Mar 25, 2016, 12:25:03 AM3/25/16
to jenkinsc...@googlegroups.com

The sysconfig contains
JENKINS_AJP_PORT="8009"
JENKINS_AJP_LISTEN_ADDRESS=""
and that triggers the behaviour.

If I comment out those two lines, then it works much better.

If AJP is no longer supported (which is what java -jar jenkins.war --help indicates to me), then AJP should be removed from sysconfig and init-script. It is a debatable point whether jenkins should ignore those parameters rather than crash, but it is a rather heavy-fisted way of telling people to update their installation. Probably the code has not been completely removed yet.

Anyways, the fix seems simple - suggestion attached as beta1.patch

Thanks for reaching out!

bent@terp.se (JIRA)

unread,
Mar 25, 2016, 12:25:06 AM3/25/16
to jenkinsc...@googlegroups.com
Bent Terp updated an issue
 
Change By: Bent Terp
Attachment: beta1.patch

dbeck@cloudbees.com (JIRA)

unread,
Mar 25, 2016, 6:52:01 AM3/25/16
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Mar 25, 2016, 6:53:02 AM3/25/16
to jenkinsc...@googlegroups.com
Daniel Beck updated an issue
 
Change By: Daniel Beck
Priority: Critical Blocker

dbeck@cloudbees.com (JIRA)

unread,
Mar 25, 2016, 6:53:02 AM3/25/16
to jenkinsc...@googlegroups.com
Daniel Beck updated an issue
Change By: Daniel Beck
Component/s: packaging
Component/s: winstone-jetty
Component/s: core

swashburn@cloudbees.com (JIRA)

unread,
Mar 25, 2016, 9:38:03 AM3/25/16
to jenkinsc...@googlegroups.com
Spike Washburn commented on Bug JENKINS-33776
 
Re: Cannot start from preview rpm

Suggest: remove options for AJP from packaging and consider making winstone to log a warning and fallback to a working behavior.
Consider: When upgrading from a older Jenkins that was previously using AJP, Jenkins shouldn't fail hard.

swashburn@cloudbees.com (JIRA)

unread,
Mar 25, 2016, 10:00:02 AM3/25/16
to jenkinsc...@googlegroups.com
Spike Washburn assigned an issue to Sam Van Oort
 
Change By: Spike Washburn
Assignee: Sam Van Oort

svanoort@cloudbees.com (JIRA)

unread,
Mar 25, 2016, 10:46:02 AM3/25/16
to jenkinsc...@googlegroups.com
Sam Van Oort commented on Bug JENKINS-33776
 
Re: Cannot start from preview rpm

Breaking AJP will be a hard deal-breaker for some people, even though it is an older technology. This would be a significant compatibility break for some users.

If possible we should handle this WAR-side: the best option would be to use some library to translate AJP requests to proxied HTTP, failing that we should ignore arguments and log a warning (so existing configurations do not break on upgrade).

Consider: When upgrading from a older Jenkins that was previously using AJP, Jenkins shouldn't fail hard.

Agreed. This would be a Big Deal for some.

svanoort@cloudbees.com (JIRA)

unread,
Mar 25, 2016, 10:58:02 AM3/25/16
to jenkinsc...@googlegroups.com
Sam Van Oort edited a comment on Bug JENKINS-33776
Breaking AJP will be a hard deal-breaker for some people, even though it is an older technology.  This would be a significant compatibility break for some users.

If possible we should handle this WAR-side: the best option would be to use some library to translate AJP requests to proxied HTTP, failing that we should ignore arguments and log a warning (so existing configurations do not break on upgrade). 

bq. Consider: When upgrading from a older Jenkins that was previously using AJP, Jenkins shouldn't fail hard.


Agreed.  This would be a Big Deal for some.


Edit: to be clear, while we can comment out the AJP arguments in the default configuration, it won't  fix users getting their AJP systems broken.

svanoort@cloudbees.com (JIRA)

unread,
Mar 25, 2016, 11:11:02 AM3/25/16
to jenkinsc...@googlegroups.com

Worth noting that if you look at the Jetty issue, there are a number of people who were reliant on AJP, but they are pretty emphatic that support for AJP isn't coming there: https://bugs.eclipse.org/bugs/show_bug.cgi?id=425244

dbeck@cloudbees.com (JIRA)

unread,
Mar 25, 2016, 12:10:02 PM3/25/16
to jenkinsc...@googlegroups.com
Daniel Beck updated an issue
Change By: Daniel Beck
Labels: 2.0  2.0-beta 2.0-planned

dbeck@cloudbees.com (JIRA)

unread,
Mar 25, 2016, 1:09:02 PM3/25/16
to jenkinsc...@googlegroups.com
Daniel Beck commented on Bug JENKINS-33776
 
Re: Cannot start from preview rpm

FWIW given the popularity of Jetty, I don't think an issue with 3 votes and 10 watchers indicates a widely used feature.

And we're not really able to back this out anyway anymore, we need the Servlet 3 support. This will need to be addressed in the release notes, hoping someone reads them.

However, what we need to address in Jenkins is the brokenness of packaging, and, depending on how upgrading those works, whether we need to downgrade from exception to warning being logged in winstone-jetty (so those who have it enabled unnecessarily can still use Jenkins)

svanoort@cloudbees.com (JIRA)

unread,
Mar 28, 2016, 10:52:01 AM3/28/16
to jenkinsc...@googlegroups.com
Sam Van Oort started work on Bug JENKINS-33776
 
Change By: Sam Van Oort
Status: Open In Progress

scm_issue_link@java.net (JIRA)

unread,
Mar 29, 2016, 11:01:06 AM3/29/16
to jenkinsc...@googlegroups.com

Code changed in jenkins
User: Sam Van Oort
Path:
deb/build/debian/jenkins.default
osx/Library/Application Support/Jenkins/jenkins-runner.sh
osx/Library/Documentation/Jenkins/command-line-preferences.html
rpm/build/SOURCES/jenkins.init.in
rpm/build/SOURCES/jenkins.sysconfig.in
suse/build/SOURCES/jenkins.init.in
suse/build/SOURCES/jenkins.sysconfig.in
http://jenkins-ci.org/commit/packaging/581cc9f8f3d86fbc744a796d3129b5f40ebdb228
Log:
Remove AJP per JENKINS-33776 because Jetty 9 dropped support

scm_issue_link@java.net (JIRA)

unread,
Mar 30, 2016, 8:21:03 AM3/30/16
to jenkinsc...@googlegroups.com

Code changed in jenkins
User: Sam Van Oort
Path:
deb/build/debian/jenkins.default
osx/Library/Application Support/Jenkins/jenkins-runner.sh
osx/Library/Documentation/Jenkins/command-line-preferences.html
rpm/build/SOURCES/jenkins.init.in
rpm/build/SOURCES/jenkins.sysconfig.in
suse/build/SOURCES/jenkins.init.in
suse/build/SOURCES/jenkins.sysconfig.in

http://jenkins-ci.org/commit/packaging/fd3abc6bae3575829a2c42609f3257b90408e471
Log:
Merge pull request #51 from jenkinsci/remove-ajp

Remove AJP per JENKINS-33776 because Jetty 9 dropped support

svanoort@cloudbees.com (JIRA)

unread,
Mar 30, 2016, 10:52:02 AM3/30/16
to jenkinsc...@googlegroups.com
Sam Van Oort closed an issue as Fixed
 
Change By: Sam Van Oort
Status: In Progress Closed
Resolution: Fixed

jblaine@kickflop.net (JIRA)

unread,
Apr 21, 2016, 9:22:02 AM4/21/16
to jenkinsc...@googlegroups.com
Jeff Blaine commented on Bug JENKINS-33776
 
Re: Cannot start from preview rpm

So, in operations terms, where is it documented how to address this change in 2.0 coming from 1.6?

We're not using any reverse proxy setup in front of our Jenkins instance, yet it completely fails to start since 2.0 as released overnight.

{{Running from: /usr/lib/jenkins/jenkins.war
Apr 21, 2016 9:06:28 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Logging initialized @652ms
Apr 21, 2016 9:06:29 AM winstone.Logger logInternal


INFO: Beginning extraction from war file

Apr 21, 2016 9:06:29 AM org.eclipse.jetty.util.log.JavaUtilLog warn
WARNING: Empty contextPath
Apr 21, 2016 9:06:29 AM winstone.Logger logInternal
INFO: Winstone shutdown successfully
Apr 21, 2016 9:06:29 AM winstone.Logger logInternal


SEVERE: Container startup failed
java.io.IOException: Failed to start a listener: winstone.Ajp13ConnectorFactory
at winstone.Launcher.spawnListener(Launcher.java:207)
at winstone.Launcher.<init>(Launcher.java:148)
at winstone.Launcher.main(Launcher.java:352)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)


at Main._main(Main.java:246)
at Main.main(Main.java:91)
Caused by: java.lang.UnsupportedOperationException: AJP support is removed in Winstone 3.0 due to Jetty 9 not supporting AJP. For reverse proxying, please use HTTP instead of AJP.
at winstone.Ajp13ConnectorFactory.start(Ajp13ConnectorFactory.java:31)
at winstone.Launcher.spawnListener(Launcher.java:205)
... 8 more
}}

jblaine@kickflop.net (JIRA)

unread,
Apr 21, 2016, 9:38:01 AM4/21/16
to jenkinsc...@googlegroups.com

Fix for us was to configure /etc/sysconfig/jenkins and set the AJP port setting to "-1". Since we'd never touched that file before, I hadn't looked there.

I realize this is open source, and this outage for us is fully our responsibility since we were allowing unattended RPM updates for any version of Jenkins pushed to the Jenkins RHEL/CentOS yum repository ... but it would have been ideal to have some sort of operational guidance in the 2.0 docs about where to look for AJP issues, etc. We effectively had this "totally backward compatible!" upgrade break our Jenkins overnight and with no real operational guidance as to where to look to solve the issue mentioned in the log.

svanoort@cloudbees.com (JIRA)

unread,
Apr 21, 2016, 11:20:01 AM4/21/16
to jenkinsc...@googlegroups.com

Jeff Blaine This should not have happened, since changes were made to the packaging in order to address this and remove the offending AJP arguments in the config. It seems that the changes did not replace the existing configuration in-place. I will took a look at how to address this in packaging, and provide guidance in release notes.

svanoort@cloudbees.com (JIRA)

unread,
Apr 21, 2016, 11:21:04 AM4/21/16
to jenkinsc...@googlegroups.com
Sam Van Oort reopened an issue
 

Looking into upgrade cases that may have been missed

Change By: Sam Van Oort
Resolution: Fixed
Status: Closed Reopened

jblaine@kickflop.net (JIRA)

unread,
Apr 21, 2016, 12:38:04 PM4/21/16
to jenkinsc...@googlegroups.com
Jeff Blaine commented on Bug JENKINS-33776
 
Re: Cannot start from preview rpm

Sam Van Oort I think you did the right/common thing. The new settings were dropped into /etc/sysconfig/jenkins.rpmnew as is typical on a RHEL box where someone has modified the previous default file (/etc/sysconfig/jenkins). We had modified ours.

I think maybe the most-right solution is to make the exception message clearer for operations folks?

"<some-ajp-propertyname-here> is enabled in the current runtime environment and is set to the value "<value-here>". This means you are trying to use AJP with Jenkins 2+. AJP support is removed in Winstone 3.0 due to Jetty 9 not supporting AJP. It is therefore removed from Jenkins as well. For reverse proxying, please use HTTP instead of AJP."

If not that, maybe something other than "bunch of Java terms"

jblaine@kickflop.net (JIRA)

unread,
Apr 21, 2016, 12:39:02 PM4/21/16
to jenkinsc...@googlegroups.com
Jeff Blaine edited a comment on Bug JENKINS-33776
Fix for us was to configure /etc/sysconfig/jenkins and set the AJP port setting to "-1". Since we'd never touched that file before, I hadn't looked there.

EDIT: I  am wrong above. We'd touched that file before. We drop it in place as part of the 'jenkins' Chef cookbook.

I
 realize this is open source, and *this outage for us is fully our responsibility* since we were allowing unattended RPM updates for any version of Jenkins pushed to the Jenkins RHEL/CentOS yum repository ... but it would have been ideal to have some sort of operational guidance in the 2.0 docs about where to look for AJP issues, etc. We effectively had this "totally backward compatible!" upgrade break our Jenkins overnight and with no real operational guidance as to where to look to solve the issue mentioned in the log.

svanoort@cloudbees.com (JIRA)

unread,
Apr 21, 2016, 12:42:02 PM4/21/16
to jenkinsc...@googlegroups.com

Jeff Blaine Had you guys also customized the init scripts for jenkins? The change strips out AJP arguments being passed in via the init script too, since I knew about RPM's default behavior being to retain existing config files (which would have caused your scenario). However if the init script is modified as well... then all bets are off.

dbeck@cloudbees.com (JIRA)

unread,
Apr 21, 2016, 4:36:02 PM4/21/16
to jenkinsc...@googlegroups.com

2.0 docs about where to look for AJP issues, etc. We effectively had this "totally backward compatible!" upgrade break our Jenkins overnight

We warn users about this change on https://jenkins.io/2.0/ and on https://jenkins.io/changelog/ , so we tried

I'll wait for a response to Sam's latest comment before deciding how to proceed here. We can't just ignore when that option is set in Winstone-Jetty because of those installs that actually use it. And we cannot really include a message that contains Jenkins-specific (and platform specific) advice as it's technically an independent component.

dbeck@cloudbees.com (JIRA)

unread,
May 2, 2016, 2:01:03 PM5/2/16
to jenkinsc...@googlegroups.com
Daniel Beck resolved as Not A Defect
 

No response in more than a week, so resolving as Not a Defect – customized config files passed now invalid parameters and need to be adapted.

Change By: Daniel Beck
Status: Reopened Resolved
Resolution: Not A Defect

signusx7@gmail.com (JIRA)

unread,
May 3, 2016, 4:40:02 AM5/3/16
to jenkinsc...@googlegroups.com
Matthew Sexton commented on Bug JENKINS-33776
 
Re: Cannot start from preview rpm

I ran into this problem myself going from 1.656 to 2.1 via yum. First I attempted to create and apply patches from /etc/sysconfig/jenkins, /etc/sysconfig/jenkins.rpmnew, /etc/init.d/jenkins and /etc/init.d/jenkins.rpmnew. I validated that the AJP settings were returned into the configuration however I was still getting the stacktrace reported with this issue.

My resolution was to:

  1. Set JENKINS_AJP_PORT="-1"
  2. Validate that Jenkins would start (meaning I wasn't utilizing AJP, which I knew)
  3. Upgrade from 1.656 to 2.1 via yum

So ultimately it would appear that you have to disable AJP and then the settings in /etc/init.d/jenkins mean nothing. My example shows that I had to disable AJP before I even did the upgrade.

Food for thought.

jamesc@dspsrv.com (JIRA)

unread,
May 10, 2016, 8:25:02 AM5/10/16
to jenkinsc...@googlegroups.com

I hit this problem going from 1.562 to 2.2 via update of war file.
I did not have customisations in /etc/sysconfig/jenkins
Setting JENKINS_AJP_PORT="-1" in /etc/sysconfig/jenkins solved problem.

dbeck@cloudbees.com (JIRA)

unread,
May 10, 2016, 8:34:01 AM5/10/16
to jenkinsc...@googlegroups.com

James Coleman Did you customize /etc/sysconfig/jenkins previously? Was a /etc/sysconfig/jenkins.rpmnew created by the 2.x install?

jamesc@dspsrv.com (JIRA)

unread,
May 10, 2016, 12:35:01 PM5/10/16
to jenkinsc...@googlegroups.com

Hi Daniel,

I'm pretty sure I didn't customize /etc/sysconfig/jenkins . . I think maybe my problem was because of .war install and not rpm install.
Good to find this bug as could see how to solve problem.

I didn't get a /etc/sysconfig/jenkins.rpmnew.
I didn't do an rpm upgrade, when I clicked upgrade the .war file was downloaded.
So I swapped that in.

It was old enough version of jenkins I was going from as well.

Thanks.
James.

dbeck@cloudbees.com (JIRA)

unread,
May 10, 2016, 12:39:01 PM5/10/16
to jenkinsc...@googlegroups.com

Okay. So this should be an unusual enough situation as unmodified RPM installs don't allow replacing the war this way – Jenkins has no write access to its own war file by default.

jamesc@dspsrv.com (JIRA)

unread,
May 11, 2016, 4:51:03 AM5/11/16
to jenkinsc...@googlegroups.com

Yes, that's okay.
Good to have error and solution described here as it will help anyone who might encounter it.
Thanks Daniel.
J.

toby@caboteria.org (JIRA)

unread,
Jul 13, 2016, 5:49:01 PM7/13/16
to jenkinsc...@googlegroups.com

Hi, I think this might still be an issue. My chef tests started failing recently - they spin up a Centos 7 VM, install Jenkins (currently jenkins-2.7.1-1.1.noarch) from the http://pkg.jenkins-ci.org/redhat-stable repo, and then tries to start it. The /etc/sysconfig/jenkins config file included in the rpm has a line that tries to run AJP on port 8009:

    1. Type: integer(0:65535)
    2. Default: 8009
    3. ServiceRestart: jenkins
      #
  1. Ajp13 Port Jenkins is listening on.
  2. Set to -1 to disable
    #
    JENKINS_AJP_PORT="8009"

This causes jenkins to fail at startup as described by https://issues.jenkins-ci.org/browse/JENKINS-33776?focusedCommentId=255250&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-255250

It would be better if the /etc/sysconfig/jenkins file included in the rpm didn't try to configure AJP so jenkins would run right out of the box without requiring the users to modify it.

This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

toby@caboteria.org (JIRA)

unread,
Jul 13, 2016, 5:51:01 PM7/13/16
to jenkinsc...@googlegroups.com
toby cabot edited a comment on Bug JENKINS-33776
Hi, I think this might still be an issue.  My chef tests started failing recently - they spin up a Centos 7 VM, install Jenkins (currently jenkins-2.7.1-1.1.noarch) from the http://pkg.jenkins-ci.org/redhat-stable repo, and then tries to start it.  The /etc/sysconfig/jenkins config file included in the rpm has a line that tries to run AJP on port 8009:

{noformat}
## Type:        integer(0:65535)
## Default:     8009
## ServiceRestart: jenkins
#

# Ajp13 Port Jenkins is listening on.
# Set to -1 to disable
#
JENKINS_AJP_PORT="8009"
{noformat}

This causes jenkins to fail at startup as described by https://issues.jenkins-ci.org/browse/JENKINS-33776?focusedCommentId=255250&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-255250

It would be better if the /etc/sysconfig/jenkins file included in the rpm didn't try to configure AJP so jenkins would run right out of the box without requiring the users to modify it.


signusx7@gmail.com (JIRA)

unread,
Jul 13, 2016, 7:45:01 PM7/13/16
to jenkinsc...@googlegroups.com

toby cabot - I agree that this needs to be remedied from a base install. Have you tried installing with the latest version (2.13) to test? There's nothing that points to that being removed or changed for the RPM, but it never hurts to try. Since there is a workaround in place (and since it's marked as resolved) it's not a high priority for the devs.

dbeck@cloudbees.com (JIRA)

unread,
Jul 13, 2016, 8:58:02 PM7/13/16
to jenkinsc...@googlegroups.com

This was marked resolved because we fixed it. I'm currently trying to get information on the release process, maybe something went wrong there (specifically, master branch of https://github.com/jenkinsci/packaging used rather than the jenkins-2.0 branch).

toby@caboteria.org (JIRA)

unread,
Jul 14, 2016, 7:17:02 AM7/14/16
to jenkinsc...@googlegroups.com

Thanks for your attention on this.

Based on the source I think it's likely that 2.13 behaves the same as 2.7.1. According to the PR linked from this report, the fix was merged to the jenkins-2.0 branch but there's a comment that might indicate that was a mistake: https://github.com/jenkinsci/packaging/pull/51#issue-144292301 says "A separate jenkins-2.0 packaging branch has been created, because pre-Jenkins 2 users may rely on AJP." which to me indicates that the fix should have been applied to master but not jenkins-2.0 (since the fix disables AJP). The fix was applied to jenkins-2.0, though.

It also looks as if the 2.7.1 RPM's are built with the master branch of jenkinsci/packaging instead of the jenkins-2.0 branch, as Daniel indicates. I supposed if both of these things were fixed then the result would be no change to the current behavior. Unfortunately, seomone's going to feel some pain, I guess, either the set of those using AJP, or the set of all new and upgrading users.

Would it make sense to re-open this report to track the effort to get the fix to end-users, or is there a different report to track that?

dbeck@cloudbees.com (JIRA)

unread,
Jul 14, 2016, 8:19:01 AM7/14/16
to jenkinsc...@googlegroups.com

All other 2.x releases do not have this problem, as it's caused by different build/release processes for weeklies/LTS, and 2.7.1 being the first 2.x based LTS – and still using the master branch of packaging.

KK is on it, we'll probably just re-release 2.7.1 packages with the correct scripts. I will keep updating this issue in lack of a better issue. No need to reopen.

paul.scott1@baesystems.com (JIRA)

unread,
Jul 14, 2016, 10:45:02 AM7/14/16
to jenkinsc...@googlegroups.com

For what it's worth I found this because I'm part of that 'set of all new and upgrading users' that just got bitten by deciding to go for the 'more stable' LTS version. I guess there's always someone, however small the problem window is...

I'll disable it in sysconfig for now, and look forward to a fixed RPM.

dbeck@cloudbees.com (JIRA)

unread,
Jul 14, 2016, 11:53:05 AM7/14/16
to jenkinsc...@googlegroups.com

Re-released with today's date: http://pkg.jenkins-ci.org/redhat-stable/ – not sure how that'll affect existing caches etc., but it's out at least.

toby@caboteria.org (JIRA)

unread,
Jul 14, 2016, 2:01:01 PM7/14/16
to jenkinsc...@googlegroups.com

The fresh install use case now works for me. Thank you!

scm_issue_link@java.net (JIRA)

unread,
Sep 1, 2016, 2:32:04 PM9/1/16
to jenkinsc...@googlegroups.com

Code changed in jenkins
User: Sam Van Oort
Path:
README.md
http://jenkins-ci.org/commit/packaging/61d57d8b885b19e071c1a434db20a8bbe95889ab
Log:
Mark that this is just for pre-2.x due to removing AJP for JENKINS-33776

Reply all
Reply to author
Forward
0 new messages