summaryrefslogtreecommitdiff
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Agent driver fails without Ironic-managed TFTP"Jenkins2015-04-101-0/+5
|\
| * Agent driver fails without Ironic-managed TFTPJosh Gachnang2015-04-091-0/+5
| | | | | | | | | | | | | | | | | | | | There are a lot of assumptions that Ironic has local PXE files. This is untrue for deployments with separate DHCP servers and agent images not hosted in Glance. Adds a new config option 'manage_tftp' in the DCHP section to disable TFTP management. Closes-Bug: #1440896 Change-Id: Ibf5a415e3beee13d12e65e177816256df57cb423
* | Merge "Sync with oslo.incubator"Jenkins2015-04-081-0/+39
|\ \
| * | Sync with oslo.incubatorGhe Rivero2015-04-061-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add oslo.policy and oslo.concurrency to oslo config generator extra libraries to retrieve config options Update oslo_incubator service module Update oslo_incubator versionutils with new list_opts discovery Change-Id: I5558f6f9f708b1643ebd6c8b2a213a1fae582a50
* | | Merge "Fix help string for glance auth_strategy option"Jenkins2015-04-071-2/+12
|\ \ \ | |_|/ |/| |
| * | Fix help string for glance auth_strategy optionVladyslav Drok2015-04-031-2/+12
| | | | | | | | | | | | | | | | | | | | | Help for Glance auth_strategy config option is incorrect, this change fixes it. Change-Id: I0749477118930794942d8ccb6cfc043d92dc1a62
* | | Merge "Enable cleaning by default"Jenkins2015-04-031-6/+4
|\ \ \ | |/ / |/| |
| * | Enable cleaning by defaultDevananda van der Veen2015-04-031-6/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch enables cleaning by default. It is always safer to erase data after an instance has been deleted, and as such, this is a sane production default. The only potential impact of this option being enabled is that deletion may (depending on hardware) take longer. This commit also updates the help string to describe the only known production situation where disabling this option makes sense -- that is, where there is only a single, trusted tenant. Implements blueprint implement-cleaning-steps Depends-On: I77081165a80491da3e66d8a4554b6d71fc3d9353 Change-Id: I4ed4fbc8c4d88988add953307f8871cbfa33971f
* | Add display-name option to example apache2 configurationYuriy Zveryanskyy2015-04-011-1/+1
|/ | | | | | | | Without this option impossible to find ironic API wsgi process in system process list, it displayed as 'apache2'. With this option '(wsgi:ironic)' process displayed. Change-Id: If391d898b063f02a44050e2c95ee40d9a07b6b05
* Fix common misspellingsMartin Kletzander2015-03-231-1/+1
| | | | | | | | | | | | | | Wikipedia's list of common misspellings [1] has a machine-readable version. This patch fixes those misspellings mentioned in the list which don't have multiple right variants (as e.g. "accension", which can be both "accession" and "ascension"), such misspellings are left untouched. The list of changes was manually re-checked for false positives. [1] https://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines Change-Id: Ic53e9a848280d50e69306abc98194890ac298ff2 Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
* Merge "Support agent_ilo driver to perform cleaning"Jenkins2015-03-191-0/+11
|\
| * Support agent_ilo driver to perform cleaningAnusha Ramineni2015-03-191-0/+11
| | | | | | | | | | | | | | | | Add support for agent_ilo driver to perform in-band cleaning operations. Implements: blueprint ilo-cleaning-support Change-Id: Ie34e30a163e63675dfd158f706dbc324cfd044bb
* | Merge "Implement cleaning/zapping for the agent driver"Jenkins2015-03-191-0/+10
|\ \ | |/
| * Implement cleaning/zapping for the agent driverJosh Gachnang2015-03-191-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds get_clean_steps and execute_clean_steps for the agent. Also implements prepare and tear_down for cleaning to ensure the agent is booted during cleaning. These bits should be factored out to the boot interface when that merges in L. Adds checks for cleaning steps in the heartbeat handler. Adds parameters to the dhcp functions to pass in VIFs instead of relying on the cached ones in the Ironic port objects. As cleaning can start before Nova can unplug those ports, we should ignore the cached VIFs and use the ones we create. Changes _do_next_clean_step to acquire a lock on its own so cleaning from do_node_tear_down and continue_cleaning both work. Implements blueprint implement-cleaning-states Change-Id: Ia2500ed5afb72058b4c5e8f41307169381cbce48 Depends-on: Ic38de10668c97648d073fdf9a3afc59712057849
* | Merge "Automate uefi boot iso creation for iscsi_ilo driver"Jenkins2015-03-191-2/+5
|\ \
| * | Automate uefi boot iso creation for iscsi_ilo driverNisha Agarwal2015-03-181-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Adds ability to create boot iso on the fly in ironic code. The boot iso is required for deploying in uefi boot mode using iscsi-ilo driver. blueprint automate-uefi-bios-iso-creation Change-Id: I6eb70be5259d86b7d7e2bc889dc753d0dafbf9b6
* | | Merge "Add Cleaning Operations for iLO drivers"Jenkins2015-03-191-0/+27
|\ \ \ | | |/ | |/|
| * | Add Cleaning Operations for iLO driversAnusha Ramineni2015-03-191-0/+27
| |/ | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for the Ilo drivers to be able to perform cleaning. The cleaning operations supported with this patch are: 1. reset_ilo 2. reset_ilo_credential 3. reset_bios_to_default 4. reset_secure_boot_keys 5. clear_secure_boot_keys Implements: blueprint ilo-cleaning-support Change-Id: Ic63c668538dfb185a5addd5c435541322caa00d1
* | Merge "Generate keystone_authtoken options in sample config file"Jenkins2015-03-191-0/+38
|\ \
| * | Generate keystone_authtoken options in sample config fileLin Tan2015-03-191-124/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | Adding keystonemiddleware.authtoken as extra libraries to register its missing options, like admin_user. Update sample conf by running 'tools/config/generate_sample.sh' Closes-Bug: #1430115 Change-Id: Ic8666dc4a3a6b7c5855afb2929d8b14ebe21ca52
* | | Merge "Disable cleaning by default"Jenkins2015-03-191-8/+15
|\ \ \ | |_|/ |/| |
| * | Disable cleaning by defaultDevananda van der Veen2015-03-181-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Until the new "cleaning" state, and its associated states and the additional time required during instance deletion, are supported by Nova, this option must be disabled. Enabling cleaning prior to Nova's support for it will lead to instance deletion failures (and in general a bad user experience). Implements bp/implement-cleaning-states Change-Id: I806579b6e9f3de12b68c153d31b51e204b87f218
* | | Sync from oslo.incubatorGhe Rivero2015-03-181-138/+154
|/ / | | | | | | | | | | | | | | | | | | Update imports from oslo.incubator and remove old modules no longer used. The config.generator scripts are no longer available and were not incorporated to oslo.config so leaving those here. Change-Id: I25dd3e559aeb3040068ac071d213a2b7da8de3c1
* | Implement execute clean stepsJosh Gachnang2015-03-131-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements executing the clean steps in the conductor. The RPC API version is bumped to allow async clean steps to call back to the conductor. Adds node.clean_step to store the current cleaning operation. The conductor will get a list of clean steps from the node's drivers, order them by priority, and then have the drivers execute the steps in order. Adds a config option to enable cleaning, defaulting to True. Related-bug: #1174153 Implements blueprint implement-cleaning-states Change-Id: I96af133c501f86a6e620c4684ee65abad2111f7b
* | Add localboot support for uefi boot modeRamakrishnan G2015-03-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds localboot support for uefi boot mode. For uefi localboot, we switch partition table to gpt and create a efi system partition. The efi system partition is used later by bootloader (which is installed from ramdisk). Corresponding diskimage-builder change is here: Idf7ac5987e14e1d31311834196ca7283deec15c6 Implements: blueprint local-boot-support-with-partition-images Change-Id: I00ac31da325676ea4ea1ac4185f5ac3a52c5809a
* | Merge "Adds support for deploying whole disk images"Jenkins2015-03-131-0/+1
|\ \
| * | Adds support for deploying whole disk imagesSirushti Murugesan2015-03-121-0/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ironic decides whether it should deploy whole disk images or partition based images based on the presence of a kernel and a ramdisk. Partition based images are still deployed the way it is currently. No change made in the deployment workflow of partition based images. Whole Disk Images are dumped directly on the lun of the disk presented so that they can be localbooted. Separate PXE-Config entries have been added for whole disk images which when used to deploy whole disk images chainloads onto the hard drive that was exposed by the deploy ramdisk. Partially-Implements blueprint whole-disk-image-support Change-Id: I4478eff302a0ffeb3e9f2077a41170671863c478
* | Add AMT-PXE-Driver Power&Management&Vendor InterfaceLin Tan2015-03-101-0/+13
|/ | | | | | | | | | | | | | | Introduce a new driver pxe-amt to extend Ironic's range to desktops. AMT (Active Management Technology)/vPro is widely used in desktops to remotely control the power, similar to IPMI in servers. It will use AMT as power management and PXE as deploy management. This patch only provides basic operations to support the workflow of remotely deploying on AMT/vPro system. This adds power, management and it's own vendor interface. This also adds a new fake-amt driver. Implements blueprint amt-pxe-driver Change-Id: Idd9b63d124f52e24efab8b49dfe1f2e25b8387e6
* Add module for in-band inspection using ironic-discoverdDmitry Tantsur2015-03-051-2/+22
| | | | | | | Also adds FakeDiscoverdDriver for the sake of testing. Change-Id: I49463e7eb897c73b42e1d2816b4f2001b885c7f6 Implements: blueprint inband-properties-discovery
* Follow-up patch for generic node inspectionNisha Agarwal2015-03-031-1/+5
| | | | | | | | | | Implements the nit comments which were not addressed as part of change id If9aab90accf5a60ad3febbfc1f5d367eed987c13 Implements: blueprint ironic-node-properties-discovery Change-Id: Id6d60f460100f321624bb7d59d4e7856224fd22b
* Generic changes for Node InspectionNisha Agarwal2015-02-271-3/+7
| | | | | | | | | | | | | | | | | | | | | 1. Adds two new fields to table ``nodes``. 2. Enable changes in conductor and api to execute the methods for inspection. 3. Adds the default timeout `inspect_timeout` in ironic.conf.sample file. The new field 'last_inspected' has been renamed to 'inspection_finished_at' after discussion. The ironic-client changes for 'inspect' to be added to the list of node-set-provision-state valid actions are being addressed by https://review.openstack.org/#/c/148804 Implements : blueprint ironic-node-properties-discovery DocImpact Change-Id: If9aab90accf5a60ad3febbfc1f5d367eed987c13
* Add iRMC Management module for iRMC DriverNaohiro Tamura2015-02-251-0/+4
| | | | | | | | | | | | This module inherits ipmitool.IPMIManagement and overrides the following two functions for iRMC Drivers in order to make use of iRMC IPMI boot mode get/set capability and SCCI get sensor data. * set_boot_device() * get_sensors_data() Implements: blueprint irmc-management-driver Change-Id: I8dd6e76a7e85eb477dcde11e322fa1e308fe968c
* Add documentation for the IPMI retry timeout optionJohn Trowbridge2015-02-191-8/+24
| | | | | | | | | | It is difficult to have a universal default for the retry_timeout option in the [impi] configuration section. This patch adds documentation of the tradeoffs involved, while leaving the conservative default in place. Closes-Bug: 1383432 Change-Id: Ic7973cf7fee60cc817e5c0f5f9bfc84b3bca91c7
* Add AMT-PXE-Driver Common LibraryLin Tan2015-02-181-0/+11
| | | | | | | | | | | | | | | Introduce a new driver pxe_amt to extend Ironic's range to desktop. AMT/vPro is widely used in desktop to remotely control the power, similar like IPMI in server. It will use amt as power management and pxe as deploy management. This patch only provide basic operations to support the workflow of remotely deploy on AMT/vPro system. This add common library only. Implements blueprint amt-pxe-driver Change-Id: I357332a5880bdb6fd801207fb766a24780a657ea
* Merge "Add VirtualBox drivers and its modules"Jenkins2015-02-071-0/+11
|\
| * Add VirtualBox drivers and its modulesRamakrishnan G2015-01-311-0/+11
| | | | | | | | | | | | | | | | | | | | This commit adds VirtualBox modules VirtualBoxPower and VirtualBoxManagement for managing VMs through VirtualBox web service. It also adds two new drivers pxe_vbox and agent_vbox. Implements: blueprint ironic-virtualbox-webservice-support Change-Id: I1e23d21534be30cc4b5a06e998cdce0c5cb04ab6
* | Add policy show_password to mask passwords in driver_infoZhenzan Zhou2015-02-041-0/+1
| | | | | | | | | | | | | | | | | | | | Ironic API already enforces admin role to run node-show. So a new policy show_password is added to control if plain text passwords in driver_info should be masked or not before sending back to API calls. The default is masking password for all cases. Change-Id: Icd3e6be049376bf7b4468f0c149a72a06643da32 Closes-Bug: #1406191
* | Merge "region missing in endpoint selection"Jenkins2015-02-031-0/+4
|\ \
| * | region missing in endpoint selectionHadi Bannazadeh2015-01-301-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Region parameter is missing in selecting other components endpoint. This causes problem if there are multiple service endpoints available in keystone service catalog for different regions. Closes-Bug: #1412238 Change-Id: I64697863ef7e3d57d84d9681cc4c54a9a2a06478
* | | Merge "Simplify policy.json"Jenkins2015-02-021-3/+1
|\ \ \
| * | | Simplify policy.jsonAdam Gandelman2015-01-261-3/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ironic's policy code was recently refactored. As part of that work, a new 'trusted_call' rule was added to policy.json that allows granting/denying access to public APIs. This is problematic, though, as public access to public API routes now depends on specific rules being configured in policy.json, and this creates an issue for upgrading. Users who attempt to use new code with juno's policy.json and keystone auth will find public API access is denied. This reverts the API policy hook to always allow access to public API endpoitns by default. Doing so allows policy.json to be simplified considerably and keeps public endpoints backward compatible with Juno's default policy. Closes-bug: 1408808 Change-Id: Idedae868dbdd717a6e064edd398fa65f8725d0c0
* | | Merge "Address final comments of edf532db91"Jenkins2015-01-301-3/+3
|\ \ \ | |_|/ |/| |
| * | Address final comments of edf532db91Lucas Alvares Gomes2015-01-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch addresses the comments on the final revision of edf532db91bb7ac40e9a8382cf9fbedeeac814e4. The fixes are: * Docstring fixes and improvements * Config help strings improvements * Improve test assertion for test_store_configdrive_swift Change-Id: I7c3f3fa174eeba65318439bc9e8227518399a0cf
* | | Fix typos in commit I68c9f9f86f5f113bb111c0f4fd83216ae0659d36Chris Krelle2015-01-291-8/+8
|/ / | | | | | | | | | | | | | | | | | | | | This patch addresses the comments on the final revision of patch 150187 Also pointed out was the fact that a minor behaviour change was not noted in the commit message of the base patch: verify_iscsi_connection can raise exception.InstanceDeployFailure should the function timeout. Change-Id: If298cdaf39c72563b53fa656da636d25b93528c4
* | Merge "Add logic to store the config drive passed by Nova"Jenkins2015-01-291-0/+16
|\ \
| * | Add logic to store the config drive passed by NovaLucas Alvares Gomes2015-01-291-0/+16
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is extending the /nodes/<uuid>/provision API endpoint to accept an optional "configdrive" parameter as part of the request BODY. If present, Ironic will get the config drive and store it either directly on the Node's instance_info field or it will upload it to Swift first, generates a temp URL and then store it on Node's instance_info to be processed later after the deployment started. Two new config options were added to the conductor: * configdrive_use_swift: Whether to upload the config drive to Swift ot not. Defaults to False * configdrive_swift_container: The name of the container in Swift to store the config drive. Defaults to ironic_configdrive_container Implements: blueprint expose-configdrive Change-Id: Icc39af604af6439e85f14d1beb2c19b10e983635
* | Merge "Actively check iSCSI connection after login"Jenkins2015-01-291-0/+4
|\ \
| * | Actively check iSCSI connection after loginChris Krelle2015-01-291-0/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces the sleep command at the end of the login_iscsi fuction with an active check and a forced lun update. These two things help ensure the connection sees all luns on the iSCSI device before attempting to write to it. It also adds a configurable option to allow users to be able to customize the number of attempts for their environment. Also add some very basic logging to aid in deploy debuging Change-Id: I68c9f9f86f5f113bb111c0f4fd83216ae0659d36 Closes-bug: #1415117 Partial-Bug: #1286374
* | Add iRMC Driver and its iRMC Power moduleNaohiro Tamura2015-01-281-0/+18
|/ | | | | | | | | | | Adding new iRMC Driver, namely pxe_irmc, to the list of available drivers in Ironic and implementing the iRMC power module to interact with ServerView Common Command Interface (SCCI) described in FUJITSU Software ServerView Suite, Remote Management, iRMC S4 - integrated Remote Management Controller. Implements: blueprint irmc-power-driver Change-Id: I90d8027877b0873ea13bfbd7731ff7bac3e35d13
* Make DD block size adjustableChris Krelle2015-01-141-0/+11
| | | | | | | | | | Currently the block size for DD operations is hard coded to 1 meg. In some enviroments, like where nodes block storage is SAN or NAS based this may be causing sub par performance, This patch makes the block size for DD operations adjustable via a conf file option. Closes-bug: #1411002 Change-Id: I49bf538988ba2fa40047d4ffeffb416ba232e3f2