Code Monkey home page Code Monkey logo

Comments (8)

conseev avatar conseev commented on July 29, 2024

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.

rvojcik avatar rvojcik commented on July 29, 2024

from rt-server-client.

rvojcik avatar rvojcik commented on July 29, 2024

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.

rvojcik avatar rvojcik commented on July 29, 2024

Example:

Selection_012

from rt-server-client.

conseev avatar conseev commented on July 29, 2024

Yes, I think this will be necessary to have initialization script thanks,

from rt-server-client.

rvojcik avatar rvojcik commented on July 29, 2024

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.

rvojcik avatar rvojcik commented on July 29, 2024

This is done, will be in release 0.3.0

Use system-info -d --init

from rt-server-client.

rvojcik avatar rvojcik commented on July 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.