0 Replies Latest reply: Jun 3, 2012 8:01 AM by 825165 RSS

    OVM 3.11 Template  Import failed from vsFTPd server

    825165
      Hi

      I was trying import the templates files from Oracle LInux 6.2 OVM Manager , which i set up also as fTP server using vsftpd.
      I am able to login to using the users ovm and root.

      I have one (x64) System , ovmserver (3.11) and Oracle VM Manager 3.11 running on top of 6.2 Oracle linux. ( x64)

      I placed the templates in OVM Manager .

      Am using this string.

      ftp://ovm:changeme@10.0.160.31//home/ovm/VM/OVM_OHMPI20_X86_64_PVM.tgz

      [root@msd-HQ-oracle-ovmmgr VM]# getsebool -a| grep ftp
      allow_ftpd_anon_write --> off
      allow_ftpd_full_access --> on
      allow_ftpd_use_cifs --> off
      allow_ftpd_use_nfs --> off
      ftp_home_dir --> on
      ftpd_connect_db --> off
      httpd_enable_ftp_server --> off
      tftp_anon_write --> off


      Job Construction Phase
      ----------------------
      begin()
      Appended operation 'Import Virtual Machine Template' to object 'cfgFile_0004fb0000140000f1efe889af8cb88a'.
      Appended operation 'Virtual Machine Cfg File Configure' to object 'cfgFile_0004fb0000140000f1efe889af8cb88a'.
      commit()
      Completed Step: COMMIT

      Objects and Operations
      ----------------------
      Object (CREATED): [VirtualMachineCfgFile] cfgFile_0004fb0000140000f1efe889af8cb88a
      Operation: Import Virtual Machine Template
      Operation: Virtual Machine Cfg File Configure
      Object (CREATED): [VirtualMachineTemplate] 0004fb0000140000f1efe889af8cb88a (OVM_OHMPI20_X86_64_PVM.tgz)

      Job Running Phase at 13:56 on Sun, Jun 3, 2012
      ----------------------------------------------
      Job Participants: [ff:20:00:08:ff:ff:ff:ff:ff:ff:ab:43:3a:4f:14:00 (msd-HQ-oracle-ovmsvr1)]


      Actioner
      --------
      Starting operation 'Import Virtual Machine Template' on object 'cfgFile_0004fb0000140000f1efe889af8cb88a'
      Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.JobFailureException: OVMAPI_5001E Job "1338721001886" Failed due to failure "(06/03/2012 01:56:45:334 PM)
      Async operation failed on server: msd-HQ-oracle-ovmsvr1.
      Object: cfgFile_0004fb0000140000f1efe889af8cb88a,
      PID: 17749,
      Server error message: *Template import error: [Errno 14] curl#9 - "Server denied you to change to the given directory"*
      " on server "ff:20:00:08:ff:ff:ff:ff:ff:ff:ab:43:3a:4f:14:00" associated with object "cfgFile_0004fb0000140000f1efe889af8cb88a"
      Sun Jun 03 13:56:45 AST 2012

      It look like an error from OVM server. Or is it an FTP server error.
      Any problems reported using vsftp server ?


      Br

      Rajesh Panicker