RE: Resize Primary Storage

2013-07-01 Thread Prashanth Reddy Mandadi
Can you do 

#Xe sr-list params=all name-description=200

On one of the Xenserver connected to this storage pool?

-Prashanth

-Original Message-
From: iliyas shirol [mailto:iliyas.shi...@gmail.com] 
Sent: Tuesday, July 02, 2013 8:02 AM
To: users@cloudstack.apache.org
Subject: Re: Resize Primary Storage

No. Its not updated. Please find the details as below,

mysql> select * from op_host_capacity where host_id = '200';
++-++++---+---++---++-+-+
| id | host_id | data_center_id | pod_id | cluster_id | used_capacity |
reserved_capacity | total_capacity | capacity_type | capacity_state |
update_time | created |
++-++++---+---++---++-+-+
|  3 | 200 |  1 |  1 |  1 |  184863948800 |
0 |   536858329088 | 3 | Enabled|
2013-07-01 20:55:02 | 2013-06-27 15:24:22 |
++-++++---+---++---++-+-+
1 row in set (0.00 sec)

mysql> select * from storage_pool where id = '200';
+-+-+-+---+--++++-++--+---+--+-+-+-++-+---+

| id  | name| uuid| pool_type | port | data_center_id |
pod_id | cluster_id | available_bytes | capacity_bytes | host_address |
user_info | path | created | removed | update_time |
status | storage_provider_id | scope |
+-+-+-+---+--++++-++--+---+--+-+-+-++-+---+

| 200 | vol_500g_hp | vol_500g_hp | PreSetup  |0 |  1 |
 1 |  1 |346688585728 |   536858329088 | localhost| NULL
   | /vol_500g_hp | 2013-06-27 15:24:22 | NULL| NULL| Up |
   NULL | NULL  |
+-+-+-+---+--++++-++--+---+--+-+-+-++-+---+

1 row in set (0.00 sec)

It should be 1TB approx.


On Tue, Jul 2, 2013 at 1:18 AM, Prashanth Reddy Mandadi < 
prashanthreddy.mand...@citrix.com> wrote:

> AFAIK the capacity checker thread will update the op_host_capacity.
>
> Can you quickly check if the op_host_capacity is updated for the 
> storage pool with the current size?
>
> Select * from op_host_capacity where host_id=#;
>
> The new size may not reflected in storage_pool table, can you also do
>
> Select * from storage_pool where id=#;
>
> -Prashanth
>
>
> -Original Message-
> From: iliyas shirol [mailto:iliyas.shi...@gmail.com]
> Sent: Tuesday, July 02, 2013 12:07 AM
> To: users@cloudstack.apache.org
> Subject: Re: Resize Primary Storage
>
> No luck.
>
> Btw, I'm using Apache CloudStack 4.1 and XenServer 6.1.
>
>
> On Mon, Jul 1, 2013 at 8:48 PM, Prashanth Reddy Mandadi < 
> prashanthreddy.mand...@citrix.com> wrote:
>
> > Try to unmanage the cluster from CloudStack UI and Manage it back.
> >
> > -Prashanth
> >
> > -Original Message-
> > From: iliyas shirol [mailto:iliyas.shi...@gmail.com]
> > Sent: Monday, July 01, 2013 2:53 PM
> > To: users@cloudstack.apache.org
> > Subject: Reg: Resize Primary Storage
> >
> > Greetings !
> >
> >
> > We are using a Primary storage of 1TB from iSCSI SAN. We increased 
> > the size of the assigned LUN to 2TB which is getting reflected at 
> > the hypervisros after a refresh by iscsiadm.
> >
> > What is the way in which we can refresh the metadata of CloudStack ?
> > Couple of folks on the forums suggest to modify the entries in 
> > storage_pool and op_host_Capacity tables. Is this the only availble way ?
> >
> > Thanks.
> >
> > --
> > Iliyas
> >
>



--
-
Md. Iliyas Shirol
Mobile : +91 9902 977 800
Google : iliyas.shirol@ gmail.com


Enable HTTPS for CloudStack Web Interface

2013-07-01 Thread CSG - Ashley Lester
Hello,

Is anybody able to advise if this is valid for CS 4.02. or a suggestion to get 
https working ?  http://support.citrix.com/article/CTX132008

Best Regards,
Ashley Lester



Re: Resize Primary Storage

2013-07-01 Thread iliyas shirol
No. Its not updated. Please find the details as below,

mysql> select * from op_host_capacity where host_id = '200';
++-++++---+---++---++-+-+
| id | host_id | data_center_id | pod_id | cluster_id | used_capacity |
reserved_capacity | total_capacity | capacity_type | capacity_state |
update_time | created |
++-++++---+---++---++-+-+
|  3 | 200 |  1 |  1 |  1 |  184863948800 |
0 |   536858329088 | 3 | Enabled|
2013-07-01 20:55:02 | 2013-06-27 15:24:22 |
++-++++---+---++---++-+-+
1 row in set (0.00 sec)

mysql> select * from storage_pool where id = '200';
+-+-+-+---+--++++-++--+---+--+-+-+-++-+---+
| id  | name| uuid| pool_type | port | data_center_id |
pod_id | cluster_id | available_bytes | capacity_bytes | host_address |
user_info | path | created | removed | update_time |
status | storage_provider_id | scope |
+-+-+-+---+--++++-++--+---+--+-+-+-++-+---+
| 200 | vol_500g_hp | vol_500g_hp | PreSetup  |0 |  1 |
 1 |  1 |346688585728 |   536858329088 | localhost| NULL
   | /vol_500g_hp | 2013-06-27 15:24:22 | NULL| NULL| Up |
   NULL | NULL  |
+-+-+-+---+--++++-++--+---+--+-+-+-++-+---+
1 row in set (0.00 sec)

It should be 1TB approx.


On Tue, Jul 2, 2013 at 1:18 AM, Prashanth Reddy Mandadi <
prashanthreddy.mand...@citrix.com> wrote:

> AFAIK the capacity checker thread will update the op_host_capacity.
>
> Can you quickly check if the op_host_capacity is updated for the storage
> pool with the current size?
>
> Select * from op_host_capacity where host_id=#;
>
> The new size may not reflected in storage_pool table, can you also do
>
> Select * from storage_pool where id=#;
>
> -Prashanth
>
>
> -Original Message-
> From: iliyas shirol [mailto:iliyas.shi...@gmail.com]
> Sent: Tuesday, July 02, 2013 12:07 AM
> To: users@cloudstack.apache.org
> Subject: Re: Resize Primary Storage
>
> No luck.
>
> Btw, I'm using Apache CloudStack 4.1 and XenServer 6.1.
>
>
> On Mon, Jul 1, 2013 at 8:48 PM, Prashanth Reddy Mandadi <
> prashanthreddy.mand...@citrix.com> wrote:
>
> > Try to unmanage the cluster from CloudStack UI and Manage it back.
> >
> > -Prashanth
> >
> > -Original Message-
> > From: iliyas shirol [mailto:iliyas.shi...@gmail.com]
> > Sent: Monday, July 01, 2013 2:53 PM
> > To: users@cloudstack.apache.org
> > Subject: Reg: Resize Primary Storage
> >
> > Greetings !
> >
> >
> > We are using a Primary storage of 1TB from iSCSI SAN. We increased the
> > size of the assigned LUN to 2TB which is getting reflected at the
> > hypervisros after a refresh by iscsiadm.
> >
> > What is the way in which we can refresh the metadata of CloudStack ?
> > Couple of folks on the forums suggest to modify the entries in
> > storage_pool and op_host_Capacity tables. Is this the only availble way ?
> >
> > Thanks.
> >
> > --
> > Iliyas
> >
>



-- 
-
Md. Iliyas Shirol
Mobile : +91 9902 977 800
Google : iliyas.shirol@ gmail.com


Re: CloudStack 4.1 Baremetal Provisioning

2013-07-01 Thread Chip Childers
It's disabled in 4.1, but scheduled to be part of 4.2.

On Monday, July 1, 2013, Jake G. wrote:

> Hi all,
>
> I have read this is a feature in CS. Can anyone provide a link on how to
> set this function up?
> I found this link but seems a bit old->
> https://cwiki.apache.org/CLOUDSTACK/cloudstack-baremetal.html
>
>
> Thank you!
> Jake


CloudStack 4.1 Baremetal Provisioning

2013-07-01 Thread Jake G.
Hi all, 

I have read this is a feature in CS. Can anyone provide a link on how to set 
this function up?
I found this link but seems a bit old-> 
https://cwiki.apache.org/CLOUDSTACK/cloudstack-baremetal.html


Thank you!
Jake

host's cpu utilization is disappear

2013-07-01 Thread Tanasak Janpan
Hello,

I have installed cloudstack version 4.0.2, everything was seem to be ok.
however when I wanted to know host's CPU utilization, there was always blank
I tried to retrieve "cpuused" by API, until now I never see that result.

{"id":"278aec06-cb72-453d-8e2e-c3dc84ea87f8","name":"khonmek-10","state":"Up","disconnected":"2013-06-19T11:37:47+0900","type":"Routing","ipaddress":"192.168.20.10","zoneid":"b57f6c55-32b3-4b34-bdc5-dfb619a5a427","zonename":"bzone","podid":"1c2bf974-c5eb-4a09-973a-cd2f388dd20c","podname":"bpod","version":"4.0.2.20130501180711","hypervisor":"KVM","cpunumber":8,"cpuspeed":3326,"cpuallocated":"3.76%","cpuwithoverprovisioning":"26608.0","memorytotal":50634014720,"memoryallocated":1610612736,"capabilities":"hvm,snapshot","lastpinged":"1970-01-16T21:04:33+0900","managementserverid":133832192856,"clusterid":"cd2950ce-472e-41e6-8d7e-4880e6c87f04","clustername":"bcluster","clustertype":"CloudManaged","islocalstorageactive":false,"created":"2013-06-07T11:57:22+0900","events":"HostDown;
Remove; ManagementServerDown; ShutdownRequested; AgentConnected;
PingTimeout; Ping; StartAgentRebalance;
AgentDisconnected","hosttags":"undefined","suitableformigration":false,"resourcestate":"Enabled","hahost":false}

How can I fix this?

Thank you,
Tanasak


DevCloud2 problem

2013-07-01 Thread CK
I’m having some problems deploying DevCloud2 and wonder if you could help
please. I would like to build the Cloudstack source in DevCloud2 and run
everything from within the DevCloud2 VM. So far I have done the following,
any idea what can be causing the PermGen error at the end:**

 1.   Downloaded and imported the DevCloud2 image into VirtualBox –
ensured network settings were correct etc.

**

2.   Used PuTTY to SSH to the machine at 192.168.56.10 and logged in
with root and password for username and password

3.   cd to /opt/cloudstack

4.   git cloned into the source code for apache-cloudstack-4.1.0-src**

5.   once that had completed I cd’d to the
apache-cloudstack-4.1.0-src directory

6.   Ran mvn clean install –P developer,systemvm

7.   Changed the host value in devcloud.sql to 192.168.56.10 as I want
everything to run inside this one VM

8.   Ran mvn –pl developer,tools/devloud –Deploydb –P developer

9. Ran mvn -pl :cloud-client-ui jetty:run
I get the following messages:
...
INFO  [cloud.server.ManagementServerImpl] (Timer-2:) Startup CloudStack
management server...
INFO  [cloud.cluster.ClusterServiceServletContainer] (Thread-16:) Cluster
service servlet container listening on port 9090
INFO  [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:) We are
good, no orphan management server msid in host table is found
INFO  [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:) No inactive
management server node found
WARN  [cloud.cluster.ClusterManagerImpl] (Cluster-Notification-1:)
Notifying management server join event took 20 ms

Then when I browse from my laptop: http://192.168.56.10:8080/client/ I get
the following PermGen error in the browser:

HTTP ERROR 500

Problem accessing /client/. Reason:

PermGen space

Caused by:

java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:386)
at 
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
at 
org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:143)
at 
org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:292)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:315)
at 
org.apache.jasper.compiler.JDTJavaCompiler.compile(JDTJavaCompiler.java:503)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:368)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:437)
at 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:608)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:360)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
at 
org.mortbay.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:503)


On the console:

2013-07-02 00:28:49.869:WARN::/client/
java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.UR

RE: Resize Primary Storage

2013-07-01 Thread Prashanth Reddy Mandadi
AFAIK the capacity checker thread will update the op_host_capacity.

Can you quickly check if the op_host_capacity is updated for the storage pool 
with the current size?

Select * from op_host_capacity where host_id=#;

The new size may not reflected in storage_pool table, can you also do 

Select * from storage_pool where id=#;

-Prashanth


-Original Message-
From: iliyas shirol [mailto:iliyas.shi...@gmail.com] 
Sent: Tuesday, July 02, 2013 12:07 AM
To: users@cloudstack.apache.org
Subject: Re: Resize Primary Storage

No luck.

Btw, I'm using Apache CloudStack 4.1 and XenServer 6.1.


On Mon, Jul 1, 2013 at 8:48 PM, Prashanth Reddy Mandadi < 
prashanthreddy.mand...@citrix.com> wrote:

> Try to unmanage the cluster from CloudStack UI and Manage it back.
>
> -Prashanth
>
> -Original Message-
> From: iliyas shirol [mailto:iliyas.shi...@gmail.com]
> Sent: Monday, July 01, 2013 2:53 PM
> To: users@cloudstack.apache.org
> Subject: Reg: Resize Primary Storage
>
> Greetings !
>
>
> We are using a Primary storage of 1TB from iSCSI SAN. We increased the 
> size of the assigned LUN to 2TB which is getting reflected at the 
> hypervisros after a refresh by iscsiadm.
>
> What is the way in which we can refresh the metadata of CloudStack ?
> Couple of folks on the forums suggest to modify the entries in 
> storage_pool and op_host_Capacity tables. Is this the only availble way ?
>
> Thanks.
>
> --
> Iliyas
>


Re: Resize Primary Storage

2013-07-01 Thread iliyas shirol
No luck.

Btw, I'm using Apache CloudStack 4.1 and XenServer 6.1.


On Mon, Jul 1, 2013 at 8:48 PM, Prashanth Reddy Mandadi <
prashanthreddy.mand...@citrix.com> wrote:

> Try to unmanage the cluster from CloudStack UI and Manage it back.
>
> -Prashanth
>
> -Original Message-
> From: iliyas shirol [mailto:iliyas.shi...@gmail.com]
> Sent: Monday, July 01, 2013 2:53 PM
> To: users@cloudstack.apache.org
> Subject: Reg: Resize Primary Storage
>
> Greetings !
>
>
> We are using a Primary storage of 1TB from iSCSI SAN. We increased the
> size of the assigned LUN to 2TB which is getting reflected at the
> hypervisros after a refresh by iscsiadm.
>
> What is the way in which we can refresh the metadata of CloudStack ?
> Couple of folks on the forums suggest to modify the entries in storage_pool
> and op_host_Capacity tables. Is this the only availble way ?
>
> Thanks.
>
> --
> Iliyas
>


looking for an open stack author

2013-07-01 Thread Jens-Christoph Brendel
Hello all,

free cloud stacks (Cloud Stack, Open Nebula, Eucalyptus, Open Stack) are
the focal point of the upcoming  ADMIN-Magazin (http://admin-magazin.de)
issue 5/13. We are planning one article about each project. In the
moment we are looking for an author who could explain Cloud Stack. His
article should answer questions like:

- What is Cloud Stack (history, status quo, future)?
- What are the main features?
- What is the 'unique selling point'? Why should I choose cloud stack?
- What discriminates Cloud Stack from the other projects?
- If possible: experience gained in Cloud Stack projects

Is there anybody out there who could help? We have six weeks from now on
to finish the article (but earlier would be better). We would pay 80
Euro per printed page. You could write in english or german. 

If you are interested, please contact me: j...@admin-magazin.de.

-- 

= Chefredakteur/Editor-in-Chief  ADMIN-Magazin  =
Medialinx AG|Phone:  +49 89 9934 1146
Putzbrunner Str. 71 |Fax:+49 89 9934 1199
81739 München, Germany  |Mobile: +49 163 356 2561   

j...@admin-magazin.de- http://www.admin-magazin.de

Medialinx AG  
München - Lawrence, KS - Málaga -   
Manchester - São Paulo - Warszawa

Vorstand: Brian Osborn,Hermann Plank
Aufsichtsratsvorsitzender: Rudolf Strobl



RE: Installation_Guide : Openvswitch

2013-07-01 Thread Hugo Trippaers


> 
> On Mon, Jul 01, 2013 at 11:44:41AM +0200, Olivier Desport wrote:
> > Hello,
> >
> > I've followed the 8.1 section to install a host on a KVM VM for tests.
> > I've choosen to use Openswitch.
> >
> > I installed Openvstwich 1.10 with this guide :
> > http://n40lab.wordpress.com/2013/06/03/centos-6-4-openvswitch-installa
> > tion/ I disabled the bridge module in /etc/modprobe.d/dist.conf :
> > alias bridge off
> >
> > The ovs-vsctl commands seem to be ok but when I restart network or
> > reboot the machine, mounting cloudbr* interfaces fails. I don't see
> > anything in the logs.

Did you create the bridges using the ovs-vsctl commands or the redhat 
initscripts as well?

You can check if they exists by using the "ovs-vsctl list-br" command. If that 
doesn't list the bridges then you need to create them. Can you post the output 
of "ovs-vsctl list port"?


> >
> > Any idea ?
> >





Re: Installation_Guide : Openvswitch

2013-07-01 Thread Chip Childers
Hey Hugo,

Any thoughts?

On Mon, Jul 01, 2013 at 11:44:41AM +0200, Olivier Desport wrote:
> Hello,
> 
> I've followed the 8.1 section to install a host on a KVM VM for
> tests. I've choosen to use Openswitch.
> 
> I installed Openvstwich 1.10 with this guide : 
> http://n40lab.wordpress.com/2013/06/03/centos-6-4-openvswitch-installation/
> I disabled the bridge module in /etc/modprobe.d/dist.conf : alias bridge off
> 
> The ovs-vsctl commands seem to be ok but when I restart network or
> reboot the machine, mounting cloudbr* interfaces fails. I don't see
> anything in the logs.
> 
> Any idea ?
> 
> 
> 
> -- 
> 
> 
> 


Re: Template incorrectly reports HUGE size

2013-07-01 Thread Chip Childers
On Fri, Jun 21, 2013 at 04:03:26PM -0400, j...@millican.us wrote:
> Hello,
> I have a shiny new cloudstack install and have just uploaded an
> Ubuntu template to it.  The template was created as a qcow2 KVM VM
> on a vanilla Ubuntu 13.04 (Linux alpha 3.8.0-23-generic #34-Ubuntu
> SMP Wed May 29 20:22:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux).  I
> built it wil an 8GB disk size but in cloudstack templates view it is
> showing as 755.64TB, just a bit bigger than the original 8GB. I did
> not gzip the VM when I uploaded it. Any thoughts on what to look at
> to see why this is happening?
> CloudStack environment is all Ubuntu 12.04.2(Linux charon
> 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC
> 2013 x86_64 x86_64 x86_64 GNU/Linux) with NFS for storage.
> Thanks,
> JohnM
>

Have you opened a bug about this (or looked to see if we happen to
already have one)?


Re: Console Proxy SSL

2013-07-01 Thread Chip Childers
On Fri, Jun 21, 2013 at 09:49:42AM -0400, Billy Ramsay wrote:
> Thanks for catching that!
> 
> Is there anyway to get around the API call for this? During my research on
> this issue, I found a few references to folks who had inserted the certs
> directly into the database, bypassing the API when they could not get it to
> work. Is this feasible? I was hoping to use 4.1.0 for an impending
> deployment next week, and this is the last roadblock.
> 
> Thanks again!
> 
> -WPR

It's feasible, but not particularly easy to get the formatting right.  I
suggest playing with it a bit, and before you do so...  check the
formatting of the rows in the table before you change them.

> 
> -Original Message-
> From: Pranav Saxena [mailto:pranav.sax...@citrix.com] 
> Sent: Friday, June 21, 2013 9:41 AM
> To: users@cloudstack.apache.org
> Subject: RE: Console Proxy SSL
> 
> You are getting a NPE in your management server logs -
> /***
> 
> 
> Unexpected exception while executing
> org.apache.cloudstack.api.command.admin.resource.UploadCustomCertificateCmd
> java.lang.NullPointerException
> at
> com.cloud.server.ManagementServerImpl.uploadCertificate(ManagementServerImpl
> .java:2818)
> 
> 
> /
> 
> Perhaps you should raise a bug in this case. 
> 
> Thanks,
> Pranav
> 
> -Original Message-
> From: Billy Ramsay [mailto:bram...@dynamicquest.com]
> Sent: Friday, June 21, 2013 7:07 PM
> To: users@cloudstack.apache.org
> Subject: RE: Console Proxy SSL
> 
> >> Greetings,
> >> 
> >> We just completed a clean install of 4.1.0. I was able to 
> >> successfully upload a custom certificate for use by the console proxy 
> >> machines in our old
> >> 4.0.1 environment, but now I cannot get it to work for the life of me 
> >> in 4.1.0.
> >> 
> >> The UI just says "failed to update", as usual. I also tried to upload 
> >> via API, and the error I get is below:
> >> 
> >> errorcode = 530
> >> errortext = Command failed due to Internal Server Error
> >> 
> >> I have confirmed that the certificate and key are in the proper 
> >> format, as was used in our 4.0.1 environment.
> >> 
> >> Thanks in advance for any light you can shed on this!
> >> 
> >> -WPR
> >> 
> >> 
> >> 
> >
> >What do you see in the management server logs and / or API logs during 
> >the
> upload process?
> 
> Absolutely nothing in either when I do it from the UI. I did a tail -f on
> one monitor while I tried to upload via the UI on another.
> 
> When I do it from cloudmonkey I get the output at the bottom (sanitized,
> including cert).
> 
> Thanks for looking into this!
> 
> 
> API log:
> 
> 2013-06-21 09:22:27,560 INFO  [cloud.api.ApiServer] (catalina-exec-21:null)
> (userId=2 accountId=2 sessionId=null) 74.122.165.7 -- GET
> apiKey=x&certifi
> cate=-BEGIN+CERTIFICATE-%5CnMIIC5zCCAlACAQEwDQYJKoZIhvcNAQEFBQAwgbsx
> JDAiBgNVBAcTG1ZhbGlDZXJ0%5CnIFZhbGlkYXRpb24gTmV0d29yazEXMBUGA1UEChMOVmFsaUNl
> cnQsIEluYy4xNTAz%5CnBgNVBAsTLFZhbGlDZXJ0IENsYXNzIDIgUG9saWN5IFZhbGlkYXRpb24g
> QXV0aG9y%5CnaXR5MSvd3d3LnZhbGljZXJ0LmNvbS8xIDAeBgkqhkiG%
> 5Cn9w0BCQEWEWlusrtjrjrsthjsrthrthrth4XDTk5MDYyNjAwMTk1NFoXDTE5MDYy%5CnNjAwMT
> k1NFowgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0IFZhbGlkYXRpb24gTmV0d29y%5CnazEXMBUGA1UECh
> MOVmFsaUNlcnQsIEluYy4xNTAzBgNVBAsTLFZhbGlDZXJ0IENs%5CnYXNzIDIgUG9sarjrtjhrst
> hrsthsrtjhrsthaXR5MSEwHwYDVQQDExhodHRw%5CnOi8vd3d3LnZhbGljZXJ0LmNvbS8xIDAeBg
> kqhkiG9w0BCQEWEWluZm9AdmFsaWNl%5CncnQuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQ
> KBgQDOOnHK5avIWZJV16vY%5CndA757tn2VUdZZUsrthsrthsrthsrthsrthsthUGJ7SVCCSRrCl
> 6zfN1SLUzm1NZ9%5CnWlmpZdRJEy0kTRxQb7XBhVQ7%2FnHk01xC%2BYDgkRoKWzk2Z%2FM%2FVX
> wbP7RfZHM047QS%5Cnv4dk%2BNoS%2FzcnwbNDu%2B97bi5p9wIDAQABMA0GCSqGSIb3DQEBBQUA
> A4GBADt%2FUG9v%5CnUJSZSWI4OB9L%2BKXIPqeCgfYrx%2BjFzug6EILLGACOTb2oWH%2BheQC1
> u%2BmNr0HZDzTu%5CnIYEZoDJJKPTEjlbVUjP9UNV%2BmWwD5MlM%2FMtsq2azSiGM5bUMMj4Qss
> xsodyamEwC%5CnW%2FPOuZ6lcg5Ktz885hZo%2BL7tdEy8W9ViH0Pd%5Cn-END+CERTIFICA
> TE-&command=uploadCustomCertificate&domainsuffix=domain.com&id=1&name=ro
> ot&response=json&signature=CTlxx0YM%2FwfxPTR%2Fxx0%3D 200 {
> "uploadcustomcertificateresponse" :
> {"jobid":"5c293efd-dd23-4766-8e96-4a03e6a5f29e"} }
> 2013-06-21 09:22:29,613 INFO  [cloud.api.ApiServer] (catalina-exec-19:null)
> (userId=2 accountId=2 sessionId=null) 74.122.165.7 -- GET
> apiKey=&command=quer
> yAsyncJobResult&jobid=5c293efd-dd23-4766-8e96-4a03e6a5f29e&response=json&sig
> nature=YcxqT%2BmxxtqjMDyww%3D 200 {
> "queryasyncjobresultresponse" :
> {"accountid":"92562526-d9a9-11e2-a93b-b6bd483074cc","userid":"9256e632-d9a9-
> 11e2-a93b-b6bd483074cc","cmd":"org.apache.cloudstack.api.command.admin.resou
> rce.UploadCustomCertificateCmd","jobstatus":

Re: vRam and Graphics Acceleration

2013-07-01 Thread Chip Childers
On Thu, Jun 20, 2013 at 03:45:53PM -0400, David Ortiz wrote:
> Hello,
>  Is there any mechanism in cloudstack to modify vRam settings and enable 
> 3d graphics acceleration?  We are trying to troubleshoot some graphics bugs 
> with a guest VM, and have found how to adjust these settings in libvirt, but 
> I have not found any documentation on how to access them through cloudstack, 
> which is where the change needs to happen since the libvirt file will get 
> changed on vm restart.
> Thanks, David Ortiz

I may be wrong, but I don't believe that it's available at the moment.


RE: Resize Primary Storage

2013-07-01 Thread Prashanth Reddy Mandadi
Try to unmanage the cluster from CloudStack UI and Manage it back.

-Prashanth

-Original Message-
From: iliyas shirol [mailto:iliyas.shi...@gmail.com] 
Sent: Monday, July 01, 2013 2:53 PM
To: users@cloudstack.apache.org
Subject: Reg: Resize Primary Storage

Greetings !


We are using a Primary storage of 1TB from iSCSI SAN. We increased the size of 
the assigned LUN to 2TB which is getting reflected at the hypervisros after a 
refresh by iscsiadm.

What is the way in which we can refresh the metadata of CloudStack ? Couple of 
folks on the forums suggest to modify the entries in storage_pool and 
op_host_Capacity tables. Is this the only availble way ?

Thanks.

--
Iliyas


Re: 404 error when downloading template.

2013-07-01 Thread Alex Yang
Hi, Prasanna
Maybe you should set the *secstorage.allowed.internal.sites *in global
configurations.

在 2013年7月1日星期一,Prasanna Santhanam 写道:

> On Mon, Jul 01, 2013 at 01:46:12PM +0800, WXR wrote:
> > cloudstack version: 4.1
> >
> > When I download a template and click the URL generated by
> > cloudstack,it will return a 404 error:
> >
> > Not Found
> >
> > The requested URL /userdata/1f52a1bd-2fae-459f-8b6e-1ab2d1556bf5.qcow2
> was not found on this server.
> > I just created the template serveral minutes ago.
>
> Can you login to the systemVM and check the location under
> /var/www/html? Do you see a symlink there pointing to the path you've
> pasted above? Is the path mapping to a valid target on your secondary
> storage?
>
> See here for how to login to the SSVM:
> https://cwiki.apache.org/confluence/x/5wLMAQ
>
> --
> Prasanna.,
>
> 
> Powered by BigRock.com
>
>

-- 
  杨雨
  Email:   alex890...@gmail.com
GitHub:   https://github.com/AlexYangYu
Blog:http://alexyang.sinaapp.com
 Weibo:   http://www.weibo.com/alexyangyu


Installation_Guide : Openvswitch

2013-07-01 Thread Olivier Desport

Hello,

I've followed the 8.1 section to install a host on a KVM VM for tests. 
I've choosen to use Openswitch.


I installed Openvstwich 1.10 with this guide : 
http://n40lab.wordpress.com/2013/06/03/centos-6-4-openvswitch-installation/

I disabled the bridge module in /etc/modprobe.d/dist.conf : alias bridge off

The ovs-vsctl commands seem to be ok but when I restart network or 
reboot the machine, mounting cloudbr* interfaces fails. I don't see 
anything in the logs.


Any idea ?



--





Reg: Resize Primary Storage

2013-07-01 Thread iliyas shirol
Greetings !


We are using a Primary storage of 1TB from iSCSI SAN. We increased the size
of the assigned LUN to 2TB which is getting reflected at the hypervisros
after a refresh by iscsiadm.

What is the way in which we can refresh the metadata of CloudStack ? Couple
of folks on the forums suggest to modify the entries in storage_pool and
op_host_Capacity tables. Is this the only availble way ?

Thanks.

-- 
Iliyas


RE: 4.02 to 4.1 ZenServer 6.02 to 6.1

2013-07-01 Thread Geoff Higginbottom
I have upgraded a system from 4.0.2 to 4.1 without any issues.

Whilst I have not upgraded XenServer from 6.02 to 6.1 in a live deployment, I 
can confirm that 4.1 does support XenServer 6.1 and I have built both Advanced 
and Basic with Security Groups using XenServer 6.1

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Sebastien Goasguen [mailto:run...@gmail.com]
Sent: 01 July 2013 10:09
To: users@cloudstack.apache.org
Subject: Re: 4.02 to 4.1 ZenServer 6.02 to 6.1

On 6/29/13 4:03 AM, CSG - Ashley Lester wrote:
> Hello,
>
> I about to upgrade our pre production cloudstack from CS 4.02 to 4.1 and 
> Citrix XenServer 6.02 to 6.1.
>
> I would like to hear from anyone who has done this upgrade path and can 
> anyone share some info.
>
> The upgrade instructions are pretty good for the CloudStack side of things in 
> the  4.1 release notes but the upgrade for the ZenServer doesn't seem to 
> exist specificly to these versions in the install guide.
>
> The install guide for 4.1 still says that only 6.02 is supported but the 
> release notes say 6.1 ? I assume from what ive read XenServer 6.1 is now 
> supported ?
>
>
I believe so yes, could you file a documentation bug so that we correct this ?
https://issues.apache.org/jira/browse/CLOUDSTACK

> My plan is to upgrade CS to 4.1 then upgrade the ZenServers to 6.1 the
> only info I can find is the link below on the XenServer side of things
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/I
> nstallation_Guide/citrix-xenserver-installation.html#xenserver-version
> -upgrading
>
> Is this still valid for 6.02 to 6.1 ?
>

The best people to answer this one would be the xenserver folks, try their IRC 
channels.

thanks,

-sebastien

> Ashley
>
>
>


This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



Re: 4.02 to 4.1 ZenServer 6.02 to 6.1

2013-07-01 Thread Sebastien Goasguen

On 6/29/13 4:03 AM, CSG - Ashley Lester wrote:

Hello,

I about to upgrade our pre production cloudstack from CS 4.02 to 4.1 and Citrix 
XenServer 6.02 to 6.1.

I would like to hear from anyone who has done this upgrade path and can anyone 
share some info.

The upgrade instructions are pretty good for the CloudStack side of things in 
the  4.1 release notes but the upgrade for the ZenServer doesn't seem to exist 
specificly to these versions in the install guide.

The install guide for 4.1 still says that only 6.02 is supported but the 
release notes say 6.1 ? I assume from what ive read XenServer 6.1 is now 
supported ?

   
I believe so yes, could you file a documentation bug so that we correct 
this ?

https://issues.apache.org/jira/browse/CLOUDSTACK


My plan is to upgrade CS to 4.1 then upgrade the ZenServers to 6.1 the only 
info I can find is the link below on the XenServer side of things
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Installation_Guide/citrix-xenserver-installation.html#xenserver-version-upgrading

Is this still valid for 6.02 to 6.1 ?
   


The best people to answer this one would be the xenserver folks, try 
their IRC channels.


thanks,

-sebastien


Ashley


   




Re: cloudstack RPM repoisitory

2013-07-01 Thread Sebastien Goasguen

On 7/1/13 6:50 AM, Chitra Manjunath wrote:

Hi All,

I downloaded the all rpm packages from the download page. No need to build the 
RPM repository and I can directly start configuring the RPM packages right, if 
I'm wrong please correct me.
   


It seems right. If you use the community run repositories, you don't 
need to build your own RPMs.



Thanks&  Regards
Chitra. M

 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are 
not
to copy, disclose, or distribute this e-mail or its contents to any other 
person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has 
taken
every reasonable precaution to minimize this risk, but is not liable for any 
damage
you may sustain as a result of any virus in this e-mail. You should carry out 
your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this 
e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***

   




Re: How to use the basic guest network without any security group?

2013-07-01 Thread Nux!

On 01.07.2013 09:32, WXR wrote:

If I add a basic zone with security group,all ingress traffics will
be blocked by default.So I need to add the rules to let the vm be
accessed.
But if I add a basic zone without any security group,all ingress
traffics are still be blocked by default.How can I let it be accessed?
I think a guest network without any security group should be accessed
directly,should not be blocked by default.


I think it should be blocked by default and apparently so do the devs, 
but it's trivial to change that.
Go to Network and select "Select View: Security groups", then Add an 
ingress rules, from port 0 to port 65535 for CIDR 0.0.0.0/0, for both 
TCP and UDP. If you also want "ping" enabled add another rule of type 
ICMP from port -1 to -1 for 0.0.0.0/0.

Security Groups are very nifty thing to have.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


How to use the basic guest network without any security group?

2013-07-01 Thread WXR
If I add a basic zone with security group,all ingress traffics will be blocked 
by default.So I need to add the rules to let the vm be accessed.
But if I add a basic zone without any security group,all ingress traffics are 
still be blocked by default.How can I let it be accessed?
I think a guest network without any security group should be accessed 
directly,should not be blocked by default.

Re: Error While Decrypting on Create volume from snapshot

2013-07-01 Thread Sebastien Goasguen

On Jun 26, 2013, at 5:55 PM, John Skinner  wrote:

> I am running CS 3.0.2 and I am running into an issue when trying to create a 
> new volume from a snapshot, I instantly get an error like this:
> 

Can you run 4.0.2 or 4.1.0 instead ? 3.0.2 is over a year old now.

-sebastien

> 2013-06-26 16:47:38,637 DEBUG [cloud.async.AsyncJobManagerImpl] 
> (Job-Executor-67:job-110824) Executing com.cloud.api.commands.CreateVolumeCmd 
> for job-110824
> 2013-06-26 16:47:38,637 DEBUG [cloud.async.AsyncJobManagerImpl] 
> (TP-Processor19:null) submit async job-110824, details: AsyncJobVO 
> {id:110824, userId: 56, accountId: 48, sessionKey: null, instanceType: 
> Volume, instanceId: 11859, cmd: com.cloud.api.commands.CreateVolumeCmd, 
> cmdOriginator: null, cmdInfo: 
> {"id":"11859","response":"json","sessionkey":"Foq7QELfzXb/duC+sVGPXCa5Z90\u003d","ctxUserId":"56","snapshotid":"22910","name":"testing1","_":"1372283258551","ctxAccountId":"48","ctxStartEventId":"809567"},
>  cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, 
> processStatus: 0, resultCode: 0, result: null, initMsid: 139532853012501, 
> completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
> 2013-06-26 16:47:38,668 DEBUG [utils.crypt.DBEncryptionUtil] 
> (Job-Executor-67:job-110824) Error while decrypting: d2eac12f459fc802
> 2013-06-26 16:47:38,685 ERROR [cloud.api.ApiDispatcher] 
> (Job-Executor-67:job-110824) Exception while executing CreateVolumeCmd:
> 2013-06-26 16:47:38,686 DEBUG [cloud.async.AsyncJobManagerImpl] 
> (Job-Executor-67:job-110824) Complete async job-110824, jobStatus: 2, 
> resultCode: 530, result: com.cloud.api.response.ExceptionResponse@1133daea
> 
> Error while decrypting.. I am not sure why I am getting this error. I have 
> tested this on 2 separate accounts. This environment was previously running 
> on 2.2.14 and then was upgraded to 3.0.2. 
> 
> With the same account I am able to create new VMs, acquire IP addresses, and 
> create new volumes just fine.
> 
> Any ideas?
> 
> 
> 
>