Просмотр исходного кода

Issue #340: Problems deploying the appliance

Signed-off-by: Shubhangi-dell <shubhangi_srivastava@dell.com>
Lucas A. Wilson 3 лет назад
Родитель
Сommit
b2b6e91af2

+ 5 - 6
appliance/roles/provision/files/kickstart.yml

@@ -35,14 +35,13 @@
       - tftp
       - httpd
 
-  - name: Cobbler get-loaders
-    command: cobbler get-loaders
+  - name: Remove loaders if it exists
+    command: rm -rfd /var/lib/cobbler/loaders
     changed_when: false
 
-  - name: Get fence agents
-    package:
-      name: fence-agents
-      state: present
+  - name: Untar loaders
+    command: tar -xf /root/omnia/appliance/roles/provision/files/loaders.tar -C /var/lib/cobbler
+    changed_when: false
 
   - name: Replace in /etc/debian
     replace:

BIN
appliance/roles/provision/files/loaders.tar


+ 1 - 2
docs/INSTALL_OMNIA_APPLIANCE.md

@@ -32,7 +32,7 @@ __Note:__
 	
 	d. Provide a mapping file for DHCP configuration under `mapping_file_path`. The **mapping_file.csv** template file is present under `omnia/examples`. Enter the details in the order: `MAC, Hostname, IP`. The header in the template file must not be deleted before saving the file.  
 	If you want to continue without providing a mapping file, leave the `mapping_file_path` value as blank.  
-	__Note:__ Ensure that duplicate values are not provided for MAC, Hostname, and IP in the mapping file. The Hostname should not contain the following characters: , (comma), \. (period), and - (hyphen).
+	__Note:__ Ensure that duplicate values are not provided for MAC, Hostname, and IP in the mapping file. The Hostname should not contain the following characters: , (comma), \. (period), and _ (underscore).
 	
 	e. Provide valid DHCP range for HPC cluster under the variables `dhcp_start_ip_range` and `dhcp_end_ip_range`. 
 	
@@ -43,7 +43,6 @@ Omnia considers the following usernames as default:
 * `admin` for AWX
 * `slurm` for MariaDB
 
-
 7. Run `ansible-playbook appliance.yml` to install the Omnia appliance.  
 
 Omnia creates a log file which is available at: `/var/log/omnia.log`.

+ 1 - 1
docs/PREINSTALL_OMNIA_APPLIANCE.md

@@ -10,7 +10,7 @@ Ensure that the following prequisites are met before installing the Omnia applia
 * To provision the bare metal servers, go to http://isoredirect.centos.org/centos/7/isos/x86_64/ and download the **CentOS-7-x86_64-Minimal-2009** ISO file.
 * For DHCP configuration, you can provide a mapping file. The provided details must be in the format: MAC, Hostname, IP. For example, `xx:xx:4B:C4:xx:44,validation01,172.17.0.81` and  `xx:xx:4B:C5:xx:52,validation02,172.17.0.82` are valid entries.  
 __Note:__ A template for mapping file is present in the `omnia/examples`, named `mapping_file.csv`. The header in the template file must not be deleted before saving the file.  
-__Note:__ Ensure that duplicate values are not provided for MAC, Hostname, and IP in the mapping file. The Hostname should not contain the following characters: , (comma), \. (period), and - (hyphen).
+__Note:__ Ensure that duplicate values are not provided for MAC, Hostname, and IP in the mapping file. The Hostname should not contain the following characters: , (comma), \. (period), and _ (underscore).
 * Connect one of the Ethernet cards on the management node to the HPC switch and the other ethernet card connected to the global network.
 * If SELinux is not disabled on the management node, disable it from `/etc/sysconfig/selinux` and restart the management node.
 * The default mode of PXE is __UEFI__, and the BIOS Legacy Mode is not supported.