[YB-1] The update_bios_settings.py has a incorrect path for the serverrc_raid.j2 file Created: 26/Apr/19 Updated: 14/May/19 Due: 03/May/19 Resolved: 14/May/19 |
|
| Status: | Done |
| Project: | YAML Builds |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | High |
| Reporter: | Roddric Boswell | Assignee: | David Plunkett |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Description |
|
During the Unicycle deployment, the Genesis node completed the installation and started with the next Master node. When executing the update_bios_settings.py script, it failed with the following error: server-config/aknode23rc.raid
After looking at the script we noticed that the path for the serverrc_raid.j2 file in the update_bios_settings.py script is incorrect. The script shows the following path: if 'masters' in siteyaml: But the tools directory isn't in the parent directory of scripts. The serverrc_raid.j2 directory path is as follows: root@aknode29:/opt/akraino/yaml_builds/tools/j2# ls The update_bios_settings.py script needs to be correct to reflect the correct directory path for the serverrc_raid.j2 file.
|
| Comments |
| Comment by David Plunkett [ 29/Apr/19 ] |
|
The error is occurring because no bios_template has been specified in the Unicycle.yaml for the master nodes. The stack trace shows that the error is occurring during the create_node_rcfile step for the siteyaml["masters"] nodes. There are two ways to specify the template for the master nodes. 1) The bios_template key can be put in the hardware section of the input yaml. That will be the default value used unless a node (genesis, master or worker) has a value that "overrides" the default. This is the recommended option. hardware: 2) The bios_template key can be specified for each master node. masters: - name : aknode31 |