CloudPlatform 4.x

 
 
 
Pankaj Paliwal
CloudStack add hugepage for improving performance
Avatar

CloudStack add hugepage for improving performance

Hi, I'm newbie with CloudStack. 

I would like to know about CloudStack, Does it has automatic function to add hugepage into Virtual Machine. I don't want to do manually. hugepage is a technique that improving memory intensive support on KVM and RHEL. 

 

Thank you.


Ittitep wannarat MEMBERS
3 0
Pankaj Paliwal
Cloudstack 4.3 - Template Upload/Download Speed Very Slow
Avatar

Cloudstack 4.3 - Template Upload/Download Speed Very Slow

Is Cloudstack 4.3 rate limiting uploading/downloading templates from GUI? On Local network, I can download same template with 50 MB/s to my machine and Cloudstack 4.3 downloads it with 2 MB/s, I have some large VM machine templates that I have to upload in order to create VM machines and 25GB template takes about 4 hours to complete (downloading from local webserver). I can download it from same local web server in 30 minutes to my machine on the same network. Is there any other way to upload VM templates to cloudstack? I seen 2 settings related to this issue but changing Network throttling settings (default 200 KiB/s) didntmake any difference, 


Sam Ceylani MEMBERS
2 0
Pankaj Paliwal
What version of F5 BigIP is supported?
Avatar

What version of F5 BigIP is supported?

Hi All
 
I am running CloudStack 4.2.1 and have run into issues with F5 BigIP version 11.3. When I try to add an instance with a network that is based on an offering with this version as LB, I get the errors shown below.  I did the exact same thing that I did for F5 V10.1 which worked fine. All F5 systems are virtual editions.
 
vlan-715 is indeed created on F5 and subsequent retries come back with "already exists".
 
Any help is greatly appreciated.
Amin
 
2014-05-07 11:26:27,694 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-84:job-1145 = [ 915c45e9-be5a-4a55-afdb-43fae8081445 ]) Asking F5BigIP to implemenet Ntwk[365|Guest|19]
2014-05-07 11:26:27,707 DEBUG [cloud.network.ExternalLoadBalancerDeviceManagerImpl] (Job-Executor-84:job-1145 = [ 915c45e9-be5a-4a55-afdb-43fae8081445 ]) Allocated external load balancer device:5 for the network: 365
2014-05-07 11:26:27,719 DEBUG [agent.transport.Request] (Job-Executor-84:job-1145 = [ 915c45e9-be5a-4a55-afdb-43fae8081445 ]) Seq 14-338558978: Sending  { Cmd , MgmtId: 345052500519, via: 14, Ver: v1, Flags: 100011, [{"com.cloud.agent.api.routing.IpAssocCommand":{"ipAddresses":[{"accountId":2,"sourceNat":true,"add":true,"oneToOneNat":false,"firstIP":false,"vlanId":"715","vlanGateway":"10.0.240.174","vlanNetmask":"255.255.240.0","networkRate":200}],"accessDetails":{},"wait":0}}] }
2014-05-07 11:26:27,719 DEBUG [agent.transport.Request] (Job-Executor-84:job-1145 = [ 915c45e9-be5a-4a55-afdb-43fae8081445 ]) Seq 14-338558978: Executing:  { Cmd , MgmtId: 345052500519, via: 14, Ver: v1, Flags: 100011, [{"com.cloud.agent.api.routing.IpAssocCommand":{"ipAddresses":[{"accountId":2,"sourceNat":true,"add":true,"oneToOneNat":false,"firstIP":false,"vlanId":"715","vlanGateway":"10.0.240.174","vlanNetmask":"255.255.240.0","networkRate":200}],"accessDetails":{},"wait":0}}] }
2014-05-07 11:26:27,719 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-276:null) Seq 14-338558978: Executing request
2014-05-07 11:26:28,388 DEBUG [network.resource.F5BigIpResource] (DirectAgent-276:null) Creating a guest VLAN with tag 715
2014-05-07 11:26:28,517 ERROR [network.resource.F5BigIpResource] (DirectAgent-276:null) Failed to execute IPAssocCommand due to com.cloud.utils.exception.ExecutionException: Failed to create vlan with tag 715
2014-05-07 11:26:28,581 ERROR [network.resource.F5BigIpResource] (DirectAgent-276:null) Retrying IpAssocCommand. Number of retries remaining: 1
2014-05-07 11:26:28,781 DEBUG [network.resource.F5BigIpResource] (DirectAgent-276:null) Creating a guest VLAN with tag 715
2014-05-07 11:26:28,828 ERROR [network.resource.F5BigIpResource] (DirectAgent-276:null) Exception caught in Networking::urn:iControl:Networking/VLAN::create()
Exception: Common::OperationFailed
        primary_error_code   : 16908390 (0x01020066)
        secondary_error_code : 0
        error_string         : 01020066:3: The requested VLAN (/Common/vlan-715) already exists in partition Common.
2014-05-07 11:26:28,828 ERROR [network.resource.F5BigIpResource] (DirectAgent-276:null) Failed to execute IPAssocCommand due to com.cloud.utils.exception.ExecutionException: Exception caught in Networking::urn:iControl:Networking/VLAN::create()
Exception: Common::OperationFailed
        primary_error_code   : 16908390 (0x01020066)
        secondary_error_code : 0
        error_string         : 01020066:3: The requested VLAN (/Common/vlan-715) already exists in partition Common.
 

 


Amin Pashapour MEMBERS
1 0
Pankaj Paliwal
Lots of Templates showing in XenCenter
Avatar

Lots of Templates showing in XenCenter

Hi, can anyone assist

We have v4.2.0 running on 2 XenServer hosts, using several iSCSI storage repositories (Dell Equalogic)

I am trying to tidy up our current template offerings and i have noticed that there are more templates showing in Xencenter (when viewing the SR - Storage tab) than in the main GUI.

All that shows in XenCentrer is "Template <UUID>" however that UUID doesnt match up with the ID that the GUI has for each template

Is there any way i can match up what each template is so i know which can be deleted ? presumably some must be spare but even if they arent it would be useful to know which is which? They always say 0% on disk but the total does seem to take up space

Thanks

Jon


Matthew Darnell MEMBERS
8 0
Timothy Lothering
Usage Sanity Check failed

Hi,

 

I am getting the error below from CCP 4.2.1-4:

 

Usage Sanity Check failed

 

Error: Found 8768 usage records with raw_usage > 1

Error: Found 16809 volume usage records which are created after volume is removed

 

Any ideas?

 

Regards,

 

Timothy


2 0
Timothy Lothering
Error while collecting disk stats from : You gave an invalid object reference
Hi,
 
I am getting the below error numerous times in a minute, and as a result, it has grown my management-server.log to over 500MB.
 
Landscape:
 
1. CCP 4.2.1-4
2. Citrix XenServer 6.2.0 with SP1
 
CCP is functioning 100%, I am able to complete all tasks without errors. All my Hosts are working as I have been able to provision VMs to all of them.
 
2014-04-25 14:29:06,480 WARN  [xen.resource.CitrixResourceBase] (DirectAgent-81:null) Error while collecting disk stats from : 
You gave an invalid object reference.  The object may have recently been deleted.  The class parameter gives the type of reference given, and the handle parameter echoes the bad value given.
at com.xensource.xenapi.Types.checkResponse(Types.java:209)
at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
at com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:909)
at com.xensource.xenapi.VBDMetrics.getIoReadKbs(VBDMetrics.java:210)
at com.cloud.hypervisor.xen.resource.CitrixResourceBase.getVmStats(CitrixResourceBase.java:2775)
at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:2675)
at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:495)
at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106)
at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
 
Any advice?
 
Regards
 
Timothy
 

 


3 0
Gert Jensen
change physical network on xenserver

hello,

 

Has anybody tried to change the physical network on a xenserver managed by CSP ?

 

I have only advanced networks and would like to change my network from bridge to OpenVswicth,

and add 2 more nics to my bonding.

 

can I just do this if i keep my xenserver bonding names ?

 

kind regards

Gert


3 0
Simon Murphy
Routing from Private Gateway to the internet

Does anyone know if it should be possible to route from a customer network on the private gateway to the internet? When I set this up there is no NAT rule created on the VPC and devices on the customer network cannot get to the internet.

 

The customer would like to use the VPC connection to access the internet via the private gateway.

 

Is this possible?

 


1 0
Pankaj Paliwal
Management Server shut down alone !!
Avatar

Management Server shut down alone !!

hi everybody,

 

I installed a virtual machine centos with this tutorial http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/qig.html

 

I have centos 6.5, xenserver 6.2

 

Installation finished with success.

I have a web access http://IP:8080/client

I'm ready for basic configuration. But 3 or 5 minut the VM shut down alone clearly.

 

What's wrong with Virtual Machine. I must look where (log) ?

 

Can you help me ?

 

Thanks for your help.

 

Clément.


Clément Mutz MEMBERS
16 0
Gert Jensen
Change that color of the GUI in 4.3 from PURPLE

Hello,

 

Do ANYBODY know how to change the colors in the new 4.3, it is ugly Purple.. :)

 

why, why, why.... ?

 

are there some css i have to change it to white or black or not purple... ?

 

Kind regards

Gert

 


1 0
Pankaj Paliwal
Migration from OnApp to CloudStack
Avatar

Migration from OnApp to CloudStack

Hi,

 

We are using OnApp as private cloud and want to move our cloud infra on CloudStack but we are unable to find any migration guide for CloudStack, Is there anyone who has done migration from OnApp sucessfully. or anyone can give some idea about it or any documentation.

 

Thanks

Saif


sair siddiqui MEMBERS
3 0
Pankaj Paliwal
Unable to add the external cluster
Avatar

Unable to add the external cluster

Hi Guys-

 

I'm new for CloudStack, and I've been trying to make a test environment for Cloudstack of advanced zone mode. In these days, I want to setup a advanced zone, and I failed again and again. I always got 'unable to add the external cluster' error.

 

The following is the info of my environment.

 

IP Subnets

 

Management, Storage

Subnet - 10.2.0.0

Mask - 255.255.0.0

Gateway - 10.2.0.254

Reversed IP - 10.2.101.11-10.2.101.20

Storage IP - 10.2.101.1-10.2.101.10

 

Public

Subnet - 10.33.0.0

Mask - 255.255.0.0

Gateway - 10.33.0.254

 

Guest

Subnet - 10.100.0.0

Mask - 255.255.0.0

Gateway - 10.100.0.254

 

Guest CIDR

Subnet - 10.13.0.0/16

 

Topology

 

Please the attachment below.

 

Host Info

 

Comments: Both the Cloudstack and vCenter servers are installed with VM at a vSphere host with ip address 10.2.101.6.

 

Management Server

OS - CentOS 6.4

Version - 4

Other compoments - MySQL server, NFS server(for primary and secondary storage)

IP address - 10.2.101.2

Networks Setting - As this is one NIC in the host of management server, I create one physical network named vSwitch0(same with vSwitch setting at vSphere), and for types of networks are added, Management, Storage, Public and Guest.

 

vCenter

OS - Windows 2008 Enterprise R2

Version - 5

IP address - 10.2.101.1

Datacenter - B*****

Cluster - Internal

HA - Enabled

 

vSphere

Version - 5

IP address - 10.2.101.7

 

Switch Info

 

Both the server and client ends are directly conneted.

 

Type - Cisco 3560

Vlan - 2(native VLAN, management, storage), 33(public), 100(guest)

Interface to hosts - Trunk mode(all VLAN are allowed)

 

vSphere Network Setting

 

Please the attachment.

 

Error Message

 

The error message is pasted at the end.

 

Could someone tell me what is the reason for the error - unable to add external cluster? And I really feel confused with how does the advanced network work, please help to make a brief explanation. Thanks a lot.

 

2014-03-31 17:33:36,187 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null) ===START===  10.13.1.105 -- GET  command=addCluster&zoneId=141cdb17-aa51-464c-a46d-e0256fc438bd&hypervisor=VMware&clustertype=ExternalManaged&podId=20e3dfb3-d45c-423d-9710-6c8d5915bcd6&username=administrator%40vsphere.local&url=http%3A%2F%2F10.2.101.1%2FBamboo%2FInternal&clustername=10.2.101.1%2FBamboo%2FInternal&response=json&sessionkey=UYzgImu2dIfF5u9FL50iw6tDXMY%3D&_=1396258415881
2014-03-31 17:33:36,219 INFO  [hypervisor.vmware.VmwareServerDiscoverer] (catalina-exec-3:null) Discover host. dc: 7, pod: 6, cluster: 11, uri host: 10.2.101.1
2014-03-31 17:33:36,225 INFO  [hypervisor.vmware.VmwareServerDiscoverer] (catalina-exec-3:null) Detected private network label : Management
2014-03-31 17:33:36,226 DEBUG [vmware.resource.VmwareContextFactory] (catalina-exec-3:null) initialize VmwareContext. url: https://10.2.101.1/sdk/vimService, username: administrator@vsphere.local, password: b*******
2014-03-31 17:33:38,533 INFO  [vmware.manager.VmwareManagerImpl] (catalina-exec-3:null) Preparing network on host com.cloud.hypervisor.vmware.util.VmwareContext@539f0fff for Management
2014-03-31 17:33:38,783 ERROR [vmware.mo.HypervisorHostHelper] (catalina-exec-3:null) Unable to find vSwitchManagement
2014-03-31 17:33:38,784 WARN  [hypervisor.vmware.VmwareServerDiscoverer] (catalina-exec-3:null) Unable to connect to Vmware vSphere server. service address: 10.2.101.1
2014-03-31 17:33:38,999 WARN  [cloud.resource.ResourceManagerImpl] (catalina-exec-3:null) Unable to find the server resources at http://10.2.101.1/Bamboo/Internal
2014-03-31 17:33:38,999 INFO  [utils.exception.CSExceptionErrorCode] (catalina-exec-3:null) Could not find exception: com.cloud.exception.DiscoveryException in error code list for exceptions
2014-03-31 17:33:39,012 WARN  [admin.cluster.AddClusterCmd] (catalina-exec-3:null) Exception:
com.cloud.exception.DiscoveryException: Unable to add the external cluster
        at com.cloud.resource.ResourceManagerImpl.discoverCluster(ResourceManagerImpl.java:559)
        at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at org.apache.cloudstack.api.command.admin.cluster.AddClusterCmd.execute(AddClusterCmd.java:153)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:505)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:355)
        at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:302)
        at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
        at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)
2014-03-31 17:33:39,013 INFO  [cloud.api.ApiServer] (catalina-exec-3:null) Unable to add the external cluster
 

 


wei deng MEMBERS
2 0
Gert Jensen
Juniper Site to Site VPN

Hello,

 

Have anybody tried to make a site to site vpn using a juniper srx (100) ?

 

and what are the parameters you are using both on Juniper and in Cloudstack

 

Does anybody know which log files i need to look in CloudStack ?

 

Kind regards

Gert


5 0
Pankaj Paliwal
Windows AD Integration with CloudPlatform 4.2.1.3
Avatar

Windows AD Integration with CloudPlatform 4.2.1.3

Hi ,

 

I tried to integrate windows AD with CloudPlatform 4.2.1.3 from UI.

To give more specific information on the setup, I use Advanced zone with multiple physical networks on CloudPlatform 4.2.1-3.Tried to Integrate from UI not using direct APi

 

Below are the Windows AD Configuration which I use to integrate with CloudPlatform

 

Bind DN CN=cloudadmin,OU=Service Account,DC=RULE,DC=com

Bind Password

Hostname

Query Filter (uid=%u)

Search Base CN=Users,DC=RULE,DC=com

No SSL  (SSL not enabled )

Port 389

 

 

There is nothing related to this  in the cloud-man logs or is there any version dependency on Windows AD or  Am I missing something here?

 

 

Any help will be appreciated

Regards,

Anoop


Anoop Mohan MEMBERS
1 0
Pankaj Paliwal
Windows AD Integration with CloudPlatform 4.2.1.3
Avatar

Windows AD Integration with CloudPlatform 4.2.1.3

Hi Support,

 

Can I Add two Domain Controller to CloudPlatform.I have two Teams who is going to provision VM from citrix CloudPlatform with Different Domain Controller

 

Thanks

Anoop


Anoop Mohan MEMBERS
3 0
Pankaj Paliwal
Get Size of VMSnapshot (VMWare)
Avatar

Get Size of VMSnapshot (VMWare)

Hello!

I have a small question - how ca I get the size of a VMSnapshot, that is made via a VMWare ESX call?

I've found one function, that calculates the amount, during the creation of a Snapshot (see the code snippet), but it seems, that I cannot get this value anywhere after the creation

Is there any entry of this in a database, or in a log file?


A.

package com.cloud.hypervisor.vmware.manager;

 

 

private long getVMSnapshotChainSize(VmwareContext context, VmwareHypervisorHost hyperHost,

String fileName, String poolUuid, String exceptFileName)
throws Exception{
long size = 0;
ManagedObjectReference morDs = HypervisorHostHelper.findDatastoreWithBackwardsCompatibility(hyperHost, poolUuid);
DatastoreMO dsMo = new DatastoreMO(context, morDs);
HostDatastoreBrowserMO browserMo = dsMo.getHostDatastoreBrowserMO();
String datastorePath = "[" + dsMo.getName() + "]";
HostDatastoreBrowserSearchSpec searchSpec = new HostDatastoreBrowserSearchSpec();
FileQueryFlags fqf = new FileQueryFlags();
fqf.setFileSize(true);
fqf.setFileOwner(true);
fqf.setModification(true);
searchSpec.setDetails(fqf);
searchSpec.setSearchCaseInsensitive(false);
searchSpec.getMatchPattern().add(fileName);
ArrayList<HostDatastoreBrowserSearchResults> results = browserMo.
searchDatastoreSubFolders(datastorePath, searchSpec);
for(HostDatastoreBrowserSearchResults result : results){
if (result != null) {
List<FileInfo> info = result.getFile();
for (FileInfo fi : info) {
if(exceptFileName != null && fi.getPath().contains(exceptFileName)) {
continue;
} else {
size = size + fi.getFileSize();
}
}
}
}
return size;
}

 

 

 


Artjoms Petrovs MEMBERS
2 0
Pankaj Paliwal
Template from VM on ESX hypervisor
Avatar

Template from VM on ESX hypervisor

Hello all!
We install a CloudStack platform ver.4.2.1 based on ESX hypervisors.

The First question - how to create Template from existisng VMs?

In this doc:
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/create-template-from-existing-vm.html

said: Click Create Template

 

But where this Button located?


Alexander Tsyrkun MEMBERS
3 0
Pankaj Paliwal
unable to xenserver as host in CloudPlatform
Avatar

unable to xenserver as host in CloudPlatform

When I am trying to add the host, it gives a failure saying "failed to add host"

the ipaddress and username/password are given correctly

 

any ideas what will be the issue here


Bhaskar Rao B MEMBERS
2 0
Pankaj Paliwal
Error in installation
Avatar

Error in installation

hi all  :) while executing the following command I get warnings

oneadmin@ubuntu:~/maven$ - mvn clean install -P developer,systemvm

[WARNING] The requested profile "developer" could not be activated because it does not exist.

[WARNING] The requested profile "systemvm" could not be activated because it does not exist.
 
But it shows that the build is successful. What cloud be the mistake here?
If I ignore the warning and proceed with the next step, the following happens.
oneadmin@ubuntu:~/maven$ mvn -P developer -pl developer -Ddeploydb
[INFO] Scanning for projects...
[ERROR] Could not find the selected project in the reactor: developer -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
 

 

Thanks for the help  :)

 

 


Uma Sankar MEMBERS
1 0
Pankaj Paliwal
Template VHD disappears when download symlink is cleaned up
Avatar

Template VHD disappears when download symlink is cleaned up

In 4.2.1, I've found that the template VHD file gets removed from the template directory after it has been downloaded. The issue occurs when the secondary storage server is cleaning up the symlink in /var/www/html/. Along with removing the symlink, the actual vhd is also removed. From looking at the Apache CloudStack source, it looks like maybe the SSVM is seeing the template as a volume and thinks that it is removing a hard link. Has anyone come across this problem, or is there anything that can be done to work around it?


Bill Rich MEMBERS
0 0
Gert Jensen
Backup of VMs

Hello,

 

I have been looking for a good backup solution, at the moment we are

backing up our vms inside using TSM, but are there any compatible backup

solution for cloudPlatform ?

 

I mean how to backup vm that is Off ?

 

Is it viable as a ISP to make a secondary backup of the customers system.

 

as i see it the snapshot are for the customers, but if the entire system breaks down, 

we are responseble for getting it up and running again.

 

Any thoughts ?

 

 

Kind regards

Gert


5 0
Gert Jensen
adding nics to existing installation

Hello,

 

Does anybody know how to add additional nics to an existing installation.

 

We only had 8 nics bonded in 4 nics now we could use another for additional network.

 

But i do not think we can do it using the GUI.

 

I do not know how to do it in a curl command.

 

If you have an example of an command i can use i will be greatfull.. :)

 

I assume that i am not stock on initial config. ?

 

Kind regards

Gert


0 0
Pankaj Paliwal
Unable to enter GUI after successful login
Avatar

Unable to enter GUI after successful login

Hello all,

 

Right after installing Cloud Platform on CentOs 6.5 I was able to login and go through the configuration steps. Once I was done with configuration, the GUI was working fine.

 

Now when I attempt to login, nothing happens. The logs show that login is successful, but I get the following errors right after:

 


 

 

2014-02-10 22:43:52,627 DEBUG [cloud.api.ApiServlet] (catalina-exec-25:null) ===START===  192.168.1.186 -- GET  command=listCapabilities&response=json&sessionkey=5w3DJEp3oXUUmNuBl2FHfUyzYqw%3D&_=1392093828277
2014-02-10 22:43:52,678 DEBUG [cloud.api.ApiServlet] (catalina-exec-25:null) ===END===  192.168.1.186 -- GET  command=listCapabilities&response=json&sessionkey=5w3DJEp3oXUUmNuBl2FHfUyzYqw%3D&_=1392093828277
2014-02-10 22:43:58,628 DEBUG [cloud.api.ApiServlet] (catalina-exec-4:null) ===START===  192.168.1.186 -- POST
2014-02-10 22:43:58,644 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-4:null) Attempting to log in user: admin in domain 1
2014-02-10 22:43:58,644 DEBUG [server.auth.SHA256SaltedUserAuthenticator] (catalina-exec-4:null) Retrieving user: admin
2014-02-10 22:43:58,721 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-4:null) User: admin in domain 1 has successfully logged in
2014-02-10 22:43:58,753 DEBUG [cloud.api.ApiServlet] (catalina-exec-4:null) ===END===  192.168.1.186 -- POST
2014-02-10 22:43:58,762 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null) ===START===  192.168.1.186 -- GET  command=listCapabilities&response=json&sessionkey=kNoGEYsNvbMQv4f68lV6mO%2Fb%2B3c%3D&_=1392093834417
2014-02-10 22:43:58,772 DEBUG [cloud.api.ApiServer] (catalina-exec-8:null) The given command:listCapabilities does not exist or it is not available for user with id:2
2014-02-10 22:43:58,773 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null) ===END===  192.168.1.186 -- GET  command=listCapabilities&response=json&sessionkey=kNoGEYsNvbMQv4f68lV6mO%2Fb%2B3c%3D&_=1392093834417

 

 

 

Essentially I am stuck at the login page and can't get inside the GUI. The only change in the system/os was an IP address change (from DHCP to static). Could that be the issue? 

 

Also, it is worth mentioning that previous to this installation I had attempted to install Apache CloudStack on Debian 7. I had gotten the issues with wrong username/password during login that some other users experienced, but once I fixed it, I ended up with the same errors as I have shown you above.

 

Any ideas?

 

Thank you,

Rafael

 

 


Rafael Possamai MEMBERS
7 0
Pankaj Paliwal
Network configuration
Avatar

Network configuration

I need some help with network configuration. (I have attached a picture with resources)

 

 

Witch is the best configuration ?

 

Basic or Advanced configuration for Network ?

 

Primary and secondary storage how to ?

 

Attached Thumbnails

  • network.jpg

Hirlea Iulian MEMBERS
7 0
Pankaj Paliwal
Energy measurement
Avatar

Energy measurement

Hi all :)  I'm new to cloudstack. I would like to know if it is possible to view the energy consumed by a VM? My project deals with minimizing the energy consumed by the VMs.

Thanks in advance  :)


Uma Sankar MEMBERS
4 0
Pankaj Paliwal
Why I can't login with default username/password:admin/password
Avatar

Why I can't login with default username/password:admin/password

I installed CloudPortal with package CloudPlatform-4.2.1-2-rhel6.4.tar.gz in CentOS6.0.

 

But when can't login it with username/password:admin/password

 

Who can help me to check the log to get the reason? Thanks a lot.

 

Here is the log:

=================================================

 

2014-01-29 09:08:13,290 DEBUG [cloud.server.ConfigurationServerImpl] (Timer-2:null) ConfigurationServer saved "10.67.255.116" as host.
2014-01-29 09:08:13,825 INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:null) Processing updateSSLKeyStore
2014-01-29 09:08:13,886 INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:null) SSL keystore located at /etc/cloudstack/management/cloudmanagementserver.keystore
2014-01-29 09:08:13,934 INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:null) Processing updateKeyPairs
2014-01-29 09:08:13,934 INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:null) Systemvm keypairs not found in database. Need to store them in the database
2014-01-29 09:08:13,935 DEBUG [utils.script.Script] (Timer-2:null) Executing: /bin/bash -c if [ -f /usr/share/cloud/portal/.ssh/id_rsa ]; then rm -f /usr/share/cloud/portal/.ssh/id_rsa; fi; ssh-keygen -t rsa -N '' -f /usr/share/cloud/portal/.ssh/id_rsa -q
2014-01-29 09:09:45,869 DEBUG [cloud.api.ApiServlet] (catalina-exec-4:null) ===START===  10.67.15.188 -- GET  command=listCapabilities&response=json&sessionkey=null&_=1390986585779
2014-01-29 09:09:45,947 DEBUG [cloud.api.ApiServlet] (catalina-exec-4:null) ===END===  10.67.15.188 -- GET  command=listCapabilities&response=json&sessionkey=null&_=1390986585779
2014-01-29 09:10:02,386 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:null) ===START===  10.67.15.188 -- GET  command=listCapabilities&response=json&sessionkey=null&_=1390986602303
2014-01-29 09:10:02,456 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:null) ===END===  10.67.15.188 -- GET  command=listCapabilities&response=json&sessionkey=null&_=1390986602303
2014-01-29 09:10:10,126 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null) ===START===  10.67.15.188 -- POST  
2014-01-29 09:10:10,143 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-8:null) Attempting to log in user: admin in domain 1
2014-01-29 09:10:10,143 DEBUG [server.auth.SHA256SaltedUserAuthenticator] (catalina-exec-8:null) Retrieving user: admin
2014-01-29 09:10:10,176 WARN  [server.auth.SHA256SaltedUserAuthenticator] (catalina-exec-8:null) The stored password for admin isn't in the right format for this authenticator
2014-01-29 09:10:10,485 DEBUG [server.auth.MD5UserAuthenticator] (catalina-exec-8:null) Retrieving user: admin
2014-01-29 09:10:10,494 DEBUG [server.auth.MD5UserAuthenticator] (catalina-exec-8:null) Password does not match
2014-01-29 09:10:10,497 DEBUG [server.auth.LDAPUserAuthenticator] (catalina-exec-8:null) Retrieving user: admin
2014-01-29 09:10:10,513 DEBUG [server.auth.LDAPUserAuthenticator] (catalina-exec-8:null) LDAP authenticator is not configured.
2014-01-29 09:10:10,514 DEBUG [server.auth.PlainTextUserAuthenticator] (catalina-exec-8:null) Retrieving user: admin
2014-01-29 09:10:10,521 DEBUG [server.auth.PlainTextUserAuthenticator] (catalina-exec-8:null) Password does not match
2014-01-29 09:10:10,524 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-8:null) Unable to authenticate user with username admin in domain 1
2014-01-29 09:10:10,529 INFO  [cloud.user.AccountManagerImpl] (catalina-exec-8:null) User admin is disabled/locked
2014-01-29 09:10:10,533 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-8:null) User: admin in domain 1 has failed to log in
2014-01-29 09:10:10,565 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null) ===END===  10.67.15.188 -- POST  
 

 


Yongjun Tan MEMBERS
8 0
Pankaj Paliwal
How to access CloudPlatform via HTTP API?
Avatar

How to access CloudPlatform via HTTP API?

I am tring to get some data from CloudPlatform via HTTP API.

 

I have some questions:

 

1. signature method is same as CPBM BSS API? If not, what is the difference?

 

2. Is it correct get API key and secret_key from cloud.user that username is "admin-api"

 

3. If 2 is right, how to convert the secret_key?

 

 

 

Thanks in advance!


Yongjun Tan MEMBERS
1 0
Filipe Santos
CloudPlataform License

Hi,

 

I recently downloaded and installed cloudplataform 4.2.1 and i checked install documentation and software and nothing about licenses or something like this.

 

i can use it normally?


8 0
Pankaj Paliwal
Setting a lease period for a vm
Avatar

Setting a lease period for a vm

Hello ,

 

I need to set a lease time for a virtual instance and this instance should get deleted post the lease time period.

 

Is there a way i can achieve this. 

 

Thank you for your help.

 

Best Regards

 

Faustina


Faustina Glory MEMBERS
2 0
Pankaj Paliwal
windows 2008 r2 template
Avatar

windows 2008 r2 template

i just followed the instruction on how to create a windows template  https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Admin_Guide/create-windows-template.html

 

but after the sysprep i am clueless whats the next step? thanks


aristotle ahito MEMBERS
1 0
 

Top Contributors