Giter Site home page Giter Site logo

Comments (3)

ErwanAliasr1 avatar ErwanAliasr1 commented on June 19, 2024

Something is wrong in the way you use the cmdb & specs. Let's speak on chat
on Monday to speak about it. (I'm on my phone)
Le 26 sept. 2014 15:26, "Gaëtan Trellu" [email protected] a écrit :

HI,

We have two servers with the same specs (disk, memory, cpu), the only
thing different is the serial number. If the servers are installed in the
same time, one of them raised an error about the CMDB file (no entry.....).

If i boot the servers not at the same time, the deployment works.

In the specs file we match the serial number (tag):

generate({'disk0': '32:0',
'disk1': '32:1',
'disk2': '32:2',
'disk3': '32:3',
'disk4': '32:4',
'disk5': '32:5',
'disk6': '32:6',
'gateway-admin': '10.154.20.3',
'hostname': 'infra01-2',
'if_b0': 'eth0',
'if_b1': 'eth1',
'if_b2': 'eth2',
'ip-admin': '10.154.20.13-14',
'netmask-admin': '255.255.255.0',
'sn': ('CTZB2Y1', '9TZB2Y1'),
'vlan-admin': '2320',
'vlan-infra-pub': '1302'})

The spec file:

-- python --

[
('pdisk', 'disk0', 'ctrl', '1'),
('pdisk', 'disk0', 'type', 'SAS'),
('pdisk', 'disk0', 'id', '32:0'),
('pdisk', 'disk0', 'size', '278.875'),
('pdisk', 'disk1', 'ctrl', '1'),
('pdisk', 'disk1', 'type', 'SAS'),
('pdisk', 'disk1', 'id', '32:1'),
('pdisk', 'disk1', 'size', '278.875'),
('pdisk', 'disk2', 'ctrl', '1'),
('pdisk', 'disk2', 'type', 'SAS'),
('pdisk', 'disk2', 'id', '32:2'),
('pdisk', 'disk2', 'size', '278.875'),
('pdisk', 'disk3', 'ctrl', '1'),
('pdisk', 'disk3', 'type', 'SAS'),
('pdisk', 'disk3', 'id', '32:3'),
('pdisk', 'disk3', 'size', '278.875'),
('pdisk', 'disk4', 'ctrl', '1'),
('pdisk', 'disk4', 'type', 'SAS'),
('pdisk', 'disk4', 'id', '32:4'),
('pdisk', 'disk4', 'size', '278.875'),
('pdisk', 'disk5', 'ctrl', '1'),
('pdisk', 'disk5', 'type', 'SAS'),
('pdisk', 'disk5', 'id', '32:5'),
('pdisk', 'disk5', 'size', '278.875'),
('pdisk', 'disk6', 'ctrl', '1'),
('pdisk', 'disk6', 'type', 'SAS'),
('pdisk', 'disk6', 'id', '32:6'),
('pdisk', 'disk6', 'size', '278.875'),
('system', 'product', 'serial', '$$sn'),
]


Reply to this email directly or view it on GitHub
#131.

from edeploy.

ghantoos avatar ghantoos commented on June 19, 2024

It would be nice to have the cause of this written in this issue after your private discussion. Just so that someone else doesn't fall into the same trap.

Reopening.

from edeploy.

ghantoos avatar ghantoos commented on June 19, 2024

Looks like it was actually a bug, and not an error user-side; and seems to have been corrected by 9842551 by @fredericlepied. Closing.

from edeploy.

Related Issues (20)

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.