aboutsummaryrefslogtreecommitdiffstats
path: root/patches
AgeCommit message (Collapse)AuthorFilesLines
2016-06-15Rebase: f-l: vga nova patch after upstream change.Alexandru Avadanii1-4/+5
Change-Id: I4f029b00b03c665bef2bbf367953e9d95ed215f1 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-06-15Upstream: remote-libvirt + custom tags.Alexandru Avadanii8-669/+0
Change-Id: I3702648583983ac7afcfef7a9556fcd33e984457 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-06-15Fix: f-l: usb_table borked rebase.Alexandru Avadanii1-2/+2
I messed up the identation and missed a semicolon during rebase. Change-Id: I7142721cc57115a72c93bcfd270c03d6cb04c399 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-06-15Upstream: IPMI port + Mitaka mirror.Alexandru Avadanii2-248/+0
Change-Id: I3c7bd7f9be85078783a2e95dfe480cffc08534d1 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-06-13Rebase for "Improve reliability of upload_cirros"Alexandru Avadanii3-44/+29
Upstream change "Improve reliability of upload_cirros.rb" [1] allows us to drop the "Increase upload_cirros timeout" patch, and also requires rebasing our direct kernel boot patch. Also squashed in a small context edit for an unrelated patch. [1] https://review.openstack.org/#/c/327792/ Change-Id: I8adc30a74714414fae55bc7b81bc0f69f41735ce Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-06-13Merge "Rework: Move m1.micro RAM bump to post-install."Alexandru Avadanii2-35/+38
2016-06-13Merge "Rework: Move nailgun timeout patch to postinstall"Alexandru Avadanii2-27/+36
2016-06-13Merge "Cleanup: Drop obsoleted hardcode, now in fixture."Alexandru Avadanii1-31/+0
2016-06-13Merge "Fix: f-w: Nailgun `current_release` obsoleted."Alexandru Avadanii1-3/+2
2016-06-12Rework: Move m1.micro RAM bump to post-install.Alexandru Avadanii2-35/+38
Change-Id: I158c58cb01112d2113a75dd425275cf9531d49fc Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-06-12Rework: Move nailgun timeout patch to postinstallAlexandru Avadanii2-27/+36
Change-Id: I927bb36b0ac4628630f90649027441a895c6f774 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-06-12Rework: Move xz/gzip switch to post-install.Alexandru Avadanii2-35/+52
This is highly unlikely to be upstreamed in any other form than this. Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-06-12Fix: f-w: Nailgun `current_release` obsoleted.Alexandru Avadanii1-3/+2
Upstream fuel-web change "Remove legacy patching code" [1] obsoletes `current_release` definition in `deployment_serializers.py`. Update our nailgun patch that adds arch field to no longer rely on this functionality. [1] https://review.openstack.org/#/c/280708/ Change-Id: I93b3691be860427da320c5c0a2c799dcc4158afd Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-06-12Rework: Move fuel-astute patch to post-install.Alexandru Avadanii2-31/+49
IMPORTANT: Drop `fuel-astute` submodule, and patch it instead during the Fuel Master node bootstrapping process, using an OPNFV post.d script. Luckily, this fits well with the recently added script that prepares FM for cross-building. One step closer to un-forking. Change-Id: Ia612e0ad4077b16baf54f1b9ebf9d207daca0be4 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-06-10Cleanup: Drop obsoleted hardcode, now in fixture.Alexandru Avadanii1-31/+0
We used to change the harcoded grub-pc with grub-efi-arm64, but since Mitaka now adds package list overrides in fixtures [1], we may remove this obsolete patch. [1] https://github.com/openstack/fuel-web/commit/ 4ee42effe27694bd231663e3d0f10c0c42877177 Change-Id: I6707b4dbf3823f356c7ff2367215a41e287b80ac Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-06-10post-scripts: Enable systemd-binfmt for first boot.Alexandru Avadanii1-0/+96
ARMBAND NOTE(S): - This is a bug fix + a new feature (arch list in a file on FM) - This is overengineered because: * we want to move patching to post-ISO creation, OPNFV style; * easier integration with Fuel@OPNFV, using post-install scripts; * prepare for true multiarch support on Fuel Master; IMPORTANT: This commit introduces the following file on Fuel Master, containing the list of arch supported for target nodes: </etc/fuel_openstack_arch>. This file is created AFTER pre.d OPNFV scripts are ran, also by bootstrap_admin_node.sh, BEFORE the post.d scripts are executed. NOTE: Arch format is the same used by dpkg (e.g.: "amd64 arm64") Based on the number of foreign architectures we should support (the list of archs in /etc/fuel_openstack_arch minus native arch), we determine whether cross-builds are expected, in which case binfmt support should be functional during first Fuel Master boot. Since systemd-binfmt service has a series of preconditions for starting, which are tested early during first boot, some of them are NOT YET true (e.g. no binfmt handlers are present before qemu-user-static package is installed), so the service is not automatically started. Of course, this only affects the first boot. Finally, this commit adds an OPNFV post-install script in /opt/opnfv/bootstrap/post.d, which starts systemd-binfmt service. Change-Id: I6dbe4b3ac5a2fd076881d6778ff66b82bb6c7379 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-06-09FIXME: Temporary: Backport: build local mirrors.Alexandru Avadanii4-17/+189
Backport upstream pending patch "Build local mirrors for stable/mitaka" from [1]. Minor rebase for two other patches after applying this series. [1] https://gerrit.opnfv.org/gerrit/#/c/15259 Change-Id: I362e08be3460d711de064a487fdcc8c76fc69af9 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-06-08Rebase: p/f/deploy-reap-extra-eth: context update.Alexandru Avadanii1-3/+1
Update patch `deploy/reap.py: Dump extra interfaces information.` after upstream change was merged [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/15275/ Change-Id: I9fd74775030732cc0759610228fa80a0cec72352 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-06-08Rebase: rm p/f/Allow-customizing-fuel-plugin-odl.Alexandru Avadanii2-30/+3
Upstream change [1] made this patch obsolete. While at it, update related patch context after same change. [1] https://gerrit.opnfv.org/gerrit/#/c/14385/ Change-Id: I21753e4dafdd0ab83c5eac37f394aa704bbe236b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-06-08Fix: f-l: s/nailgun::/fuel::/cobbler::preseed.Alexandru Avadanii1-3/+3
The nailgun puppet module has been replaced with fuel puppet module. This change needs to be reflected in our cobbler preseed function, which I missed during the initial rebase. [1] https://github.com/openstack/fuel-library/commit/ 74a68f493ff215ce8dfc67c3af6d06dd5a2db194 Change-Id: Ie13861ff75fc289ab03190f48fcfb5579499db1e Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-06-08FIXME: Temporary: Remove repo-mirror-cz.patch.Alexandru Avadanii1-0/+62
Upstream removed all mirrors but usa and cz, and changed its default to mirror.fuel-infra.org in [1]. This allows us to drop patching of fuel-main/config.mk with the Czech mirror. If needed, USE_MIRROR=cz can be specified as an env var. FIXME: Remove when Fuel@OPNFV pulls change and deals with it. [1] https://github.com/openstack/fuel-main/commit/ 751d502cfe15d9c9df0ee89530ac3b0b73aa1638
2016-06-08Merge "Fuel deploy: timestamp for newly created images"Alexandru Avadanii1-0/+39
2016-06-08Merge "Rebase: deploy related patch series."Alexandru Avadanii28-155/+226
2016-06-04Fix: nailgun_syncdb upgrade to Fuel 9.0.1.Alexandru Avadanii1-2/+2
Armband database migrations were applied on top of Fuel 8.0, creating two heads: 43b2cb64dae6 (branchpoint) -> 11a9adc6d36a -> f9b7fd91ac19 (head) Update our change to be applied on top of Fuel 9.0.1. Change-Id: If5b2ff1aa082227cebd268a2515b78a350166598 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-06-04Rebase: ODL Fuel plugin arm64 support patch.Alexandru Avadanii1-26/+21
ODL plugin package is now arch-independent, drop arm64 hardcode. FIXME: Some arm64 hardcodes remain in place, like installing quagga package. Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-06-04Fixture: fix wrong identation (missing space)Alexandru Avadanii1-1/+1
This prevented YAML parsers from reading the Mitaka fixtures configuration file. Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-06-04Rebase: p/f-l: Update VGA defaults patch context.Alexandru Avadanii1-3/+3
Minor change upstream requires us to rebase this patch.
2016-06-04Rebase: deploy related patch series.Alexandru Avadanii28-155/+226
After change "common.py: catch stderr in exec_cmd" [1] and other unrelated changes were merged upstream, we need to rebase the complete deploy related series. While we're at it, re-export Fuel@OPNFV patches in Armband. [1] https://gerrit.opnfv.org/gerrit/#/c/14561/ Change-Id: Icbc8261c2e24e4b29e8f5f2bc83db6829219129a
2016-06-03Fuel deploy: timestamp for newly created imagesJosep Puigdemont1-0/+39
All images created are named opnfv.iso, this is not sustainable in an environment where several PODs might share the same libvirt storage pool. For this we need unique names, and the time stamp is a cheap way for now to achieve this. Change-Id: I8a7d34036898b8b4e57b23c11bee643876e1829c Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-06-01Upstream: p/common.py: catch stderr in exec_cmd.Alexandru Avadanii1-40/+0
See Fuel@OPNFV change [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/14561/
2016-06-01Upstream: ODL file limit patch was merged upstreamAlexandru Avadanii1-31/+0
See upstream commit [1]. [1] https://github.com/openstack/fuel-plugin-opendaylight/ commit/5012455d58ddfda5894130ca14d8fb7d6b4c8b60
2016-06-01p/Separate-armband-repo no longer needed.Alexandru Avadanii1-43/+0
Since Fuel@OPNFV switched from carrying the orig ks.cfg to a patch for this file in "Build system uplift to Fuel 9.0/Mitaka" [1], we (Armband) can now drop this patch. [1] https://gerrit.opnfv.org/gerrit/#/c/13919/
2016-05-31Rebase: Sync after Build system uplift to Fuel 9.0Alexandru Avadanii4-49/+85
Refresh patches after Fuel@OPNFV migrated to Mitaka in [1], "Build system uplift to Fuel 9.0/Mitaka". >As bootstrap_admin_node.sh has >been transitioned into an RPM (fuel-support), the lazy designer found >it more simple to patch that script during the Fuel build phase than >at the OPNFV ISO generation. The patch mechanism has been changed to >a normal context diff instead of the orig/modified file tuples >previously used. Hopefully this will require fewer manual rebases >(may the fuzz be with us!). >Also the ks.cfg patching has transitioned to a context based ordinary >patch for the same reasons, but this is as before taking place during >OPNFV ISO generation. [1] https://gerrit.opnfv.org/gerrit/#/c/13919/
2016-05-26Merge "bootstrap: Add lshw package (also in fuel-mirror)."Alexandru Avadanii2-5/+48
2016-05-26Merge "deploy: ipmi adapter: Add <port> config support."Alexandru Avadanii1-0/+74
2016-05-26deploy: ipmi adapter: Add <port> config support.Alexandru Avadanii1-0/+74
Sometimes the IPMI lanplus protocol listens on a non-standard remote port, e.g. when target nodes are interfaced through a fake IPMI BMC application that listens on multiple ports on the same IP address. Therefore, allow setting IPMI port in the DHA using a new property named `ipmiPort`, and pass it along to `ipmitool` when set. CHANGE: get_access_info now also supports specifying the IPMI port to use with `ipmitool` by configuring the `ipmiPort` property in the DHA. hp_adapter.py: updated `get_access_info` return signature with the new (unused there) `ipmiport`. Change-Id: Ibff1309b17733af1a6fc8c5008495f42d7ef084a
2016-05-24bootstrap: Add lshw package (also in fuel-mirror).Alexandru Avadanii2-5/+48
Until Ubuntu Trusty fixes the following bug on AArch64 [1]: "AArch64: slow cpuinfo due to redundant loop" we will be using a patched version of <lshw> from Armband MOS repos. This change enforces replacing the lshw from Ubuntu with our custom, patched package. [1] https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/1582181 Change-Id: Ie10c7819f305accf2a2c2045b1c350880e4c25b6 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-05-24Fix improper patch rebaseStanislaw Kardach3-72/+87
Signed-off-by: Stanislaw Kardach <stanislaw.kardach@cavium.com>
2016-05-24Correct libvirt template patchStanislaw Kardach1-34/+22
Signed-off-by: Stanislaw Kardach <stanislaw.kardach@cavium.com>
2016-05-16Rebase: p/fuel-web: Drop obsoleted qemu doc patch.Alexandru Avadanii1-21/+0
Upstream moved documentation from local repo to fuel-docs in [1]. While looking at this patch, I think we should drop this change altogether, since qemu-user-static is not needed inside the docker builder container, at least not until we start using it for cross-builds, which is highly unlikely anyway. qemu-user-static should always be automatically installed as a dependency of fuel-agent, and NOT by explicit request. [1] https://github.com/openstack/fuel-web/commit/ eb673991cc99c5dadb251f922adb08abb40a8bad Change-Id: Iad7f659fd5ff81e92860508fad58bac519158c47
2016-05-16Rebase: WSREP rsync patchesAlexandru Avadanii2-109/+40
Signed-off-by: Stanislaw Kardach <stanislaw.kardach@cavium.com> Change-Id: Ic5cc1109df04a95a5e072ab3acb79eb89427a1e0
2016-05-16Merge "Rebase: p/fuel-library: CirrOS direct kernel boot"Alexandru Avadanii2-57/+36
2016-05-16Rebase: p/fuel-web: Add AArch64 s/Liberty/Mitaka/.Alexandru Avadanii2-115/+310
Change patch adding Liberty on aarch64 support to adding the following Openstack releases instead: - Mitaka on Ubuntu 14.04 (aarch64) - Mitaka on Ubuntu+UCA 14.04 (aarch64) Signed-off-by: Stanislaw Kardach <stanislaw.kardach@caviumnetworks.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> Change-Id: Ib3f782eccb3d58786d8f99cfd10674cef214d239
2016-05-16Rebase: p/fuel-web: Disable s/Liberty/Mitaka/.Alexandru Avadanii2-24/+34
Update patch for disabling Opentack release(s). Fuel now introduced <Mitaka on Ubuntu+UCA 14.04>, so disable that too for x86_64. Change-Id: I431357bfc6edd3ae0b2567ee5b59c4a1b4deb9b2 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-05-16Rebase: p/fuel-main: Drop armband RPM repo patch.Alexandru Avadanii1-50/+0
Since Fuel 9.0 drops containers on Fuel master (see spec "Get rid of docker containers on the master node"), we no longer need to add the armband RPM repo config to the cobbler container for cobbler-grub-aarch64. [1] https://blueprints.launchpad.net/fuel/+spec/ get-rid-docker-containers Change-Id: Ia23482226e81f83c1eb50c239346a3686206d5bf
2016-05-16Rebase: p/f-{main,lib}: cobbler-grub-aarch64 dep.Alexandru Avadanii2-39/+35
Since Fuel 9.0 drops containers on Fuel master (see spec "Get rid of docker containers on the master node"), we need to handle the install of cobbler-grub-aarch64 in a different place. So, handle cobbler-grub-aarch64 loader install as a cobbler dependency in puppet. [1] https://blueprints.launchpad.net/fuel/+spec/ get-rid-docker-containers Change-Id: Ia42211b4d0aa54ba67862f30f8c7975d2aa09392
2016-05-16Rebase: p/fuel-main: Refresh after pkglist update.Alexandru Avadanii1-9/+9
Upstream commit: "Update package list required for building ISO" [1] [1] https://github.com/openstack/fuel-main/commit/ 18f2c14a928bf3e92ccd4d868953361bed61614b Change-Id: I59af524de7539489ad4dce12894573f8ff1ac5a5
2016-05-16Rebase: p/fuel-library: Update after 96da5b4a.Alexandru Avadanii9-106/+83
Refresh patches after: "Move openstack specific tasks to their own folder structure" NOTE: The qemu-kvm change patch (0003-Make-qemu-kvm-architecture-aware.patch) only affects RedHat systems, so it is optional, at least for the current stage. [1] https://github.com/openstack/fuel-library/commit/ 96da5b4a1eb82a76fb416d93f5249dc32e2499f2 Change-Id: Ibd1fd3f7e45d7947c90336bbe7e2ace101b5802b
2016-05-16Rebase: p/fuel-library: nailgun -> fuel module.Alexandru Avadanii2-84/+75
Upstream introduced two related changes, requiring a rebase: - Remove nailgun module [1] - Remove CentOS based bootstrap image support [2] [1] https://github.com/openstack/fuel-library/commit/ 74a68f493ff215ce8dfc67c3af6d06dd5a2db194 [2] https://github.com/openstack/fuel-library/commit/ 3e1320bfcf4a8688d4bfb577a1330121390bafc0 Change-Id: I27279a2fd76d269d482a3eb25e9dba41bc669280
2016-05-16Rebase: p/fuel-astute: Reduce patch context.Alexandru Avadanii1-3/+1
Change-Id: Ic11f7c4caa801df32d12461b39e10df8f07460a7