Comments (11)
Hey Romain!
Thanks for the bug report. It's weird, cause I can't reproduce it with Debian v7.9. I'm running Ansible 2.0.0.2, so it could be that the problem is somewhere in between v2.0 and v2.1.
Can you paste the ""ansible_memory_mb" section from the offending host (looks like it's test.server.com)? That's where the problem should be located.
from ansible-cmdb.
"ansible_memory_mb": {
"nocache": {
"free": null,
"used": null
}
Running ansible-cmdb on OSX with the same Json file doesn't trigger any error.
from ansible-cmdb.
Hm, that is very strange. It should look like this:
"nocache": { "used": 41, "free": 961 }
from ansible-cmdb.
The host on which I ran ansible -m setup is an OpenVZ VM, which is why there is no cache value.
cat /proc/meminfo | grep Buffers
Buffers: 0 kB
from ansible-cmdb.
Ah, that makes sense! Is there a valid "real" action with proper numbers, or is that also unavailable?
from ansible-cmdb.
Sorry, I meant "section" instead of "action"
from ansible-cmdb.
I don't think so.
Would it be possible to set the value to 0 if it's returned as "null" ?
from ansible-cmdb.
I've just pushed a fix that returns "n/a" for that column in the host overview. It should be able to handle those hosts now. I'ts not a great fix, but the best I can do right now.
from ansible-cmdb.
Thanks a lot!
from ansible-cmdb.
You're welcome! Thanks for reporting the bug!
from ansible-cmdb.
Oh, if the swap column is also not available, you may also get an error on that. I would be helpful if I had the whole output of ansible setup, so I can check everything. Could you send that to my email address ([email protected]), or is it too sensitive?
from ansible-cmdb.
Related Issues (20)
- Is it possible to add additional & custom columns to the CSV template? HOT 2
- Comments must be stripped before calling shlex.split
- ModuleNotFoundError: No module named 'ansiblecmdb' HOT 2
- New column: public IP address HOT 1
- [html_fancy_split] Unable to sort custom column by mixed type "string"/ "num" AND how to custom template html_fancy_split HOT 9
- CSV import feature to manage inventory and host_vars easily HOT 1
- CSV export feature for easy reporting HOT 2
- kernel info to txt_table.tpl
- Ansible Tower Generated Json Output unable to generate report HOT 1
- No suitable python version found (v2.7 or higher required). Aborting HOT 4
- Template html fancy split is broken with Edge when excluding columns HOT 1
- Debian 11 can't use default template with ansible-cmdb 1.31 HOT 3
- F
- Markdown split doesn't work
- Does not get built with python-packaging 23.0
- [Question] Offline js libraries
- Using facts_cache for esx hosts is not working properly HOT 1
- Custom fact using command output HOT 1
- python 3.12: imp is deprecated in favor of importlib HOT 1
- bug using cmdb inside container ee
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-cmdb.