-
Notifications
You must be signed in to change notification settings - Fork 29
aerospike_node_up 0 #39
Comments
Any reason you're using such an old version? |
We're using 3.14.1.1 in production, and 3.6.3 in our staging environment. Haven't upgraded to version 4 because it has a limit of 2 namespaces for community edition. |
Fair enough :-) |
@rodmccutcheon Can you describe your setup a bit? Because there doesn't seem to be any inherent incompatibility between the two versions. What I did to test:
|
Thanks very much! It's basically just installed on an ec2 instance. I don't believe we have a username/password since its community edition. Could it be the node IP address? Anything else I can run to give you more info? |
Everything runs on the same node? Any significant change you made to the config? |
Also can you log into |
I think you're on to something - we're running a single node setup, but I think previously we ran a 2nd node (now turned off). Here's the network settings:
|
Is 10.10.10.10 the node that's running or was that supposed to be the second one? [EDIT] If it's the second one, your node probably just won't come up. Since it's trying to reach to an existing cluster before starting properly. |
I think it's the second one. I tried commenting it out, but still same error and I don't see anything in the aerospike logs. |
Assuming you have the default log configuration:
Would you mind stopping aerospike, clearing that log file ( Can you also run the |
I set logging to INFO and I see a lot of these messages:
FYI, we had a lot (1000+) of secondary indexes created (with many on non-existent sets... long story!). I would delete them all if I didn't have to do it one-by-one - do you happen to know a way to drop them all in one go? Could that be causing an issue? |
These tools are super old. Where did you get them? Yeah I'm starting to wonder if you're not just waiting on a cold restart to happen or something like that. The easiest way to get rid of the secondary indexes would probably be to do a backup, wipe the whole cluster, and restore without the secondary indexes and only re-create the ones you want. I'm not familiar with that specific log message, but it looks like one of your clients is trying to read from that set that doesn't exist. I'm kinda stomped tbh... [EDIT] Inside of asadm you can try and run |
Ok upgraded the tools to the latest. Is it worth upgrading Aerospike itself? Do you know where I can get the latest 3.x download?
|
I doubt upgrading would fix your issue. And I don't see an easy way to download something older than 4.0 (outside of docker). I think they removed them from public access. I can't see anything obviously wrong jumping at me... |
I just downloaded the 1.8.0 binary from here: https://github.com/alicebob/asprom/releases. I'll have a go at compiling 1.9.0 from source. |
Yeah that binary works for me... So that's probably not your problem. |
If you have a way, I would try to start a node with no data (not connecting to your existing node obviously), see if you can get asprom working there. |
I just tried 1.9.0 in our production environment instead (Aerospike 3.14.1.1) and it works!!! That was the end goal anyway. I can try and get it working in staging later - maybe I'll try updating that to the same Aerospike binary. Thanks so much for your help! |
Ok weird... So then what's left is either a bug in the binary you're running, or something with the environment (the secondary indexes you were talking about, these kind of things). If you want to clean your secondary indexes problem, I still recommend the backup/restore route. It will also let you start clean from any other weird leftovers. |
FWIW I just hit the same scenario in my environment because I had forgotten to provide credentials to connect to the aerospike cluster. |
Ok, interesting. On a slight aside, you wouldn't happen to know how to graph data over time (TTL)? Or even on one of our bins (timestamp) would be ideal. |
I don't understand what you're asking. |
Thanks for the response. I'm trying to understand how much data we have stored over time. It would be great if there was a TTL metric for namespace/sets, but doesn't look like there is. I guess I need to look into asinfo hist-dump or histogram commands. Or perhaps a custom aql query using the timestamp bin. |
I still don't understand what you're looking for sorry :-D But yeah the histograms for TTLs don't seem to be available right now. You can try to submit an issue/feature request on the exporter supported by aerospike. If you're interested in something like how many unique objects (vs master objects) you've had over the past year or something, you might be able to figure something out with the metrics related to evict/evicted/evictions. |
Hi!
Thanks for this great tool!
I'm having some issues getting the exporter working. I'm using the 1.8.0 binary. What versions of Aerospike are compatible? I'm using community edition 3.6.3.
It looks like the node is not up?
The text was updated successfully, but these errors were encountered: