pharos.git
6 years ago[PDF] lf-pod*: Fix spec deviations 71/50571/2
Alexandru Avadanii [Sat, 13 Jan 2018 22:03:43 +0000 (23:03 +0100)]
[PDF] lf-pod*: Fix spec deviations

- 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>
6 years ago[PDF] intel-pod*: Fix spec deviations 69/50569/2
Alexandru Avadanii [Sat, 13 Jan 2018 19:35:27 +0000 (20:35 +0100)]
[PDF] intel-pod*: Fix spec deviations

- 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>
6 years ago[PDF] ericsson-pod*: Fix spec deviations 67/50567/2
Alexandru Avadanii [Sat, 13 Jan 2018 22:13:30 +0000 (23:13 +0100)]
[PDF] ericsson-pod*: Fix spec deviations

- 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>
6 years ago[PDF] bii-pod*: Fix spec deviations 65/50565/2
Alexandru Avadanii [Sat, 13 Jan 2018 23:20:19 +0000 (00:20 +0100)]
[PDF] bii-pod*: Fix spec deviations

- add 'name: nicN' to jumpserver & node interfaces;
- fix 'pod_owner' key name;

Change-Id: I6136fc066e615c226a2f57d566a2938b8f883f49
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[PDF] arm-pod*: Fix spec deviations 63/50563/2
Alexandru Avadanii [Sat, 13 Jan 2018 18:53:06 +0000 (19:53 +0100)]
[PDF] arm-pod*: Fix spec deviations

- 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>
6 years ago[PDF] Daisy, Fuel: Drop support for PDF net_config 97/50597/1
Alexandru Avadanii [Sun, 14 Jan 2018 19:04:09 +0000 (20:04 +0100)]
[PDF] Daisy, Fuel: Drop support for PDF net_config

Change-Id: I889db9a4663f1b2740207e6c25dc8d09645a3708
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[PDF] zte-pod*: Move net_config to IDF 61/50561/2
Alexandru Avadanii [Sat, 13 Jan 2018 20:58:42 +0000 (21:58 +0100)]
[PDF] zte-pod*: Move net_config to IDF

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>
6 years ago[PDF] lf-pod*: Drop 'fixed_ips' 59/50559/2
Alexandru Avadanii [Sat, 13 Jan 2018 21:53:37 +0000 (22:53 +0100)]
[PDF] lf-pod*: Drop 'fixed_ips'

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>
6 years ago[PDD] ericsson-pod*: Move net_config to IDF 57/50557/2
Alexandru Avadanii [Sat, 13 Jan 2018 19:54:24 +0000 (20:54 +0100)]
[PDD] ericsson-pod*: Move net_config to IDF

Change-Id: Ide79f18bae20e599eeefe13f4ad2dba1f4a0207d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[PDF] bii-pod*: Move net_config to IDF 55/50555/2
Alexandru Avadanii [Sat, 13 Jan 2018 23:03:11 +0000 (00:03 +0100)]
[PDF] bii-pod*: Move net_config to IDF

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>
6 years ago[PDF] arm-pod*: Move net_config to IDF 53/50553/2
Alexandru Avadanii [Sat, 13 Jan 2018 18:51:29 +0000 (19:51 +0100)]
[PDF] arm-pod*: Move net_config to IDF

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>
6 years ago[PDF] Daisy, Fuel: Add support for IDF net_config 95/50595/1
Alexandru Avadanii [Sun, 14 Jan 2018 18:50:48 +0000 (19:50 +0100)]
[PDF] Daisy, Fuel: Add support for IDF net_config

- support net_config in either of PDF or IDF files;
- later, we'll remove support for PDF net_config after all PDFs
  have been handled;

Change-Id: Iea6351831f7dcd011587ae44f04f3c5973d8135a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[PDF] check-jinja: cleanup, compact output 37/50537/2
Alexandru Avadanii [Sat, 13 Jan 2018 01:30:38 +0000 (02:30 +0100)]
[PDF] check-jinja: cleanup, compact output

The Pharos git repo already has a CI verify job for `yamllint`-ing
the PDF files (check-jinja input yaml), so drop that check and keep
linting only output YAML files.

While at it, slightly rework the output log to make it easier to
read.

Change-Id: I2e47902d71514709eb48432f87d6ce68fb795d73
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[PDF] check-jinja: Replace encrypted str w/ dummy 31/50531/3
Alexandru Avadanii [Fri, 12 Jan 2018 22:18:00 +0000 (23:18 +0100)]
[PDF] check-jinja: Replace encrypted str w/ dummy

During PDF validation using `check-jinja.sh`, most if not all
encrypted strings will fail to decrypt due to missing keys on the
build server. The templater will fallback to using raw plaintext,
leading to `line too long` yamllint violations.

Since we don't care about the actual value of the unencrypted
string, replace the encrypted one with a dummy (shorter) string.

Change-Id: I0f96db0e055bf84ad43a1df4a0f2bd86cc50fd22
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[PDF] Fix yamllint issues in installer adapters 17/50517/9
Alexandru Avadanii [Fri, 12 Jan 2018 18:45:21 +0000 (19:45 +0100)]
[PDF] Fix yamllint issues in installer adapters

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>
6 years ago[PDF] check-jinja: Disable check against template 29/50529/3
Alexandru Avadanii [Fri, 12 Jan 2018 21:27:26 +0000 (22:27 +0100)]
[PDF] check-jinja: Disable check against template

config/pdf/pod1*yaml files are not valid PDFs, but only templates.
Trying to expand said files against installer adapters would lead
to funky results, since most fields are expressed as '{val1|val2}'
in the template files.

Change-Id: Ieec4d596d0b5246aa506239183a31463951403e7
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[PDF] generate_config: eyaml only encrypted PDFs 23/50523/3
Alexandru Avadanii [Fri, 12 Jan 2018 20:28:22 +0000 (21:28 +0100)]
[PDF] generate_config: eyaml only encrypted PDFs

Silence misleading warnings about failed decription for PDFs
that do not use this feature.
While at it, print yamllint version used by check-jinja.sh.

Change-Id: Ica1ff90abaee8c9bb20996899c8f0a7527133618
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "support gen DHA/NETWORK yaml by pdf"
julien zhang [Sun, 14 Jan 2018 01:45:12 +0000 (01:45 +0000)]
Merge "support gen DHA/NETWORK yaml by pdf"

6 years ago[PDF] lf-pod{2,5}: Revert IPMI creds to plaintext 19/50519/1
Alexandru Avadanii [Fri, 12 Jan 2018 19:24:48 +0000 (20:24 +0100)]
[PDF] lf-pod{2,5}: Revert IPMI creds to plaintext

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>
6 years ago[PDF] arm-pod6: dos2unix IDF to fix yamllint 13/50513/2
Alexandru Avadanii [Fri, 12 Jan 2018 18:18:07 +0000 (19:18 +0100)]
[PDF] arm-pod6: dos2unix IDF to fix yamllint

JIRA: PHAROS-298

Change-Id: Ied56d4e1fdf09d3361de5aae64088e65cb5125ad
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "[fuel] add main check for idf.fuel"
Guillermo Herrero [Wed, 10 Jan 2018 17:15:57 +0000 (17:15 +0000)]
Merge "[fuel] add main check for idf.fuel"

6 years ago[fuel] add main check for idf.fuel 63/49463/5
Guillermo Herrero [Thu, 21 Dec 2017 12:02:43 +0000 (13:02 +0100)]
[fuel] add main check for idf.fuel

- Installer adapter will check first if POD idf has a fuel section.
  If not it will just generate and return an empty set

- While at it, jinja2 code was simplified to dot syntax

Change-Id: Ie040b1263ccae083e20cc57435639453d2456426
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
6 years agoMerge ".yamllint: Add initial config based on releng"
Aric Gardner [Wed, 10 Jan 2018 14:16:36 +0000 (14:16 +0000)]
Merge ".yamllint: Add initial config based on releng"

6 years agosupport gen DHA/NETWORK yaml by pdf 07/50207/8
00184532 [Mon, 8 Jan 2018 09:04:08 +0000 (17:04 +0800)]
support gen DHA/NETWORK yaml by pdf

Change-Id: I8e0d88da016801e7997b4cdf870e2d11b4fca80a
Signed-off-by: 00184532 <lu.yao135@zte.com.cn>
6 years agoMerge "PDF is not to contain net_config"
Alexandru Avadanii [Wed, 10 Jan 2018 03:02:13 +0000 (03:02 +0000)]
Merge "PDF is not to contain net_config"

6 years agoMerge "Fix First MAC Address on LF-POD5 Jumphost"
Trevor Bramwell [Tue, 9 Jan 2018 23:30:59 +0000 (23:30 +0000)]
Merge "Fix First MAC Address on LF-POD5 Jumphost"

6 years ago.yamllint: Add initial config based on releng 17/50317/1
Alexandru Avadanii [Tue, 9 Jan 2018 23:02:27 +0000 (00:02 +0100)]
.yamllint: Add initial config based on releng

Change-Id: I5a22a186d87a2389e637771628e0a7d0522b7b77
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "nominate Trevor Bramwell as a Pharos committer"
Jack Morgan [Tue, 9 Jan 2018 00:34:52 +0000 (00:34 +0000)]
Merge "nominate Trevor Bramwell as a Pharos committer"

6 years agonominate Trevor Bramwell as a Pharos committer 13/49313/2
Jack Morgan [Tue, 19 Dec 2017 15:55:19 +0000 (07:55 -0800)]
nominate Trevor Bramwell as a Pharos committer

I would like to nominate Trevor Bramwell as a committer to the Pharos project.
Trevor has been an active contributor to the Pharos project over the last few months.

Please provide a +1/-1 vote before the end of next week, Dec. 31st

Change-Id: I8c7d09e67a86c814bb89beac878da74a03bdd1c4

6 years agonominate Aric Gardner as a Pharos committer 05/49305/2
Jack Morgan [Tue, 19 Dec 2017 15:42:49 +0000 (07:42 -0800)]
nominate Aric Gardner as a Pharos committer

I would like to nominate Aric Gardner as a committer to the Pharos project. Aric has been an active contributor to the Pharos project over the last few months.

Please provide a +1/-1 vote before the end of next week, Dec. 31st

Change-Id: Ia381c93bd46053891195f8740d43cd4b010bef42

6 years agoMerge "nominate Parker Berberian as a Pharos committer"
Jack Morgan [Tue, 9 Jan 2018 00:16:35 +0000 (00:16 +0000)]
Merge "nominate Parker Berberian as a Pharos committer"

6 years agoMerge "nominate Guillermo Herrero as a Pharos committer."
Jack Morgan [Tue, 9 Jan 2018 00:16:20 +0000 (00:16 +0000)]
Merge "nominate Guillermo Herrero as a Pharos committer."

6 years agoMerge "nominate Alexandru Avadanii as a Pharos committer "
Jack Morgan [Tue, 9 Jan 2018 00:15:36 +0000 (00:15 +0000)]
Merge "nominate Alexandru Avadanii as a Pharos committer "

6 years agoFix First MAC Address on LF-POD5 Jumphost 63/50263/1
Trevor Bramwell [Mon, 8 Jan 2018 22:10:47 +0000 (14:10 -0800)]
Fix First MAC Address on LF-POD5 Jumphost

Change-Id: Ibdf3ea886fcfca8246cd8cb24d52d12b689a733b
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoMerge "PDF: Fix recurring typo in 'haswell' name"
Aric Gardner [Mon, 8 Jan 2018 21:29:02 +0000 (21:29 +0000)]
Merge "PDF: Fix recurring typo in 'haswell' name"

6 years agoFix the VIP of daisy 39/50139/2
Alex Yang [Sat, 6 Jan 2018 03:24:43 +0000 (11:24 +0800)]
Fix the VIP of daisy

VIP can not conflict with the address of any node.
Otherwise the deployment will fail. See [1].

[1]: https://build.opnfv.org/ci/job/daisy-deploy-baremetal-daily-master/359

Change-Id: I53a79c478d355d00b6eec16c462694eab68292d7
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
6 years agoAdd admin external network mapping for daisy 15/49915/1
Alex Yang [Wed, 3 Jan 2018 07:15:09 +0000 (15:15 +0800)]
Add admin external network mapping for daisy

The admin external network mapping is used by post deploy script
in daisy to create network.

Change-Id: I4bdde9ca52d8932f77e91b8bf7d41b0c2e821a20
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
6 years agoPDF: Fix recurring typo in 'haswell' name 95/49695/2
Alexandru Avadanii [Wed, 27 Dec 2017 15:57:26 +0000 (16:57 +0100)]
PDF: Fix recurring typo in 'haswell' name

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>
6 years agonominate Alexandru Avadanii as a Pharos committer 03/49303/2
Jack Morgan [Tue, 19 Dec 2017 15:23:53 +0000 (07:23 -0800)]
nominate Alexandru Avadanii as a Pharos committer

I would like to nominate Alexandru Avadanii as a committer to the Pharos
project. Alexandru Avadanii has been an active contributor to the Pharos
project over the last few months.

Please provide a +1/-1 vote before the end of next week, Dec. 31st

Change-Id: I192c87b6a36b2981cdfb4c780bd1fff9152201a8

6 years agoMerge "modify admin network segment of zte pod1"
Aric Gardner [Wed, 20 Dec 2017 21:03:49 +0000 (21:03 +0000)]
Merge "modify admin network segment of zte pod1"

6 years agoPDF is not to contain net_config 77/49377/2
agardner [Wed, 20 Dec 2017 17:18:53 +0000 (12:18 -0500)]
PDF is not to contain net_config

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>
6 years agovalidate-pdf-jinja2-templates-master failing 09/49409/2
agardner [Wed, 20 Dec 2017 19:31:05 +0000 (14:31 -0500)]
validate-pdf-jinja2-templates-master failing

If keys do not exist, the skipping decryption python stuff doesn't
work, see:
https://build.opnfv.org/ci/job/validate-pdf-jinja2-templates-master/16/consoleFull

Still does not fallback to plain in the case of a 'bad decryption',
but the current code does not either, bad decryption is logged
in any case.

Change-Id: I8da2c7cf8568a6e77ca24cc9ce665410d93b7ba9
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agomodify admin network segment of zte pod1 37/49337/1
zhihui wu [Wed, 20 Dec 2017 07:41:59 +0000 (15:41 +0800)]
modify admin network segment of zte pod1

The previous network segment conflicts with INSTALLER_IP.

Change-Id: I160c2ee368f716d13510bfea69e2dc453d164276
Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
6 years agonominate Parker Berberian as a Pharos committer 11/49311/1
Jack Morgan [Tue, 19 Dec 2017 15:50:18 +0000 (07:50 -0800)]
nominate Parker Berberian as a Pharos committer

I would like to nominate Parker Berberian as a committer to the Pharos project. Parker has been an active contributor to the Pharos project over the last few months. His foxus on the Pharos Dashboard will be key to reaching community goals.

Please provide a +1/-1 vote before the end of next week, Dec. 31st

Change-Id: Iee363751fd06a12a4e16b8a638e821ea274a7f96

6 years agonominate Guillermo Herrero as a Pharos committer. 09/49309/1
Jack Morgan [Tue, 19 Dec 2017 15:46:59 +0000 (07:46 -0800)]
nominate Guillermo Herrero as a Pharos committer.

I would like to nominate Guillermo Herrero as a committer to the Pharos project. Guillermo has been an active contributor to the Pharos project over the last few months.

Please provide a +1/-1 vote before the end of next week, Dec. 31st

Change-Id: I452c1eb1050932accdf312226d4808f41d574ee3

6 years agoMerge "Linux Foundation POD5 PDF"
Jack Morgan [Fri, 15 Dec 2017 13:49:17 +0000 (13:49 +0000)]
Merge "Linux Foundation POD5 PDF"

6 years agoMerge "Moving all pdfs to pharos repo"
Jack Morgan [Fri, 15 Dec 2017 13:48:40 +0000 (13:48 +0000)]
Merge "Moving all pdfs to pharos repo"

6 years agoMerge "Moving all pdfs to pharos repo"
Jack Morgan [Fri, 15 Dec 2017 13:48:16 +0000 (13:48 +0000)]
Merge "Moving all pdfs to pharos repo"

6 years agoMerge "Update the example config filename in eyaml README"
Jack Morgan [Fri, 15 Dec 2017 13:47:52 +0000 (13:47 +0000)]
Merge "Update the example config filename in eyaml README"

6 years agoMerge "Encrypt ipmi info of zte baremetal pods"
Jack Morgan [Fri, 15 Dec 2017 13:47:19 +0000 (13:47 +0000)]
Merge "Encrypt ipmi info of zte baremetal pods"

6 years agoMerge "Generate daisy network configuration by template"
Jack Morgan [Fri, 15 Dec 2017 13:46:57 +0000 (13:46 +0000)]
Merge "Generate daisy network configuration by template"

6 years agoUpdate the example config filename in eyaml README 47/49047/1
Alex Yang [Fri, 15 Dec 2017 07:48:29 +0000 (15:48 +0800)]
Update the example config filename in eyaml README

The example configuration file in the directory pharos/config/utils/
is config.example.yaml.

Change-Id: I493274e4ddb689eb729ed642b5f495b5be0b75b0
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
6 years agoEncrypt ipmi info of zte baremetal pods 43/49043/1
Alex Yang [Fri, 15 Dec 2017 07:33:22 +0000 (15:33 +0800)]
Encrypt ipmi info of zte baremetal pods

Change-Id: I86935bee9ff30d811f0e756f93716cb415fa3a01
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
6 years agoMerge "Update eyaml README"
Aric Gardner [Thu, 14 Dec 2017 21:57:25 +0000 (21:57 +0000)]
Merge "Update eyaml README"

6 years agoMerge "Moving all pdfs to pharos repo"
Jack Morgan [Thu, 14 Dec 2017 14:26:05 +0000 (14:26 +0000)]
Merge "Moving all pdfs to pharos repo"

6 years agoMerge "Moving all pdfs to pharos repo"
Jack Morgan [Thu, 14 Dec 2017 14:25:12 +0000 (14:25 +0000)]
Merge "Moving all pdfs to pharos repo"

6 years agoUpdate eyaml README 69/48869/1
Trevor Bramwell [Thu, 14 Dec 2017 00:00:41 +0000 (16:00 -0800)]
Update eyaml README

On CentOS7 systems the gem command is contained in the 'rubygems'
package, not 'ruby-gems'.

After the keys have been moved, there is not reason to keep around the
'keys' directory.

Change-Id: I5cb9f474276de75b650ddf323a279e139fb62d37
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoLinux Foundation POD5 PDF 71/48871/1
Trevor Bramwell [Wed, 13 Dec 2017 23:35:07 +0000 (15:35 -0800)]
Linux Foundation POD5 PDF

Change-Id: I0c4389059edb33fecdd472777d7266c4934f1d07
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoUpdating the INFO fill with names and email address. 15/48815/1
Jack Morgan [Wed, 13 Dec 2017 15:59:35 +0000 (07:59 -0800)]
Updating the INFO fill with names and email address.
Removing Qiao Fu who is no longer able to participate in project.

Change-Id: I4bfcb378f3a5da6af59292f8911fa8fc8200cbae

6 years agoMerge "[fuel] extend public gateway support"
Aric Gardner [Mon, 11 Dec 2017 18:30:08 +0000 (18:30 +0000)]
Merge "[fuel] extend public gateway support"

6 years agoMerge "[fuel] Add MaaS PXE network to installer adapter"
Aric Gardner [Mon, 11 Dec 2017 18:03:20 +0000 (18:03 +0000)]
Merge "[fuel] Add MaaS PXE network to installer adapter"

6 years agoMerge "[fuel] Add IDF mappings to installer adapter"
Aric Gardner [Mon, 11 Dec 2017 18:03:11 +0000 (18:03 +0000)]
Merge "[fuel] Add IDF mappings to installer adapter"

6 years ago[fuel] Add MaaS PXE network to installer adapter 63/48663/2
Alexandru Avadanii [Fri, 8 Dec 2017 01:03:30 +0000 (02:03 +0100)]
[fuel] Add MaaS PXE network to installer adapter

JIRA: FUEL-313

Change-Id: I046ea732e1047f793f1b3bc6f7fc31cfcee9ff40
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[fuel] cleanup: Drop infra_compute_*_address 17/48617/1
Alexandru Avadanii [Sun, 10 Dec 2017 18:40:59 +0000 (19:40 +0100)]
[fuel] cleanup: Drop infra_compute_*_address

Our PDF installer adapter defines 3 unused reclass params that are
misleading, so drop them (infra_compute_node{01,02,03}_address).

Change-Id: Iedf68bbfa77f3a42572dde30275318c8d04f5eb4
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agogenerate_config.py: Fix running without eyaml 03/48603/1
Alexandru Avadanii [Sat, 9 Dec 2017 00:10:32 +0000 (01:10 +0100)]
generate_config.py: Fix running without eyaml

If eyaml is not installed or misconfigured, we should output raw
encrypted data and throw a warn/error accordingly, instead of
bailing out completely.

Needed for Fuel deploys on PODs that do not use PDF encryption, e.g.
lf-pod2.

Change-Id: I2905df11a3cf2f2eb1ab9bfd8bd88619af2cab04
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[fuel] Add IDF mappings to installer adapter 63/48563/1
Alexandru Avadanii [Tue, 3 Oct 2017 00:41:41 +0000 (02:41 +0200)]
[fuel] Add IDF mappings to installer adapter

Change-Id: I3a82ed747d2671510a25e65388c7f73ec760afc3
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[fuel] extend public gateway support 99/47499/2
Guillermo Herrero [Mon, 20 Nov 2017 10:33:29 +0000 (11:33 +0100)]
[fuel] extend public gateway support

JIRA: FUEL-305

Change-Id: Ic5a2d499925aeec5b597394a059640ddae83fb2d
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
6 years agoMerge "Moving all pdfs to pharos repo"
Jack Morgan [Thu, 7 Dec 2017 19:44:18 +0000 (19:44 +0000)]
Merge "Moving all pdfs to pharos repo"

6 years agoMerge "[fuel] IPMI: Trim netmask from IP passed to MaaS"
Jack Morgan [Thu, 7 Dec 2017 19:34:22 +0000 (19:34 +0000)]
Merge "[fuel] IPMI: Trim netmask from IP passed to MaaS"

6 years agoMerge "[fuel] Use PXE interface index from net_config"
Jack Morgan [Thu, 7 Dec 2017 19:34:14 +0000 (19:34 +0000)]
Merge "[fuel] Use PXE interface index from net_config"

6 years agoGenerate daisy network configuration by template 41/48441/1
Alex Yang [Wed, 6 Dec 2017 06:22:06 +0000 (14:22 +0800)]
Generate daisy network configuration by template

JIRA: DAISY-74

Add jinja2 templates for daisy network configuration.
For DPDK, TENANT and EXTERNAL networks should share the
same interface now.

Change-Id: I6e9b7a68fb572e9ad844cfcc6ff383aaa25e3bc1
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
6 years agoMoving all pdfs to pharos repo 83/48283/2
agardner [Fri, 1 Dec 2017 21:46:35 +0000 (16:46 -0500)]
Moving all pdfs to pharos repo

Note: Also fixed yamllint issues with these files

Inline encrytion of yaml files allows us to  make away with securedlab's
restrictions. Going forward, anyone will be able to see Lab PDFs

See:
https://github.com/opnfv/pharos/blob/master/config/utils/README.eyaml.rst

If you are the reviewer on this changeset it is becasue
git blamed showed you to be the author of the pdf in this review.

Encrypting ipmi password etc is optional. I have scrubbed the password from
this change. If you do not need the password to be hidden, please let me
know in the comment, and I will put it back.

If you do need the password hidden, please follow the readme above and
ammend this patch to include the encrypted value that you create on your
pods jumphost.

Passwords and Usernames removed:

$ egrep -r '(pass|user)'
zte/pod2/daisy/config/deploy.yml:  ipmi_user:
zte/pod2/daisy/config/deploy.yml:  ipmi_pass:
zte/pod2/daisy/config/deploy.yml:  ipmi_user:
zte/pod2/daisy/config/deploy.yml:  ipmi_pass:
zte/pod2/daisy/config/deploy.yml:  ipmi_user:
zte/pod2/daisy/config/deploy.yml:  ipmi_pass:
zte/pod2/daisy/config/deploy.yml:  ipmi_user:
zte/pod2/daisy/config/deploy.yml:  ipmi_pass:
zte/pod2/daisy/config/deploy.yml:  ipmi_user:
zte/pod2/daisy/config/deploy.yml:  ipmi_pass:
zte/pod2/daisy/config/deploy.yml:daisy_passwd: ''
zte/virtual1/daisy/config/deploy.yml:daisy_passwd: ''
zte/pod3.yaml:    user:
zte/pod3.yaml:    pass:
zte/pod3/daisy/config/deploy.yml:  ipmi_user:
zte/pod3/daisy/config/deploy.yml:  ipmi_pass:
zte/pod3/daisy/config/deploy.yml:  ipmi_user:
zte/pod3/daisy/config/deploy.yml:  ipmi_pass:
zte/pod3/daisy/config/deploy.yml:  ipmi_user:
zte/pod3/daisy/config/deploy.yml:  ipmi_pass:
zte/pod3/daisy/config/deploy.yml:  ipmi_user:
zte/pod3/daisy/config/deploy.yml:  ipmi_pass:
zte/pod3/daisy/config/deploy.yml:  ipmi_user:
zte/pod3/daisy/config/deploy.yml:  ipmi_pass:
zte/pod3/daisy/config/deploy.yml:daisy_passwd: ''
zte/pod1.yaml:    user:
zte/pod1.yaml:    pass:
zte/virtual2/daisy/config/deploy.yml:daisy_passwd: ''
zte/pod2.yaml:    user:
zte/pod2.yaml:    pass:
lf/pod2.yaml:    user: >

Change-Id: I876f4b553c51dd4592701539cfce66bcf8c114ab
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agoMoving all pdfs to pharos repo 85/48285/1
agardner [Fri, 1 Dec 2017 21:51:26 +0000 (16:51 -0500)]
Moving all pdfs to pharos repo

Inline encrytion of yaml files allows us to make away with securedlab's
restrictions. Going forward, anyone will be able to see Lab PDFs

See:
https://github.com/opnfv/pharos/blob/master/config/utils/README.eyaml.rst

If you are the reviewer on this changeset it is becasue
git blamed showed you to be the author of the pdf in this review.

Encrypting ipmi password etc is optional. I have scrubbed the password
from this change. If you do not need the password to be hidden, please let me
know in the comment, and I will put it back.

If you do need the password hidden, please follow the readme above and
ammend this patch to include the encrypted value that you create on your
pods jumphost.

Change-Id: Idc70540477d8569f15335e75e7725c1e4e56a60b
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agoMoving all pdfs to pharos repo 81/48281/1
agardner [Fri, 1 Dec 2017 21:36:34 +0000 (16:36 -0500)]
Moving all pdfs to pharos repo

Inline encrytion of yaml files allows us to  make away with securedlab's
restrictions
Going forward, anyone will be able to see Lab PDFs

See:
https://github.com/opnfv/pharos/blob/master/config/utils/README.eyaml.rst

If you are the reviewer on this changeset it is becasue
git blamed showed you to be the author of the pdf in this review.

Encrypting ipmi password is optional. I have scrubbed the password from
this change. If you do not need the password to be hidden, please let me
know in the comment, and I will put it back.

If you do need the password hidden, please follow the readme above and
ammend this patch to include the encrypted value that you create on your
pods jumphost.

Change-Id: Ie3e935e7e9250a387858c29eb77c3c06b4fe3f57
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agoMoving all pdfs to pharos repo 79/48279/1
agardner [Fri, 1 Dec 2017 21:26:36 +0000 (16:26 -0500)]
Moving all pdfs to pharos repo

Inline encrytion of yaml files allows us to  make away with securedlab's
restrictions. Going forward, anyone will be able to see Lab PDFs

See:
https://github.com/opnfv/pharos/blob/master/config/utils/README.eyaml.rst

If you are the reviewer on this changeset it is becasue
git blamed showed you to be the author of the pdf in this review.

Encrypting ipmi password is optional. I have scrubbed the password from
this change. If you do not need the password to be hidden, please let me
know in the comment, and I will put it back.

If you do need the password hidden, please follow the readme above and
ammend this patch to include the encrypted value that you create on your
pods jumphost.

Change-Id: I52a5c117da599fd46aa246de20077d5bdbe8a3b6
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agoMoving all pdfs to pharos repo 85/47785/5
agardner [Fri, 24 Nov 2017 19:43:18 +0000 (14:43 -0500)]
Moving all pdfs to pharos repo

Inline encrytion of yaml files allows us to  make away with securedlab's
restrictions
Going forward, anyone will be able to see Lab PDFs

See:
https://github.com/opnfv/pharos/blob/master/config/utils/README.eyaml.rst

If you are the reviewer on this changeset it is becasue
git blamed showed you to be the author of the pdf in this review.

Encrypting ipmi password is optional. I have scrubbed the password from
this change. If you do not need the password to be hidden, please let me
know in the comment, and I will put it back.

If you do need the password hidden, please follow the readme above and
ammend this patch to include the encrypted value that you create on your
pods jumphost.

Change-Id: Ic2db523e7f82a0fb48e462a1fbe1402267f22618
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agoJenkins does not have /usr/local/bin/ in path 87/47787/1
agardner [Fri, 24 Nov 2017 20:33:33 +0000 (15:33 -0500)]
Jenkins does not have /usr/local/bin/ in path

Stupid jenkins

Change-Id: Ibfd83e7dadd674cfe7d7a9c2a712ef069fb8d5de
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agoMoving check-jinja2 to pharos. 35/47735/4
agardner [Thu, 23 Nov 2017 20:59:03 +0000 (15:59 -0500)]
Moving check-jinja2 to pharos.

Securedlab will be going away now that we can encrypt strings
(eyaml)

we need to check jinja2 PDF templates that will be moving into pharos
This adds one pod yaml files and fixes paths in check-jinja2.sh

After this is merged I can create a jenkins job for pharos.

Then I can start moving pdf files into the pharos repo

Change-Id: I2f2f2925275de49035d7d0160249d75b25ca0d20
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agoMerge "generate_config: Use eyaml to decrypt secret values"
Aric Gardner [Wed, 22 Nov 2017 15:45:04 +0000 (15:45 +0000)]
Merge "generate_config: Use eyaml to decrypt secret values"

6 years agoFix yamllint warning for daisy template 87/47487/1
Alex Yang [Mon, 20 Nov 2017 07:10:42 +0000 (15:10 +0800)]
Fix yamllint warning for daisy template

Change-Id: I4b9a9a569d22570f027a49bc31736f6787177171
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
6 years agogenerate_config: Use eyaml to decrypt secret values 89/44389/12
Alexandru Avadanii [Thu, 5 Oct 2017 16:24:49 +0000 (12:24 -0400)]
generate_config: Use eyaml to decrypt secret values

Note: IDF data encryption is not supported. Supporting that is
trivial, but it leads to slightly more complicated code, plus it
breaks support for multiline scalar encrypted data in the PDF ('>'),
forcing us to define each encrypted value as inline string.

While at it, fix silly limitation of jinja2 path residing in a subdir
of CWD.

Change-Id: I441ec754d8b6e4aad2ed73aba0b9b18ed65f05f4
Signed-off-by: agardner <agardner@linuxfoundation.org>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[fuel] Use PXE interface index from net_config 35/46335/1
Alexandru Avadanii [Fri, 27 Oct 2017 19:00:03 +0000 (21:00 +0200)]
[fuel] Use PXE interface index from net_config

Instead of assuming the PXE network interface is always the first,
read its index from 'net_config' section.

Change-Id: I0b4e9fc89297f4bd718a2e5336746917347c89e1
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[fuel] IPMI: Trim netmask from IP passed to MaaS 25/46325/1
Alexandru Avadanii [Fri, 27 Oct 2017 17:17:37 +0000 (19:17 +0200)]
[fuel] IPMI: Trim netmask from IP passed to MaaS

Change-Id: I683788846a716f1af6ae8aa3b25cc3a866ae0045
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[fuel] Assign public network to proxy nodes 07/46207/1
Michael Polenchuk [Wed, 25 Oct 2017 13:53:59 +0000 (17:53 +0400)]
[fuel] Assign public network to proxy nodes

Change-Id: I8d4cc9505eb1d405b8f6a3ef1053249d803bda7b
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
6 years agoMerge "PDF: generate_config: Add IDF parsing support"
Jack Morgan [Sun, 1 Oct 2017 14:50:00 +0000 (14:50 +0000)]
Merge "PDF: generate_config: Add IDF parsing support"

6 years agoUpdated fuel adapter (vlan1000, interfaces format) 07/43307/2
Guillermo Herrero [Wed, 27 Sep 2017 13:23:16 +0000 (15:23 +0200)]
Updated fuel adapter (vlan1000, interfaces format)

Change-Id: I848f13acca08c4c8a24eeecd3554ea6d50bbb565
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
6 years agoMerge "Updated fuel adapter (ODL)"
Jack Morgan [Tue, 26 Sep 2017 14:29:42 +0000 (14:29 +0000)]
Merge "Updated fuel adapter (ODL)"

6 years agoMove POD descriptor file template to its own directory (pdf/pod1/yaml) 67/43167/1
Jack Morgan [Tue, 26 Sep 2017 12:06:53 +0000 (05:06 -0700)]
Move POD descriptor file template to its own directory (pdf/pod1/yaml)

Change-Id: Ibb481d57e3c154c409c2635096330f2e63dce9db
Signed-off-by: Jack Morgan <jack.morgan@intel.com>
6 years agoUpdated fuel adapter (ODL) 57/43157/1
Guillermo Herrero [Tue, 26 Sep 2017 09:38:42 +0000 (11:38 +0200)]
Updated fuel adapter (ODL)

Change-Id: I4ff233460bb4fbd88277f2798f5f6380ff3b367d
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
6 years agoPDF: generate_config: Add IDF parsing support 87/43087/1
Alexandru Avadanii [Tue, 26 Sep 2017 01:42:24 +0000 (03:42 +0200)]
PDF: generate_config: Add IDF parsing support

For a given 'podN.yaml' file, check whether a file named
'idf-podN.yaml' exists in the same directory, and if it does,
pass its contents under the 'idf' dict key to the j2 template.

This assumes the contents of IDF yaml have a root 'idf' key.

Change-Id: I6c6f1b9f28c38989f8a6ed4a389c9a1da423d76d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "Remove inactive committers"
Jack Morgan [Tue, 26 Sep 2017 00:15:30 +0000 (00:15 +0000)]
Merge "Remove inactive committers"

6 years agoMerge "Remove 'tools' Directory"
Jack Morgan [Tue, 26 Sep 2017 00:10:21 +0000 (00:10 +0000)]
Merge "Remove 'tools' Directory"

6 years agoRemove inactive committers 39/43039/2
agardner [Mon, 25 Sep 2017 19:48:23 +0000 (15:48 -0400)]
Remove inactive committers

Removed committers have not touched the project in over a year

Current committers,
Please vote with +2,0,-2 on this change

I will ask the TSC to ammend the by-law on removing committers, so that
It can be done by vote if a committer is inactive for a long period

Change-Id: I55234cea80e26fd377a1b7d5a6e062db8b78defe
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agoAdd fuel installer adapter 59/42759/7
Guillermo Herrero [Fri, 22 Sep 2017 13:30:15 +0000 (15:30 +0200)]
Add fuel installer adapter

v3 -> v4:
- extract common variable refs, fold some reusable code;
- provide dummy defaults for PDFs without net_config;
- keep yamllint happy about spaces and empty lines;

v4 -> v5:
- more folding, define a macro for multiple IP address definition;

v5 -> v6:
- added MaaS network / DHCP range support;

v6 -> v7:
- removed macro, template code reverted to output style

JIRA: FUEL-275

Change-Id: Ib1cc319534d06c088b1db16a43aef663a8ada0d8
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoRemove 'tools' Directory 09/42809/1
Trevor Bramwell [Fri, 22 Sep 2017 18:48:38 +0000 (11:48 -0700)]
Remove 'tools' Directory

All tools (and history) have been moved to the pharos-tools repository:
https://git.opnfv.org/pharos-tools/

Change-Id: I84fa9b6ebd9b27f42d41f2722eb1221ec39a8c94
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoconfig/pod1.yaml: Typo fixes, add 3 new nodes 97/42597/1
Alexandru Avadanii [Thu, 21 Sep 2017 02:27:27 +0000 (04:27 +0200)]
config/pod1.yaml: Typo fixes, add 3 new nodes

In order to be able to check the PDF template against the current
installer adapters, we need to fill in all 5 nodes info.

While at it, perform some cleanup:
- s/remoteparas/remote_paramsg/ (installers use this directly ...);
- s/remote_mangement/remote_management/g;
- s/pod owner/pod_owner/;
- minor typo fixes;
- fixed one IP overlap between 2 existing nodes;

NOTE: Data for the 3 new nodes is bogus (random MACs, addresses).

Change-Id: I63c6318659678771c34e139dd1db630c6b81b214
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "config/installers: Add PDF installer adapters"
Jack Morgan [Tue, 19 Sep 2017 23:30:17 +0000 (23:30 +0000)]
Merge "config/installers: Add PDF installer adapters"

6 years agoMerge "config/utils: Add generate_config.py"
Jack Morgan [Tue, 19 Sep 2017 23:29:58 +0000 (23:29 +0000)]
Merge "config/utils: Add generate_config.py"

6 years agoMerge "Adds various conveniences for hosters."
Jack Morgan [Tue, 19 Sep 2017 23:28:01 +0000 (23:28 +0000)]
Merge "Adds various conveniences for hosters."

6 years agoMerge "Adds Experimental support for Joid"
Jack Morgan [Tue, 19 Sep 2017 23:27:58 +0000 (23:27 +0000)]
Merge "Adds Experimental support for Joid"