summaryrefslogtreecommitdiff
path: root/devstack
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Run db_sync after upgrade"Jenkins2017-04-271-2/+3
|\
| * Run db_sync after upgradeVasyl Saienko2017-04-251-2/+3
| | | | | | | | | | | | | | It may confuse that we running dbsync before upgrade project. Fix dbsync position. Change-Id: Icaee1fd1f0d4ccbdef2f391b581894c92d80b58e
* | Merge "VirtualPDU use libvirt group instead of libvirtd"Jenkins2017-04-261-1/+1
|\ \
| * | VirtualPDU use libvirt group instead of libvirtdFĂ©lix Bouliane2017-04-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, VirtualPDU uses 'libvirtd' group, which errors since this group is not used anymore on ubuntu because we now use the same group that debian uses 'libvirt'. This commit change the used group to 'libvirt'. This is the right group and it's allowed to do changes on virsh. I would rather use LIBVIRT_GROUP however a bug in the selection logic sets it to 'libvirtd' group as soon as it exists, even if both exists. Change-Id: Iddb61356b8a92184ca60a078ea9d929e5b51e629
* | | Merge "Remove pre-allocation model for OneView drivers"Jenkins2017-04-251-6/+0
|\ \ \
| * | | Remove pre-allocation model for OneView driversHugo Nicodemos2017-04-171-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The OneView drivers deprecated support for pre-allocation model in Newton cycle (6.1.0), making the dynamic allocation the default model[0]. This patch removes code pertaining to pre-allocation feature from OneView drivers. The dunamic allocation feature should be used instead. [0] https://specs.openstack.org/openstack/ironic-specs/specs/not-implemented/oneview-drivers-dynamic-allocation.html Change-Id: I7789ffc0ebc6e42f58b184c0781fb3b122c00323 Closes-Bug: 1681509
* | | | Ensure we install latest libivrtVasyl Saienko2017-04-212-1/+5
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Recently infra team added UCA repositories and start installing libvirt from it Ia4434541c71f050fe1ffb54f4c4c1e302391d00b This patch ensures that libvirt-bin is installed later during stack.sh phase when new repos are added. Change-Id: Iab7bb24d0aa89cdbef40b2e60331976325a31cab
* | | Merge "Add /baremetal path instead of port 6385"Jenkins2017-04-202-5/+30
|\ \ \
| * | | Add /baremetal path instead of port 6385anascko2017-04-182-5/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The long-standing goal in OpenStack is to stop using custom ports for services and only use subpaths like /identity or /compute. This change enables the /baremetal subpath in our devstack plugin. Closes-Bug: #1513005 Change-Id: Iaac8764394a13c4851d2ebbf3b91a380ba2aa49f
* | | | Set env variables when all needed files are sourceVasyl Saienko2017-04-201-2/+2
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | This patch moves 'source ..openrc admin admin' after we sourced keystone variables. Closes-Bug: #1684797 Change-Id: Ic3477c768373c993087d5c6a90dbd7131b4f9f50
* | | [Devstack] Fix libvirt group usageVasyl Saienko2017-04-131-10/+14
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | For unclear reason we set group ownership for tftp and http directories to libvirt. This patch fixes that and use STACK_USER group there. Also Recently [0] infra start installing libvirt from UCA repository. The groups change with newer libvirt. Older Ubuntu used 'libvirtd', but now uses libvirt like Debian. Update our local check that is needed for ironic standalone installation. [0] c9a9e415b9a955525a407b78650f93e9193c8117 Change-Id: I2e4633a258e5f8a6bd442797dd4cfbf4894c798b
* | Bypassing upload deploy ramdisk/kernel to glance when deploy iso is givenkesper2017-04-061-17/+18
| | | | | | | | | | | | | | | | Deploy kernel and ramdisk are not required for deployment when deploy iso is intended to be used for provisioning. This fix bypass uploading of deploy ramdisk/kernel to glance when deploy iso is given. Change-Id: I201b899abb1beb18454b6e2ac563c652201867a1
* | Merge "[Devstack] cleanup upgrade settings"Jenkins2017-04-051-22/+0
|\ \
| * | [Devstack] cleanup upgrade settingsVasyl Saienko2017-03-281-22/+0
| | | | | | | | | | | | | | | | | | | | | | | | We enable plugin and services in project-config. Drop those duplications from devstack/upgrade/settings Change-Id: I95d83d6b1f2914cbb0373099e128ab462fc3b492 Depends-On: Icdd89453ec3ebecd8375a5f2efd1a0d4bf6b4064
* | | Merge "Modify the spelling mistakes Change explictly to explicitly"Jenkins2017-04-051-1/+1
|\ \ \
| * | | Modify the spelling mistakeswanghongtaozz2017-04-041-1/+1
| |/ / | | | | | | | | | | | | | | | Change explictly to explicitly Change-Id: Ia31e3d23677f14f4dedb10f66187ff1e747f4ca1
* | | Add string comparison for 'IRONIC_DEPLOY_DRIVER'kesper2017-04-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | For ilo drivers, IRONIC_DEPLOY_DRIVER check need to be change. It was integer comparison supposed to be string comparison. Closes-Bug:1679944 Change-Id: I3ad04ff36ebe0b4ab3f4a2050f91044dc32a2631
* | | Merge "Revert "[Devstack] Rework VMs connection logic""Jenkins2017-04-044-76/+35
|\ \ \
| * | | Revert "[Devstack] Rework VMs connection logic"Julia Kreger2017-04-044-76/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 4ec88c9b8acb1229c30bb39cb5b92bb3131da6d2. The commit changed the port creation logic with the change of the variable creation/handling such that the ports are only created in devstack scenarios, thus breaking third party CI running on baremetal. Change-Id: I6cd163e7cbe2b075f91f16d6a7965b674ce8e2a4
* | | | Merge "[Devstack] Rework VMs connection logic"Jenkins2017-04-034-35/+76
|\ \ \ \ | |/ / /
| * | | [Devstack] Rework VMs connection logicSam Betts2017-03-304-35/+76
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Devstack currently plugs the simulated baremetal VMs into OVS using the libvirt bridge driver, this caused a problem because libvirt unplugs the VM from the network when it is turned off. To fix this an extra bridge was added between the VM and OVS to allow the OVS port to persist even when the VM was turned off. This patch replaces how the devstack simulated baremetal VMs are plugged into OVS with a manually created tap interface, this removes the need for an extra bridge, because manually created tap interfaces aren't unplugged when the VM is turned off. Allow to connect several interfaces to a node by setting IRONIC_VM_INTERFACE_COUNT devstack variable. Co-Authored-By: Vasyl Saienko <vsaienko@mirantis.com> Change-Id: Iafd470445d59f0e2009e65ddaf65a6c603a1e1c1
* | | devstack: install python-dracclient if DRAC enabledMiles Gould2017-03-281-0/+9
|/ / | | | | | | Change-Id: Ic1b132e25c13e0171ac1d5edf109a5412d76e56f
* | Merge "Add standalone tests using direct HTTP links"Jenkins2017-03-231-0/+14
|\ \
| * | Add standalone tests using direct HTTP linksVasyl Saienko2017-03-211-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | Adds two tests that uses direct HTTP link instead of glance: * pxe_ipmitool + wholedisk on HTTP server * agent_ipmitool + wholedisk on HTTP server Change-Id: I8f1a5b0ecb3d53ffdefd7018c1b9700210572ffc
* | | Merge "[devstack] Use global requirements for virtualbmc"Jenkins2017-03-221-1/+1
|\ \ \
| * | | [devstack] Use global requirements for virtualbmcPavlo Shchelokovskyy2017-03-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When installing virtualbmc, take into account the requirements and constraints from openstack/requirements. Change-Id: I61a9279ae5ab12fd0415fdfbc5a696250c0bd09d
* | | | Merge "devstack: When Python 3 enabled, use Python 3"Jenkins2017-03-201-0/+5
|\ \ \ \
| * | | | devstack: When Python 3 enabled, use Python 3John L. Villalovos2017-03-201-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to have Ironic installed using Python 3 when running under a Python 3 test job, we need to enable it as a Python 3 package. The Python 3 job still doesn't pass. But this is needed as part of the work. Change-Id: I6a766bbb4250d76d458db8783631e4bd834859f3
* | | | | Merge "devstack: Don't modprobe inside containers"Jenkins2017-03-201-2/+13
|\ \ \ \ \
| * | | | | devstack: Don't modprobe inside containersJulian Edwards2017-03-171-2/+13
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running in a container, the host must already have the modules inserted in its kernel. Change-Id: Ic61ad57557be5dd1319db70bfb50c23836874028
* | | | | Merge "Add Ironic standalone tests"Jenkins2017-03-163-3/+24
|\ \ \ \ \ | |/ / / / |/| | / / | | |/ / | |/| |
| * | | Add Ironic standalone testsVasyl Saienko2017-03-153-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the following standalone tests: * agent_ipmitool + wholedisk image + bios * agent_ipmitool + partitioned image + bios * pxe_ipmitool + wholedisk image + bios * pxe_ipmitool + partitioned image + bios Partial-Bug: #1660606 Change-Id: Ic04b0f134e20d9937a610a14d7c4128f45738eeb
* | | | Merge "Address a shell syntax mistake"Jenkins2017-03-141-2/+2
|\ \ \ \ | |/ / / |/| | |
| * | | Address a shell syntax mistakeTao Li2017-03-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Missing space before ']' in addressed line and change it to another better format. Change-Id: Ib7cfe5990db180dbc347315759fffad002dfa550
* | | | grenade: Only 'enable_plugin ironic' if not already in confJohn L. Villalovos2017-03-101-4/+20
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To support multi-node grenade jobs we need to move enabling of the ironic devstack plugin out of the ironic grenade settings file devstack/upgrade/settings. But if we add enabling of the ironic devstack plugin to project-config it will cause the gate to break as the plugin will be enabled twice. This checks to see if the ironic devstack plugin has already been enabled: * If it has already been enabled it will not enable it again. * If it has not yet been enabled it will enable it. This will allow us to update project-config to enable the ironic devstack plugin and not break the gate. After all the changes have landed we will propose a follow-up patch to remove all this additonal logic and the enabling of the ironic devstack plugin. Change-Id: I09ed78ef918eb0359045350e89d42c6df9f3e490
* | | Merge "Add wsgi handling to ironic-api in devstack"Jenkins2017-03-104-19/+99
|\ \ \ | |/ / |/| |
| * | Add wsgi handling to ironic-api in devstackanascko2017-03-094-19/+99
| |/ | | | | | | | | | | | | | | | | | | | | | | Adds handling of running ironic API under Apache as WSGI app to devstack plugin. New variable IRONIC_USE_MOD_WSGI (False by default) is added. Another new variable IRONIC_WSGI_DIR (default is distro specific) is also added, which specifies location for WSGI scripts. Change-Id: I9c5ad56e1acd292ff0f9cc9b460125fc420abda5 Closes-Bug: #1513005
* | devstack: Make sentry _IRONIC_DEVSTACK_LIB a global variableJohn L. Villalovos2017-03-081-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | Make the sentry variable _IRONIC_DEVSTACK_LIB a global variable so that it will work as expected. When variables use the 'declare' directive, it is by default a local variable. While other variables have global scope. For example: declare -A AN_ARRAY # local in scope foo=1 # global in scope declare -A -g SPAM # global in scope because of -g This causes errors to occur as some of the variables will be local only and others will be global. The issue that can occur is that when sourcing devstack/lib/ironic a second time the sentry _IRONIC_DEVSTACK_LIB will not be set but all the other variables from devstack/lib/ironic will already have been set as they are by default global variables. And the purpose of _IRONIC_DEVSTACK_LIB is to prevent the file from being sourced twice. Change-Id: I24b6ebb89f3d950d39b0665346b4c17bf05d0a0b
* Merge "devstack: Adding a README for ironic-bm-logs directory"Jenkins2017-02-271-0/+24
|\
| * devstack: Adding a README for ironic-bm-logs directoryJohn L. Villalovos2017-02-061-0/+24
| | | | | | | | | | | | | | Adding a README file to be put into the ironic-bm-logs/ directory that explains the virtual bare-metal log files. Change-Id: If4fc6b53273d39c65db0251957795d214440118d
* | Merge "Adds network check in upgrade phase in devstack"Jenkins2017-02-102-2/+15
|\ \
| * | Adds network check in upgrade phase in devstackanascko2017-02-072-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | When running grenade with multitenancy, we are able to boot instances in the network neutron has created in its upgrade phase, and we don't have to change that setup. Change-Id: I1038548ad4f93788fca3e2b7dd8ed93da0ce7702
* | | Source lib/ironic in grenade settingsVasyl Saienko2017-02-092-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We set global variables in Ironic devstack plugin like DEFAULT_IMAGE_NAME. Ensure that grenade uses them by sourcing lib/ironic from upgrade/settings. Set IRONIC_DEPLOY_DRIVER by default to pxe_ipmitool. As we no longer add IRONIC_DEPLOY_DRIVER to IRONIC_ENABLED_DRIVERS and defaults are conflicting. Closes-Bug: #1663371 Change-Id: I462ac792ad7920beff64c15a7c005406fcfa5cce
* | | [devstack] Allow using "ipmi" hardware typeDmitry Tantsur2017-02-061-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently only the default interfaces are supported. Also fail devstack if the deploy driver is neither in enabled_drivers not in enabled_hardware_types, as we no longer can easily detect which list to append it to automagically. Change-Id: I055497963f05833bf065ab396fff9b628357fc08 Partial-Bug: #1524745
* | | [Devstack] fix waiting resources on subnodeVasyl Saienko2017-02-031-4/+9
| | | | | | | | | | | | | | | | | | | | | For multinode setup we enroll IRONIC_VM_COUNT VMs on each of nodes. As result on subnode we expecting to have 2 * IRONIC_VM_COUNT resources. Change-Id: I5f939b0e4a8169e27c3b338ed2857efbe7263ecd
* | | [devstack] remove deprecated IRONIC_IPMIINFO_FILERuby Loo2017-02-011-6/+1
|/ / | | | | | | | | | | | | | | | | | | | | IRONIC_IPMIINFO_FILE was replaced by IRONIC_HWINFO_FILE in the Newton release [1]. This removes support for IRONIC_IPMIINFO_FILE. [1] Commit b61d9c076b4ce69312bc5e5303d58522e40352fe Change-Id: I2770d1f594449466738a670e28ddedbcc7ba2eb0
* | Merge "Allow using resource classes"Jenkins2017-02-011-1/+18
|\ \
| * | Allow using resource classesJim Rollenhagen2017-01-311-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a variable IRONIC_USE_RESOURCE_CLASSES, which defaults to False. If true, it will set a resource_class for each node. This enables the code path in nova that registers the resource class with the placement engine and uses it in inventory. Change-Id: I785264eae0dc8ebe29f58a9e73f33000ae70ebb1 Partial-Bug: #1647813
* | | Merge "DevStack: Only install edk2-ovmf on Fedora"Jenkins2017-02-011-1/+1
|\ \ \
| * | | DevStack: Only install edk2-ovmf on FedoraLucas Alvares Gomes2017-01-311-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | Other RPM based distros such as CentOS doesn't have this package included. Change-Id: I3adb867855f71e815d6c2e4c72025ae8c1420ae7 Closes-Bug: #1660610