-
Notifications
You must be signed in to change notification settings - Fork 80
dsc12 on Debian Squeeze #10
Comments
Thanks for your bug report. Does the problem occur on a fresh install or on upgrading an existing DSC install? I'm not aware of any (packaging) bug in DSC 1.2 on Debian Squeeze. Could you please try to run a manual installation of DSC 1.2 on a fresh Debian Squeeze system and check if there are any error messages? |
Thank you for the follow up. This happens on a fresh install. If I don't include the cassandra module and try to install dsc12 directly, I get the following output (I ran apt-get update before this) Also, here is my simple manifest file https://gist.github.com/tommymcglynn/6a053ccd85e61384773e Here is the vagrant log for where provisioning hangs: Notice: /Stage[main]/Apt::Update/Exec[apt_update]: Triggered 'refresh' from 1 events |
I'm running into the same problem on fresh Ubuntu 12.04.2. Here's the trace from the install
|
I've recently experienced the same issue. I suppose that's because cassandra has been updated to 2.0.0 but the dsc12 (which have a dependency on cassandra) didn't have been updated with cassandra 2.0.0 but still need 1.2.9. I use this little workaround which fit my needs :
Regards, Matt edit : the problem could maybe be fixed by changing the apt policy of the package 1.2.9. I didn't try this... |
As a follow up to @msimonin workaround, you can specify the variables |
Another quick way of fixing this issue is to replace all "dsc12" occurrences with "dsc20" occurrences in the modules directory. This way you'll be able to install the latest (2+) Cassandra version. So, after installing the puppet module go to the modules/cassandra directory and run this command: find . -type f -print0 | xargs -0 sed -i 's/dsc12/dsc20/g' IMO this may be the way to fix the bug too. Cheers! |
Why not? class { 'cassandra':
package_name => "dsc20",
[...]
} |
FYI. This is what I'm currently doing for cassandra 1.2. You need to install the dsc12 package or an apt-get upgrade will upgrade to version 2.x. package { "dsc12":
ensure => present,
require => Package['cassandra'],
}
class { 'cassandra':
cluster_name => 'dit',
seeds => [ '10.0.0.12', '10.0.0.13', '10.0.0.14', ],
package_name => 'cassandra',
version => '1.2.15',
# thread_stack_size => '256',
} For Cassandra 2.0, I use the patch posted in issue #14 and on some JVM's I need to increase the thread_stack_size. class { 'cassandra':
cluster_name => 'v2Cluster',
seeds => [ '10.0.0.17', '10.0.0.18', '10.0.0.21', ],
package_name => 'dsc20',
thread_stack_size => '256',
} |
Hello,
Trying to use this module but provision hangs when trying to install dsc12. I wasn't able to manually install dsc12 with apt-get or yum either.
Linux version 2.6.32-5-amd64 (Debian 2.6.32-48)
The text was updated successfully, but these errors were encountered: