Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

classtocc

Table of Contents
maxLevel4

This document provides a list of quick answers to issues caused by incorrect configuration.

...

To check if services are enabled:

...

Code Block
root@nexenta: svcs svc:/network/iscsi/target:default svc:/system/stmf:default
STATE          STIME    FMRI
online         7:56:29  svc:/system/stmf:default
online         7:56:30  svc:/network/iscsi/target:default


To enable services in Nexenta (remember that you should log in to Nexenta as admin. Then change privileges by using su (and not su-))

...

Code Block
root@nexenta: svcadm enable svc:/system/stmf:default
root@nexenta: svcadm enable svc:/network/iscsi/target:default


...

Persistent Process Does Not Work Because of Error in Cloning

...

  • Check for a message like "disk doesn't have enough space"
  • The conversion to RAW finished, the volume is created but the image is not dumped to the volume, resulting in the message:

...

Code Block
[!] deploy: Error cloning
/opt/vm_repository/1/abiquo-repository.abiquo.com/s3direct/m0n0wall/formats/951c42ea-bd2c-4b4e-bef5-24c0f2f2394b-snapshot-m0n0wall-1.3b18-i386-flat.vmdk-RAW
to 10.60.1.29:iqn.2010-09.com.abiquo.lvm-qa:89020746-8b8c-4f04-bbce-829459f8892a\],
User[noname]


Solution

Delete volumes to free space in the storage pool.

...

An error occurred when calling the deploy operation in a Hyper-V machine. This error appears in the log:

...

Code Block
13:02:15.374 INFO  c.a.v.machine.impl.AbsHyperVMachine - Cloning the virtual disk from: \\10.60.1.72\opt\vm_repository\1\rs.bcn.abiquo.com\centos_vhd\cent
os.vhd to C:\\ABQ_50a782d5-e535-425d-a552-545eb699d849.vhd 
13:02:15.601 ERROR c.a.v.utils.hyperv.HyperVUtils - Monitoring job result error:
        ErrorCode: 32768 ErrorDescription: 'The system failed to convert '\\10.60.1.72\opt\vm_repository\1\rs.bcn.abiquo.com\centos_vhd\centos.vhd'. Error
 Code: The network name cannot be found.
13:02:15.614 ERROR c.a.v.machine.impl.AbsHyperVMachine - Failed to deploy machine :
org.jinterop.dcom.common.JIException: An error was occurred when calling an operation in a Hyper-V machine


Solution

Although the URI is correct, Hyper-V accesses the filesystem using Samba. In Samba, the directory is aliased as vm_repository. To change this directory go to the server, /opt/abiquo/config (remember that this path could be in a chroot system). Then edit the abiquo.properties file and enter the following property containing the IP address of the CIFS server:

...

Code Block
    abiquo.virtualfactory.hyperv.repositoryLocation = //<SERVER_IP>/vm_repository/


and restart the Tomcat server.

...

  • Only happens in Hyper-V
  • This error appears in Events:
    • Error bundling VirtualAppliance: number
    • An error occurred when calling an operation in a Hyper-V machine
  • This error appears in the log:

...

Code Block
ErrorCode: 32769 ErrorDescription: 'The system failed to convert 'C:\\localRepository\\e13fcbec-2475-46c1-9f90-66aa1f2850be.vhd'. Error Code: General
access denied error14:54:17.420 ERROR c.a.v.v.i.VirtualapplianceresourceDeployer - An error occurred: org.jinterop.dcom.common.JIException: An error was occurred
when calling an operation in a Hyper-V machineErrorCode: 32769. ErrorDescription:
'The system failed to convert 'C:\\localRepository\\e13fcbec-2475-46c1-9f90-66aa1f2850be.vhd'. Error Code: General access denied error


 

Solution

Check the smb.conf file is correctly configured. This file is configured during installation. For more information, see VM repository folder.

...