Failed to Upload the Image During Image Creation

Publication Date:  2014-05-15 Views:  424 Downloads:  0
Issue Description
During image creation, the image failed to be exported, and the system displayed a message, indicating that image upload failed.
Alarm Information
None.
Handling Process
1. Use PuTTY to log in to the active and standby ESC nodes one by one and run the following command to back up the FTP configuration file on each node:
#cp /etc/vsftpd.conf /tmp/vsftpd.conf_bak
2. Change #write_enable=YES to write_enable=YES in the vsftpd.conf file.

3. Run the service vsftpd restart command to restart the FTP service. 
Root Cause
Common causes for the failure are as follows:
  •  Space on the image server is insufficient.
  •  The /image directory is not granted required permission.
  •  In SingleCLOUDV100R002C01SPC200 or later, the /image directory must have permission 755.
  •  In SingleCLOUDV100R002C01SPC300, the /image directory must have permission 775.
  •  The /image directory and its subdirectories have been moved to another place or renamed.
  •  The File Transfer Protocol (FTP) service on the active or standby node is disabled. You can run the service vsftpd status command to check the status of the FTP service.

Rectify the fault based on the preceding causes. If the fault still cannot be rectified, check whether you have been granted rights to store files in the FTP directory. When the Elastic Service Controller (ESC) and Image Storage (IMGS) nodes are deployed on the same server, images are stored on the ESC node by default. If you do not have write permission on the FTP directory, the image cannot be uploaded to the ESC node.

Suggestions
None.

END