Re: building CS with vmware generates errors

2014-11-18 Thread Alireza Eskandari
I found the solution!I use vim25.jar file that exist in 
"https://my.vmware.com/group/vmware/get-download?downloadGroup=VSP510-WEBSDK-510"Using
 "http://zooi.widodh.nl/cloudstack/build-dep/vmware-vim25.jar"; makes errors.  

RE: To let SSVM reach outside network.

2014-11-18 Thread Vadim Kimlaychuk
Dan,

I would suggest you to use external proxy/GW to hide you network. Not the same 
host that contains management server. Because if you would like to scale it up 
- how do you do it?? Management server should be rather simple component of 
infrastructure and to put more functions on it is a bad idea.

Anyway 
1. what does "route -n" says on your SSVM ??  
2. If you use KVM your bridges tag the traffic. Are you sure that it is 
properly handled on your switch?? Run "arp -a" at your SSVM and see if VM 
"knowns" MAC of the gateway. 

I do expect you put the output of route and arp here otherwise we will continue 
guessing.

It would be even better if you describe your network layout like on the first 
picture here: 
http://cloudstack-administration.readthedocs.org/en/latest/networking_and_traffic.html

Vadim.

-Original Message-
From: Dan Dong [mailto:dongda...@gmail.com] 
Sent: Tuesday, November 18, 2014 5:23 PM
To: users@cloudstack.apache.org
Subject: Re: To let SSVM reach outside network.

Hi, Vadim,
  We have to use 2 NICs on the management server as we want to hide the 
cloudstack cluster behind the 10.* network, so all KVM hosts and guest VMs are 
in the 192.168.0.* subnet, and they connect to the management server's internal 
NIC(192.168.0.100). Is it a rule that the management server can only use one 
NIC? And the KVM hypersior host can reach the internet and download packages, 
but SSVM running on it could not see the internet.

Cheers,
Dan


2014-11-18 3:20 GMT-06:00 Vadim Kimlaychuk :

> Hello Dan,
>
> It seems there is something wrong with your network setup and 
> here are some places to search:
> 1. Why your management server has 2 NICs?  It should not work as NAT, 
> proxy or any kind of switch - keep this in mind.
> 2. SSVM normally has to have 3 interfaces (at least). One -- with 
> public IP, one -- management network IP and one -- link local IP. If 
> you have separate storage network -- it may have one more, but this is 
> not your case. Check routing table for your SSVM with "route -n" 
> command. Find your default gateway. It should be public interface.
> 3. Did you set up KVM hypervisor network correctly? Does it have 2 
> interfaces like in the setup guide? Does your hypervisor have access 
> to internet to be able to download template?
>
> Vadim.
>
> -Original Message-
> From: Dan Dong [mailto:dongda...@gmail.com]
> Sent: Monday, November 17, 2014 7:02 PM
> To: users@cloudstack.apache.org
> Subject: To let SSVM reach outside network.
>
> Hi, All,
>   I found I could not register my ISO image to the cloudstack( through 
> URL of http://releases.ubuntu.com/14.04.1/ubuntu-14.04.1-server-amd64.iso).
> The SSVM is running and health check show no problems on it. But it 
> just could not see the outside network, although SSVM is on the same 
> network as KVM host, i.e. 192.168.0.*. My setup is as following:
>
> Management Server external NIC:10.*
> Management Server internal NIC: 192.168.0.100
>
> KVM host NIC: 192.168.0.101
> guest VMs are all in 192.168.0.*/24 network.
>
> From SSVM I can ping the internal IP of the Management Server at 
> 192.168.0.100, but could not ping the external IP of it at 10.*.
>
> From KVM host itself I can reach the outside internet as NAT is 
> configured on the Management Server to let the 192.168.0.0 traffic 
> through. Any hints how to let SSVM to reach the internet?
>
>
> Cheers,
> Dan
>


Re: request timed out on hitting console button

2014-11-18 Thread Tilak Raj Singh
Hi Amogh,


Thanks for the headsup...As told by you I tried ping from external network
and found that i cudnt...I checked on the net and found that by default
egress is allowed but ingress is blocked on virtual machine security
groups...So I proceeded to add the following rules in ingress

TCP startport = 0 end port = 65535 CIDR= 0.0.0.0/0
UDP startport = 0 end port = 65535 CIDR= 0.0.0.0/0
for ping i added the following rule
ICMP ICMP type = -1 ICMP Code = -1 CIDR=0.0.0.0/0

I think these all info along with the port issue being 80 and not 443 now
should be added to the cloudstack wiki so that users can easily append
these..

Regards :) :)


On Wed, Nov 19, 2014 at 7:39 AM, Amogh Vasekar 
wrote:

> By default console proxy will run in HTTP mode and listen on port 80.
> If you wish to run on HTTPS, you will need to set up your own DNS and SSL
> certificate.
> The wiki you mentioned needs to be updated with current info :-)
>
> For the second part of not being able to reach the web service - I'd start
> by checking if I can ping the web server machine, and review the security
> policies of the network attached to this VM (security groups if any,
> ingress/egress rules etc)
>
> HTH
> Amogh
>
> On 11/17/14 11:17 PM, "Tilak Raj Singh"  wrote:
>
> >Hi..
> >
> >I am using cloudstack 4.4.1 on a single machine
> >As I can see in global settings there is no value assigned to
> >consoleproxy.url.domain. The field is empty. Do I have to assign any value
> >in there?
> >
> >I reinstalled cloudstack from start again. Now I can access the machines
> >using the console button but still the output of
> >
> >netstat -na | grep 443 gives nothing
> >
> >Further information about my setup
> >
> >Management server ip 172.31.101.202
> >gateway 172.31.100.1
> >dns 172.31.100.6, 172.31.100.8
> >private ip pool 172.31.101.210-172.31.101.230
> >public ip pool 172.31.101.240-172.31.101.250
> >
> >v-1-vm :- public  ip 172.31.101.245
> > private ip 172.31.101.222
> > link local ip 169.254.0.117
> >
> >s-2-vm :-  public  ip 172.31.101.250
> > private ip 172.31.101.210
> > link local ip 169.254.3.141
> >
> >r-4-vm :- public ip 172.31.101.249
> > link local ip 169.254.3.10
> >
> >the testmachine is running at ip 172.31.101.248
> >
> >the issue I am facing now is that i created an apache webservice on my
> >test
> >machine i.e. 172.31.101.248
> >this service can be accessed by the browser of the management server i.e.
> >172.31.101.202
> >but i cant access it from my room i.e. 172.31.84.72 (its a different
> >subnet)
> >the management server is located in the server room of my college with
> >default gateway of 172.31.100.1 mask 255.255.252.0
> >
> >route -n on the management server gives
> >
> >route -n
> >Kernel IP routing table
> >Destination Gateway Genmask Flags Metric RefUse
> >Iface
> >172.31.100.00.0.0.0 255.255.252.0   U 0  00
> >cloudbr0
> >169.254.0.0 0.0.0.0 255.255.0.0 U 0  00
> >cloud0
> >0.0.0.0 172.31.100.10.0.0.0 UG0  00
> >cloudbr0
> >
> >here cloudbr0 is the network bridge i created on my management server
> >and sent all the requests from eth0 to cloudbr0
> >
> >and on the virtual machine hosting the service gives
> >
> >route -n
> >Kernel IP routing table
> >Destination Gateway Genmask Flags Metric RefUse
> >Iface
> >172.31.100.00.0.0.0 255.255.252.0   U 0  00
> >eth0
> >169.254.0.0 0.0.0.0 255.255.0.0 U 1002   00
> >eth0
> >0.0.0.0 172.31.100.10.0.0.0 UG0  00
> >eth0
> >
> >So what do i need to do to make the webservice running on my virtual
> >machine to be accessible from the system in my room??
> >The virtual machine can access the webservices running on the machine in
> >my
> >room but vice versa is not possible
> >the virtual machine can also access the internet.
> >So do I need to make any changes in the router 172.31.100.1 or the fault
> >is
> >somewhere in my installation or there is some other issue??
> >
> >Please help
> >
> >On Mon, Nov 17, 2014 at 3:29 AM, Amogh Vasekar 
> >wrote:
> >
> >> Hi,
> >>
> >> Which version of CS are you on? Also, what is the value of
> >> consoleproxy.url.domain global parameter?
> >>
> >> Amogh
> >>
> >> On 11/15/14 2:57 AM, "Tilak Raj Singh"  wrote:
> >>
> >> >hello everyone.
> >> >I am new to cloudstack and I am having a issue with my cloudstack
> >> >installation.when i try to hit the console button of my vm the browser
> >> >says
> >> >request timed out. It was working earlier but now its not after I
> >>rebooted
> >> >my machine once.
> >> >
> >> >i tried to ssh into my console proxy and check all the commands listed
> >> >here
> >> >
> >>
> >>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/View+Console+and+C
> >>o
> >> >nsole+Proxy+Troubleshooting
> >> >
> >> >netstat -na

Re: How to set the size of primary storage

2014-11-18 Thread Gopalakrishnan S

Hi Yan,

How many drives in your NFS server?  One drive with 1TB disk and create NFS 
share folder on that drive?  You may be created NFS folder on /root 
partition which may contain 100G disk.  Please make sure your NFS folder 
drive size.


Thank You.
Gopalakrishann.S
Cloud Consultant - Fogpanel.




- Original Message - 
From: "Yan Bai" 

To: 
Sent: Wednesday, November 19, 2014 11:04 AM
Subject: How to set the size of primary storage



Hi Everybody,

I have a NFS server which act as primary storage server. The hard disk of
this server is a 1TB disk. However, after I setup CloudStack platform,
through the console I saw that primary storage is just 98.43G.

So my question is how to set the size of primary storage. I expect it is 
at

least half of my hard disk which is around 500G.


Thanks all,
Yan





How to set the size of primary storage

2014-11-18 Thread Yan Bai
Hi Everybody,

I have a NFS server which act as primary storage server. The hard disk of
this server is a 1TB disk. However, after I setup CloudStack platform,
through the console I saw that primary storage is just 98.43G.

So my question is how to set the size of primary storage. I expect it is at
least half of my hard disk which is around 500G.


Thanks all,
Yan


Re: request timed out on hitting console button

2014-11-18 Thread Amogh Vasekar
By default console proxy will run in HTTP mode and listen on port 80.
If you wish to run on HTTPS, you will need to set up your own DNS and SSL
certificate.
The wiki you mentioned needs to be updated with current info :-)

For the second part of not being able to reach the web service - I'd start
by checking if I can ping the web server machine, and review the security
policies of the network attached to this VM (security groups if any,
ingress/egress rules etc)

HTH
Amogh

On 11/17/14 11:17 PM, "Tilak Raj Singh"  wrote:

>Hi..
>
>I am using cloudstack 4.4.1 on a single machine
>As I can see in global settings there is no value assigned to
>consoleproxy.url.domain. The field is empty. Do I have to assign any value
>in there?
>
>I reinstalled cloudstack from start again. Now I can access the machines
>using the console button but still the output of
>
>netstat -na | grep 443 gives nothing
>
>Further information about my setup
>
>Management server ip 172.31.101.202
>gateway 172.31.100.1
>dns 172.31.100.6, 172.31.100.8
>private ip pool 172.31.101.210-172.31.101.230
>public ip pool 172.31.101.240-172.31.101.250
>
>v-1-vm :- public  ip 172.31.101.245
> private ip 172.31.101.222
> link local ip 169.254.0.117
>
>s-2-vm :-  public  ip 172.31.101.250
> private ip 172.31.101.210
> link local ip 169.254.3.141
>
>r-4-vm :- public ip 172.31.101.249
> link local ip 169.254.3.10
>
>the testmachine is running at ip 172.31.101.248
>
>the issue I am facing now is that i created an apache webservice on my
>test
>machine i.e. 172.31.101.248
>this service can be accessed by the browser of the management server i.e.
>172.31.101.202
>but i cant access it from my room i.e. 172.31.84.72 (its a different
>subnet)
>the management server is located in the server room of my college with
>default gateway of 172.31.100.1 mask 255.255.252.0
>
>route -n on the management server gives
>
>route -n
>Kernel IP routing table
>Destination Gateway Genmask Flags Metric RefUse
>Iface
>172.31.100.00.0.0.0 255.255.252.0   U 0  00
>cloudbr0
>169.254.0.0 0.0.0.0 255.255.0.0 U 0  00
>cloud0
>0.0.0.0 172.31.100.10.0.0.0 UG0  00
>cloudbr0
>
>here cloudbr0 is the network bridge i created on my management server
>and sent all the requests from eth0 to cloudbr0
>
>and on the virtual machine hosting the service gives
>
>route -n
>Kernel IP routing table
>Destination Gateway Genmask Flags Metric RefUse
>Iface
>172.31.100.00.0.0.0 255.255.252.0   U 0  00
>eth0
>169.254.0.0 0.0.0.0 255.255.0.0 U 1002   00
>eth0
>0.0.0.0 172.31.100.10.0.0.0 UG0  00
>eth0
>
>So what do i need to do to make the webservice running on my virtual
>machine to be accessible from the system in my room??
>The virtual machine can access the webservices running on the machine in
>my
>room but vice versa is not possible
>the virtual machine can also access the internet.
>So do I need to make any changes in the router 172.31.100.1 or the fault
>is
>somewhere in my installation or there is some other issue??
>
>Please help
>
>On Mon, Nov 17, 2014 at 3:29 AM, Amogh Vasekar 
>wrote:
>
>> Hi,
>>
>> Which version of CS are you on? Also, what is the value of
>> consoleproxy.url.domain global parameter?
>>
>> Amogh
>>
>> On 11/15/14 2:57 AM, "Tilak Raj Singh"  wrote:
>>
>> >hello everyone.
>> >I am new to cloudstack and I am having a issue with my cloudstack
>> >installation.when i try to hit the console button of my vm the browser
>> >says
>> >request timed out. It was working earlier but now its not after I
>>rebooted
>> >my machine once.
>> >
>> >i tried to ssh into my console proxy and check all the commands listed
>> >here
>> >
>> 
>>https://cwiki.apache.org/confluence/display/CLOUDSTACK/View+Console+and+C
>>o
>> >nsole+Proxy+Troubleshooting
>> >
>> >netstat -na | grep 443
>> >
>> >This command gives no output. As i can understand port 443 is not
>>bound to
>> >java. All the other commands are running.
>> >I even restarted my console proxy and also tried running command
>>"service
>> >cloud restart" from the console proxy to looked at the
>>/var/log/cloud.log
>> >file. But nothing seems to be any problem there.
>> >
>> >Can anybody please help me with this issue.
>> >
>> >Regards,
>> >Tilak Raj Singh
>>
>>



building CS with vmware generates errors

2014-11-18 Thread Alireza Eskandari
I want to build CS 4.3.1 with "noredist".
For first time I use vSphere 5.1 SDK but I got some errors about missing 
classes so I download and extract vSphere 5.5 SDK and resolve that errors.
But I face with this error when I try to compile the code:
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) 
on project cloud-vmware-base: Compilation failure[ERROR] 
/root/apache-cloudstack-4.3.1-src/vmware-base/src/com/cloud/hypervisor/vmware/mo/VirtualDiskManagerMO.java:[136,59]
 
moveVirtualDiskTask(com.vmware.vim25.ManagedObjectReference,java.lang.String,com.vmware.vim25.ManagedObjectReference,java.lang.String,com.vmware.vim25.ManagedObjectReference,java.lang.Boolean,java.util.List)
 in com.vmware.vim25.VimPortType cannot be applied to 
(com.vmware.vim25.ManagedObjectReference,java.lang.String,com.vmware.vim25.ManagedObjectReference,java.lang.String,com.vmware.vim25.ManagedObjectReference,boolean)
Some methods such as "moveVirtualDiskTask" changed from vSphere 5.1 to vSphere 
5.5.
As you see in the link below, "profile" is implemented Since vSphere API 5.5 
but I don't see related parameter in 
VirtualDiskManagerMO.java.https://www.vmware.com/support/developer/converter-sdk/conv55_apireference/vim.VirtualDiskManager.html#moveVirtualDisk

How can I resolve this?

  

Error in the upgrade docs 4.4.0 to 4.4.1

2014-11-18 Thread Matthew Midgett
I think there is an error in the upgrade documents and below I have tried to
explain what is wrong.

 

By following the upgrade doc's
http://cloudstack-release-notes.readthedocs.org/en/latest/upgrade/upgrade-4.
4.html You are not installing the correct system VM Template. 

On a fresh install
http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest
/installation.html Has the latest system VM Template.

 

Name: systemvm-xenserver-4.4

Description: systemvm-xenserver-4.4

URL:

http://cloudstack.apt-get.eu/systemvm/4.4/systemvm64template-4.4.0-6-xen.vhd
.bz2

Zone: Choose the zone where this hypervisor is used

Hypervisor: XenServer

Format: VHD

OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number
available in the dropdown)

Extractable: no

Password Enabled: no

Public: no

Featured: no

Routing: no

 

 

The URL should be
http://cloudstack.apt-get.eu/systemvm/4.4/systemvm64template-4.4.1-7-xen.vhd
.bz2
 
 

 

 

 

 

CONFIDENTIAL: This electronic mail, including any attachment(s) may contain
information that is privileged, confidential, and/or otherwise protected
from disclosure to anyone other than its intended recipient(s).  Any
dissemination or use of this electronic email or its contents (including any
attachments) by persons other than the intended recipient(s) is strictly
prohibited.  If you have received this message in error, please notify me
immediately by reply email so that I may correct my internal records.
Please then delete the original message (including any attachments) in its
entirety.  Thank you.

 



deb packages status

2014-11-18 Thread Carles Figuerola
Hi All,

Last time I tried to install the 4.4.0 deb packages I found that it still
had tomcat6 as a dependency and links to it sprinkled throughout the
configuration files (CLOUDSTACK-7636
). I never saw any
4.4.1 build on the repos and it seems that jenkins builds are failing since
October.

Are deb packages being unsupported? Is there anything I can do to try to
push these in a working order? I'm not very well versed in build process
but I want to try and push this.

Thanks,

Carles Figuerola


Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-18 Thread Asanka sanjaya Herath
Hi Imesh,

For ssh key pairs follow this[1].

[1].
https://portal.redbridge.se/faq/instances/how-do-i-create-an-instance-with-public-key-based-authentication-enabled/

On Tue, Nov 18, 2014 at 11:19 PM, Asanka sanjaya Herath 
wrote:

> ​Hi imesh,
>
> Did you configure   Egress, Ingress rules for the network?​
>
> On Tue, Nov 18, 2014 at 6:53 PM, Geoff Higginbottom <
> geoff.higginbot...@shapeblue.com> wrote:
>
>> An alternative to using DevCloud is to follow this article and deploy
>> CloudStack on VirtualBox using a XenServer Hypervisor
>>
>> http://shapeblue.com/cloudstack/virtualbox-test-env/
>>
>> It’s a configuration which is very close to a Production setup so perfect
>> for test and demo etc
>>
>> Regards
>>
>> Geoff Higginbottom
>>
>> D: +44 20 3603 0542 | S: +44 20 3603 0540> +442036030540> | M: +447968161581
>>
>> geoff.higginbot...@shapeblue.com
>>
>> From: Imesh Gunaratne [mailto:im...@apache.org]
>> Sent: 18 November 2014 03:10
>> To: users@cloudstack.apache.org
>> Subject: Re: The Simplest way to Run CloudStack on VirtualBox
>>
>> Hi Ian,
>>
>> I just tried to create an instance with Tiny compute offering and Tiny
>> disk offering and it worked. However I could not ssh into the instance. May
>> be ssh was not configured when I imported the Ubuntu 12.04 ISO into
>> CloudStack.
>>
>> I have few concerns, under System Capacity I can see the following:
>>
>> [cid:ii_i2mogb810_149c0db7491981cd]
>>
>> However I cannot spawn an instance from compute offerings Small or
>> Medium, I get the error mentioned in the previous mail.
>>
>> One other quick question: how can we assign a ssh key pair and a public
>> IP address when spawning an instance?​
>>
>> Many Thanks
>>
>> On Tue, Nov 18, 2014 at 7:40 AM, Imesh Gunaratne > > wrote:
>> Hi Ian,
>>
>> I thought the above error was raised because of limited resources
>> allocated for the XenServer so I increased those by Memory 5 GB and CPUs 8.
>> But I still get the same error:
>>
>> Following is the error I noticed in
>> /var/log/cloudstack/management/management-server.log file:
>>
>> 014-11-18 01:59:14,350 DEBUG [c.c.a.m.a.i.FirstFitAllocator]
>> (Job-Executor-22:ctx-c91238ea ctx-b4c8800f FirstFitRoutingAllocator) Host
>> Allocator returning 0 suitable hosts
>> 2014-11-18 01:59:14,350 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
>> (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) No suitable hosts found
>> 2014-11-18 01:59:14,350 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
>> (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) No suitable hosts found under
>> this Cluster: 1
>> 2014-11-18 01:59:14,352 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
>> (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) Could not find suitable
>> Deployment Destination for this VM under any clusters, returning.
>> 2014-11-18 01:59:14,354 DEBUG [c.c.d.FirstFitPlanner]
>> (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) Searching all possible
>> resources under this Zone: 1
>> 2014-11-18 01:59:14,356 DEBUG [c.c.d.FirstFitPlanner]
>> (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) Listing clusters in order of
>> aggregate capacity, that have (atleast one host with) enough CPU and RAM
>> capacity under this Zone: 1
>> 2014-11-18 01:59:14,361 DEBUG [c.c.d.FirstFitPlanner]
>> (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) Removing from the clusterId
>> list these clusters from avoid set: [1]
>> 2014-11-18 01:59:14,371 DEBUG [c.c.d.FirstFitPlanner]
>> (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) No clusters found after
>> removing disabled clusters and clusters in avoid list, returning.
>> 2014-11-18 01:59:14,376 DEBUG [c.c.v.UserVmManagerImpl]
>> (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) Destroying vm
>> VM[User|VM-f8680a86-1976-435a-94e3-cd8758644940] as it failed to create on
>> Host with Id:null
>> 2014-11-18 01:59:14,396 DEBUG [c.c.c.CapacityManagerImpl]
>> (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) VM state transitted from
>> :Stopped to Error with event: OperationFailedToErrorvm's original host id:
>> null new host id: null host id before state transition: null
>> 2014-11-18 01:59:14,422 WARN  [o.a.c.alerts]
>> (Job-Executor-22:ctx-c91238ea ctx-b4c8800f)  alertType:: 8 //
>> dataCenterId:: 1 // podId:: null // clusterId:: null // message:: Failed to
>> deploy Vm with Id: 7, on Host with Id: null
>> 2014-11-18 01:59:14,461 INFO  [o.a.c.a.c.u.v.DeployVMCmd]
>> (Job-Executor-22:ctx-c91238ea ctx-b4c8800f)
>> com.cloud.exception.InsufficientServerCapacityException: Unable to create a
>> deployment for
>> VM[User|VM-f8680a86-1976-435a-94e3-cd8758644940]Scope=interface
>> com.cloud.dc.DataCenter; id=1
>> 2014-11-18 01:59:14,461 INFO  [o.a.c.a.c.u.v.DeployVMCmd]
>> (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) Unable to create a deployment
>> for VM[User|VM-f8680a86-1976-435a-94e3-cd8758644940]
>> com.cloud.exception.InsufficientServerCapacityException: Unable to create
>> a deployment for
>> VM[User|VM-f8680a86-1976-435a-94e3-cd8758644940]Scope=interface

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-18 Thread Asanka sanjaya Herath
​Hi imesh,

Did you configure   Egress, Ingress rules for the network?​

On Tue, Nov 18, 2014 at 6:53 PM, Geoff Higginbottom <
geoff.higginbot...@shapeblue.com> wrote:

> An alternative to using DevCloud is to follow this article and deploy
> CloudStack on VirtualBox using a XenServer Hypervisor
>
> http://shapeblue.com/cloudstack/virtualbox-test-env/
>
> It’s a configuration which is very close to a Production setup so perfect
> for test and demo etc
>
> Regards
>
> Geoff Higginbottom
>
> D: +44 20 3603 0542 | S: +44 20 3603 0540 +442036030540> | M: +447968161581
>
> geoff.higginbot...@shapeblue.com
>
> From: Imesh Gunaratne [mailto:im...@apache.org]
> Sent: 18 November 2014 03:10
> To: users@cloudstack.apache.org
> Subject: Re: The Simplest way to Run CloudStack on VirtualBox
>
> Hi Ian,
>
> I just tried to create an instance with Tiny compute offering and Tiny
> disk offering and it worked. However I could not ssh into the instance. May
> be ssh was not configured when I imported the Ubuntu 12.04 ISO into
> CloudStack.
>
> I have few concerns, under System Capacity I can see the following:
>
> [cid:ii_i2mogb810_149c0db7491981cd]
>
> However I cannot spawn an instance from compute offerings Small or Medium,
> I get the error mentioned in the previous mail.
>
> One other quick question: how can we assign a ssh key pair and a public IP
> address when spawning an instance?​
>
> Many Thanks
>
> On Tue, Nov 18, 2014 at 7:40 AM, Imesh Gunaratne  im...@apache.org>> wrote:
> Hi Ian,
>
> I thought the above error was raised because of limited resources
> allocated for the XenServer so I increased those by Memory 5 GB and CPUs 8.
> But I still get the same error:
>
> Following is the error I noticed in
> /var/log/cloudstack/management/management-server.log file:
>
> 014-11-18 01:59:14,350 DEBUG [c.c.a.m.a.i.FirstFitAllocator]
> (Job-Executor-22:ctx-c91238ea ctx-b4c8800f FirstFitRoutingAllocator) Host
> Allocator returning 0 suitable hosts
> 2014-11-18 01:59:14,350 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
> (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) No suitable hosts found
> 2014-11-18 01:59:14,350 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
> (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) No suitable hosts found under
> this Cluster: 1
> 2014-11-18 01:59:14,352 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
> (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) Could not find suitable
> Deployment Destination for this VM under any clusters, returning.
> 2014-11-18 01:59:14,354 DEBUG [c.c.d.FirstFitPlanner]
> (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) Searching all possible
> resources under this Zone: 1
> 2014-11-18 01:59:14,356 DEBUG [c.c.d.FirstFitPlanner]
> (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) Listing clusters in order of
> aggregate capacity, that have (atleast one host with) enough CPU and RAM
> capacity under this Zone: 1
> 2014-11-18 01:59:14,361 DEBUG [c.c.d.FirstFitPlanner]
> (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) Removing from the clusterId
> list these clusters from avoid set: [1]
> 2014-11-18 01:59:14,371 DEBUG [c.c.d.FirstFitPlanner]
> (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) No clusters found after
> removing disabled clusters and clusters in avoid list, returning.
> 2014-11-18 01:59:14,376 DEBUG [c.c.v.UserVmManagerImpl]
> (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) Destroying vm
> VM[User|VM-f8680a86-1976-435a-94e3-cd8758644940] as it failed to create on
> Host with Id:null
> 2014-11-18 01:59:14,396 DEBUG [c.c.c.CapacityManagerImpl]
> (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) VM state transitted from
> :Stopped to Error with event: OperationFailedToErrorvm's original host id:
> null new host id: null host id before state transition: null
> 2014-11-18 01:59:14,422 WARN  [o.a.c.alerts] (Job-Executor-22:ctx-c91238ea
> ctx-b4c8800f)  alertType:: 8 // dataCenterId:: 1 // podId:: null //
> clusterId:: null // message:: Failed to deploy Vm with Id: 7, on Host with
> Id: null
> 2014-11-18 01:59:14,461 INFO  [o.a.c.a.c.u.v.DeployVMCmd]
> (Job-Executor-22:ctx-c91238ea ctx-b4c8800f)
> com.cloud.exception.InsufficientServerCapacityException: Unable to create a
> deployment for
> VM[User|VM-f8680a86-1976-435a-94e3-cd8758644940]Scope=interface
> com.cloud.dc.DataCenter; id=1
> 2014-11-18 01:59:14,461 INFO  [o.a.c.a.c.u.v.DeployVMCmd]
> (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) Unable to create a deployment
> for VM[User|VM-f8680a86-1976-435a-94e3-cd8758644940]
> com.cloud.exception.InsufficientServerCapacityException: Unable to create
> a deployment for
> VM[User|VM-f8680a86-1976-435a-94e3-cd8758644940]Scope=interface
> com.cloud.dc.DataCenter; id=1
> at
> org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.reserveVirtualMachine(VMEntityManagerImpl.java:210)
> at
> org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.reserve(VirtualMachineEntityImpl.java:196)
> at
> com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerIm

Catalina Was unable to find lock for the key vm_instance21 and thread id 1028777108

2014-11-18 Thread Matthew Midgett
ACS4.4.0 and Xenserver 6.2 all patched.

 

Here is the error message for a failing snapshot

 

2014-11-18 10:41:53,705 INFO  [o.a.c.f.j.i.AsyncJobMonitor]
(API-Job-Executor-1:ctx-2149b75d job-1186) Add job-1186 into job monitoring

2014-11-18 10:41:53,707 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-1:ctx-2149b75d job-1186) Executing AsyncJobVO {id:1186,
userId: 3, accountId: 2, instanceType: Snapshot, instanceId: 1, cmd:
org.apache.cloudstack.api.command.user.snapshot.CreateSnapshotCmd, cmdInfo:
{"id":"1","response":"json","sessionkey":"piP4PlGoqRRvl5qkhOrYaxtMPGI\u003d"
,"ctxDetails":"{\"com.cloud.storage.Snapshot\":\"b44be7af-bc61-4753-9ea9-90c
b262876e7\",\"com.cloud.storage.Volume\":\"13b90ebc-f408-4298-b4b7-7d2f5fb8a
19f\"}","cmdEventType":"SNAPSHOT.CREATE","ctxUserId":"3","httpmethod":"GET",
"quiescevm":"false","_":"1416325309501","volumeid":"13b90ebc-f408-4298-b4b7-
7d2f5fb8a19f","uuid":"b44be7af-bc61-4753-9ea9-90cb262876e7","ctxAccountId":"
2","ctxStartEventId":"1882"}, cmdVersion: 0, status: IN_PROGRESS,
processStatus: 0, resultCode: 0, result: null, initMsid: 34031122767759,
completeMsid: null, lastUpdated: null, lastPolled: null, created: null}

2014-11-18 10:41:53,708 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(catalina-exec-9:ctx-5810441b ctx-d27aafa9) submit async job-1186, details:
AsyncJobVO {id:1186, userId: 3, accountId: 2, instanceType: Snapshot,
instanceId: 1, cmd:
org.apache.cloudstack.api.command.user.snapshot.CreateSnapshotCmd, cmdInfo:
{"id":"1","response":"json","sessionkey":"piP4PlGoqRRvl5qkhOrYaxtMPGI\u003d"
,"ctxDetails":"{\"com.cloud.storage.Snapshot\":\"b44be7af-bc61-4753-9ea9-90c
b262876e7\",\"com.cloud.storage.Volume\":\"13b90ebc-f408-4298-b4b7-7d2f5fb8a
19f\"}","cmdEventType":"SNAPSHOT.CREATE","ctxUserId":"3","httpmethod":"GET",
"quiescevm":"false","_":"1416325309501","volumeid":"13b90ebc-f408-4298-b4b7-
7d2f5fb8a19f","uuid":"b44be7af-bc61-4753-9ea9-90cb262876e7","ctxAccountId":"
2","ctxStartEventId":"1882"}, cmdVersion: 0, status: IN_PROGRESS,
processStatus: 0, resultCode: 0, result: null, initMsid: 34031122767759,
completeMsid: null, lastUpdated: null, lastPolled:

null, created: null}

2014-11-18 10:41:53,718 DEBUG [c.c.a.ApiServlet]
(catalina-exec-9:ctx-5810441b ctx-d27aafa9) ===END===  172.16.0.67 --

GET
command=createSnapshot&volumeid=13b90ebc-f408-4298-b4b7-7d2f5fb8a19f&quiesce
vm=false&response=json&sessionkey=piP4PlGoqRRvl5qkhOrYaxtMPGI%3D&_=141632530
9501

2014-11-18 10:41:53,825 INFO  [o.a.c.a.c.u.s.CreateSnapshotCmd]
(API-Job-Executor-1:ctx-2149b75d job-1186 ctx-e45c0ae3) VOLSS:
createSnapshotCmd starts:1416325313825

2014-11-18 10:41:53,869 DEBUG [o.a.c.f.j.i.JobSerializerHelper]
(API-Job-Executor-1:ctx-2149b75d job-1186 ctx-e45c0ae3) Job GSON Builder
initialized.

2014-11-18 10:41:53,884 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-1:ctx-2149b75d job-1186 ctx-e45c0ae3) Sync job-1188
execution on object VmWorkJobQueue.21

2014-11-18 10:41:53,901 WARN  [c.c.u.d.Merovingian2]
(API-Job-Executor-1:ctx-2149b75d job-1186 ctx-e45c0ae3) Was unable to find
lock for the key vm_instance21 and thread id 1028777108

2014-11-18 10:41:56,337 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-12:null) SeqA 17-8920: Processing Seq 17-8920:  { Cmd
, MgmtId: -1, via: 17, Ver: v1, Flags: 11,
[{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":12,"_loa
dInfo":"{\n  \"connections\": []\n}","wait":0}}] }

2014-11-18 10:41:56,348 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-12:null) SeqA 17-8920: Sending Seq 17-8920:  { Ans: ,
MgmtId: 34031122767759, via: 17, Ver: v1, Flags: 100010,
[{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }

2014-11-18 10:41:56,962 DEBUG [c.c.a.ApiServlet]
(catalina-exec-10:ctx-bab8a7c7) ===START===  172.16.0.67 -- GET
command=queryAsyncJobResult&jobId=8189879c-21d0-4905-a795-d88f41aae501&respo
nse=json&sessionkey=piP4PlGoqRRvl5qkhOrYaxtMPGI%3D&_=1416325313043

2014-11-18 10:41:57,048 DEBUG [c.c.a.ApiServlet]
(catalina-exec-10:ctx-bab8a7c7 ctx-bfc78b1f) ===END===  172.16.0.67 -- GET
command=queryAsyncJobResult&jobId=8189879c-21d0-4905-a795-d88f41aae501&respo
nse=json&sessionkey=piP4PlGoqRRvl5qkhOrYaxtMPGI%3D&_=1416325313043

2014-11-18 10:41:57,205 DEBUG [c.c.s.StatsCollector]
(StatsCollector-4:ctx-7ae0471e) AutoScaling Monitor is running...

2014-11-18 10:41:59,980 DEBUG [c.c.a.ApiServlet]
(catalina-exec-13:ctx-42c503da) ===START===  172.16.0.67 -- GET
command=queryAsyncJobResult&jobId=8189879c-21d0-4905-a795-d88f41aae501&respo
nse=json&sessionkey=piP4PlGoqRRvl5qkhOrYaxtMPGI%3D&_=1416325316042

2014-11-18 10:42:00,048 DEBUG [c.c.a.ApiServlet]
(catalina-exec-13:ctx-42c503da ctx-3f73ec88) ===END===  172.16.0.67 -- GET
command=queryAsyncJobResult&jobId=8189879c-21d0-4905-a795-d88f41aae501&respo
nse=json&sessionkey=piP4PlGoqRRvl5qkhOrYaxtMPGI%3D&_=1416325316042

2014-11-18 10:42:02,965 DEBUG [c.c.a.ApiServlet]
(catalina-exec-3:ctx-50d2cd68) ===START===  172.16.0.67 -- GET
command=query

Re: To let SSVM reach outside network.

2014-11-18 Thread Dan Dong
Hi, Vadim,
  We have to use 2 NICs on the management server as we want to hide the
cloudstack cluster behind the 10.* network, so all KVM hosts and guest VMs
are in the 192.168.0.* subnet, and they connect to the management server's
internal NIC(192.168.0.100). Is it a rule that the management server can
only use one NIC? And the KVM hypersior host can reach the internet and
download packages, but SSVM running on it could not see the internet.

Cheers,
Dan


2014-11-18 3:20 GMT-06:00 Vadim Kimlaychuk :

> Hello Dan,
>
> It seems there is something wrong with your network setup and here
> are some places to search:
> 1. Why your management server has 2 NICs?  It should not work as NAT,
> proxy or any kind of switch - keep this in mind.
> 2. SSVM normally has to have 3 interfaces (at least). One -- with public
> IP, one -- management network IP and one -- link local IP. If you have
> separate storage network -- it may have one more, but this is not your
> case. Check routing table for your SSVM with "route -n" command. Find your
> default gateway. It should be public interface.
> 3. Did you set up KVM hypervisor network correctly? Does it have 2
> interfaces like in the setup guide? Does your hypervisor have access to
> internet to be able to download template?
>
> Vadim.
>
> -Original Message-
> From: Dan Dong [mailto:dongda...@gmail.com]
> Sent: Monday, November 17, 2014 7:02 PM
> To: users@cloudstack.apache.org
> Subject: To let SSVM reach outside network.
>
> Hi, All,
>   I found I could not register my ISO image to the cloudstack( through URL
> of http://releases.ubuntu.com/14.04.1/ubuntu-14.04.1-server-amd64.iso).
> The SSVM is running and health check show no problems on it. But it just
> could not see the outside network, although SSVM is on the same network as
> KVM host, i.e. 192.168.0.*. My setup is as following:
>
> Management Server external NIC:10.*
> Management Server internal NIC: 192.168.0.100
>
> KVM host NIC: 192.168.0.101
> guest VMs are all in 192.168.0.*/24 network.
>
> From SSVM I can ping the internal IP of the Management Server at
> 192.168.0.100, but could not ping the external IP of it at 10.*.
>
> From KVM host itself I can reach the outside internet as NAT is configured
> on the Management Server to let the 192.168.0.0 traffic through. Any hints
> how to let SSVM to reach the internet?
>
>
> Cheers,
> Dan
>


Re: Cloudstack Deploy DB fails on 4.3 branch !

2014-11-18 Thread Rohit Yadav
Hi Sebastien,

I will do it as soon as I get time during ApacheCon/CCCEU14. For now I just 
reverted this patch which would allow people to build 4.3 branch.

Hope to see you around soon.

> On 18-Nov-2014, at 6:43 pm, Sebastien Goasguen  wrote:
>
>
> On Nov 18, 2014, at 5:35 AM, Rohit Yadav  wrote:
>
>> Hi Deepal,
>>
>> We currently lack an upgrade path from 4.3.1 to 4.3.2. Also because we’re 
>> not sure if we want to do a 4.3.2 release. I’ll temporarily revert a patch 
>> that changes the version to 4.3.2-SNAPSHOT on 4.3 branch so you can compile 
>> and deploydb, after we have an upgrade path we can add it back.
>>
>> I’m cc-ing to our 4.3 release manager to keep him updated.\
>
> @rohit, or you could just add an "empty" upgrade path since there was no db 
> changes from 4.3.1 release till now on 4.3 branch.
>
>>
>>> On 18-Nov-2014, at 3:08 pm, Deepal Jayasekara  
>>> wrote:
>>>
>>> In my cloudstack installation, database deployment fails and gives
>>> following error:
>>>
>>> An exception occured while executing the Java class. null:
>>> InvocationTargetException: The end upgrade version is actually at 4.3.1 but
>>> our management server code version is at 4.3.2-SNAPSHOT -> [Help 1]
>>>
>>> I am currently on 4.3 branch. I have tried this in a different host and was
>>> able to deploy the DB successfully. What is the reason for this error? What
>>> is this 4.3.2-SNAPSHOT ?
>>
>> Regards,
>> Rohit Yadav
>> Software Architect, ShapeBlue
>> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
>> Blog: bhaisaab.org | Twitter: @_bhaisaab
>>
>>
>>
>> Find out more about ShapeBlue and our range of CloudStack related services
>>
>> IaaS Cloud Design & Build
>> CSForge – rapid IaaS deployment framework
>> CloudStack Consulting
>> CloudStack Software 
>> Engineering
>> CloudStack Infrastructure 
>> Support
>> CloudStack Bootcamp Training 
>> Courses
>>
>> 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 a 
>> company incorporated in India and is operated under license from Shape Blue 
>> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil 
>> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a 
>> company registered by The Republic of South Africa and is traded under 
>> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 88 262 30892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Software 
Engineering
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

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 a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


RE: The Simplest way to Run CloudStack on VirtualBox

2014-11-18 Thread Geoff Higginbottom
An alternative to using DevCloud is to follow this article and deploy 
CloudStack on VirtualBox using a XenServer Hypervisor

http://shapeblue.com/cloudstack/virtualbox-test-env/

It’s a configuration which is very close to a Production setup so perfect for 
test and demo etc

Regards

Geoff Higginbottom

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

geoff.higginbot...@shapeblue.com

From: Imesh Gunaratne [mailto:im...@apache.org]
Sent: 18 November 2014 03:10
To: users@cloudstack.apache.org
Subject: Re: The Simplest way to Run CloudStack on VirtualBox

Hi Ian,

I just tried to create an instance with Tiny compute offering and Tiny disk 
offering and it worked. However I could not ssh into the instance. May be ssh 
was not configured when I imported the Ubuntu 12.04 ISO into CloudStack.

I have few concerns, under System Capacity I can see the following:

[cid:ii_i2mogb810_149c0db7491981cd]

However I cannot spawn an instance from compute offerings Small or Medium, I 
get the error mentioned in the previous mail.

One other quick question: how can we assign a ssh key pair and a public IP 
address when spawning an instance?​

Many Thanks

On Tue, Nov 18, 2014 at 7:40 AM, Imesh Gunaratne 
mailto:im...@apache.org>> wrote:
Hi Ian,

I thought the above error was raised because of limited resources allocated for 
the XenServer so I increased those by Memory 5 GB and CPUs 8. But I still get 
the same error:

Following is the error I noticed in 
/var/log/cloudstack/management/management-server.log file:

014-11-18 01:59:14,350 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(Job-Executor-22:ctx-c91238ea ctx-b4c8800f FirstFitRoutingAllocator) Host 
Allocator returning 0 suitable hosts
2014-11-18 01:59:14,350 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(Job-Executor-22:ctx-c91238ea ctx-b4c8800f) No suitable hosts found
2014-11-18 01:59:14,350 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(Job-Executor-22:ctx-c91238ea ctx-b4c8800f) No suitable hosts found under this 
Cluster: 1
2014-11-18 01:59:14,352 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(Job-Executor-22:ctx-c91238ea ctx-b4c8800f) Could not find suitable Deployment 
Destination for this VM under any clusters, returning.
2014-11-18 01:59:14,354 DEBUG [c.c.d.FirstFitPlanner] 
(Job-Executor-22:ctx-c91238ea ctx-b4c8800f) Searching all possible resources 
under this Zone: 1
2014-11-18 01:59:14,356 DEBUG [c.c.d.FirstFitPlanner] 
(Job-Executor-22:ctx-c91238ea ctx-b4c8800f) Listing clusters in order of 
aggregate capacity, that have (atleast one host with) enough CPU and RAM 
capacity under this Zone: 1
2014-11-18 01:59:14,361 DEBUG [c.c.d.FirstFitPlanner] 
(Job-Executor-22:ctx-c91238ea ctx-b4c8800f) Removing from the clusterId list 
these clusters from avoid set: [1]
2014-11-18 01:59:14,371 DEBUG [c.c.d.FirstFitPlanner] 
(Job-Executor-22:ctx-c91238ea ctx-b4c8800f) No clusters found after removing 
disabled clusters and clusters in avoid list, returning.
2014-11-18 01:59:14,376 DEBUG [c.c.v.UserVmManagerImpl] 
(Job-Executor-22:ctx-c91238ea ctx-b4c8800f) Destroying vm 
VM[User|VM-f8680a86-1976-435a-94e3-cd8758644940] as it failed to create on Host 
with Id:null
2014-11-18 01:59:14,396 DEBUG [c.c.c.CapacityManagerImpl] 
(Job-Executor-22:ctx-c91238ea ctx-b4c8800f) VM state transitted from :Stopped 
to Error with event: OperationFailedToErrorvm's original host id: null new host 
id: null host id before state transition: null
2014-11-18 01:59:14,422 WARN  [o.a.c.alerts] (Job-Executor-22:ctx-c91238ea 
ctx-b4c8800f)  alertType:: 8 // dataCenterId:: 1 // podId:: null // clusterId:: 
null // message:: Failed to deploy Vm with Id: 7, on Host with Id: null
2014-11-18 01:59:14,461 INFO  [o.a.c.a.c.u.v.DeployVMCmd] 
(Job-Executor-22:ctx-c91238ea ctx-b4c8800f) 
com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
deployment for VM[User|VM-f8680a86-1976-435a-94e3-cd8758644940]Scope=interface 
com.cloud.dc.DataCenter; id=1
2014-11-18 01:59:14,461 INFO  [o.a.c.a.c.u.v.DeployVMCmd] 
(Job-Executor-22:ctx-c91238ea ctx-b4c8800f) Unable to create a deployment for 
VM[User|VM-f8680a86-1976-435a-94e3-cd8758644940]
com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
deployment for VM[User|VM-f8680a86-1976-435a-94e3-cd8758644940]Scope=interface 
com.cloud.dc.DataCenter; id=1
at 
org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.reserveVirtualMachine(VMEntityManagerImpl.java:210)
at 
org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.reserve(VirtualMachineEntityImpl.java:196)
at 
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3549)
at 
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3157)
at 
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3143)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57

Re: Cloudstack Deploy DB fails on 4.3 branch !

2014-11-18 Thread Sebastien Goasguen

On Nov 18, 2014, at 5:35 AM, Rohit Yadav  wrote:

> Hi Deepal,
> 
> We currently lack an upgrade path from 4.3.1 to 4.3.2. Also because we’re not 
> sure if we want to do a 4.3.2 release. I’ll temporarily revert a patch that 
> changes the version to 4.3.2-SNAPSHOT on 4.3 branch so you can compile and 
> deploydb, after we have an upgrade path we can add it back.
> 
> I’m cc-ing to our 4.3 release manager to keep him updated.\

@rohit, or you could just add an "empty" upgrade path since there was no db 
changes from 4.3.1 release till now on 4.3 branch.

> 
>> On 18-Nov-2014, at 3:08 pm, Deepal Jayasekara  wrote:
>> 
>> In my cloudstack installation, database deployment fails and gives
>> following error:
>> 
>> An exception occured while executing the Java class. null:
>> InvocationTargetException: The end upgrade version is actually at 4.3.1 but
>> our management server code version is at 4.3.2-SNAPSHOT -> [Help 1]
>> 
>> I am currently on 4.3 branch. I have tried this in a different host and was
>> able to deploy the DB successfully. What is the reason for this error? What
>> is this 4.3.2-SNAPSHOT ?
> 
> Regards,
> Rohit Yadav
> Software Architect, ShapeBlue
> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
> Blog: bhaisaab.org | Twitter: @_bhaisaab
> 
> 
> 
> Find out more about ShapeBlue and our range of CloudStack related services
> 
> IaaS Cloud Design & Build
> CSForge – rapid IaaS deployment framework
> CloudStack Consulting
> CloudStack Software 
> Engineering
> CloudStack Infrastructure 
> Support
> CloudStack Bootcamp Training 
> Courses
> 
> 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 a company 
> incorporated in India and is operated under license from Shape Blue Ltd. 
> Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
> operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
> registered by The Republic of South Africa and is traded under license from 
> Shape Blue Ltd. ShapeBlue is a registered trademark.



Re: Cloudstack Deploy DB fails on 4.3 branch !

2014-11-18 Thread Rohit Yadav
Hi Deepal,

We currently lack an upgrade path from 4.3.1 to 4.3.2. Also because we’re not 
sure if we want to do a 4.3.2 release. I’ll temporarily revert a patch that 
changes the version to 4.3.2-SNAPSHOT on 4.3 branch so you can compile and 
deploydb, after we have an upgrade path we can add it back.

I’m cc-ing to our 4.3 release manager to keep him updated.

> On 18-Nov-2014, at 3:08 pm, Deepal Jayasekara  wrote:
>
> In my cloudstack installation, database deployment fails and gives
> following error:
>
> An exception occured while executing the Java class. null:
> InvocationTargetException: The end upgrade version is actually at 4.3.1 but
> our management server code version is at 4.3.2-SNAPSHOT -> [Help 1]
>
> I am currently on 4.3 branch. I have tried this in a different host and was
> able to deploy the DB successfully. What is the reason for this error? What
> is this 4.3.2-SNAPSHOT ?

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 88 262 30892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Software 
Engineering
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

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 a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


RE: Assign multiple users to a single virtual machine

2014-11-18 Thread Geoff Higginbottom
Tilak,

The console proxy feature connects you to the local console session of the VM 
via the Hypervisor, hence only one connection is allowed.

For more than one use to connect to and manage a VM simply use SSH to connect 
to the VM etc

Regards

Geoff Higginbottom

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

geoff.higginbot...@shapeblue.com

-Original Message-
From: Tilak Raj Singh [mailto:tila...@gmail.com]
Sent: 18 November 2014 10:11
To: users@cloudstack.apache.org
Subject: Re: Assign multiple users to a single virtual machine

I just tried this project feature of cloudstackbut I am facing 
issues...thing is I want both the user to share instances of the virtual 
machine..Here what is currently implemented both users cannot access the 
machine simultaneously..If one user clicks the console button there is Access 
denied on the others browserAlso anyone in the project can delete the 
machine even if he/she is not the project admin...I want something like we have 
in general linux machines...where multiple users can work on them from their 
user accounts simultaneouly on the same machine...

Can such a capability be attained somehow on cloudstack virtual machines or am 
I going wrong somewhere?? :/ :/

On Tue, Nov 18, 2014 at 2:10 PM, Kirk Kosinski 
wrote:

> Hi, projects are the likely solution, but keep in mind that VMs are
> owned by accounts and not users, and that you can create multiple
> users in one account.  Any user in an account can therefore access the
> VMs created by any other user in the account.
>
> Best regards,
> Kirk
>
> On 11/17/2014 11:38 PM, Tilak Raj Singh wrote:
> > Thanks Geoff I will surely try this feature and get back incase I
> > face
> any
> > problems
> >
> > Regards
> >
> > On Tue, Nov 18, 2014 at 12:59 PM, Geoff Higginbottom <
> > geoff.higginbot...@shapeblue.com> wrote:
> >
> >> Hi Tilak
> >>
> >> This is exactly the use case for the Projects feature.  As long as
> >> the accounts your two users belong to are in the same domain you
> >> can create
> a
> >> project and add them both to it.  Any VMS created belong to the
> >> project
> and
> >> you can add and remove users at will.
> >>
> >> Regards
> >>
> >> Geoff Higginbottom
> >> CTO / Cloud Architect
> >>
> >> D: +44 20 3603 0542 | S: +44 20 3603
> >> 0540 | M: +447968161581
> >>
> >> geoff.higginbot...@shapeblue.com geoff.higginbot...@shapeblue.com>
> >> | www.shapeblue.com |
> >> | Twitter:@cloudstackguru
> <
> >> https://twitter.com/#!/cloudstackguru>
> >>
> >> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N
> >> 4HS
> >>
> >>
> >> On 17 Nov 2014, at 23:15, Tilak Raj Singh  >> tila...@gmail.com>> wrote:
> >>
> >> Hi..
> >> I was wondering if I can assign same virtual machine to multiple
> >> users
> so
> >> that they can access it from there UI.
> >>
> >> For example:-
> >> I have a machine i-2-3-vm running centos and two users user1 and
> >> user2 Now I want that when user1 or user2 logs into cloudstack they
> >> both can
> see
> >> this i-2-3-vm on there interface and they both can access the
> >> machine
> via
> >> browser on clicking the console button..
> >>
> >> Is such a thing possible with the current cloudstack architecture
> anyhow?
> >> If yes please let me know how to do it.
> >>
> >> Regards
> >> Find out more about ShapeBlue and our range of CloudStack related
> services
> >>
> >> IaaS Cloud Design & Build<
> >> http://shapeblue.com/iaas-cloud-design-and-build//>
> >> CSForge - rapid IaaS deployment
> >> framework >
> >> CloudStack Consulting
> >> CloudStack Software Engineering<
> >> http://shapeblue.com/cloudstack-software-engineering/>
> >> CloudStack Infrastructure Support<
> >> http://shapeblue.com/cloudstack-infrastructure-support/>
> >> CloudStack Bootcamp Training Courses<
> >> http://shapeblue.com/cloudstack-training/>
> >>
> >> 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 a
> >> company incorporated in India and is operated under license from
> >> Shape
> Blue
> >> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated
> >> in
> Brasil
> >> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty
> >> Ltd
> is
> >> a company registered by The Republic of South Africa and is traded
> >> under license from Shape Blue Ltd. ShapeBlue is a reg

Re: Assign multiple users to a single virtual machine

2014-11-18 Thread Tilak Raj Singh
I just tried this project feature of cloudstackbut I am facing
issues...thing is I want both the user to share instances of the virtual
machine..Here what is currently implemented both users cannot access the
machine simultaneously..If one user clicks the console button there is
Access denied on the others browserAlso anyone in the project can
delete the machine even if he/she is not the project admin...I want
something like we have in general linux machines...where multiple users can
work on them from their user accounts simultaneouly on the same machine...

Can such a capability be attained somehow on cloudstack virtual machines or
am I going wrong somewhere?? :/ :/

On Tue, Nov 18, 2014 at 2:10 PM, Kirk Kosinski 
wrote:

> Hi, projects are the likely solution, but keep in mind that VMs are
> owned by accounts and not users, and that you can create multiple users
> in one account.  Any user in an account can therefore access the VMs
> created by any other user in the account.
>
> Best regards,
> Kirk
>
> On 11/17/2014 11:38 PM, Tilak Raj Singh wrote:
> > Thanks Geoff I will surely try this feature and get back incase I face
> any
> > problems
> >
> > Regards
> >
> > On Tue, Nov 18, 2014 at 12:59 PM, Geoff Higginbottom <
> > geoff.higginbot...@shapeblue.com> wrote:
> >
> >> Hi Tilak
> >>
> >> This is exactly the use case for the Projects feature.  As long as the
> >> accounts your two users belong to are in the same domain you can create
> a
> >> project and add them both to it.  Any VMS created belong to the project
> and
> >> you can add and remove users at will.
> >>
> >> Regards
> >>
> >> Geoff Higginbottom
> >> CTO / Cloud Architect
> >>
> >> D: +44 20 3603 0542 | S: +44 20 3603
> >> 0540 | M: +447968161581
> >>
> >> geoff.higginbot...@shapeblue.com geoff.higginbot...@shapeblue.com>
> >> | www.shapeblue.com | Twitter:@cloudstackguru
> <
> >> https://twitter.com/#!/cloudstackguru>
> >>
> >> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N
> >> 4HS
> >>
> >>
> >> On 17 Nov 2014, at 23:15, Tilak Raj Singh  >> tila...@gmail.com>> wrote:
> >>
> >> Hi..
> >> I was wondering if I can assign same virtual machine to multiple users
> so
> >> that they can access it from there UI.
> >>
> >> For example:-
> >> I have a machine i-2-3-vm running centos and two users user1 and user2
> >> Now I want that when user1 or user2 logs into cloudstack they both can
> see
> >> this i-2-3-vm on there interface and they both can access the machine
> via
> >> browser on clicking the console button..
> >>
> >> Is such a thing possible with the current cloudstack architecture
> anyhow?
> >> If yes please let me know how to do it.
> >>
> >> Regards
> >> Find out more about ShapeBlue and our range of CloudStack related
> services
> >>
> >> IaaS Cloud Design & Build<
> >> http://shapeblue.com/iaas-cloud-design-and-build//>
> >> CSForge - rapid IaaS deployment framework >
> >> CloudStack Consulting
> >> CloudStack Software Engineering<
> >> http://shapeblue.com/cloudstack-software-engineering/>
> >> CloudStack Infrastructure Support<
> >> http://shapeblue.com/cloudstack-infrastructure-support/>
> >> CloudStack Bootcamp Training Courses<
> >> http://shapeblue.com/cloudstack-training/>
> >>
> >> 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 a
> >> company incorporated in India and is operated under license from Shape
> Blue
> >> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in
> Brasil
> >> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd
> is
> >> a company registered by The Republic of South Africa and is traded under
> >> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
> >>
> >
>


Re: To let SSVM reach outside network.

2014-11-18 Thread Tilak Raj Singh
if you are behind a authenticated proxy or cannot access the outside
network a little trick that worked for me was downloading the iso on the
management server. Then running *python -m SimpleHTTPServer *
in the download directory to turn it into a sort of mirror and then using
that to upload the iso using the path like *http://localhost
:/*

For doing this you would also need to change the
*secstorage.allowed.internal.sites* value in the global settings to the ip
of ur management server or to its complete subnet...like my server ip is in
subnet 172.31.100.0/22 so i did put that value for the listed global
setting parameter

Regards

On Tue, Nov 18, 2014 at 2:58 PM, Vadim Kimlaychuk  wrote:

> Will fix my last point - KVM should have at least 2 bridges, not
> necessarily interfaces - public/private.
>
> Vadim
>
> -Original Message-
> From: Vadim Kimlaychuk [mailto:vadim.kimlayc...@elion.ee]
> Sent: Tuesday, November 18, 2014 11:21 AM
> To: users@cloudstack.apache.org
> Subject: RE: To let SSVM reach outside network.
>
> Hello Dan,
>
> It seems there is something wrong with your network setup and here
> are some places to search:
> 1. Why your management server has 2 NICs?  It should not work as NAT,
> proxy or any kind of switch - keep this in mind.
> 2. SSVM normally has to have 3 interfaces (at least). One -- with public
> IP, one -- management network IP and one -- link local IP. If you have
> separate storage network -- it may have one more, but this is not your
> case. Check routing table for your SSVM with "route -n" command. Find your
> default gateway. It should be public interface.
> 3. Did you set up KVM hypervisor network correctly? Does it have 2
> interfaces like in the setup guide? Does your hypervisor have access to
> internet to be able to download template?
>
> Vadim.
>
> -Original Message-
> From: Dan Dong [mailto:dongda...@gmail.com]
> Sent: Monday, November 17, 2014 7:02 PM
> To: users@cloudstack.apache.org
> Subject: To let SSVM reach outside network.
>
> Hi, All,
>   I found I could not register my ISO image to the cloudstack( through URL
> of http://releases.ubuntu.com/14.04.1/ubuntu-14.04.1-server-amd64.iso).
> The SSVM is running and health check show no problems on it. But it just
> could not see the outside network, although SSVM is on the same network as
> KVM host, i.e. 192.168.0.*. My setup is as following:
>
> Management Server external NIC:10.*
> Management Server internal NIC: 192.168.0.100
>
> KVM host NIC: 192.168.0.101
> guest VMs are all in 192.168.0.*/24 network.
>
> From SSVM I can ping the internal IP of the Management Server at
> 192.168.0.100, but could not ping the external IP of it at 10.*.
>
> From KVM host itself I can reach the outside internet as NAT is configured
> on the Management Server to let the 192.168.0.0 traffic through. Any hints
> how to let SSVM to reach the internet?
>
>
> Cheers,
> Dan
>


Cloudstack Deploy DB fails on 4.3 branch !

2014-11-18 Thread Deepal Jayasekara
In my cloudstack installation, database deployment fails and gives
following error:

An exception occured while executing the Java class. null:
InvocationTargetException: The end upgrade version is actually at 4.3.1 but
our management server code version is at 4.3.2-SNAPSHOT -> [Help 1]

I am currently on 4.3 branch. I have tried this in a different host and was
able to deploy the DB successfully. What is the reason for this error? What
is this 4.3.2-SNAPSHOT ?

Thank you.



*Deepal Jayasekara*
Undergraduate, Department Of Computer Science And Engineering
University of Moratuwa, Sri Lanka
| mobile: +94712070097  | blog: *insiderattack.blogspot.com
*





RE: To let SSVM reach outside network.

2014-11-18 Thread Vadim Kimlaychuk
Will fix my last point - KVM should have at least 2 bridges, not necessarily 
interfaces - public/private. 

Vadim

-Original Message-
From: Vadim Kimlaychuk [mailto:vadim.kimlayc...@elion.ee] 
Sent: Tuesday, November 18, 2014 11:21 AM
To: users@cloudstack.apache.org
Subject: RE: To let SSVM reach outside network.

Hello Dan,

It seems there is something wrong with your network setup and here are 
some places to search:
1. Why your management server has 2 NICs?  It should not work as NAT, proxy or 
any kind of switch - keep this in mind. 
2. SSVM normally has to have 3 interfaces (at least). One -- with public IP, 
one -- management network IP and one -- link local IP. If you have separate 
storage network -- it may have one more, but this is not your case. Check 
routing table for your SSVM with "route -n" command. Find your default gateway. 
It should be public interface. 
3. Did you set up KVM hypervisor network correctly? Does it have 2 interfaces 
like in the setup guide? Does your hypervisor have access to internet to be 
able to download template? 

Vadim.

-Original Message-
From: Dan Dong [mailto:dongda...@gmail.com] 
Sent: Monday, November 17, 2014 7:02 PM
To: users@cloudstack.apache.org
Subject: To let SSVM reach outside network.

Hi, All,
  I found I could not register my ISO image to the cloudstack( through URL of 
http://releases.ubuntu.com/14.04.1/ubuntu-14.04.1-server-amd64.iso). The SSVM 
is running and health check show no problems on it. But it just could not see 
the outside network, although SSVM is on the same network as KVM host, i.e. 
192.168.0.*. My setup is as following:

Management Server external NIC:10.*
Management Server internal NIC: 192.168.0.100

KVM host NIC: 192.168.0.101
guest VMs are all in 192.168.0.*/24 network.

From SSVM I can ping the internal IP of the Management Server at 192.168.0.100, 
but could not ping the external IP of it at 10.*.

From KVM host itself I can reach the outside internet as NAT is configured on 
the Management Server to let the 192.168.0.0 traffic through. Any hints how to 
let SSVM to reach the internet?


Cheers,
Dan


RE: To let SSVM reach outside network.

2014-11-18 Thread Vadim Kimlaychuk
Hello Dan,

It seems there is something wrong with your network setup and here are 
some places to search:
1. Why your management server has 2 NICs?  It should not work as NAT, proxy or 
any kind of switch - keep this in mind. 
2. SSVM normally has to have 3 interfaces (at least). One -- with public IP, 
one -- management network IP and one -- link local IP. If you have separate 
storage network -- it may have one more, but this is not your case. Check 
routing table for your SSVM with "route -n" command. Find your default gateway. 
It should be public interface. 
3. Did you set up KVM hypervisor network correctly? Does it have 2 interfaces 
like in the setup guide? Does your hypervisor have access to internet to be 
able to download template? 

Vadim.

-Original Message-
From: Dan Dong [mailto:dongda...@gmail.com] 
Sent: Monday, November 17, 2014 7:02 PM
To: users@cloudstack.apache.org
Subject: To let SSVM reach outside network.

Hi, All,
  I found I could not register my ISO image to the cloudstack( through URL of 
http://releases.ubuntu.com/14.04.1/ubuntu-14.04.1-server-amd64.iso). The SSVM 
is running and health check show no problems on it. But it just could not see 
the outside network, although SSVM is on the same network as KVM host, i.e. 
192.168.0.*. My setup is as following:

Management Server external NIC:10.*
Management Server internal NIC: 192.168.0.100

KVM host NIC: 192.168.0.101
guest VMs are all in 192.168.0.*/24 network.

From SSVM I can ping the internal IP of the Management Server at 192.168.0.100, 
but could not ping the external IP of it at 10.*.

From KVM host itself I can reach the outside internet as NAT is configured on 
the Management Server to let the 192.168.0.0 traffic through. Any hints how to 
let SSVM to reach the internet?


Cheers,
Dan


Re: [DISCUSS] 4.3 branch backporting bugfixes

2014-11-18 Thread Daan Hoogland
Two points of concern, Rohit;

1. Doing this is making a promise for the future. Can and will we keep this?
2. don't port anything to 4.3.2 that you don't apply to the  4.4 branch as well.

otherwise I'm all for it.


[DISCUSS] 4.3 branch backporting bugfixes

2014-11-18 Thread Rohit Yadav
Hi,

ACS 4.3 branch and both 4.3.0 and 4.3.1 were rock solid releases. Before 4.5.0 
is out or a stable and well-tested 4.4.x release, should we go through issues 
reported for affects version 4.3.0/4.3.1 but a fix version that is 
4.4.x/4.5.x/4.6.x [1] and backport on 4.3 branch.

Should we do a 4.3.2 release? If that may add DB upgrade path issues, I can 
help build a 4.3.1 patch and host on ShapeBlue’s packages hosting [2],  the 
branch of which is public [3] and useful for everyone (i.e. we build ACS 4.3.1 
with commits since 4.3.1 release). The useful thing about our patch releases is 
that we do short release notes [3] and upgrades are as simple as just 
apt-get/yum update/upgrade.

[1] 
https://issues.apache.org/jira/browse/CLOUDSTACK-7595?jql=project%20%3D%20CLOUDSTACK%20AND%20status%20in%20(Resolved%2C%20Closed)%20AND%20affectedVersion%20in%20(4.3.0%2C%204.3.1)%20AND%20fixVersion%20in%20(4.4.0%2C%204.4.1%2C%204.5.0%2C%204.6.0)%20AND%20created%20%3C%3D%20-8w
[2] shapeblue.com/packages
[3] https://github.com/shapeblue/cloudstack/tree/shapeblue-4.3.1

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 88 262 30892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Software 
Engineering
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

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 a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: Assign multiple users to a single virtual machine

2014-11-18 Thread Kirk Kosinski
Hi, projects are the likely solution, but keep in mind that VMs are
owned by accounts and not users, and that you can create multiple users
in one account.  Any user in an account can therefore access the VMs
created by any other user in the account.

Best regards,
Kirk

On 11/17/2014 11:38 PM, Tilak Raj Singh wrote:
> Thanks Geoff I will surely try this feature and get back incase I face any
> problems
> 
> Regards
> 
> On Tue, Nov 18, 2014 at 12:59 PM, Geoff Higginbottom <
> geoff.higginbot...@shapeblue.com> wrote:
> 
>> Hi Tilak
>>
>> This is exactly the use case for the Projects feature.  As long as the
>> accounts your two users belong to are in the same domain you can create a
>> project and add them both to it.  Any VMS created belong to the project and
>> you can add and remove users at will.
>>
>> Regards
>>
>> Geoff Higginbottom
>> CTO / Cloud Architect
>>
>> D: +44 20 3603 0542 | S: +44 20 3603
>> 0540 | M: +447968161581
>>
>> geoff.higginbot...@shapeblue.com
>> | www.shapeblue.com | Twitter:@cloudstackguru<
>> https://twitter.com/#!/cloudstackguru>
>>
>> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N
>> 4HS
>>
>>
>> On 17 Nov 2014, at 23:15, Tilak Raj Singh > tila...@gmail.com>> wrote:
>>
>> Hi..
>> I was wondering if I can assign same virtual machine to multiple users so
>> that they can access it from there UI.
>>
>> For example:-
>> I have a machine i-2-3-vm running centos and two users user1 and user2
>> Now I want that when user1 or user2 logs into cloudstack they both can see
>> this i-2-3-vm on there interface and they both can access the machine via
>> browser on clicking the console button..
>>
>> Is such a thing possible with the current cloudstack architecture anyhow?
>> If yes please let me know how to do it.
>>
>> Regards
>> Find out more about ShapeBlue and our range of CloudStack related services
>>
>> IaaS Cloud Design & Build<
>> http://shapeblue.com/iaas-cloud-design-and-build//>
>> CSForge - rapid IaaS deployment framework
>> CloudStack Consulting
>> CloudStack Software Engineering<
>> http://shapeblue.com/cloudstack-software-engineering/>
>> CloudStack Infrastructure Support<
>> http://shapeblue.com/cloudstack-infrastructure-support/>
>> CloudStack Bootcamp Training Courses<
>> http://shapeblue.com/cloudstack-training/>
>>
>> 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 a
>> company incorporated in India and is operated under license from Shape Blue
>> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
>> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is
>> a company registered by The Republic of South Africa and is traded under
>> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>>
>