summaryrefslogtreecommitdiffstats
path: root/labs
AgeCommit message (Collapse)AuthorFilesLines
2018-02-14[IDF] LF-POD5Trevor Bramwell2-17/+19
Update networks for LF-POD5 since discovering there is a bug using non-/24 networks with Fuel, and to ensure there is no overlap with LF-POD4. Change-Id: Ie6eb6f12e8fd2831355e8bcec064e152cdc02f27 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-02-14[PDF/IDF] LF-POD4Trevor Bramwell2-0/+235
Add PDF and IDF for LF-POD4 Change-Id: Ie3e682e40f751b8f91340373fbcabd522d3686a8 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-02-01[fuel] Allow MaaS timeout config via IDFAlexandru Avadanii3-0/+12
MaaS timeouts should be configurable on per-POD basis, since nodes in some labs take longer to comission/deploy than our default values. IDF SCHEMA: - add new properties to Fuel IDF section; Change-Id: Ife5ff85faeae683a8c1781cae8b29f09c1f07b82 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-02-01[IDF] lf-pod2: Add missing bridge, eth infoAlexandru Avadanii1-8/+12
Some information was lost while syncing from securedlab to pharos git repo, bring it back. Change-Id: I938f4c573234c7a9d55eb140ea02f3328373ae1d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-28[fuel] Explicitly blacklist incompatible labsAlexandru Avadanii6-1/+42
Previously, we used to silently refuse to construct 'pod_config' for PODs missing mandatory PDF/IDF configuration; and instead generated an empty output YAML. Retire safety checks in Fuel IA and explicitly blacklist Fuel via new 'idf.installer' where appropiate. The following PODs do not yet support Fuel due to missing 'idf.fuel': - ericsson-pod2 - huawei-pod1 - intel-pod18 - nokia-pod1 - zte-pod2 - zte-pod3 Change-Id: Ief62d62f99a79187303e3f15b83030289e5efdcb Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-28[IDF] Add optional 'idf.installer' arrayAlexandru Avadanii4-0/+11
There is no easy way to determine automatically if a PDF/IDF set is compatible with a specific installer adapter. Most common incompatibilities are caused by: - installer adapters hardcode more network ports than nodes have defined in PDF; - installer adapters hardcode more nodes than PDF defines; Previous attempt at handling this dynamically (cd54edf) fails for recently added PODs, so let's handle this explicitly per-pod via a new optional IDF property, 'idf.installer'. If 'idf.installer' is defined, it will be used by `check-jinja2.sh` as a filter-in list of installer adapters to check against. The default (no 'idf.installer' present) is to check all IAs. Leverage the new property for: - arm-pod5: not enough network ports on computes for Compass, Joid; - arm-pod7: same as arm-pod5; - bii-pod1: no 'storage' network defined in IDF for Daisy; - zte-pod9: 3 cluster nodes are only supported by Daisy for now; SPEC changes: - net_config (previously mandatory for IDF version '0.1') is now mandatory only if 'idf.fuel' or 'idf.daisy' is defined; Fixes: cd54edf Change-Id: I706c05519e5491ad631069d7cc090e9c8bfd3011 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-28Merge "[PDF] Update LF-POD5 IDF bridges, interfaces"Alexandru Avadanii1-6/+8
2018-01-28[PDF] Update LF-POD5 IDF bridges, interfacesTrevor Bramwell1-6/+8
Change-Id: Ia761d6cecc360dde729965e499a899ba4fbc6a32 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-01-26[IDF] zte-pod1: Fix admin bridgeAlexandru Avadanii1-1/+1
Align PXE/admin bridge name on jumpserver with value in releng slave param BRIDGE for zte-pod1. Change-Id: I57e1079bc047046cb85afe6d7f7abcc340217235 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-24Merge "update user/passwd"Aric Gardner2-4/+40
2018-01-24Merge "nokia-pod1: Add PDF version"Alexandru Avadanii1-0/+1
2018-01-24update user/passwdmting2-4/+40
Change-Id: I9675e419bdda676cb2d4fa6ae49d0c4198006d33
2018-01-23nokia-pod1: Add PDF versionAlexandru Avadanii1-0/+1
Fix PDF schema validation by adding mandatory version param. Change-Id: Ic86d182ce8e4a290e9bd3a0ae3dc1823ab27c8e8 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-23intel-pod18: Fix typo in MAC addressAlexandru Avadanii1-3/+3
While at it, add dummy user/pass IPMI credentials, so we can pass schema validation. Change-Id: I3538f5aee21731e46fe0d831d164961c33118e2e Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-22[PDF] [SPEC] Add 'version: 1.0'Alexandru Avadanii13-0/+13
- add 'version: 1.0' to PDF spec; - add 'version: 1.0' to all existing lab PDFs; - extend schema with new property; - add workaround for value-based decision-making in schema version selection via `validate-template.py`; - add support for multiple schema versions; - add versions for all schema blocks defined so far; - fix PDF schema pattern for disk size decimals (e.g. '1.8T'); Change-Id: Ie8f768803ec19f1f9a7982fe5ca59df80764fc4a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-22Merge "update BII pod1 PDF for Euphrates install"Alexandru Avadanii2-120/+240
2018-01-22Merge "Nokia public lab Pod Descriptor File"Alexandru Avadanii1-0/+243
2018-01-22update BII pod1 PDF for Euphrates installlouie.long2-120/+240
- add licenses in all PDF file - add jumphost bridge in idf-pod1.yaml - add network info in idf-pod1.yaml - use eyaml decrypt IPMI user/passwd - update node network&node name in pod1.yaml Change-Id: Ia239d5d1ac261cc8b6e35dee6af8292b60884f0b Signed-off-by: louie.long <longyu805@163.com>
2018-01-19arm-pod7: add new PDF and IDF filesting wu2-0/+320
- net_config is moved to IDF file; - rename 'disk' to 'disks'; - add 'name: nicN' to interface; - add 'disk_rotation: 0' for ssd drivers; Change-Id: I1ea91a65abeb9db4f2f73f25ce51cd059b4b4753 Signed-off-by: ting wu <ting.wu@enea.com>
2018-01-18Nokia public lab Pod Descriptor FileMika Rautakumpu1-0/+243
Comment lines removed, typos fixed and missing fields added. Change-Id: Ic027544b2e7e70fb7c02452945fb2a1252417ce3 Signed-off-by: Mika Rautakumpu <mika.rautakumpu@nokia.com>
2018-01-15Merge changes from topic 'fix-pdf-spec-deviations'Aric Gardner12-124/+257
* changes: [PDF] zte-pod*: Fix spec deviations [PDF] lf-pod*: Fix spec deviations [PDF] intel-pod*: Fix spec deviations [PDF] ericsson-pod*: Fix spec deviations [PDF] bii-pod*: Fix spec deviations [PDF] arm-pod*: Fix spec deviations
2018-01-15Merge changes from topic 'move-net_config-idf'Aric Gardner19-384/+318
* changes: [PDF] Daisy, Fuel: Drop support for PDF net_config [PDF] zte-pod*: Move net_config to IDF [PDF] lf-pod*: Drop 'fixed_ips' [PDD] ericsson-pod*: Move net_config to IDF [PDF] bii-pod*: Move net_config to IDF [PDF] arm-pod*: Move net_config to IDF [PDF] Daisy, Fuel: Add support for IDF net_config
2018-01-15Merge changes from topic 'yamllint-fix'Aric Gardner7-22/+22
* changes: [PDF] check-jinja: Replace encrypted str w/ dummy [PDF] Fix yamllint issues in installer adapters [PDF] check-jinja: Disable check against template [PDF] generate_config: eyaml only encrypted PDFs
2018-01-15Add the huawei-pod1 PDF and IDFwutianwei2-0/+236
it include the information about the huawei-pod1 such as, cpu, memory, disk, interface, BMC and encrypt the ipmi user and password Change-Id: Ie93a84bc3953f7c35514813e99334adb260efed1 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-01-14[PDF] zte-pod*: Fix spec deviationsAlexandru Avadanii4-10/+94
- add dummy address/mac_address for jumpserver remote_management; - add 'name: nicN' to jumpserver & node interfaces; - zte-pod{2,9}: Fix disk_rotation out-of-enum: s/10500/10000/; Change-Id: I9548d48efb95226d888981e00df98db738d62d9d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-14[PDF] lf-pod*: Fix spec deviationsAlexandru Avadanii2-2/+44
- disk_rotation: 0 for SSD drives; - add 'name: nicN' to jumpserver & node interfaces; Change-Id: I98253c0402bf1a4080a9e34bea547a7b8f6fa60e Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-14[PDF] intel-pod*: Fix spec deviationsAlexandru Avadanii1-5/+5
- rename interface name key from 'nic' to 'name'; - disk_rotation: 0 for SSD drives; - details: change type to 'production' (typo?); Change-Id: I069c0fbe774f7c92acba90d434e384733264358d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-14[PDF] ericsson-pod*: Fix spec deviationsAlexandru Avadanii2-98/+44
- rename interface name key from 'nic' to 'name'; - remove empty 'address' from interfaces; - ericsson-pod2: Use proper interface features separator; Change-Id: Idde907dc1c3db2febbfb224faf8232eea42c5ad7 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-14[PDF] bii-pod*: Fix spec deviationsAlexandru Avadanii1-1/+11
- add 'name: nicN' to jumpserver & node interfaces; - fix 'pod_owner' key name; Change-Id: I6136fc066e615c226a2f57d566a2938b8f883f49 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-14[PDF] arm-pod*: Fix spec deviationsAlexandru Avadanii2-8/+59
- disk_rotation: 0 for SSD drives; - rename 'disk' to 'disks'; - add 'name: nicN' to jumpserver & node interfaces; Change-Id: I17d8e64f9b7c5b236d2494566e24bac91f1fc914 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-14[PDF] zte-pod*: Move net_config to IDFAlexandru Avadanii7-121/+127
Drop 'fixed_ips', which is a leftover from early net_config implementation. To maintain compatibility with the only 'fixed_ips' consumer (Daisy), add 'address' on the first jumpserver interface to leverage Daisy's fallback path for determining the gateway. While at it, add/update copyright headers. Change-Id: I7c4cb5997e368503ab0b30903e5c0c58e13fe408 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-14[PDF] lf-pod*: Drop 'fixed_ips'Alexandru Avadanii4-50/+18
Drop 'fixed_ips', which is a leftover from early net_config implementation. To maintain compatibility with the only 'fixed_ips' consumer (Daisy), add 'address' on the first jumpserver interface to leverage Daisy's fallback path for determining the gateway. While at it, add/update copyright headers. Fixes: c01d68e Change-Id: I8dc386535a20d64593eccc9abd8ee8d1ef27decf Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-14[PDD] ericsson-pod*: Move net_config to IDFAlexandru Avadanii2-40/+36
Change-Id: Ide79f18bae20e599eeefe13f4ad2dba1f4a0207d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-14[PDF] bii-pod*: Move net_config to IDFAlexandru Avadanii2-55/+53
Drop 'fixed_ips', which is a leftover from early net_config implementation. Rework the contents of 'fixed_ips' using the standard PDF spec 'address' parameter. Change-Id: Ife2c1c4b0c97479e962a32fa7825864c94e9a80c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-14[PDF] arm-pod*: Move net_config to IDFAlexandru Avadanii4-118/+84
While at it, drop 'fixed_ips', which is a leftover from early net_config implementation and is not currently used by the Fuel installer (only Daisy seems to use 'fixed_ips', but falls back to using 'address' of the first interface when 'fixed_ips' is not present). Keep 'address: 192.168.11' on jumpserver first interface for Daisy compatibility. Change-Id: I83455a45a2a19fde6b9fb8b7f0fa8872b1291ab0 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-14[PDF] Fix yamllint issues in installer adaptersAlexandru Avadanii7-22/+22
Although current YAML files in Pharos are all valid according to yamllint, the resulting YAMLs after PDF/IDF + IA interpolations still have a lot of violations, which need to be addressed. PDF changes: - bii/pod1: + fix typo in disks_A reference; IDF changes: - replace empty strings with `~` keyword (will be expanded to 'None'); IA (installer adapter) changes: - apex: + add missing document start; - compass4nfv: + too few spaces before comment; + missing starting space in comment; + replace '\t' with spaces; - daisy: + None; - fuel: + check conf.idf is defined first (fix parse for PODs without IDF); + move document start outside conf.idf condition - joid: + None; This is not an exhaustive change, some yamllint issues are still there but require either refactoring IAs or changing the PDF/IDF files in a way that needs the respective maintainer's input. Change-Id: I26743e265217e892b6a94de96a016c295ea24fb5 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-14Merge "support gen DHA/NETWORK yaml by pdf"julien zhang2-0/+205
2018-01-12[PDF] lf-pod{2,5}: Revert IPMI creds to plaintextAlexandru Avadanii2-40/+4
LF PODs IPMI user/pass was previously encrypted with the wrong key, switch them back to cleartext. Change-Id: Iccd106b60d2051acf7d928205bd2f6ae3f256884 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-12[PDF] arm-pod6: dos2unix IDF to fix yamllintAlexandru Avadanii1-46/+46
JIRA: PHAROS-298 Change-Id: Ied56d4e1fdf09d3361de5aae64088e65cb5125ad Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-01-10support gen DHA/NETWORK yaml by pdf001845322-0/+205
Change-Id: I8e0d88da016801e7997b4cdf870e2d11b4fca80a Signed-off-by: 00184532 <lu.yao135@zte.com.cn>
2018-01-10Merge "PDF is not to contain net_config"Alexandru Avadanii4-70/+143
2018-01-09Merge "Fix First MAC Address on LF-POD5 Jumphost"Trevor Bramwell1-1/+1
2018-01-08Fix First MAC Address on LF-POD5 JumphostTrevor Bramwell1-1/+1
Change-Id: Ibdf3ea886fcfca8246cd8cb24d52d12b689a733b Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-12-27PDF: Fix recurring typo in 'haswell' nameAlexandru Avadanii4-7/+7
Fix typo before it gets propagated even more: $ grep hasewell -Rl . | \ xargs sed -i 's/hasewell/haswell/g' Change-Id: Id6a17ae8f429946f7febba6f319a25759fc8339f Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-12-20PDF is not to contain net_configagardner4-70/+143
Moved net_config from PDF to IDF for discussion on what the idf should look like The PDF spec is static and should not change. All changes needed for installers should be put in other descriptor files. (senario and installer descriptor files) Change-Id: I79f6c751cabc69bded255ce0471e8512c656c259 Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-12-20modify admin network segment of zte pod1zhihui wu1-1/+1
The previous network segment conflicts with INSTALLER_IP. Change-Id: I160c2ee368f716d13510bfea69e2dc453d164276 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-12-15Merge "Linux Foundation POD5 PDF"Jack Morgan1-0/+210
2017-12-15Merge "Moving all pdfs to pharos repo"Jack Morgan3-0/+585
2017-12-15Merge "Moving all pdfs to pharos repo"Jack Morgan1-0/+193
2017-12-15Encrypt ipmi info of zte baremetal podsAlex Yang3-6/+60
Change-Id: I86935bee9ff30d811f0e756f93716cb415fa3a01 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>