-
-
Notifications
You must be signed in to change notification settings - Fork 649
Vagrant up fails with default Solr under CentOS 7 #789
Comments
Interesting... The test for Solr 6.x on CentOS 7 seems to be passing (for the role itself: https://travis-ci.org/geerlingguy/ansible-role-solr), so either it's something with the older 5.5.1 version or some other config. Can you log into the VM and run |
OK, so it looks like port 8983 is already being used by another process? I'm not sure what is using it, since this is a default install. The only change I've made to the config is vagrant_box: geerlingguy/centos7. Here is the output:
|
That's quite odd! Can you run one of the following commands and see what service might be running on the port?
|
Here is the output from
|
@marikomay - It looks like Solr is already running somehow—can you visit |
Strange.
|
It could be a CentOS-specific thing. I haven't tested with CentOS 7 and Solr 5 in a month or so, I should try again! I'll try to figure out what's happening. |
Sounds good. I should mention provisioning with Solr 6.1.0 failed as well. It worked with CentOS 6 and Ubuntu, however, so it appears to be specific to CentOS 7 only. |
Testing now. |
I can definitely reproduce on CentOS 7:
I'm going to do some poking and prodding on the upstream role to see if I can find a good workaround. |
Upstream issue: geerlingguy/ansible-role-solr#33 |
This should be fixed upstream; it seems it was caused by this not-really-bug-but-not-worked-around-for-RHEL7 thing in Ansible: ansible/ansible-modules-core#915 |
I'm testing with Drupal VM now (was running tests in a standalone VM). |
Just waiting on an upstream role build to complete, then I'll update the role in Drupal VM to 3.1.2, and this should be resolved! |
Issue #789: Remove .galaxy_install_info files and update Solr role to 3.1.2.
Fixed via the above commit... testing with a variety of OSes locally. |
Tested 5.x and 6.x on both Ubuntu 16 and CentOS 7, and upstream role tests are still passing for other supported OSes, so I'm going to mark this as 'closed'. Hopefully I'll be able to tag a new Drupal VM release in the next day or two, but until then, you can either update the Solr role manually, or pull master. |
Hmm... 6.1.0 seems to be failing still on CentOS 7 only (and only on Drupal VM... not in my test environment, not in Docker containers on Travis CI). Checking the service via systemctl, I get:
|
Ah nevermind, forgot to also install Java 8, by setting the following in solr_version: "6.1.0"
java_packages:
- java-1.8.0-openjdk |
Thanks @geerlingguy! I can confirm both 5.x and 6.x are now working on CentOS 7 after updating the Solr role. |
Vagrant up on fresh VM fails with default 5.5.1 Solr/CentOs 7. Here is the error:
It only fails with CentOs 7 (works fine with Ubuntu).
My system:
OS X Yosemite (version 10.11)
Drupal VM 3.13
Vagrant 1.8.4
VirtualBox 5.0.24
Ansible 2.1.0
The text was updated successfully, but these errors were encountered: