Skip to Content.
Sympa Menu

perfsonar-user - RE: [perfsonar-user] Test results unavailable on dashboard

Subject: perfSONAR User Q&A and Other Discussion

List archive

RE: [perfsonar-user] Test results unavailable on dashboard


Chronological Thread 
  • From: Andrew Lake <>
  • To: Trond Endrestøl <>, "" <>
  • Subject: RE: [perfsonar-user] Test results unavailable on dashboard
  • Date: Fri, 6 Oct 2017 10:49:21 -0400
  • Ironport-phdr: 9a23:yJIaHREf4iE1t1HcfOATU51GYnF86YWxBRYc798ds5kLTJ7zpciwAkXT6L1XgUPTWs2DsrQf2rqQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbQhFgDmwbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VDK/5KlpVRDokj8KOT47/2HZjcJ/g6xVrhG8qRJh34HZe5uaOOZkc67HZ94WWWhMU8BMXCJBGIO8aI4PAvIdMOZesob9vUUBrBWjDgeqHuzvySFHjWLx0KIg1eQuDAHH0Rc+ENIVqnjUqsv6NLsLXO2z0aLGwzLDb/ZM1jf87ojFag0trPWSUb5qbcbd01cjGxnLg1mItIPlPSma1voXvGSB6epvS/6vhmg6oA9yujii3toghpfKi44PxF3I7yp0zJsvKdC6VUJ3ecCoHIdUui2ANIZ7QtkuT392tCs00LEKp4K3cDQMxZ863RDQceaHfJKN4h/7VOaePzN4hHV9dbKxmRm//lKsyunnWcmwylpKoS1FksfUunAM0Rzc9NSHR+Ng8ku/2juDzQ7e5vtLLEwpj6bWKYMtzqY1lpUJsETDGiH2mF/xjK+Tbkgr4O6o5PnnY7j9uJCcLJV4igfgPaQygsC/G/g3MhASX2iH/uSxzKXj8lPjQLVElf02la/Zv4rAJcgCu665GBFa0pw45ha7Djemy8gYnWIZIF5feRKHiZTpNE/UIPD+E/i/n0qgnC11yP/bI72ySqnKe0TZl7HtSpt751RR0xajyZgL+4hTDL1HLfT/QELqqNvcJhEwPBe3xOLqDpNy1IQAWGHJBKjPdOuYqVKS6PkoJeCWIZIOtSzVKv456uTogGNj31IRYOPhiYMacn6jGfJvOQCEenf2qtYHDWoQuAciFqrnhEDUAhBJYHPndqQw/DwkQKavDoqLEomrjK2p0Tz9GJBKMDMVQmuQGGvlIt3XE8wHbzifd5ds

Hi Trond,

I think there is indeed an issue with cassandra’s default config and IPv6-only hosts. Can you try the following:

1. Open  /etc/cassandra/conf/cassandra-env.sh
2. Find and comment-out the line JVM_OPTS=“$JVM_OPTS -Djava.net.preferIPv4Stack=true”
3. Save the changes.
4. Restart cassandra with systemctl restart cassandra

Might want to double check there are no other references to -Djava.net.preferIPv4Stack=true in that file, mine just had the one. Also since you have been changing /etc/hosts, make sure localhost still resolves to ::1. Its possible we may need to play with the Java opts some more, but hopefully that is all you need. Seems to be a known issue with cassandra. We aren’t the authors of the cassandra RPM, but if that indeed fixes your issue we can look at having one of our packages correct that issue on install (it won’t be the first time we have had to some hand-holding for cassandra’s RPM).

Also, as an aside, there should be no requirement to disable your firewall. I think you said that didn’t work anyways but all communication with cassandra is done on localhost and should not be affected by the host firewall.

Thanks,
Andy



On October 6, 2017 at 7:37:39 AM, Trond Endrestøl () wrote:

On Fri, 6 Oct 2017 13:22+0200, Trond Endrestøl wrote:

> On Fri, 6 Oct 2017 13:18+0200, Trond Endrestøl wrote:
>
> > On Fri, 6 Oct 2017 12:59+0200, Trond Endrestøl wrote:
> >
> > > On Fri, 6 Oct 2017 09:48-0000, Kashif Mohammad wrote:
> > >
> > > > I was also having the same problem with Cassandra not talking to
> > > > other components. It looks like that it is a problem with firewall.
> > > > I disabled firewall and its working now.
> > >
> > > Well, yes and no. Running these commands made it eventually work on an
> > > isolated system with IPv4 and IPv6 addresses assigned to the NIC:
> > >
> > > systemctl stop firewalld
> > > systemctl disable firewalld
> > > shutdown -r now Preventive reboot after disabling firewalld.;sleep 1;logout
> > >
> > > Systems running with IPv6 only, not so much.
> > >
> > > Further testing shows that the web browser determines success or
> > > failure.
> > >
> > > Access the web UI by specifying the system's IPv4 address, numerically
> > > or as a domain name, and everything works; access the web UI by
> > > specifying the system's IPv6 address, numerically or as a domain name,
> > > and it all breaks. And happens in 2017?
> > >
> > > I was hoping to avoid assigning IPv4 addresses to my perfSONAR nodes ...
> >
> > A crude workaround is to:
> >
> > 1. Assign a private IPv4 address to the NIC, say 192.0.2.3/24 (TEST-NET-1).
> > 2. Don't bother adding a default gateway for IPv4.
> > 3. Edit /etc/hosts, specifying the IPv6 address prior to the IPv4 address:
> >
> > 2001:db8:dead:beef::3 yournode.fqdn yournode
> > 192.0.2.3 yournode.fqdn yournode
> >
> > Each node's internals are now able to translate yournode.fqdn to an
> > IPv4 address and resume internal comms. Dear God, make it stop!
>
> It's even better adding "yournode.fqdn yournode" to the loopback
> addresses in /etc/hosts.

Sorry guys, the latter is just bad advice. My bad. I stand by my first
suggestion of adding a dummy IPv4 address and making the hostname
resolvable via /etc/hosts.

Users running IPv4 only or dual-stack will only know the difference
once they turn off IPv4.

--
Trond.



Archive powered by MHonArc 2.6.19.

Top of Page