Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cluster role: open ports using firewall plugin #36

Merged
merged 1 commit into from
May 18, 2018

Conversation

edwintorok
Copy link

We need to open 2 ports now (because the clustering port is open at
runtime by XAPI, but we have not XAPI here).
Can't rely on how the firewall rules file looked like, so just use the
same script used by XAPI to open them.

Also fix the systemd unit editing rule that added port 8895: the regex
must match the line both before and after the modification, otherwise
if you rerun provisioning you end up with multiple copies of the same
line.

Note: unrelated to this PR, but if you are on Ubuntu 18.04 you will need to gem install xmlrpc --user to make vagrant-xenserver work again: xapi-project/vagrant-xenserver#54

We need to open 2 ports now (because the clustering port is open at
 runtime by XAPI, but we have not XAPI here).
Can't rely on how the firewall rules file looked like, so just use the
same script used by XAPI to open them.

Also fix the systemd unit editing rule that added port 8895: the regex
must match the line both before and *after* the modification, otherwise
if you rerun provisioning you end up with multiple copies of the same
line.

Signed-off-by: Edwin Török <edvin.torok@citrix.com>
@edwintorok edwintorok requested a review from gaborigloi May 18, 2018 12:56
@edwintorok edwintorok merged commit 4c47612 into xapi-project:master May 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants