Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
G_W_Albrecht
Champion
Champion

Unable to use Central Deployment Tool 1.8

Jump to solution

I had never tried CDT myself as i have no environment where it would make sense, and spent my time on other topics. But now, rather per chance, i tried CDTs very simple first steps and failed completely:

[Expert@SMS:0]# ./CentralDeploymentTool -generate /opt/CPcdt/mygates.csv
Tue Jun  9 15:37:50 2020 *E* [Main]: The SendTo setting in the CentralDeploymentTool.xml file is not empty, but an email server is not configured in Gaia. Notification email will not be sent.
Tue Jun  9 15:37:51 2020 *A* [Main]: Central Deployment Tool (version 1.8 build #990180548)
Tue Jun  9 15:37:51 2020 *A* [Main]: ======================================================
Tue Jun  9 15:37:51 2020 *A* [Main]: Current execution logs are in: /var/log/CPcdt/logs_2020-06-09-15-37-50/
Tue Jun  9 15:37:51 2020 *E* [Main]: Invalid number of arguments.

SMS IP missing ? No:

./CentralDeploymentTool -generate /opt/CPcdt/mygates.csv 172.27.39.198
Tue Jun  9 15:38:42 2020 *E* [Main]: The SendTo setting in the CentralDeploymentTool.xml file is not empty, but an email server is not configured in Gaia. Notification email will not be sent.
Tue Jun  9 15:38:43 2020 *A* [Main]: Central Deployment Tool (version 1.8 build #990180548)
Tue Jun  9 15:38:43 2020 *A* [Main]: ======================================================
Tue Jun  9 15:38:43 2020 *A* [Main]: Current execution logs are in: /var/log/CPcdt/logs_2020-06-09-15-38-42/
Tue Jun  9 15:38:43 2020 *E* [Main]: Enter the deployment plan file path and try again.

No - i did not want try an advanced (Deployment Plan) usage of CDT !

Can anyone tell me what i do wrong ?

1 Solution

Accepted Solutions
Tsahi_Etziony
Employee
Employee

@G_W_Albrecht ,

As a matter of fact, I don't thing the mail setting is what's blocking you. Did you setup a package to install? this is a must for the basic mode. 

View solution in original post

4 Replies
Tsahi_Etziony
Employee
Employee

From the CDT admin guide: 

 

You must first configure a mail notification server on the Gaia OS of the Management Server (see the Gaia Administration Guide for your version):

Where

Instructions

In Gaia Portal

Perform these steps:

  1. In the left navigation tree, click System Management > Mail Notification.

  2. In the Mail Server field, enter the IP address or hostname of the Mail Server that receives the e-mails.

    For example: mail.example.com

  3. In the User Name field, enter the user name on the Mail Server that receives the e-mails.

    For example: user@mail.example.com

  4. Click Apply.

In Gaia Clish

Perform these steps:

  1. Connect to the command line.

  2. Log in to the Gaia Clish.

  3. Configure the IP address or hostname of the Mail Server that receives the e-mails (for example, mail.example.com😞

    HostName> set mail-notification server <IP Address or HostName of Mail Server>

    For example: mail.example.com

  4. Configure the user name on the Mail Server that receives the e-mails (for example, user@mail.example.com😞

    HostName> set mail-notification username <UserName on Mail Server>@<Domain Name>

    For example: user@mail.example.com

  5. Save the changes:

    HostName> save config

  6. Examine the configuration:

    HostName> show mail-notification server

    HostName> show mail-notification username

0 Kudos
Reply
Tsahi_Etziony
Employee
Employee

@G_W_Albrecht ,

As a matter of fact, I don't thing the mail setting is what's blocking you. Did you setup a package to install? this is a must for the basic mode. 

View solution in original post

G_W_Albrecht
Champion
Champion

Yes, this is CLI - without the list of existing packages in CentralDeploymentTool.xml, we only get errors.

I would prefer to have this pre-configured in the template like :

<!--
Packages - list of packages to install:
<PackageToInstall Path="/home/admin/packages/<pkg name>"  />

-->
</CentralDeploymentTool>

But now it does work... 

0 Kudos
Reply
Martin_Valenta
Advisor
it should look like this:
./CentralDeploymentTool -generate -candidates=r80.csv -deploymentplan=r80-upgrade.xml
0 Kudos
Reply