Re: devcloud-kvm

2013-09-01 Thread Marcus Sorensen
I updated devcloud-kvm-fusion tonight for 4.2/master compatibility.
New system vm template, a few tweaks (preinstalled a few dependencies,
etc). It may not help with your fusion networking issue, but at least
I can say with certainty that this version will launch a 4.2 zone via
the documentation (and made a minor tweak or two to the documentation
itself).

On Sat, Aug 31, 2013 at 8:59 PM, Marcus Sorensen  wrote:
> Also take a look at the output of this:
>
> Marcuss-MacBook-Pro:~ marcus$ sudo /Applications/VMware\
> Fusion.app/Contents/Library/vmnet-cli --status
> Password:
> NAT service on vmnet1 is running
> Hostonly virtual adapter on vmnet1 is enabled
> NAT service on vmnet8 is running
> Hostonly virtual adapter on vmnet8 is enabled
> All the services configured on all the networks are running
>
> On Sat, Aug 31, 2013 at 8:05 PM, Marcus Sorensen  wrote:
>> Check your nat.conf files and verify that they have an ip and netmask
>> entry, bot the vmnet1 and vmnet8 ones, they tend to get switched back
>> automatically for some reason.
>>
>> /Library/Preferences/VMware\ Fusion/vmnet1/nat.conf
>> /Library/Preferences/VMware\ Fusion/vmnet8/nat.conf
>>
>> Marcuss-MacBook-Pro:~ marcus$ grep ip /Library/Preferences/VMware\
>> Fusion/vmnet[18]/nat.conf
>> /Library/Preferences/VMware Fusion/vmnet1/nat.conf:ip = 172.17.10.1
>> /Library/Preferences/VMware Fusion/vmnet8/nat.conf:ip = 192.168.100.1
>>
>> Marcuss-MacBook-Pro:~ marcus$ grep netmask
>> /Library/Preferences/VMware\ Fusion/vmnet[18]/nat.conf
>> /Library/Preferences/VMware Fusion/vmnet1/nat.conf:netmask = 255.255.255.0
>> /Library/Preferences/VMware Fusion/vmnet8/nat.conf:netmask = 255.255.255.0
>>
>> Marcuss-MacBook-Pro:~ marcus$ ifconfig -a
>> lo0: flags=8049 mtu 16384
>> options=3
>> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
>> inet 127.0.0.1 netmask 0xff00
>> inet6 ::1 prefixlen 128
>> gif0: flags=8010 mtu 1280
>> stf0: flags=0<> mtu 1280
>> en0: flags=8863 mtu 1500
>> ether 14:10:9f:d7:0b:13
>> inet6 fe80::1610:9fff:fed7:b13%en0 prefixlen 64 scopeid 0x4
>> inet 10.10.10.145 netmask 0xff00 broadcast 10.10.10.255
>> media: autoselect
>> status: active
>> p2p0: flags=8843 mtu 2304
>> ether 06:10:9f:d7:0b:13
>> media: autoselect
>> status: inactive
>> vmnet1: flags=8863 mtu 1500
>> ether 00:50:56:c0:00:01
>> inet 172.17.10.2 netmask 0xff00 broadcast 172.17.10.255
>> vmnet8: flags=8863 mtu 1500
>> ether 00:50:56:c0:00:08
>> inet 192.168.100.2 netmask 0xff00 broadcast 192.168.100.255
>>
>> You may also have to change the IPs on your other VMs to go along with
>> these NAT subnets if you have others.
>>
>> On Sat, Aug 31, 2013 at 6:24 PM, Mike Tutkowski
>>  wrote:
>>> I notice when running ifconfig from my host (Mac OS X), I don't see any
>>> info on Fusion adapter:
>>>
>>> lo0: flags=8049 mtu 16384
>>> options=3
>>> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
>>> inet 127.0.0.1 netmask 0xff00
>>> inet6 ::1 prefixlen 128
>>> gif0: flags=8010 mtu 1280
>>> stf0: flags=0<> mtu 1280
>>> en0: flags=8863 mtu 1500
>>> options=2b
>>> ether 40:6c:8f:56:0e:27
>>> media: autoselect (none)
>>> status: inactive
>>> en1: flags=8863 mtu 1500
>>> ether 7c:d1:c3:8f:e1:64
>>> inet6 fe80::7ed1:c3ff:fe8f:e164%en1 prefixlen 64 scopeid 0x5
>>> inet6 2600:100e:b006:5436:7ed1:c3ff:fe8f:e164 prefixlen 64 autoconf
>>> inet6 2600:100e:b006:5436:b47f:ebff:2b65:c03b prefixlen 64 autoconf
>>> temporary
>>> inet 192.168.1.12 netmask 0xff00 broadcast 192.168.1.255
>>> media: autoselect
>>> status: active
>>> p2p0: flags=8843 mtu 2304
>>> ether 0e:d1:c3:8f:e1:64
>>> media: autoselect
>>> status: inactive
>>> fw0: flags=8863 mtu 4078
>>> lladdr 00:3e:e1:ff:fe:61:3c:5c
>>> media: autoselect 
>>> status: inactive
>>>
>>>
>>>
>>> On Sat, Aug 31, 2013 at 6:21 PM, Mike Tutkowski <
>>> mike.tutkow...@solidfire.com> wrote:
>>>
 So, here is info from ifconfig:

 cloudbr1  Link encap:Ethernet  HWaddr 52:54:00:52:B1:5E
   inet addr:192.168.100.10  Bcast:192.168.100.255
  Mask:255.255.255.0
   inet6 addr: fe80::5054:ff:fe52:b15e/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
   TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:0 (0.0 b)  TX bytes:6571 (6.4 KiB)

 This is my attempt to SSH in:

 mtutkowski-LT:~ mtutkowski$ ssh root@192.168.100.10
 ssh: connect to host 192.168.100.10 port 22: Operation timed out

 I've also noticed my XenServer VM that I run under Fusion is no longer
 pingable.

 Always something, eh. :)

 Thanks for helping me out!


 On Sat, Aug 31, 2013 at 6:14 PM, Marcus Sorensen 
 wrote:

> You may have to look into the VMware fusion vmnet commands, when I get a
> minute I'll take a look at mine, I remember it being kind of fickle.  None
> of that should keep you from

Re: [WEBSITE] Question on adding ACS appliances to FAQ & Downloads

2013-09-01 Thread Sebastien Goasguen

On Aug 31, 2013, at 2:46 AM, "Musayev, Ilya"  wrote:

> What is your thought on adding link to CloudStack Virtual Appliances on 
> CloudStack.org FAQ and Download page?
> 
> In my opinion, it will simplify with POC (as they usually all begin) and 
> therefore adoption process.

I am +1 on this, 

It's purely open source and CloudSand is not a company ?

-Sebastien



Re: Cloudstack-2014 LdapPlugin Merged to Master

2013-09-01 Thread Daan Hoogland
congrats Ian,

If I burn you for breaking master, it is saying nothing of you and
your very welcome achievement! (and i will help you fix it)

Daan

On Sat, Aug 31, 2013 at 11:12 PM, Ian Duffy  wrote:
> Hi,
>
> I placed in a request in to the mailing list earlier in the week to get
> LdapPlugin merged into master.
>
> Ilya said he would do it, we have since been talking and I have done the
> merge. Bit nervous committing for the first time but everything seems to of
> gone ok. If it has caused any issues please let me know!
>
> Thanks,
> Ian


Re: Review Request 13771: CLOUDSTACK-4346 replace URI getHost() and create(String) calls

2013-09-01 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/13771/#review25816
---


Commit d9c06e538be96c347acc9055c267efda0b7bb559 in branch refs/heads/master 
from Daan Hoogland
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=d9c06e5 ]

CLOUDSTACK-4346 replace URI getHost() and create(String) calls with 
BroadcastDomainType methods


- ASF Subversion and Git Services


On Aug. 31, 2013, 7:57 p.m., daan Hoogland wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/13771/
> ---
> 
> (Updated Aug. 31, 2013, 7:57 p.m.)
> 
> 
> Review request for cloudstack, Chiradeep Vittal, Dave Cahill, Hugo Trippaers, 
> Wido den Hollander, and Sheng Yang.
> 
> 
> Bugs: CLOUDSTACK-4346
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> After global search and replace all calls to retrieve ids for networks from 
> URIs using getHost() should be gone. Creating URI should now all use 
> appropriate calls as well so maitaining the way uris are built can now be 
> done centrally.
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BaremetaNetworkGuru.java
>  07ee12d 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/BridgeVifDriver.java
>  195cf40 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
>  a156ae6 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/OvsVifDriver.java
>  7038d7e 
>   plugins/hypervisors/ovm/src/com/cloud/ovm/hypervisor/OvmResourceBase.java 
> 59ba001 
>   
> plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
>  5ab2216 
>   
> plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
>  ecdec1e 
>   
> plugins/network-elements/bigswitch-vns/src/com/cloud/network/element/BigSwitchVnsElement.java
>  54623e9 
>   
> plugins/network-elements/cisco-vnmc/src/com/cloud/network/element/CiscoVnmcElement.java
>  3ae6a08 
>   
> plugins/network-elements/f5/src/com/cloud/network/resource/F5BigIpResource.java
>  1733712 
>   
> plugins/network-elements/juniper-srx/src/com/cloud/network/resource/JuniperSrxResource.java
>  3d3d797 
>   
> plugins/network-elements/nicira-nvp/src/com/cloud/network/element/NiciraNvpElement.java
>  c7d0884 
>   
> plugins/network-elements/nicira-nvp/src/com/cloud/network/guru/NiciraNvpGuestNetworkGuru.java
>  ff238ed 
>   
> plugins/network-elements/ovs/src/com/cloud/network/ovs/OvsTunnelManagerImpl.java
>  36a807f 
>   server/src/com/cloud/api/ApiResponseHelper.java c771431 
>   server/src/com/cloud/network/ExternalDeviceUsageManagerImpl.java e91dcfa 
>   server/src/com/cloud/network/ExternalFirewallDeviceManagerImpl.java a934024 
>   server/src/com/cloud/network/ExternalLoadBalancerDeviceManagerImpl.java 
> c14d5c7 
>   server/src/com/cloud/network/NetworkManagerImpl.java 00103e3 
>   server/src/com/cloud/network/guru/DirectPodBasedNetworkGuru.java 5b87d54 
>   server/src/com/cloud/network/guru/ExternalGuestNetworkGuru.java 00598dd 
>   server/src/com/cloud/network/guru/GuestNetworkGuru.java b0da42f 
>   server/src/com/cloud/network/guru/PrivateNetworkGuru.java 6521cf4 
>   server/src/com/cloud/network/guru/PublicNetworkGuru.java d109468 
>   
> server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManagerImpl.java
>  ee0d058 
>   utils/src/com/cloud/utils/net/NetUtils.java 05b485b 
> 
> Diff: https://reviews.apache.org/r/13771/diff/
> 
> 
> Testing
> ---
> 
> tested with old style uris in regular networks and vpc based networks as well 
> as in nicira based networks
> test build in nonoss but not all code has probably been touched yet. or at 
> least I am unsure of that.
> 
> 
> Thanks,
> 
> daan Hoogland
> 
>



Wiki on Adding config parameters at different scopes

2013-09-01 Thread Harikrishna Patnala
Hi all,

As we know we have now the configuration parameters at different scopes 
(account, zone, cluster, or primary storage). 
https://issues.apache.org/jira/browse/CLOUDSTACK-741

I have prepared a wiki on how to use and add configuration parameters at 
different scopes.
LINK: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Adding+a+global+config+-+configurable+at+different+scopes

Please follow the wiki on this.

Thanks and regards,
Harikrishna



VM deployment fails when using a tagged host offering with InsufficientServerCapacityException

2013-09-01 Thread Ashutosh Kelkar
Hi,

I'm trying to create VMs based on Service offerings that are tagged to
certain hosts.
While trying to create VMs from the tagged offerings I get an Insufficient
Capacity error. Looking at the logs they say there are no suitable storage
pools for the VM


I've tried this manually too and it fails. A normal untagged service
offering VM creation is successful though.

Both were deployed in to a Isolated network.

Attached are the logs from the management server for the deployment job

Executor - Job-Executor-81:job-2643
Id   - 94a91c6a-919f-4250-aff5-b7dd6ed81fcb

Regards
Ashutosk


RE: SSVM request handling in VMWare

2013-09-01 Thread Sanjeev Neelarapu
Thaks for the response Kelvin.

I was checking SSVM logs when performed these operations. As per my observation 
when snapshot operation was going on, 
Initiating template creation from another existing snapshot waited for the 
first snapshot to finish and then template was created.
So the question here is are all the operation on SSVM sequential? Aren't they 
executed in parallel?

Thanks,
Sanjeev


-Original Message-
From: Kelven Yang [mailto:kelven.y...@citrix.com] 
Sent: Wednesday, August 28, 2013 9:37 PM
To: dev@cloudstack.apache.org; cloudstack-...@incubator.apache.org
Subject: Re: SSVM request handling in VMWare

Template creation is handled in SSVM, you need to check the SSVM log

Kelven

On 8/27/13 5:49 AM, "Sanjeev Neelarapu" 
wrote:

>Hi All,
>
>I was performing some operations related to snapshots and templates on 
>VMWare with CS 4.2.
>Initiated create snapshot and while that was in processing tried to 
>create template from another existing snapshot.
>In /var/log/cloud.log I could see logs related to snapshot creation 
>process but din't see  any messages related to template creation from 
>snapshot.
>So the question is SSVM request handling is sequential in 4.2 ?
>
>Thanks,
>Sanjeev



Re: VM deployment fails when using a tagged host offering with InsufficientServerCapacityException

2013-09-01 Thread Prasanna Santhanam
On Mon, Sep 02, 2013 at 10:57:49AM +0530, Ashutosh Kelkar wrote:
> Hi,
> 
> I'm trying to create VMs based on Service offerings that are tagged to
> certain hosts.
> While trying to create VMs from the tagged offerings I get an Insufficient
> Capacity error. Looking at the logs they say there are no suitable storage
> pools for the VM

Silly question, but are any of your hosts tagged with the same tag as
you gave on the service offering? There's a wiki on tags explained
here: https://cwiki.apache.org/confluence/x/_QLMAQ. Can you see if
there's anything that helps solve this?

Since attachments are stripped can you please post the logs to a
github gist? Also mention which version/branch of CloudStack you are
running.

> 
> 
> I've tried this manually too and it fails. A normal untagged service
> offering VM creation is successful though.
> 
> Both were deployed in to a Isolated network.
> 
> Attached are the logs from the management server for the deployment job
> 
> Executor - Job-Executor-81:job-2643
> Id   - 94a91c6a-919f-4250-aff5-b7dd6ed81fcb
> 
> Regards
> Ashutosk


-- 
Prasanna.,


Powered by BigRock.com



DEVCLOUD 2 KEEPS FAILING, is DC2.ova corrupted???

2013-09-01 Thread Punith s
hi folks,

i'm using a devcloud2.ova , it is perfectly getting imported into oracle
VirtualBox, but after starting the Xen server , the debian vm immediately
crashes popping up two error windows showing,

A critical error has occurred while running the virtual machine and the
machine execution has been stopped.

A fatal error has occurred during virtual machine execution! The virtual
machine will be powered off. Please copy the following error message using
the clipboard to help diagnose the problem:

The guest is trying to switch to the PAE mode which is currently disabled
by default in VirtualBox. PAE support can be enabled using the VM settings
(General/Advanced).

i also checked my vlogs, found one error

*Console: VM runtime error: fatal=false, errorID=Ext4PartitionDetected
message="The host I/O cache for at least one controller is disabled and the
medium '/home/punith/VirtualBox VMs/DevCloud2/devcloud2-newww-disk1.vmdk'
for this VM is located on an ext4 partition. There is a known Linux kernel
bug which can lead to the corruption of the virtual disk image under these
conditions.*


pre-setup , i have also disabled the DHCP ,


is the devcloud2.ova broken ??


thanks,


regards

punith s

cloudbyte.inc


Re: DEVCLOUD 2 KEEPS FAILING, is DC2.ova corrupted???

2013-09-01 Thread Prasanna Santhanam
On Mon, Sep 02, 2013 at 11:44:40AM +0530, Punith s wrote:
> hi folks,
> 
> i'm using a devcloud2.ova , it is perfectly getting imported into oracle
> VirtualBox, but after starting the Xen server , the debian vm immediately
> crashes popping up two error windows showing,
> 
> A critical error has occurred while running the virtual machine and the
> machine execution has been stopped.
> 
> A fatal error has occurred during virtual machine execution! The virtual
> machine will be powered off. Please copy the following error message using
> the clipboard to help diagnose the problem:
> 
> The guest is trying to switch to the PAE mode which is currently disabled
> by default in VirtualBox. PAE support can be enabled using the VM settings
> (General/Advanced).
> 
> i also checked my vlogs, found one error
> 
> *Console: VM runtime error: fatal=false, errorID=Ext4PartitionDetected
> message="The host I/O cache for at least one controller is disabled and the
> medium '/home/punith/VirtualBox VMs/DevCloud2/devcloud2-newww-disk1.vmdk'
> for this VM is located on an ext4 partition. There is a known Linux kernel
> bug which can lead to the corruption of the virtual disk image under these
> conditions.*
> 
> 
> pre-setup , i have also disabled the DHCP ,
> 
> 
> is the devcloud2.ova broken ??
> 

Not quite. I ran it a couple of days ago without issues. here's my vm
info after it was imported into virtualbox

https://gist.github.com/vogxn/5671659

Can you try upgrading to the latest virtualbox? I'm on 4.2.16

> 
> thanks,
> 
> 
> regards
> 
> punith s
> 
> cloudbyte.inc

-- 
Prasanna.,


Powered by BigRock.com



[ACS42] Security Groups in Advanced Zones

2013-09-01 Thread Paul Angus
Hi Guys,

Does a 'Security Groups in Advanced Zones' zone support multiple physical guest 
networks? You can't add them via the GUI as you receive an error saying you 
need to have already set the tags on them - which you'd have to do via the api.



Regards,

Paul Angus
Senior Consultant / Cloud Architect
[cid:image002.png@01CEA7AF.24301790]

S: +44 20 3603 0540 | M: +447711418784 | 
T: CloudyAngus
paul.an...@shapeblue.com | 
www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Apache CloudStack Bootcamp training courses
21/22 August, 
London
18/19 September, 
Bangalore
02/03 October, 
London
13/14 November, 
London
27/28 November, 
Bangalore
08/09 January 2014, 
London

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.