summaryrefslogtreecommitdiff
path: root/devstack
Commit message (Collapse)AuthorAgeFilesLines
* Replace use of Q_USE_PROVIDERNET_FOR_PUBLICDerek Higgins2019-01-181-0/+5
| | | | | | | This is being removed from devstack in I23e1b98bd2839b79226b55700ee404a8fda83f83 Change-Id: I81b8cc348900837b876216065d7a2bf4a3665b8b
* Switch to cirros 0.4.0Derek Higgins2018-12-182-6/+3
| | | | | | | | | | | | | | | This supports ext4 partitions with metadata_csum(as created by ubuntu bionic by default). Also Using it with the e1000 virt driver cirros sees the nics. This allows us to remove 2 of the special cases we had inserted when the CI jobs were switched to bionic. Change-Id: I68165110dd57ed314cbc29430f84ff5092065d38 Story: #2004604 Task: #28570 Task: #28499
* Disable metadata_csum when creating ext4 filesystemsDerek Higgins2018-12-141-0/+3
| | | | | | | | Cirros can't mount a ephemeral partition if its enabled. Change-Id: I7b56fcd0be1cd48a6b72a0c156d37b3f279a8da9 Story: #2004604 Task: #28499
* Switch the default NIC driver to e1000Derek Higgins2018-12-142-2/+5
| | | | | | | | | The version if qemu-ipxe on bionic doesn't attempt to network boot when using virtio-net. Change-Id: I335a2a0a8a82bb43a06202f96e629aa72d10cfac Story: #2004604 Task: #28498
* Enroll XClarity machines in Ironic's devstack settingjiapei2018-12-101-0/+12
| | | | | | | | | | In the current XClarity CI environment, we have to manually add XClarity machines. This patch is going to update Ironic's devstack setting to enroll XClarity machines automatically. Change-Id: I5f664706439c9c10311749b6a9b5520e2c1dc6db Story: 2004577 Task: 28353
* Switch ironic-tempest-...-tinyipa-multinode to zuulv3Derek Higgins2018-11-191-6/+6
| | | | | | And rename to ironic-tempest-dsvm-ipa-wholedisk-direct-tinyipa-multinode Change-Id: I6ab7bfa0343e0c8df5814d26e62864f3c66cf7b1
* [devstack] Allow setting TFTP max blocksizeSam Betts2018-10-302-1/+3
| | | | | | | | Configuring the block size correctly for TFTPd prevents fragmentation of the TFTP UDP packets, which can significantly slow down or even prevent servers from booting correctly with PXE. Change-Id: Ic00bbcfb3137edb58479c019edb3fcdc4ef55d69
* Remove oneview driversJulia Kreger2018-10-151-35/+1
| | | | | | | | | | | In accordance with the deprecation of oneview, It is time to remove the oneview drivers. This patch oneview interfaces and documentation. Change-Id: Ided79fa788411f839614813ff033c42a13b88c75 Story: #2001924 Task: #24943
* Remove token expirationDerek Higgins2018-10-011-6/+0
| | | | | | I doesn't look like this was needed at all. Change-Id: I415bcd75d4b61bc8348c6934a5a860bcaabc1f31
* Switch grenade nic driver to e1000Derek Higgins2018-09-242-4/+4
| | | | | | | | | | | | | As of 988243c93fb87190e1867ef913136ecf139e7cb8 in ipxe "[virtio] Add virtio-net 1.0 support", VMs don't attempt to boot over the network when using the virtio-net rom. The ipxe-qemu package used in the grenade jobs contains this problem. Switch to e1000 to avoid baremetal VMs working on some hosts and not others. Change-Id: I4ec297281380896ffe9004c4de7117586ded7149 Story: #2003808 Task: #26603
* Restore the nova-api redirectDerek Higgins2018-09-242-11/+6
| | | | | | | | | | This was disabled when grenade switched to using rocky as its base install as it didn't work with wsgi. Restore it using a version that compatable with WSGI. Task: #26604 Story: 2003808 Change-Id: I968339b48191df46a44f45c1794478aa0d1039f6
* Fix grenade testsDerek Higgins2018-09-212-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | Downgrade ipxe-qemu during grenade job Temporary workaround while we find the problem with the newer ipxe-qemu package. Task: #26553 Switch grenade job to wsgi Now that grenade is using Rocky as its base we can switch to WSGI for ir-api. Also now required for CI as IRONIC_USE_WSGI was getting flipflopped from False -> True -> False during the grenade job. Task: #26594 Disable the ironic-api redirect as it doesn't work with wsgi Task: #26595 Increase the keystone token timeout, for grenade jobs only Task: #26596 Story: #2003808 Change-Id: Icc380e6e5128f15f90b3a86cb773e7bb8d60d076 Depends-On: Ib7d68d1360e3cdbfdc2ff185a9760461e75ac8c4
* Direct deploy serve HTTP images from conductorSam Betts2018-09-071-0/+4
| | | | | | | | | | | | | | | | | Currently direct deploy only works if temp urls are enabled or if a HTTP image URL is given. This patch enables Ironic to serve images directly from the conductor's HTTP server to the agent so that we can enable agent deploy with out temp urls. This also has the added benefit for standalone that the conductors will cache the HTTP URL images and serve them into the provisioning network meaning the provisioning network has no need for connectivity to the outside world. Story: #1598852 Task: #24639 Co-Authored-By: Kaifeng Wang <kaifeng.w@gmail.com> Change-Id: Iae6798616f29d876b274d9e0b44a1eb0f24e1747
* Switch the "snmp" hardware type to "noop" managementDmitry Tantsur2018-08-071-1/+1
| | | | | | | | Support for "fake" is kept for backward compatibility and is deprecated. Change-Id: Ibee573e660e2ba4204ecb68c8d80ad8d1e0b9a74 Story: #2003203 Task: #23361
* Add "noop" management and use it in the "ipmi" hardware typeDmitry Tantsur2018-08-071-1/+1
| | | | | | | | | | | | The new management interface targets hardware that does not correctly support changing the boot device via IPMI. For example, some hardware was reported to break the configured boot order in this case. Using the "noop" management will allow operators to pre-define the boot order as PXE -> DISK. Change-Id: Iae2837b100905e9e06cc2cd2614f0af81bf13752 Story: #2003203 Task: #23359
* Update CI jobs for rescue modeDao Cong Tien2018-07-121-0/+1
| | | | | | | | | | | | Sets rescue interface to 'agent' for testing rescue mode in most jobs. The rescue mode is tested in test_baremetal_server_ops. Also adds support for the new config option in ironic tempest plugin default_rescue_interface. Story: #1526449 Depends-On: I6b62724711ddbe17b59dad30283e544272d9c1f3 Change-Id: Ica26aa96978d22a681d69e7e1e4acd72182a4981
* Merge "Switch ironic-dsvm-standalone to zuulv3 native"Zuul2018-07-121-1/+1
|\
| * Switch ironic-dsvm-standalone to zuulv3 nativeDerek Higgins2018-06-291-1/+1
| | | | | | | | | | | | | | | | | | | | Move ironic-dsvm-standalone away from using the legacy format converted fromt the project-config repository. Also enables 3 more tempest jobs(BaremetalAgentIpmitool*) that were being skipped as agent_ipmitool wasn't configured. Change-Id: Ic01bf1849620c6d095f130e445c92888548d00c5
* | Merge "Ensure we allow Ironic API traffic from baremetal network"Zuul2018-07-041-0/+3
|\ \
| * | Ensure we allow Ironic API traffic from baremetal networkSam Betts2018-07-021-0/+3
| |/ | | | | | | | | | | | | | | | | In deployments with a separate baremetal network we need to ensure we apply an iptables rule to allow traffic on port 80 to the Ironic API. Change-Id: I468f511dd8ad9a25c17f2a2754f7a45f7147c483 Story: 2002788 Task: 22673
* | Merge "Remove support for creating and loading classic drivers"Zuul2018-07-031-0/+2
|\ \
| * | Remove support for creating and loading classic driversDmitry Tantsur2018-07-021-0/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * removes any bits related to loading classic drivers from the drivers factory code * removes exceptions that only happen when classic drivers can be loaded * removes the BaseDriver, moves the useful functionality to the BareDriver class * /v1/drivers/?type=classic now always returns an empty list * removes the migration updating classic drivers to hardware types The documentation will be updated separately. Change-Id: I8ee58dfade87ae2a2544c5dcc27702c069f5089d
* | Modifying 'whole_disk_image_url' and 'whole_disk_image_checksum' variableankit2018-07-021-4/+8
|/ | | | | | | | | | | | | | | | Need to set variable whole_disk_image_url and whole_disk_image_checksum in tempest.conf irrespective of IPXE is enabled or disabled. Also setting the ping_timeout for standalone ironic like we are setting ssh_timeout in case node is taking more time for becoming active. This change is required for iLO-CI as iLO-CI is running tests as standalone ironic. Change-Id: Idef1bc876fe440824894332a211af9a10401e49c Closes-Bug: #1748849
* DevStack: Tiny changes following iRMC classic driver removalHironori Shiina2018-06-281-3/+4
| | | | | | | | This patch includes small changes to complement the removal of iRMC classic drivers for consistency between irmc hardware type and other hardware types. Change-Id: I84dac94f1340e239796ea3da7a5fbd9154813795
* Remove the ipmitool classic driversDmitry Tantsur2018-06-272-23/+15
| | | | | | | | | | | | | | | | | | This change removes pxe_ipmitool and agent_ipmitool. Some tests and documentation bits are removed, since we no longer have any classic drivers to provide examples. The Inspector.create_if_enabled method is no longer used and was removed. The [inspector]enabled option will be deprecated in a follow-up. IRONIC_ENABLED_DRIVERS is removed from devstack to prevent devstack-gate from injecting the removed drivers into it. A temporary migration from queens is updated to disable all classic drivers. It will be removed when the enabled_drivers option is completely removed. Change-Id: Iab247e3b3336f90446ef0687edb340cf8282a925
* Remove the OneView classic driversDmitry Tantsur2018-06-261-4/+4
| | | | | | This change removes iscsi_pxe_oneview and agent_pxe_oneview. Change-Id: I4301e35f321bd041441dcfce494393fb90e293f3
* Remove the deprecated pxe_snmp driverDmitry Tantsur2018-06-261-2/+2
| | | | Change-Id: I3e9d102698cb09171c3ca3031098bc9f1d829a72
* Remove the deprecated classic drivers for Cisco UCS hardwareDmitry Tantsur2018-06-261-5/+5
| | | | | | | This change removes pxe_ucs, agent_ucs, pxe_iscsi_cimc and pxe_agent_cimc. Best effort clean up was done to the documentation. Change-Id: I4fe75e0d4a36228f2f6be6bf6ced6d37424b6fd3
* Remove the iDRAC classic driversDmitry Tantsur2018-06-261-4/+4
| | | | | | This removes the pxe_drac and pxe_drac_inspector classic drivers. Change-Id: I2837bc626425869008d9222523b05e2ce5175c19
* Remove the ilo classic driversDmitry Tantsur2018-06-221-3/+2
| | | | | | | This removes pxe_ilo, iscsi_ilo and agent_ilo. Also removed is the whole documentation section dedicated to them. Change-Id: Ie6f8a65d68ce4eb9c8467c416df5f3a35f0abe98
* Remove the "fake" and "fake_soft_power" classic driversDmitry Tantsur2018-06-062-1/+11
| | | | | | The grenade configuration is updated to disable the fake driver. Change-Id: Ica2b466a1a22ca2e5d1362377692cc39ef53ce2c
* Merge "Add the ability to setup enabled bios interfaces in devstack"Zuul2018-06-011-1/+4
|\
| * Add the ability to setup enabled bios interfaces in devstackYolanda Robla2018-05-301-1/+4
| | | | | | | | | | | | | | In order to start testing, enable the setup of bios interfaces into devstack lib Change-Id: I91c10f5b525f395074027260fb70f8ccd60e67bb
* | Allow customizing libvirt NIC driverVladyslav Drok2018-05-252-2/+7
|/ | | | | | | | | This value will be used for creating virtual baremetal machines in the devstack plugin. Story: 2002079 Task: 19747 Change-Id: I69fbbadb8fdbb110d6e32013a4835e193f30c93d
* Merge "[devstack] Switch ironic to uWSGI"Zuul2018-05-163-121/+70
|\
| * [devstack] Switch ironic to uWSGIVasyl Saienko2018-04-173-121/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch switches ironic API to run under uwsgi, and drops support for running ironic API under mod_wsgi from ironic's devstack plugin. It also effectively moves all jobs except grenade ones to run ironic-api under UWSGI as we start to honor the devstack's ENABLE_HTTPD_MOD_WSGI_SERVICES variable (which is True by default). The new variable in devstack plugin to toggle deployment with uwsgi is IRONIC_USE_WSGI, which defaults to (now confusingly named) IRONIC_USE_MOD_WSGI for backward compatibility. Related-Bug: #1719260 Co-Authored-By: anascko <ovoshchana@mirantis.com> Change-Id: I9ef3aa48db6efe8e2216af785cc13fdb7f754a02
* | Merge "Switch to the fake-hardware hardware type for API tests"Zuul2018-05-141-0/+2
|\ \
| * | Switch to the fake-hardware hardware type for API testsDmitry Tantsur2018-04-301-0/+2
| | | | | | | | | | | | | | | Change-Id: I7a9d563c8cc7d493f55f984664f8fe80ead177a2 Depends-On: I6540bca3e19ec1d09d6f71c0d3fc987439bc8138
* | | Merge "Preserve env when running vbmc"Zuul2018-05-111-2/+10
|\ \ \
| * | | Preserve env when running vbmcClark Boylan2018-05-081-2/+10
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The create-node.sh and cleanup-node.sh scripts are called with sudo -E but then runs su which will break the env we were initially trying to preserve. This is important so that devstack can control things like $PATH for determining the path to vbmc. Address this by adding a -p to the su call which should preserve the environment for us. Unfortunately for PATH specifically even using sudo -E has a tendency for sanitizing PATH. We work around this behavior by explicitly setting $PATH in the commands being run by sudo su. Note that the su appears to be necessary to have the stack user pick up its new libvirt group membership which allows it to successfully use virsh to start the virtual baremetal instances. Change-Id: I3398b6fd14b491a13231a6032a669d6e30deca98
* | | Fix E305 ErrorsJulia Kreger2018-05-091-0/+1
|/ / | | | | | | | | Story: #2001985 Change-Id: Idb9946e24e22bc64475dabb475d9cef09ee4d26b
* | Move API (functional) tests to separate jobsDmitry Tantsur2018-04-271-9/+11
| | | | | | | | | | | | | | | | It becomes increasingly harder to maintain functional tests using the fake hardware type and integration tests in the same jobs. This change creates two new jobs (for Python 2 and Python 3) and makes API tests run only in them. Change-Id: I3570323b22d8d4f19635f26733b3ae92bd0c661d
* | Merge "Devstack plugin support for Redfish and Hardware"Zuul2018-04-251-8/+18
|\ \
| * | Devstack plugin support for Redfish and Hardwarerajinir2018-04-241-8/+18
| | | | | | | | | | | | | | | | | | | | | Added devstack support for redfish driver to be run on hardware Change-Id: I443bcdf6184651954f1474cf153be1bf181dd6e3
* | | fix a typowangqi2018-04-231-2/+2
|/ / | | | | | | Change-Id: I413a1d90abea296cfba68817b02d258b47b92e83
* | Merge "Adding grub2 bootloader support to devstack plugin"Zuul2018-04-181-5/+59
|\ \ | |/ |/|
| * Adding grub2 bootloader support to devstack pluginankit2018-04-031-5/+59
| | | | | | | | | | | | | | This commit enables support for grub2 bootloader for UEFI. It also enables UEFI Secure Boot based provisioning in devstack plugin. Change-Id: I36a50656a52870121eda099f396523c46b7cb1aa
* | DevStack: Enroll node with iRMC hardwareHironori Shiina2018-03-291-0/+15
|/ | | | | | | This patch enables enrolling nodes with a hardware info file when iRMC hardware type (or classic driver) is used. Change-Id: Ibdbdb11fbbf7a8872d6ad02e21ceddae6b180506
* Merge "Follow-up patch for rescue mode devstack change"Zuul2018-03-221-10/+8
|\
| * Follow-up patch for rescue mode devstack changeDao Cong Tien2018-03-161-10/+8
| | | | | | | | | | | | | | This patch addresses an issue from the PS30 of I332223f187783fc06e19e62a886a8a7378c62cf2 Change-Id: I86c55ec8a2f2445616dbae44a4a9f0723eaffb0f