Skip to main content

Deamon service to enroll nodes to be used for the Ironic OneView Driver

Project description

Overview

The ironic-oneviewd is a python daemon of the OneView Driver for Ironic. It handles nodes in enroll and manageable provision states, preparing them to become available. In order to be moved from enroll to available, a Server Profile must be applied to the Server Hardware represented by a node according to its Server Profile Template.

This daemon monitors Ironic nodes and applies a Server Profile to such Server Hardware. The node then goes from an enroll to a manageable state, and right after to an available state.

For more information on OneView entities, see [1].

Installation

To install the ironic-oneviewd service, use the following command:

pip install ironic-oneviewd

Configuring the service

The ironic-oneviewd uses a configuration file to get Ironic and OneView credentials and addresses. To generate and configure such file accordingly, run:

ironic-oneviewd genconfig

This tool asks you for such information and creates a ~/ironic-oneviewd.conf configuration file located at your home directory by default, or other location of your choice.

If you prefer to create your own configuration file, it should look like this:

[ironic]
admin_user=<your admin user name>
admin_password=<your admin password>
admin_tenant_name=<your admin tenant name>
auth_url=<your Ironic authentication url>
insecure=<true,false>
default_deploy_kernel_id=<your deploy kernel uuid>
default_deploy_ramdisk_id=<your deploy ramdisk uuid>
default_driver=<iscsi_pxe_oneview,agent_pxe_oneview>

[oneview]
manager_url=<your OneView appliance url>
username=<your OneView username>
password=<your OneView password>
allow_insecure_connections=<true,false>
tls_cacert_file=<path to your CA certfile, if any>

Usage

If your ~/ironic-oneviewd.conf configuration file is in your home directory, the service will automatically use this conf. In this case, to run ironic-oneviewd, do:

ironic-oneviewd

If you chose to place this file in a different location, you should pass it when starting the service:

ironic-oneviewd --config-file <path to your configuration file>

or:

ironic-oneviewd -c <path to your configuration file>

Note that, in order to run this daemon, you only have to pass the configuration file previously created containing the required credentials and addresses.

References

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ironic-oneviewd-0.0.1.tar.gz (22.5 kB view details)

Uploaded Source

File details

Details for the file ironic-oneviewd-0.0.1.tar.gz.

File metadata

File hashes

Hashes for ironic-oneviewd-0.0.1.tar.gz
Algorithm Hash digest
SHA256 16bd0b08bc1b9947987826c188720820f90b21ebcb606f9649e6a6994d45cefa
MD5 85a643ce62aa44a836e213e2c15745c3
BLAKE2b-256 37a38ad1048c46fd29044621f339fc3f7e7654192954f5b32e73a418106baa2f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page