Comments (8)
I was able to get past this with:
ALTER TABLE AttributeValue
DROP FOREIGN KEY AttributeValue-FK-map
;
However, there still seems to be incompatibilities with this API and the version of RackTables. Output of the script with debug mode:
[DEBUG] STARTING MAIN DATABASE INSERTION/UPDATE
[DEBUG] Service tag not exist in database
[DEBUG] Added new object to database ['atl1kvm808', 4, '64902500753f', ''] with ID 523
[DEBUG] SW Type, searching for: centos%Core , Found: None, Updating: 4
[DEBUG] OS id not found in racktables
[DEBUG] HW Type, searching for: Supermicro%X8DTL , Found: None, Updating: 2
[DEBUG] HW id not found in racktables
[DEBUG] Inserting CPU attribute information
[DEBUG] Hypervisor, searching for: Hypervisor , Found: 26
[DEBUG] Inserting installation date: 1572871262.27
RackTables object only ultimately contains:
Common name: | atl1kvm808 |
---|---|
Server | |
64902500753f | |
Intel(R) Xeon(R) CPU E5645 @ 2.40GHz | |
Yes |
Most metadata never made it in even though the attributes were added in Configuration.
from rt-server-client.
from rt-server-client.
I will prepare initialization script for whis. You run it once after you install racktables, and it's add all necessary attributes.
from rt-server-client.
Example:
from rt-server-client.
Yes, I think this will be necessary to have initialization script thanks,
from rt-server-client.
I have a beta version of the script, but I decided to do bigger redesign od the SW.
I think it maybe out during the week or two.
from rt-server-client.
This is done, will be in release 0.3.0
Use system-info -d --init
from rt-server-client.
Release is out. Use only python 3
pip3 install rt-server-client
<create configuration in /etc/rt-server-client/main.conf>
system-info -d --init
system-info -d
from rt-server-client.
Related Issues (17)
- lsb-release not avaible on freebsd HOT 4
- Missing attributes in database
- ToolBox is missing HOT 1
- base missing in /rt-server-client/lib/Toolbox HOT 2
- NameError: name 'init_run' is not defined HOT 1
- /opt/server-audit/get-bios-ident.py missing HOT 4
- Problem with first installation HOT 7
- Hostname <> already exist. I'm using service tag: ERROR: Problem during executing dmidecode HOT 1
- Support for Python3 HOT 1
- I get SyntaxError: invalid syntax HOT 4
- Redisign to use python-pip HOT 1
- Refactoring the code HOT 1
- Usage with VM HOT 1
- Virtualization: KVM Support HOT 1
- Code optimalization, debug HOT 1
- Script does not update the SW Type for Ubuntu systems HOT 16
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 rt-server-client.