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 14:50:47 -0400
  • Ironport-phdr: 9a23:K42h0xdv74fAeYmg9BYke8iClGMj4u6mDksu8pMizoh2WeGdxcS6Yh7h7PlgxGXEQZ/co6odzbGH4+a4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9GiTe5Yr5+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v6bpgRh31hycdLzM38GPYisJ3gq1UrhyvpAFxzZDIb4yOLvVyYrnQcMkASGZdXMtcUTFKDIOmb4sICuoMJfpVr4/gqFsUsxS/CxSnCuX1xT9LmHD9wKo33P4nEQ7b3A0tBMwBsG/OoNXzKqgSTfm4wa/VxjvNaPNW3C3y6InOch05rvGMXK5wccrMyUY0DQ/KklKQqYnjMjiI1eoNq3CW4/d+We+skWIqpRt9rzeyyss2iITFm5oZxk7Y+Sh92oo4Jt21RFRlbdK6HpZcrTyWOo90T84kXmpmojw1yqcctp6+ZCUKyIooxxrYa/GffYiH/B3uWPyVIThjgHJpYr2/hxGs8US4y+38UNe70EpSoyZYjNXBtWoB2hLJ5sWIV/dx5EWs1SuX2wDW8O5EIEQ0laTBK54mx749joAcsULeES72g0j5krSWel8i+ue29+Treq/mqYOEN49olgH+NbwjmtShDuQiPAgORG+b+eKm27355EH5Xa5KgeMskqTCtJDaJN8bprKiAwNLyIoj6hC/Dyu439QCm3kIMk5FdAydg4f3Jl7OPaOwMfDqv06rljtc6vbKJLD6HgXJZizfirDncfBw7UJGxREvytR36ZtbEbIGJP/1HEDzs8LZDVk/NFrwi6z/Bc9zzYQYUHjKH7SUKovTt0OF/OQiP7PKaYMI8n6pM/U/6eXpi3Yj3EIGcLOB3J0LZWq+E+g8ZUiVfCy/rM0GFDIjuAYkQfOirFSBXHYHbnC+Toox/Xc9BZ7wXtSLfZyknLHUhHTzJZZRfG0TUl0=

Hi,

The error message in the web UI is likely a direct result of cassandra working correctly and not. That’s the section of the page that grabs the test results from esmond, which is the component talking to cassandra. The “Internal server” error you get when you are in IPv6 only mode is because cassandra is not working and it can’t determine if you have any results or not. When you add the IPv4 address, the “no test results” message implies that cassandra is working, but esmond is not finding any test results…which isn't entirely unexpected because your archive had been going in and out. 

For the issue with cassandra not work with IPv6-only I have created an issue since obviously we need to tinker with some settings to get this work right: https://github.com/esnet/esmond/issues/67

For the issue where you are not getting test results when you do the IPv4 trick, it's quite possible you just need to wait and the results will fill-in. You can start by looking in /var/log/pscheduler/pscheduler.log for errors. You can also do some basic tests at the command-line like “pscheduler task rtt —dest <remote-ip>” to do a simple ping test and/or “pscheduler task throughput —dest <remote-ip>” to see if you get results from iperf. Those *should* work but if they throw an error it may be indicative of another problem.

Thanks,
Andy


On October 6, 2017 at 2:28:50 PM, Trond Endrestøl () wrote:

On Fri, 6 Oct 2017 20:18+0200, Trond Endrestøl wrote:

> On Fri, 6 Oct 2017 10:49-0400, Andrew Lake wrote:
>
> > 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.
>
> I reverted all my IPv4 perversion, commented out the IPv4Stack line in
> /etc/cassandra/conf/cassandra-env.sh, and rebooted the whole system.
>
> Cassandra might be running IPv6 only now, but the web interface shows
> Error loading test listing: Internal Server Error. Previously it
> showed something else, but no results from any test.

I added my fake IPv4 address, and restarted Apache. Still no
improvement. I made the IPv4 address resolvable via /etc/hosts, and
restarted Apache again. Now the web interface shows "Test Results (No
Results)". Maybe it's time to tinker with /etc/httpd/*.

--
Trond.



Archive powered by MHonArc 2.6.19.

Top of Page