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:

[DEFAULT]
retry_interval=<retry interval in seconds>
rpc_thread_pool_size=<thread pool size>

[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.2.tar.gz (25.5 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for ironic-oneviewd-0.0.2.tar.gz
Algorithm Hash digest
SHA256 babb179ecfa6673f3e726c4e5e08333f40c5edb9a646efcb3803064ad3b6178a
MD5 3915bbc083437945fa5b57e0e1846b4c
BLAKE2b-256 4ae26e95b8d97a45dfbc1351052cffd91052dd688c26fee9144bf482e4174942

See more details on using hashes here.

Supported by

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