I am having the similar problem. But in my case no system VM is showing under infrastructure link in cloudstack management UI. I got no error when setting up — Muhammad Adeel Zahid.
Add a comment. Active Oldest Votes. ClassNotFoundException: com. VirtualDevice at java. Improve this answer. Prabhat Kumar Prabhat Kumar 1 1 silver badge 8 8 bronze badges. Have a close look at the log file to see the exact cause. Here are some possibilities: Upload from an internal IP address is disabled. You can enable uploads using the global settings.
Search for 'internal'. System VM templates have not been added to your management server. Check that an SSVM has been created on one of the hypervisors in the zone you configured.
Secondary storage is not properly setup If the permissions or secondary storage server is not setup correctly, the SSVM will not be to copy new templates into secondary storage. Donal Lafferty Donal Lafferty 5, 6 6 gold badges 37 37 silver badges 57 57 bronze badges. Shiv Buyya Shiv Buyya 2, 23 23 silver badges 21 21 bronze badges. Sign up or log in Sign up using Google.
Sign up using Facebook. Sign up using Email and Password. This depends on whether the Zone, in turn, was defined as private or public. A private Zone is assigned to a single domain, and a public Zone is accessible to any domain. If a public template is created in a private Zone, it is available only to users in the domain assigned to that Zone. If a public template is created in a public Zone, it is available to all users in all domains. Once you have at least one VM set up in the way you want, you can use it as the prototype for other VMs.
Name and Display Text. These will be shown in the UI, so choose something descriptive. OS Type. Except for VMware. This helps CloudStack and the hypervisor perform certain operations and make assumptions that improve the performance of the guest. Select one of the following. This choice is available only for XenServere:. Generally you should not choose an older version of the OS than the version in the image. For example, choosing CentOS 5. In those cases you should choose Other.
Choose Yes to make this template accessible to all users of this CloudStack installation. The template will appear in the Community Templates list. Password Enabled. Choose Yes if your template has the CloudStack password change script installed.
The new template will be visible in the Templates section when the template creation process has been completed. The template is then available when creating a new VM. Since version 4. If a template contains different deployment options or configurations as in the case of virtual appliances, then CloudStack display the information required by the template, allowing users or administrators to configure their instances.
If it does, the deployment of VMs from the template will fail. Templates are uploaded based on a URL. HTTP is the supported access protocol.
Templates are frequently large files. You can optionally gzip them to decrease upload times. Name and Description. Choose the zone where you want the template to be available, or All Zones to make it available throughout CloudStack. VMware only If selected, the registered template will allow users to deploy VMs as clones of the template, including all their properties, configurations, end-user license agreements, disks, os type, etc.
This option allows users to register virtual appliances. See Support for Virtual Appliances. When this option is selected the following fields are hidden: Root disk controller, Keyboard type and OS Type. OS Type : This helps CloudStack and the hypervisor perform certain operations and make assumptions that improve the performance of the guest.
Select one of the following:. You should not choose an older version of the OS than the version in the image. In this case, the OS Type is obtained from the template after it is registered. Hypervisor : The supported hypervisors are listed. Select the desired one. Choose Yes if the template is available for extraction.
If this option is selected, end users can download a full image of a template. Choose Yes if you would like this template to be more prominent for users to select. The template will appear in the Featured Templates list. Only an administrator can make a template Featured.
Instead of registering a template and storing it on secondary storage, the user can opt to skip downloading the template to secondary storage for KVM at template registration.
At deployment time, the template is downloaded directly to primary storage from the registered source, instead of being copied from secondary storage. The protocol is obtained from the template URL.
From CloudStack 4. After a certificate is revoked from a host within a zone, it can be re-uploaded to the host:. As new hosts may be added to a zone which do not include a certificate which was previously uploaded to pre-existing hosts. CloudStack provides a way to synchronize certificates across all the connected hosts in each zone.
This task will:. With 4. Three new global settings have been added for this:. In this case, the user will be presented with an input field to enter the account name, as on the images below:. The images displayed below refer to template permissions, but the same applies for ISO permissions.
This is shown in the images below;. Project-owned templates are not supported to be shared outside of the Project, and if attempted to do so, a proper error message is shown.
End users and Administrators may export templates from the CloudStack. Navigate to the template in the UI and choose the Download function from the Actions menu. Linux templates should be prepared using this documentation in order to prepare your linux VMs for template deployment.
This guide currently covers legacy setups which do not take advantage of UserData and cloud-init and assumes openssh-server is installed during installation. It is good practice to name your VM something generic during installation, this will ensure components such as LVM do not appear unique to a machine. If preferred, custom users such as ones created during the Ubuntu installation should be removed.
First ensure the root user account is enabled by giving it a password and then login as root to continue. See Adding Password Management to Your Templates for instructions to setup the password management script, this will allow CloudStack to change your root password from the web interface. CentOS configures the hostname by default on boot.
Unfortunately Ubuntu does not have this functionality, for Ubuntu installations use the following steps. Once this script, or a user has changed the hostname from localhost, it will no longer adjust system files regardless of its new hostname.
The script also recreates openssh-server keys, which should have been deleted before templating shown below. The following steps should be run when you are ready to template your Template Primary. If the Template Primary is rebooted during these steps you will have to run all the steps again. At the end of this process the Template Primary should be shutdown and the template created in order to create and deploy the final template.
This step removes information unique to your Template Primary such as network MAC addresses, lease files and CD block devices, the files are automatically generated on next boot. This step is to ensure all your Templated VMs do not have the same SSH keys, which would decrease the security of the machines dramatically.
Windows templates must be prepared with Sysprep before they can be provisioned on multiple machines. Sysprep allows you to create a generic Windows template and avoid any possible SID conflicts. Actually i am using single machine for management server as wel as my NFS shares I have given correct paths for seconady as well as primary storage but still getting this error. We have started to build our own cloud platform on our organization. Our deployment is like a small scale arch. We have used 4 KVM hyper visor servers and 1 management server and 3 storage servers.
We have successfully configured all those servers. But while creating the instance, there were no templates shown on management UI.
Is there any other thing need to be done to show up templates on UI?
0コメント