You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Zenek Kraweznik (Created) (JIRA)" <ji...@apache.org> on 2011/12/15 08:52:30 UTC
[jira] [Created] (CASSANDRA-3636) cassandra 1.0.6 debian packages
will not run on OpenVZ
cassandra 1.0.6 debian packages will not run on OpenVZ
------------------------------------------------------
Key: CASSANDRA-3636
URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
Project: Cassandra
Issue Type: Bug
Components: Packaging
Affects Versions: 1.0.6
Environment: Debian Linux (stable), OpenVZ container
Reporter: Zenek Kraweznik
Priority: Critical
During upgrade from 1.0.6
Setting up cassandra (1.0.6) ...
*error: permission denied on key 'vm.max_map_count'*
dpkg: error processing cassandra (--configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
cassandra
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-3636) cassandra 1.0.x breakes APT on
debian OpenVZ
Posted by "Mohit Agarwal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428111#comment-13428111 ]
Mohit Agarwal commented on CASSANDRA-3636:
------------------------------------------
I am still facing this issue with cassandra 1.1.2. I downloaded the debian file and unpacked it to look at the postinst script. I don't see Paul's fix in there.
> cassandra 1.0.x breakes APT on debian OpenVZ
> --------------------------------------------
>
> Key: CASSANDRA-3636
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.0.0
> Environment: Debian Linux (stable), OpenVZ container
> Reporter: Zenek Kraweznik
> Assignee: paul cannon
> Priority: Minor
> Fix For: 1.0.11, 1.1.1
>
> Attachments: 3636.patch.txt
>
>
> During upgrade from 1.0.6
> {code}Setting up cassandra (1.0.6) ...
> *error: permission denied on key 'vm.max_map_count'*
> dpkg: error processing cassandra (--configure):
> subprocess installed post-installation script returned error exit status 255
> Errors were encountered while processing:
> cassandra
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-3636) cassandra 1.0.6 debian packages
will not run on OpenVZ
Posted by "Brandon Williams (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182830#comment-13182830 ]
Brandon Williams commented on CASSANDRA-3636:
---------------------------------------------
What version of openvz is this? As far as I can tell, there shouldn't be a problem changing this in a guest.
> cassandra 1.0.6 debian packages will not run on OpenVZ
> ------------------------------------------------------
>
> Key: CASSANDRA-3636
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.0.6
> Environment: Debian Linux (stable), OpenVZ container
> Reporter: Zenek Kraweznik
> Assignee: Brandon Williams
> Priority: Minor
>
> During upgrade from 1.0.6
> {code}Setting up cassandra (1.0.6) ...
> *error: permission denied on key 'vm.max_map_count'*
> dpkg: error processing cassandra (--configure):
> subprocess installed post-installation script returned error exit status 255
> Errors were encountered while processing:
> cassandra
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-3636) cassandra 1.0.x breakes APT on
debian OpenVZ
Posted by "paul cannon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
paul cannon updated CASSANDRA-3636:
-----------------------------------
Attachment: 3636.patch.txt
This change should allow the deb install to succeed. Patrik, Tio, Zenek, Saulius, or someone else with this problem, could you try applying the patch and installing the deb?
Change also available on the 3636 branch on my github:
https://github.com/thepaul/cassandra/tree/3636
> cassandra 1.0.x breakes APT on debian OpenVZ
> --------------------------------------------
>
> Key: CASSANDRA-3636
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.0.0
> Environment: Debian Linux (stable), OpenVZ container
> Reporter: Zenek Kraweznik
> Assignee: paul cannon
> Priority: Minor
> Fix For: 1.0.11, 1.1.1
>
> Attachments: 3636.patch.txt
>
>
> During upgrade from 1.0.6
> {code}Setting up cassandra (1.0.6) ...
> *error: permission denied on key 'vm.max_map_count'*
> dpkg: error processing cassandra (--configure):
> subprocess installed post-installation script returned error exit status 255
> Errors were encountered while processing:
> cassandra
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-3636) cassandra 1.0.x breakes APT on
debian OpenVZ
Posted by "Tio Tempestade (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13252318#comment-13252318 ]
Tio Tempestade commented on CASSANDRA-3636:
-------------------------------------------
Solved it! Just unpack the .deb and comment the sysctl -p /etc/sysctl.d/cassandra.conf line in postinst.
It is already set to vm.max_map_count = 1048575 as the script tries to do..
After that rebuild the .deb and proceed with Datastax's installation.
> cassandra 1.0.x breakes APT on debian OpenVZ
> --------------------------------------------
>
> Key: CASSANDRA-3636
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.0.6
> Environment: Debian Linux (stable), OpenVZ container
> Reporter: Zenek Kraweznik
> Assignee: Brandon Williams
> Priority: Minor
>
> During upgrade from 1.0.6
> {code}Setting up cassandra (1.0.6) ...
> *error: permission denied on key 'vm.max_map_count'*
> dpkg: error processing cassandra (--configure):
> subprocess installed post-installation script returned error exit status 255
> Errors were encountered while processing:
> cassandra
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-3636) cassandra 1.0.x breakes APT on
debian OpenVZ
Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Williams resolved CASSANDRA-3636.
-----------------------------------------
Resolution: Fixed
bq. The trunk version of debian/cassandra.postinst doesn't contain the changes from Paul's fix in commit 48438ffc61bce2396fa2eac2f88fa66a6e6a69cd.
Yes it does.
> cassandra 1.0.x breakes APT on debian OpenVZ
> --------------------------------------------
>
> Key: CASSANDRA-3636
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.0.0
> Environment: Debian Linux (stable), OpenVZ container
> Reporter: Zenek Kraweznik
> Assignee: paul cannon
> Priority: Minor
> Fix For: 1.0.11, 1.1.1
>
> Attachments: 3636.patch.txt
>
>
> During upgrade from 1.0.6
> {code}Setting up cassandra (1.0.6) ...
> *error: permission denied on key 'vm.max_map_count'*
> dpkg: error processing cassandra (--configure):
> subprocess installed post-installation script returned error exit status 255
> Errors were encountered while processing:
> cassandra
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-3636) cassandra 1.0.x breakes APT on
debian OpenVZ
Posted by "Patrik Modesto (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13253203#comment-13253203 ]
Patrik Modesto commented on CASSANDRA-3636:
-------------------------------------------
Hi, it's still a problem for cassandra 1.0.9 and openvz 3.0.23 on Debian Squeeze.
> cassandra 1.0.x breakes APT on debian OpenVZ
> --------------------------------------------
>
> Key: CASSANDRA-3636
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.0.6
> Environment: Debian Linux (stable), OpenVZ container
> Reporter: Zenek Kraweznik
> Assignee: Brandon Williams
> Priority: Minor
>
> During upgrade from 1.0.6
> {code}Setting up cassandra (1.0.6) ...
> *error: permission denied on key 'vm.max_map_count'*
> dpkg: error processing cassandra (--configure):
> subprocess installed post-installation script returned error exit status 255
> Errors were encountered while processing:
> cassandra
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-3636) cassandra 1.0.x breakes APT on
debian OpenVZ
Posted by "Zenek Kraweznik (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zenek Kraweznik updated CASSANDRA-3636:
---------------------------------------
Summary: cassandra 1.0.x breakes APT on debian OpenVZ (was: cassandra 1.0.6 debian packages will not run on OpenVZ)
> cassandra 1.0.x breakes APT on debian OpenVZ
> --------------------------------------------
>
> Key: CASSANDRA-3636
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.0.6
> Environment: Debian Linux (stable), OpenVZ container
> Reporter: Zenek Kraweznik
> Assignee: Brandon Williams
> Priority: Minor
>
> During upgrade from 1.0.6
> {code}Setting up cassandra (1.0.6) ...
> *error: permission denied on key 'vm.max_map_count'*
> dpkg: error processing cassandra (--configure):
> subprocess installed post-installation script returned error exit status 255
> Errors were encountered while processing:
> cassandra
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-3636) cassandra 1.0.x breakes APT on
debian OpenVZ
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-3636:
--------------------------------------
Reviewer: brandon.williams
Affects Version/s: (was: 1.0.9)
(was: 1.0.6)
1.0.0
Fix Version/s: 1.1.1
1.0.11
> cassandra 1.0.x breakes APT on debian OpenVZ
> --------------------------------------------
>
> Key: CASSANDRA-3636
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.0.0
> Environment: Debian Linux (stable), OpenVZ container
> Reporter: Zenek Kraweznik
> Assignee: paul cannon
> Priority: Minor
> Fix For: 1.0.11, 1.1.1
>
>
> During upgrade from 1.0.6
> {code}Setting up cassandra (1.0.6) ...
> *error: permission denied on key 'vm.max_map_count'*
> dpkg: error processing cassandra (--configure):
> subprocess installed post-installation script returned error exit status 255
> Errors were encountered while processing:
> cassandra
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-3636) cassandra 1.0.x breakes APT on
debian OpenVZ
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13420786#comment-13420786 ]
Hudson commented on CASSANDRA-3636:
-----------------------------------
Integrated in Cassandra #1768 (See [https://builds.apache.org/job/Cassandra/1768/])
merge CASSANDRA-3636 from 1.0 to 1.1 cassandra 1.0.x breakes APT on debian OpenVZ (Revision ff64c5d11e9e66dfa42a1ca72572a65fb7480f37)
Result = ABORTED
dbrosius :
Files :
* debian/cassandra.postinst
> cassandra 1.0.x breakes APT on debian OpenVZ
> --------------------------------------------
>
> Key: CASSANDRA-3636
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.0.0
> Environment: Debian Linux (stable), OpenVZ container
> Reporter: Zenek Kraweznik
> Assignee: paul cannon
> Priority: Minor
> Fix For: 1.0.11, 1.1.1
>
> Attachments: 3636.patch.txt
>
>
> During upgrade from 1.0.6
> {code}Setting up cassandra (1.0.6) ...
> *error: permission denied on key 'vm.max_map_count'*
> dpkg: error processing cassandra (--configure):
> subprocess installed post-installation script returned error exit status 255
> Errors were encountered while processing:
> cassandra
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CASSANDRA-3636) cassandra 1.0.6 debian packages
will not run on OpenVZ
Posted by "Sylvain Lebresne (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sylvain Lebresne reassigned CASSANDRA-3636:
-------------------------------------------
Assignee: Brandon Williams
> cassandra 1.0.6 debian packages will not run on OpenVZ
> ------------------------------------------------------
>
> Key: CASSANDRA-3636
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.0.6
> Environment: Debian Linux (stable), OpenVZ container
> Reporter: Zenek Kraweznik
> Assignee: Brandon Williams
> Priority: Critical
>
> During upgrade from 1.0.6
> {code}Setting up cassandra (1.0.6) ...
> *error: permission denied on key 'vm.max_map_count'*
> dpkg: error processing cassandra (--configure):
> subprocess installed post-installation script returned error exit status 255
> Errors were encountered while processing:
> cassandra
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-3636) cassandra 1.0.6 debian packages
will not run on OpenVZ
Posted by "Zenek Kraweznik (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13185577#comment-13185577 ]
Zenek Kraweznik commented on CASSANDRA-3636:
--------------------------------------------
This must be increasec on host, not on guest. This is kernel shared memory modifications, guests haven't their own kernel.
> cassandra 1.0.6 debian packages will not run on OpenVZ
> ------------------------------------------------------
>
> Key: CASSANDRA-3636
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.0.6
> Environment: Debian Linux (stable), OpenVZ container
> Reporter: Zenek Kraweznik
> Assignee: Brandon Williams
> Priority: Minor
>
> During upgrade from 1.0.6
> {code}Setting up cassandra (1.0.6) ...
> *error: permission denied on key 'vm.max_map_count'*
> dpkg: error processing cassandra (--configure):
> subprocess installed post-installation script returned error exit status 255
> Errors were encountered while processing:
> cassandra
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-3636) cassandra 1.0.6 debian packages
will not run on OpenVZ
Posted by "Saulius Grigaitis (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13189018#comment-13189018 ]
Saulius Grigaitis commented on CASSANDRA-3636:
----------------------------------------------
I have exactly same version with cassandra 1.0.6 and 1.0.7 version (1.0.5 version works fine)
Installing from debian packanges on ubuntu 10.04 64bits:
Installing new version of config file /etc/cassandra/cassandra.yaml ...
error: permission denied on key 'vm.max_map_count'
dpkg: error processing cassandra (--configure):
subprocess installed post-installation script returned error exit status 255
uname -a
Linux server 2.6.32-042stab044.11 #1 SMP Wed Dec 14 16:02:00 MSK 2011 x86_64 GNU/Linux
> cassandra 1.0.6 debian packages will not run on OpenVZ
> ------------------------------------------------------
>
> Key: CASSANDRA-3636
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.0.6
> Environment: Debian Linux (stable), OpenVZ container
> Reporter: Zenek Kraweznik
> Assignee: Brandon Williams
> Priority: Minor
>
> During upgrade from 1.0.6
> {code}Setting up cassandra (1.0.6) ...
> *error: permission denied on key 'vm.max_map_count'*
> dpkg: error processing cassandra (--configure):
> subprocess installed post-installation script returned error exit status 255
> Errors were encountered while processing:
> cassandra
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CASSANDRA-3636) cassandra 1.0.x breakes APT on
debian OpenVZ
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis reassigned CASSANDRA-3636:
-----------------------------------------
Assignee: paul cannon (was: Brandon Williams)
So... should we just log a warning if the sysctl fails instead of failing entirely?
> cassandra 1.0.x breakes APT on debian OpenVZ
> --------------------------------------------
>
> Key: CASSANDRA-3636
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.0.6, 1.0.9
> Environment: Debian Linux (stable), OpenVZ container
> Reporter: Zenek Kraweznik
> Assignee: paul cannon
> Priority: Minor
>
> During upgrade from 1.0.6
> {code}Setting up cassandra (1.0.6) ...
> *error: permission denied on key 'vm.max_map_count'*
> dpkg: error processing cassandra (--configure):
> subprocess installed post-installation script returned error exit status 255
> Errors were encountered while processing:
> cassandra
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-3636) cassandra 1.0.x breakes APT on
debian OpenVZ
Posted by "Jochen Schalanda (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13420515#comment-13420515 ]
Jochen Schalanda commented on CASSANDRA-3636:
---------------------------------------------
The fix seems to have been lost during a merge.
The [trunk version of debian/cassandra.postinst|https://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=blob;f=debian/cassandra.postinst] doesn't contain the changes from Paul's fix in commit [48438ffc61bce2396fa2eac2f88fa66a6e6a69cd|https://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=commitdiff;h=48438ffc61bce2396fa2eac2f88fa66a6e6a69cd].
> cassandra 1.0.x breakes APT on debian OpenVZ
> --------------------------------------------
>
> Key: CASSANDRA-3636
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.0.0
> Environment: Debian Linux (stable), OpenVZ container
> Reporter: Zenek Kraweznik
> Assignee: paul cannon
> Priority: Minor
> Fix For: 1.0.11, 1.1.1
>
> Attachments: 3636.patch.txt
>
>
> During upgrade from 1.0.6
> {code}Setting up cassandra (1.0.6) ...
> *error: permission denied on key 'vm.max_map_count'*
> dpkg: error processing cassandra (--configure):
> subprocess installed post-installation script returned error exit status 255
> Errors were encountered while processing:
> cassandra
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Reopened] (CASSANDRA-3636) cassandra 1.0.x breakes APT on
debian OpenVZ
Posted by "Dave Brosius (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Brosius reopened CASSANDRA-3636:
-------------------------------------
> cassandra 1.0.x breakes APT on debian OpenVZ
> --------------------------------------------
>
> Key: CASSANDRA-3636
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.0.0
> Environment: Debian Linux (stable), OpenVZ container
> Reporter: Zenek Kraweznik
> Assignee: paul cannon
> Priority: Minor
> Fix For: 1.0.11, 1.1.1
>
> Attachments: 3636.patch.txt
>
>
> During upgrade from 1.0.6
> {code}Setting up cassandra (1.0.6) ...
> *error: permission denied on key 'vm.max_map_count'*
> dpkg: error processing cassandra (--configure):
> subprocess installed post-installation script returned error exit status 255
> Errors were encountered while processing:
> cassandra
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-3636) cassandra 1.0.6 debian packages
will not run on OpenVZ
Posted by "Jonathan Ellis (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-3636:
--------------------------------------
Priority: Minor (was: Critical)
> cassandra 1.0.6 debian packages will not run on OpenVZ
> ------------------------------------------------------
>
> Key: CASSANDRA-3636
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.0.6
> Environment: Debian Linux (stable), OpenVZ container
> Reporter: Zenek Kraweznik
> Assignee: Brandon Williams
> Priority: Minor
>
> During upgrade from 1.0.6
> {code}Setting up cassandra (1.0.6) ...
> *error: permission denied on key 'vm.max_map_count'*
> dpkg: error processing cassandra (--configure):
> subprocess installed post-installation script returned error exit status 255
> Errors were encountered while processing:
> cassandra
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-3636) cassandra 1.0.x breakes APT on
debian OpenVZ
Posted by "Mohit Agarwal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428367#comment-13428367 ]
Mohit Agarwal commented on CASSANDRA-3636:
------------------------------------------
The fix version here said 1.1.1 incorrectly, so i checked 1.1.2. Thanks for correcting it.
> cassandra 1.0.x breakes APT on debian OpenVZ
> --------------------------------------------
>
> Key: CASSANDRA-3636
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.0.0
> Environment: Debian Linux (stable), OpenVZ container
> Reporter: Zenek Kraweznik
> Assignee: paul cannon
> Priority: Minor
> Fix For: 1.0.11, 1.1.3
>
> Attachments: 3636.patch.txt
>
>
> During upgrade from 1.0.6
> {code}Setting up cassandra (1.0.6) ...
> *error: permission denied on key 'vm.max_map_count'*
> dpkg: error processing cassandra (--configure):
> subprocess installed post-installation script returned error exit status 255
> Errors were encountered while processing:
> cassandra
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-3636) cassandra 1.0.6 debian packages
will not run on OpenVZ
Posted by "Zenek Kraweznik (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190214#comment-13190214 ]
Zenek Kraweznik commented on CASSANDRA-3636:
--------------------------------------------
Cassandra is running on openvz, but post-install procedure is not completed, but changing this sysctl in openvz container is impossible.
This is not a bug with OpenVZ stricte, so I set components to packaging.
There is line in cassandra.postinst script:
sysctl -p /etc/sysctl.d/cassandra.conf
apt tries to run this script before install/remove any packages and stops on this step.
This script is breaking apt.
changing "/etc/sysctl.d/cassandra.conf" to "sysctl -p /etc/sysctl.d/cassandra.conf || rm /etc/sysctl.d/cassandra.conf" could solve this.
> cassandra 1.0.6 debian packages will not run on OpenVZ
> ------------------------------------------------------
>
> Key: CASSANDRA-3636
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.0.6
> Environment: Debian Linux (stable), OpenVZ container
> Reporter: Zenek Kraweznik
> Assignee: Brandon Williams
> Priority: Minor
>
> During upgrade from 1.0.6
> {code}Setting up cassandra (1.0.6) ...
> *error: permission denied on key 'vm.max_map_count'*
> dpkg: error processing cassandra (--configure):
> subprocess installed post-installation script returned error exit status 255
> Errors were encountered while processing:
> cassandra
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Issue Comment Edited] (CASSANDRA-3636) cassandra 1.0.6
debian packages will not run on OpenVZ
Posted by "Zenek Kraweznik (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13185577#comment-13185577 ]
Zenek Kraweznik edited comment on CASSANDRA-3636 at 1/13/12 2:12 PM:
---------------------------------------------------------------------
This must be increasec on host, not on guest. This is kernel shared memory modifications, guests haven't their own kernel.
This problem apperears on debian squeeze openvz kernel and on newest openvz patches
was (Author: zenek_kraweznik0):
This must be increasec on host, not on guest. This is kernel shared memory modifications, guests haven't their own kernel.
> cassandra 1.0.6 debian packages will not run on OpenVZ
> ------------------------------------------------------
>
> Key: CASSANDRA-3636
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.0.6
> Environment: Debian Linux (stable), OpenVZ container
> Reporter: Zenek Kraweznik
> Assignee: Brandon Williams
> Priority: Minor
>
> During upgrade from 1.0.6
> {code}Setting up cassandra (1.0.6) ...
> *error: permission denied on key 'vm.max_map_count'*
> dpkg: error processing cassandra (--configure):
> subprocess installed post-installation script returned error exit status 255
> Errors were encountered while processing:
> cassandra
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-3636) cassandra 1.0.6 debian packages
will not run on OpenVZ
Posted by "paul cannon (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13189164#comment-13189164 ]
paul cannon commented on CASSANDRA-3636:
----------------------------------------
Saulius- are you also running openvz? What version, if so?
> cassandra 1.0.6 debian packages will not run on OpenVZ
> ------------------------------------------------------
>
> Key: CASSANDRA-3636
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.0.6
> Environment: Debian Linux (stable), OpenVZ container
> Reporter: Zenek Kraweznik
> Assignee: Brandon Williams
> Priority: Minor
>
> During upgrade from 1.0.6
> {code}Setting up cassandra (1.0.6) ...
> *error: permission denied on key 'vm.max_map_count'*
> dpkg: error processing cassandra (--configure):
> subprocess installed post-installation script returned error exit status 255
> Errors were encountered while processing:
> cassandra
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-3636) cassandra 1.0.x breakes APT on
debian OpenVZ
Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Williams updated CASSANDRA-3636:
----------------------------------------
Fix Version/s: (was: 1.1.1)
1.1.3
> cassandra 1.0.x breakes APT on debian OpenVZ
> --------------------------------------------
>
> Key: CASSANDRA-3636
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.0.0
> Environment: Debian Linux (stable), OpenVZ container
> Reporter: Zenek Kraweznik
> Assignee: paul cannon
> Priority: Minor
> Fix For: 1.0.11, 1.1.3
>
> Attachments: 3636.patch.txt
>
>
> During upgrade from 1.0.6
> {code}Setting up cassandra (1.0.6) ...
> *error: permission denied on key 'vm.max_map_count'*
> dpkg: error processing cassandra (--configure):
> subprocess installed post-installation script returned error exit status 255
> Errors were encountered while processing:
> cassandra
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-3636) cassandra 1.0.6 debian packages
will not run on OpenVZ
Posted by "Saulius Grigaitis (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13189702#comment-13189702 ]
Saulius Grigaitis commented on CASSANDRA-3636:
----------------------------------------------
Paul > yes, I'm running openvz. Openvz kernel version is 2.6.32-042stab044.11 .
> cassandra 1.0.6 debian packages will not run on OpenVZ
> ------------------------------------------------------
>
> Key: CASSANDRA-3636
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.0.6
> Environment: Debian Linux (stable), OpenVZ container
> Reporter: Zenek Kraweznik
> Assignee: Brandon Williams
> Priority: Minor
>
> During upgrade from 1.0.6
> {code}Setting up cassandra (1.0.6) ...
> *error: permission denied on key 'vm.max_map_count'*
> dpkg: error processing cassandra (--configure):
> subprocess installed post-installation script returned error exit status 255
> Errors were encountered while processing:
> cassandra
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-3636) cassandra 1.0.x breakes APT on
debian OpenVZ
Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428241#comment-13428241 ]
Brandon Williams commented on CASSANDRA-3636:
---------------------------------------------
You're looking at the wrong branch, in that case, because it's not in 1.1.2.
> cassandra 1.0.x breakes APT on debian OpenVZ
> --------------------------------------------
>
> Key: CASSANDRA-3636
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.0.0
> Environment: Debian Linux (stable), OpenVZ container
> Reporter: Zenek Kraweznik
> Assignee: paul cannon
> Priority: Minor
> Fix For: 1.0.11, 1.1.1
>
> Attachments: 3636.patch.txt
>
>
> During upgrade from 1.0.6
> {code}Setting up cassandra (1.0.6) ...
> *error: permission denied on key 'vm.max_map_count'*
> dpkg: error processing cassandra (--configure):
> subprocess installed post-installation script returned error exit status 255
> Errors were encountered while processing:
> cassandra
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-3636) cassandra 1.0.6 debian packages
will not run on OpenVZ
Posted by "Zenek Kraweznik (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zenek Kraweznik updated CASSANDRA-3636:
---------------------------------------
Description:
During upgrade from 1.0.6
{code}Setting up cassandra (1.0.6) ...
*error: permission denied on key 'vm.max_map_count'*
dpkg: error processing cassandra (--configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
cassandra
{code}
was:
During upgrade from 1.0.6
Setting up cassandra (1.0.6) ...
*error: permission denied on key 'vm.max_map_count'*
dpkg: error processing cassandra (--configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
cassandra
> cassandra 1.0.6 debian packages will not run on OpenVZ
> ------------------------------------------------------
>
> Key: CASSANDRA-3636
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.0.6
> Environment: Debian Linux (stable), OpenVZ container
> Reporter: Zenek Kraweznik
> Priority: Critical
>
> During upgrade from 1.0.6
> {code}Setting up cassandra (1.0.6) ...
> *error: permission denied on key 'vm.max_map_count'*
> dpkg: error processing cassandra (--configure):
> subprocess installed post-installation script returned error exit status 255
> Errors were encountered while processing:
> cassandra
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-3636) cassandra 1.0.x breakes APT on
debian OpenVZ
Posted by "Patrik Modesto (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrik Modesto updated CASSANDRA-3636:
--------------------------------------
Affects Version/s: 1.0.9
Added latest stable version of Cassandra.
> cassandra 1.0.x breakes APT on debian OpenVZ
> --------------------------------------------
>
> Key: CASSANDRA-3636
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.0.6, 1.0.9
> Environment: Debian Linux (stable), OpenVZ container
> Reporter: Zenek Kraweznik
> Assignee: Brandon Williams
> Priority: Minor
>
> During upgrade from 1.0.6
> {code}Setting up cassandra (1.0.6) ...
> *error: permission denied on key 'vm.max_map_count'*
> dpkg: error processing cassandra (--configure):
> subprocess installed post-installation script returned error exit status 255
> Errors were encountered while processing:
> cassandra
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira