FQDN used as source IP in ufw allow rules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cassandra (Juju Charms Collection) |
Fix Released
|
Critical
|
Stuart Bishop |
Bug Description
Deploying cassandra with MaaS provider, the charm helper uses FQDN as source IP in ufw allow rules. ufw only accepts IP addresses to modify iptables. The consequence is that Gossip that uses specific ports fails, hence, cassandra cluster fails to form.
This is noticed with MaaS provider, I tested with OpenStack provider and IP addresses were used.
----
2016-06-02 06:58:35 INFO juju-log cluster:8: ufw enabled
2016-06-02 06:58:36 DEBUG juju-log cluster:8: ufw allow: ufw allow from test-one-
2016-06-02 06:58:36 INFO cluster-
2016-06-02 06:58:36 INFO juju-log cluster:8: b''
2016-06-02 06:58:36 ERROR juju-log cluster:8: None
2016-06-02 06:58:36 ERROR juju-log cluster:8: Error running: ufw allow from test-one-
2016-06-02 06:58:36 DEBUG juju-log cluster:8: ufw allow: ufw allow from test-one-
2016-06-02 06:58:36 INFO cluster-
2016-06-02 06:58:36 INFO juju-log cluster:8: b''
2016-06-02 06:58:36 ERROR juju-log cluster:8: None
2016-06-02 06:58:36 ERROR juju-log cluster:8: Error running: ufw allow from test-one-
----
Related branches
Changed in cassandra (Juju Charms Collection): | |
status: | Fix Released → Triaged |
importance: | High → Critical |
Changed in cassandra (Juju Charms Collection): | |
status: | In Progress → Fix Released |
This could be related to https:/ /bugs.launchpad .net/charms/ +source/ cassandra/ +bug/1557769