Open robdogaz opened 6 years ago
@robdogaz - Are you using the OVA, or deploying on Ubuntu 16 with the setup script?
I used the OVA
On Wed, Jun 13, 2018 at 2:54 PM Micheal Taylor notifications@github.com wrote:
@robdogaz https://github.com/robdogaz - Are you using the OVA, or deploying on Ubuntu 16 with the setup script?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PureStorage-OpenConnect/FlashStache/issues/11#issuecomment-397100251, or mute the thread https://github.com/notifications/unsubscribe-auth/AOH17B2CDGlVnYowPPOUd7hZnvJQU_U4ks5t8YowgaJpZM4Um_UA .
-- Robert Martin
Allright - let me find some time to pull the OVA and verify - Sorry for the trouble!
Have you had a chance to look into this issue?
@bubthegreat ^^
Haven't had success reproducing - when you deployed the OVA, can you reproduce your steps so I can follow them?
On Fri, Jun 22, 2018 at 8:22 AM robdogaz notifications@github.com wrote:
Have you had a chance to look into this issue?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/PureStorage-OpenConnect/FlashStache/issues/11#issuecomment-399459468, or mute the thread https://github.com/notifications/unsubscribe-auth/ALojoRnv1Yx57BLbC40qpVNHU6J0hIaOks5t_P2vgaJpZM4Um_UA .
-- Mike Taylor bubthegreat@gmail.com (801)913-9767
Deploy the OVA to my vSphere stack, give it an IP and then when I bring up IP in the browser I get NGINX generic splash screen and no FlashStache
On Fri, Jun 22, 2018 at 7:26 AM Micheal Taylor notifications@github.com wrote:
Haven't had success reproducing - when you deployed the OVA, can you reproduce your steps so I can follow them?
On Fri, Jun 22, 2018 at 8:22 AM robdogaz notifications@github.com wrote:
Have you had a chance to look into this issue?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/PureStorage-OpenConnect/FlashStache/issues/11#issuecomment-399459468 , or mute the thread < https://github.com/notifications/unsubscribe-auth/ALojoRnv1Yx57BLbC40qpVNHU6J0hIaOks5t_P2vgaJpZM4Um_UA
.
-- Mike Taylor bubthegreat@gmail.com (801)913-9767
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PureStorage-OpenConnect/FlashStache/issues/11#issuecomment-399460818, or mute the thread https://github.com/notifications/unsubscribe-auth/AOH17GDfz22QrHhIDi5wZxwSZDZLnT5sks5t_P6MgaJpZM4Um_UA .
-- Robert Martin
Let me double check - I could have sworn we added a setup script to the OVA so you can set the IP information where it belongs - but I'll run through again without using the "right" IP address.
On Fri, Jun 22, 2018 at 8:42 AM robdogaz notifications@github.com wrote:
Deploy the OVA to my vSphere stack, give it an IP and then when I bring up IP in the browser I get NGINX generic splash screen and no FlashStache
On Fri, Jun 22, 2018 at 7:26 AM Micheal Taylor notifications@github.com wrote:
Haven't had success reproducing - when you deployed the OVA, can you reproduce your steps so I can follow them?
On Fri, Jun 22, 2018 at 8:22 AM robdogaz notifications@github.com wrote:
Have you had a chance to look into this issue?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub <
https://github.com/PureStorage-OpenConnect/FlashStache/issues/11#issuecomment-399459468
, or mute the thread <
.
-- Mike Taylor bubthegreat@gmail.com (801)913-9767
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/PureStorage-OpenConnect/FlashStache/issues/11#issuecomment-399460818 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AOH17GDfz22QrHhIDi5wZxwSZDZLnT5sks5t_P6MgaJpZM4Um_UA
.
-- Robert Martin
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PureStorage-OpenConnect/FlashStache/issues/11#issuecomment-399466202, or mute the thread https://github.com/notifications/unsubscribe-auth/ALojodiONpiMoNHItgt303Gnb0_QP2I1ks5t_QI7gaJpZM4Um_UA .
-- Mike Taylor bubthegreat@gmail.com (801)913-9767
I tried in two different datacenters and everything in setup.sh runs just fine but when I go to my IP in browser http://192.168.0.20 I get "Welcome to nginx on Fedora"
On Fri, Jun 22, 2018 at 9:54 AM Micheal Taylor notifications@github.com wrote:
Let me double check - I could have sworn we added a setup script to the OVA so you can set the IP information where it belongs - but I'll run through again without using the "right" IP address.
On Fri, Jun 22, 2018 at 8:42 AM robdogaz notifications@github.com wrote:
Deploy the OVA to my vSphere stack, give it an IP and then when I bring up IP in the browser I get NGINX generic splash screen and no FlashStache
On Fri, Jun 22, 2018 at 7:26 AM Micheal Taylor <notifications@github.com
wrote:
Haven't had success reproducing - when you deployed the OVA, can you reproduce your steps so I can follow them?
On Fri, Jun 22, 2018 at 8:22 AM robdogaz notifications@github.com wrote:
Have you had a chance to look into this issue?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub <
https://github.com/PureStorage-OpenConnect/FlashStache/issues/11#issuecomment-399459468
, or mute the thread <
.
-- Mike Taylor bubthegreat@gmail.com (801)913-9767
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <
https://github.com/PureStorage-OpenConnect/FlashStache/issues/11#issuecomment-399460818
, or mute the thread <
.
-- Robert Martin
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/PureStorage-OpenConnect/FlashStache/issues/11#issuecomment-399466202 , or mute the thread < https://github.com/notifications/unsubscribe-auth/ALojodiONpiMoNHItgt303Gnb0_QP2I1ks5t_QI7gaJpZM4Um_UA
.
-- Mike Taylor bubthegreat@gmail.com (801)913-9767
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PureStorage-OpenConnect/FlashStache/issues/11#issuecomment-399509757, or mute the thread https://github.com/notifications/unsubscribe-auth/AOH17El0wLiRiLM5eXjS-BWK2KiU4UCfks5t_SFMgaJpZM4Um_UA .
-- Robert Martin
I figured out the issue with not loading the website in the browser for the OVA, had to go into the already configured nginx.conf and change the IP to the one I assigned to the OVA. Now I am having issue clicking on Open Dashboard, nothing is displaying. Really want to use this tool. I did load up mysql and the database has data
Sorry for not being able to get on top of this sooner - I have time Wednesday (tomorrow) slated for testing this and getting it working as an interrupt for my normal workday - I'll try to make sure we have a useful config script that sets the IP's for you as well, so you don't have to do this manually - but I'll report back here by thursday afternoon at the latest with results.
On Tue, Jun 26, 2018 at 3:23 PM robdogaz notifications@github.com wrote:
I figured out the issue with not loading the website in the browser for the OVA, had to go into the already configured nginx.conf and change the IP to the one I assigned to the OVA. Now I am having issue clicking on Open Dashboard, nothing is displaying. Really want to use this tool. I did load up mysql and the database has data
[image: image] https://user-images.githubusercontent.com/14808556/41940080-7403f2ea-794c-11e8-8411-b1e093d3a15c.png
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PureStorage-OpenConnect/FlashStache/issues/11#issuecomment-400467177, or mute the thread https://github.com/notifications/unsubscribe-auth/ALojoaP9CAw8pKF_40MFpxXNS16GVledks5uAqZngaJpZM4Um_UA .
-- Mike Taylor bubthegreat@gmail.com (801)913-9767
Just an update: Reproduced the issue, and I've got a real setup script that I'm continuing testing on - it'll simplify the setup to just running the script and that should take care of all of the underlying changes necessary. Will continue working on this tomorrow.
Thank you so much
Another update here - I've got it pulling data and the script is working as expected, and am doing some more testing - but I'm not reproducing the blank columns yet - This may be an issue with time differencing in the graphana GUI vs. server time - we had to ply a few strange workarounds for that in the past, and I suspect it's just rearing it's ugly head in another way.
When are you going to paste updated code?
The script itself is fairly simple - after you've made sure the IP is the one you want, just run this script and it'll update the IP reference in the nginx.conf and restart the services.
# Get host IP address and trim out spaces.
hostname=$(hostname -I | sed -e 's/[[:space:]]*$//')
# Update nginx server to point correctly to the new IP address for incoming requests.
sudo sed -i -e "s/server_name \d+.*/server_name=$hostname/g" /etc/nginx/nginx.conf
# Restart the nginx/uwsgi services.
systemctl restart nginx
systemctl restart uwsgi
The problem is that somewhere in this process (or before), the queue for processing the metrics isn't being populated any longer, and that portion of the troubleshooting is a bit more intricate because we're sending the requests to a queue (So it doesn't have to all happen in series one at a time). Rest assured, we'll get it figured out.
If you're not super attached to the Centos VM, you can install the Ubuntu branch from source and it runs swimmingly after configuring the IP information - but that's not a fix, it'd just be an alternative if you're in a time crunch for this running.
@robdogaz - Can you do me a favor and do two things for me?
Let me know what the results are - that fixed it for me in testing.
The data populated the next day it was working. I had to uncheck that Annotations check box to stop getting that error.
On Fri, Jun 29, 2018 at 1:45 PM Micheal Taylor notifications@github.com wrote:
@robdogaz https://github.com/robdogaz - Can you do me a favor and do two things for me?
- Restart the services since you've already changed the nginx.conf
- cd into the FlashStash directory and run the start.sh script
- Disable monitoring for the array you've configured and save
- Re-enable monitoring for the array you've configured and save
- Go back into the dashboard, and click "today so far" in the timeframe on the top right
Let me know what the results are - that fixed it for me in testing.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PureStorage-OpenConnect/FlashStache/issues/11#issuecomment-401469363, or mute the thread https://github.com/notifications/unsubscribe-auth/AOH17Dno9P7OEe6Ula24Jt8s4yiLX6ueks5uBpHdgaJpZM4Um_UA .
-- Robert Martin
When I put in my IP address all I get is
This page is used to test the proper operation of the nginx HTTP server after it has been installed. If you can read this page, it means that the web server installed at this site is working properly.
Website Administrator This is the default index.html page that is distributed with nginx on Fedora. It is located in /usr/share/nginx/html.
You should now put your content in a location of your choice and edit the root configuration directive in the nginx configuration file /etc/nginx/nginx.conf.