Re: CloudStack usage calculation doesn't work?

2014-02-04 Thread Ahmad Emneina
I typically use the root admin api calls generateUsageRecords[0] and
listUsageRecords[1] to kickstart the process. When things refuse to
cooperate; I've found it useful to nuke the entries in the db table
cloud_usage.usage_job, restart the services (-management and -usage), and
make the genUsage/listUsage api calls to get things back on track. I havent
had to go to that extreme in a very long time, so try hitting the server
with the api calls. hope that helps.

[0]:
https://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/generateUsageRecords.html
[1]:
https://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/listUsageRecords.html


On Tue, Feb 4, 2014 at 8:17 PM, Indra Pramana  wrote:

> Hi,
>
> When I installed CloudStack, I also installed the CloudStack usage server
> and the service seems to be running fine, I can stop and start the service
> and the status is running.
>
> ===
> # service cloudstack-usage restart
>  * Stopping CloudStack Usage Monitor cloudstack-usage[
> OK ]
>  * Starting CloudStack Usage Monitor cloudstack-usage[
> OK ]
> # service cloudstack-usage status
>  * cloudstack-usage is running
>
> I also have configured the usage server based on the documentation at this
> URL:
>
>
> https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/configure-usage-server.html
>
> ===
> enable.usage.server = true
> usage.aggregation.timezone = GMT
> usage.execution.timezone = GMT
> usage.stats.job.aggregation.range = 1440
> usage.stats.job.exec.time = 00:15
> ===
>
> However, it seems that the usage server doesn't work as expected. I don't
> see anything on the cloud_usage database, and the content of
> /var/log/cloudstack/usage is also empty, so I can't find any logs
> pertaining to the usage server.
>
> Anything I might have missed out?
>
> Thank you.
>


Re: DNS question

2014-02-04 Thread Zack Payton
Also curious if it's possible via CloudStack (without hacking up the
virtual routers) to create a permanent static DHCP lease for a VM?  If I'm
going to start creating DNS entries for hosts on the network, I want to
ensure that they won't change.


On Tue, Feb 4, 2014 at 10:28 PM, Zack Payton  wrote:

> Is it possible to name different DNS servers per network or per account?
> Example 1:  I would like to provision a network for a customer that uses a
> DNS server they control.
> Example 2:  I would like to provision a network and then a DNS server just
> for that network and all ensuing guests provisioned on that network should
> be assigned the locally provisioned DNS server.
>
> Thanks,
> Zack
>
>
>


DNS question

2014-02-04 Thread Zack Payton
Is it possible to name different DNS servers per network or per account?
Example 1:  I would like to provision a network for a customer that uses a
DNS server they control.
Example 2:  I would like to provision a network and then a DNS server just
for that network and all ensuing guests provisioned on that network should
be assigned the locally provisioned DNS server.

Thanks,
Zack


Re: Can't start SSVMs

2014-02-04 Thread Prasanna Santhanam
On Tue, Feb 04, 2014 at 01:48:48PM -0800, Dustin J. Mitchell wrote:
> Ah, never mind - I had somehow downloaded the vmware template.
> 
> Par for the course to finally figure that out only *after* emailing the list!

the systemvms are the tough hurdle people stumble upon on this mailing
list often. this might come in handy: 
https://cwiki.apache.org/confluence/x/5wLMAQ

> 
> Dustin

-- 
Prasanna.,


Powered by BigRock.com



CloudStack usage calculation doesn't work?

2014-02-04 Thread Indra Pramana
Hi,

When I installed CloudStack, I also installed the CloudStack usage server
and the service seems to be running fine, I can stop and start the service
and the status is running.

===
# service cloudstack-usage restart
 * Stopping CloudStack Usage Monitor cloudstack-usage[
OK ]
 * Starting CloudStack Usage Monitor cloudstack-usage[
OK ]
# service cloudstack-usage status
 * cloudstack-usage is running

I also have configured the usage server based on the documentation at this
URL:

https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/configure-usage-server.html

===
enable.usage.server = true
usage.aggregation.timezone = GMT
usage.execution.timezone = GMT
usage.stats.job.aggregation.range = 1440
usage.stats.job.exec.time = 00:15
===

However, it seems that the usage server doesn't work as expected. I don't
see anything on the cloud_usage database, and the content of
/var/log/cloudstack/usage is also empty, so I can't find any logs
pertaining to the usage server.

Anything I might have missed out?

Thank you.


live block migration in cloudstack 4.2

2014-02-04 Thread Ivan Rodriguez
Hi Everyone,

I'm looking in the doco for live block migration in cloudstack 4.2,
example we want to migrate a vm from a low performance lun
to a fast storage, is this possible inside cloudstack ?

Thanks


RE: OpenDaylight Hydrogen SDN integration?

2014-02-04 Thread Adrian Lewis
It's being worked on already. When the FOSDEM videos get uploaded I think
you should be able to take a look at Hugo Trippaers' talk:

https://fosdem.org/2014/schedule/event/virtiaas21/

Can't say for sure whether it was recorded or not though.

-Original Message-
From: Dag Sonstebo [mailto:d...@sonstebo.co.uk]
Sent: 05 February 2014 00:36
To: users@cloudstack.apache.org
Subject: OpenDaylight Hydrogen SDN integration?

Hi,

I see the OpenDaylight project has just announced it's first SDN
controller release - Hydrogen.
Does anyone know any timeline for including this in CS?

Dag


Re: CloudStack 4.2 | Xen Server 6.2

2014-02-04 Thread Maurice Lawler

Thank you! :)


On 2/4/14, 7:50 PM, Tim Mackey wrote:

Maurice, the XenServer cloud supplemental pack is only required with older
versions of XenServer. The functionality in that pack is part of XenServer
6.2 which works fine with CloudStack 4.2.
On Feb 4, 2014 7:37 PM, "Maurice Lawler"  wrote:


Is Xen Server 6.2 supported by Cloudstack 4.2 ? If so, I am not finding a
supp pack listed here: http://cloudstack.apache.org/
docs/en-US/Apache_CloudStack/4.2.0/html/Installation_Guide/
citrix-xenserver-installation.html#system-requirements-xenserver-hosts

I saw some chatter about it being supported by 4.2 -- but that's where my
trail ended.

Thanks,
Maurice





Re: CloudStack 4.2 | Xen Server 6.2

2014-02-04 Thread Tim Mackey
Maurice, the XenServer cloud supplemental pack is only required with older
versions of XenServer. The functionality in that pack is part of XenServer
6.2 which works fine with CloudStack 4.2.
On Feb 4, 2014 7:37 PM, "Maurice Lawler"  wrote:

> Is Xen Server 6.2 supported by Cloudstack 4.2 ? If so, I am not finding a
> supp pack listed here: http://cloudstack.apache.org/
> docs/en-US/Apache_CloudStack/4.2.0/html/Installation_Guide/
> citrix-xenserver-installation.html#system-requirements-xenserver-hosts
>
> I saw some chatter about it being supported by 4.2 -- but that's where my
> trail ended.
>
> Thanks,
> Maurice
>


CloudStack 4.2 | Xen Server 6.2

2014-02-04 Thread Maurice Lawler
Is Xen Server 6.2 supported by Cloudstack 4.2 ? If so, I am not finding 
a supp pack listed here: 
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Installation_Guide/citrix-xenserver-installation.html#system-requirements-xenserver-hosts


I saw some chatter about it being supported by 4.2 -- but that's where 
my trail ended.


Thanks,
Maurice


OpenDaylight Hydrogen SDN integration?

2014-02-04 Thread Dag Sonstebo
Hi,

I see the OpenDaylight project has just announced it's first SDN controller 
release - Hydrogen. 
Does anyone know any timeline for including this in CS?

Dag

Re: Cloudstack 4.2.1, KVM & Advanced networking headaches

2014-02-04 Thread Zack Payton
Tanner,

I myself am very new to cloudstack so take what I say with a few grains of
salt.
I am using KVM with bonded interfaces as well though mine are in
active/active mode (switch supports it).  Additionally, I used Centos
rather than Ubuntu.

I have never been able to get CloudStack KVM to work when I tried to do the
management on the same bond as the guest/public networks.  For my
configuration, I set up 1 dedicated interface for management (on the switch
this was configured as an access port) and then configured it to bridge via
cloudbr0.  Then, I set up my bond0 interface to bridge to cloudbr1.  On
advanced zone configuration, I set my management network KVM label to be
cloudbr0 and then both public and guest kvm labels to be cloudbr1 (note
that on the switch the aggregated port connecting to the bond0 physical
port was configured as an 802.1q trunk).

After that, my biggest difficulties were to get the VLANs for the guest up
and running, as well as ensuring that the public network had access to a
DNS server, and internet routing so that the SSVM could download the
default template as well as connect to the secondary storage.

If you have a 3rd NIC card in those machines, my advice would be to that
for management and leave the guest/public networks to the bonded interface.
 If you don't have a 3rd NIC, forget about the bonding and just use one NIC
for guest/public and one for management.  I'm sure that there is a way to
get around this but after an excruciating number of attempts, this has been
the only way that I've found to make it work.

I'm sure that the dudes on this list might have some better advice though
because as I said, I'm rather new to CloudStack.

Good Luck,
Z


On Tue, Feb 4, 2014 at 9:50 AM, Tanner Danzey  wrote:

> Hello all. My name is Tanner Danzey. Just a little introduction since this
> will be my first post to this list. I am from Fargo, North Dakota and I
> have had fairly significant Linux & Linux server experience for about four
> years.
>
> My coworker and I are working on rolling a Cloudstack cloud using Ubuntu
> 13.10, Ceph, Rados Gateway (S3) and KVM and commodity hardware. We
> currently have our Ceph and Rados setup under lock and key as far as our
> testing can tell. Installing the management server is a breeze, so that's
> not an issue either. Our issue seems to be of a networking nature.
>
> Our desire to use advanced networking has been made complicated by our
> other desires. Originally we planned to use many LACP & trunk
> configurations to achieve highest bandwidth and redundancy possible, but
> our discovery that the switch we are using (two Catalyst 2960 48 port
> switches in stacked configuration) only allows for six port channels
> complicated that plan. Now we are still using bonded adaptors but in
> active-backup mode so that we do not need switch side configuration tricks
> or port channels. I have attached an example of our KVM hypervisor
> configuration.
>
> We have interface bond0 in active-backup mode bridged with em1 and em2.
> Both of those ports are connected to switch trunk ports. Here's where
> things get silly. Our KVM nodes are able to be pinged and managed on the
> management IP assigned and when we create a zone and assign the bridges
> their respective traffic. However, they are not connected to the public
> network. Some variations of this configuration even result in no
> connectivity other than link local.
>
> Essentially, we are trying to find the best way to approach this
> situation. We are open to using Open VSwitch. Our VLANs will be 50 as
> public, 100 as management / storage, and 200-300 as guest VLANs unless
> there is a more pragmatic arrangement.
>
> Our plan after this deployment is to help brush up documentation where
> possible regarding some of these edge-case scenarios and potentially do a
> thorough writeup. Any and all help is appreciated, and if you require
> compensation for the help I'm sure something can be arranged.
>
> Thanks in advance, sorry for the overly long message :)
>


Re: Can't start SSVMs

2014-02-04 Thread Dustin J. Mitchell
Ah, never mind - I had somehow downloaded the vmware template.

Par for the course to finally figure that out only *after* emailing the list!

Dustin


Can't start SSVMs

2014-02-04 Thread Dustin J. Mitchell
I'm setting up a Cloudstack instance for evaluation.  It's built on CentOS 6.5, 
and I'm using libvirt + Qemu/KVM.  I've followed the installation guide 
closely, except that I don't have access to VLAN tagging, so I'm using a single 
flat network.

The management host fails to start the SSVM.  Initially, I was seeing

com.cloud.exception.StorageUnavailableException: Resource [StoragePool:3] is 
unreachable: Unable to create 
Vol[44|vm=44|ROOT]:com.cloud.utils.exception.CloudRuntimeException: 
org.libvirt.LibvirtException: internal error Child process (/bin/mount 
cloudstack1.relabs.releng.scl3.mozilla.com:/export/secondary/template/tmpl/1/3 
/mnt/daac6db4-0322-3624-b82f-a08a3f23ae3e) unexpected exit status 32: 
mount.nfs: mounting 
cloudstack1.relabs.releng.scl3.mozilla.com:/export/secondary/template/tmpl/1/3 
failed, reason given by server: No such file or directory

yet the system VM was in template/tmpl/1/8.  So I rsync'd 8/ to 3/ and that 
error went away, but the SSVM still fails to start.

2014-02-04 13:25:03,169 DEBUG [storage.secondary.SecondaryStorageManagerImpl] 
(secstorage-1:null) Zone 1 is ready to launch secondary storage VM
2014-02-04 13:25:03,172 INFO  
[cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:null) No 
running secondary storage vms found in datacenter id=1, starting one
2014-02-04 13:25:03,174 INFO  [storage.secondary.SecondaryStorageManagerImpl] 
(secstorage-1:null) No stopped secondary storage vm is available, need to 
allocate a new secondary storage vm
2014-02-04 13:25:03,175 DEBUG [storage.secondary.SecondaryStorageManagerImpl] 
(secstorage-1:null) Assign secondary storage vm from a newly started instance 
for request from data center : 1
2014-02-04 13:25:03,184 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Found existing network configuration for offering [Network 
Offering [6-Guest-DefaultSharedNetworkOfferingWithSGService]: Ntwk[204|Guest|6]
2014-02-04 13:25:03,184 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Releasing lock for 
Acct[b6f22644-89b9-11e3-8660-005056bb5624-system]
2014-02-04 13:25:03,186 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Found existing network configuration for offering [Network 
Offering [3-Control-System-Control-Network]: Ntwk[202|Control|3]
2014-02-04 13:25:03,186 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Releasing lock for 
Acct[b6f22644-89b9-11e3-8660-005056bb5624-system]
2014-02-04 13:25:03,188 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Found existing network configuration for offering [Network 
Offering [2-Management-System-Management-Network]: Ntwk[201|Management|2]
2014-02-04 13:25:03,188 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Releasing lock for 
Acct[b6f22644-89b9-11e3-8660-005056bb5624-system]
2014-02-04 13:25:03,199 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Found existing network configuration for offering [Network 
Offering [4-Storage-System-Storage-Network]: Ntwk[203|Storage|4]
2014-02-04 13:25:03,199 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Releasing lock for 
Acct[b6f22644-89b9-11e3-8660-005056bb5624-system]
2014-02-04 13:25:03,208 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(secstorage-1:null) Allocating entries for VM: VM[SecondaryStorageVm|s-114-VM]
2014-02-04 13:25:03,211 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(secstorage-1:null) Allocating nics for VM[SecondaryStorageVm|s-114-VM]
2014-02-04 13:25:03,212 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Allocating nic for vm VM[SecondaryStorageVm|s-114-VM] in 
network Ntwk[204|Guest|6] with requested profile NicProfile[0-0-null-null-null
2014-02-04 13:25:03,228 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Allocating nic for vm VM[SecondaryStorageVm|s-114-VM] in 
network Ntwk[202|Control|3] with requested profile null
2014-02-04 13:25:03,239 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Allocating nic for vm VM[SecondaryStorageVm|s-114-VM] in 
network Ntwk[201|Management|2] with requested profile null
2014-02-04 13:25:03,251 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Allocating nic for vm VM[SecondaryStorageVm|s-114-VM] in 
network Ntwk[203|Storage|4] with requested profile null
2014-02-04 13:25:03,263 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(secstorage-1:null) Allocating disks for VM[SecondaryStorageVm|s-114-VM]
2014-02-04 13:25:03,274 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(secstorage-1:null) Allocation completed for VM: VM[SecondaryStorageVm|s-114-VM]
2014-02-04 13:25:03,276 DEBUG [cloud.alert.SecondaryStorageVmAlertAdapter] 
(secstorage-1:null) received secondary storage vm alert
2014-02-04 13:25:03,276 DEBUG [cloud.alert.SecondaryStorageVmAlertAdapter] 
(secstorage-1:null) New secondary storage vm created, zone: releng.scl3, 
secStorageVm: s-114-VM, public IP: null, private IP: null
2014-02-04 13:25:03,285 DEBUG [cloud.capacity.C

unable to remove xenserver host from a cluster

2014-02-04 Thread Pierre-Luc Dion
Using Cloudstack 4.2.1 managing a xenserver cluster (xenserver pool)
running on 6.2sp1

I've proceed with removing a host from a pool managed by cloudstack,I've
enable the maintenance mode in cloudstack for the host , make sure no
Instance where running on  the host. The delete the host.

the end result now is that the host have been removed in the host inventory
in cloudstack, but it is now the pool master in the xenserver pool.
Also I'm  now having this repeating stack trace  :

2014-02-04 15:26:55,698 DEBUG [xen.resource.CitrixResourceBase]
(DirectAgent-209:null) Vm cpu utilization 0.005
2014-02-04 15:26:55,705 WARN  [xen.resource.CitrixResourceBase]
(DirectAgent-209:null) Error while collecting disk stats from :
You gave an invalid object reference.  The object may have recently been
deleted.  The class parameter gives the type of reference given, and the
handle parameter echoes the bad value given.
at com.xensource.xenapi.Types.checkResponse(Types.java:209)
at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
at
com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:909)
at com.xensource.xenapi.VBDMetrics.getIoReadKbs(VBDMetrics.java:210)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.getVmStats(CitrixResourceBase.java:2791)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:2691)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:497)
at
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
at
com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106)
at
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)




And here is the logs during the removal job:
2014-02-04 15:04:27,871 DEBUG [host.dao.HostDaoImpl] (ClusteredAgentManager
Timer:null) Resetting hosts suitable for reconnect
2014-02-04 15:04:27,873 DEBUG [host.dao.HostDaoImpl] (ClusteredAgentManager
Timer:null) Completed resetting hosts suitable for reconnect
2014-02-04 15:04:27,873 DEBUG [host.dao.HostDaoImpl] (ClusteredAgentManager
Timer:null) Acquiring hosts for clusters already owned by this management
server
2014-02-04 15:04:27,874 DEBUG [host.dao.HostDaoImpl] (ClusteredAgentManager
Timer:null) Completed acquiring hosts for clusters already owned by this
management server
2014-02-04 15:04:27,874 DEBUG [host.dao.HostDaoImpl] (ClusteredAgentManager
Timer:null) Acquiring hosts for clusters not owned by any management server
2014-02-04 15:04:27,874 DEBUG [host.dao.HostDaoImpl] (ClusteredAgentManager
Timer:null) Completed acquiring hosts for clusters not owned by any
management server
2014-02-04 15:04:33,848 DEBUG [xen.resource.XenServerConnectionPool]
(DirectAgent-178:null) XmlRpcException: Still waiting for the conversion to
the master Failed to create input stream: Read timed out
2014-02-04 15:04:38,870 DEBUG [xen.resource.XenServerConnectionPool]
(DirectAgent-178:null) Logging on as the slave to 172.16.20.36
2014-02-04 15:04:38,915 DEBUG [xen.resource.XenServerConnectionPool]
(DirectAgent-178:null) Slave logon successful. session=
com.xensource.xenapi.Session@4d81ff53
2014-02-04 15:04:38,923 DEBUG [xen.resource.XenServerConnectionPool]
(DirectAgent-178:null) Logging on as the master to 172.16.20.34
2014-02-04 15:04:38,968 DEBUG [xen.resource.XenServerConnectionPool]
(DirectAgent-178:null) Remove master connection through 172.16.20.36 for
pool(null)
2014-02-04 15:04:49,100 DEBUG [xen.resource.XenServerConnectionPool]
(DirectAgent-178:null) Logging on as the slave to 172.16.20.37
2014-02-04 15:04:49,154 DEBUG [xen.resource.XenServerConnectionPool]
(DirectAgent-178:null) Logging on as the slave to 172.16.20.36
2014-02-04 15:04:49,204 DEBUG [xen.resource.XenServerConnectionPool]
(DirectAgent-178:null) Logging on as the slave to 172.16.20.34
2014-02-04 15:04:49,245 DEBUG [xen.resource.XenServerConnectionPool]
(DirectAgent-178:null) Logging on as the slave to 172.16.20.36
2014-02-04 15:04:49,288 DEBUG [xen.resource.XenServerConnectionPool]
(DirectAgent-178:null) Logging on as the slave to 172.16.20.37

Cloudstack 4.2.1, KVM & Advanced networking headaches

2014-02-04 Thread Tanner Danzey
Hello all. My name is Tanner Danzey. Just a little introduction since this
will be my first post to this list. I am from Fargo, North Dakota and I
have had fairly significant Linux & Linux server experience for about four
years.

My coworker and I are working on rolling a Cloudstack cloud using Ubuntu
13.10, Ceph, Rados Gateway (S3) and KVM and commodity hardware. We
currently have our Ceph and Rados setup under lock and key as far as our
testing can tell. Installing the management server is a breeze, so that's
not an issue either. Our issue seems to be of a networking nature.

Our desire to use advanced networking has been made complicated by our
other desires. Originally we planned to use many LACP & trunk
configurations to achieve highest bandwidth and redundancy possible, but
our discovery that the switch we are using (two Catalyst 2960 48 port
switches in stacked configuration) only allows for six port channels
complicated that plan. Now we are still using bonded adaptors but in
active-backup mode so that we do not need switch side configuration tricks
or port channels. I have attached an example of our KVM hypervisor
configuration.

We have interface bond0 in active-backup mode bridged with em1 and em2.
Both of those ports are connected to switch trunk ports. Here's where
things get silly. Our KVM nodes are able to be pinged and managed on the
management IP assigned and when we create a zone and assign the bridges
their respective traffic. However, they are not connected to the public
network. Some variations of this configuration even result in no
connectivity other than link local.

Essentially, we are trying to find the best way to approach this situation.
We are open to using Open VSwitch. Our VLANs will be 50 as public, 100 as
management / storage, and 200-300 as guest VLANs unless there is a more
pragmatic arrangement.

Our plan after this deployment is to help brush up documentation where
possible regarding some of these edge-case scenarios and potentially do a
thorough writeup. Any and all help is appreciated, and if you require
compensation for the help I'm sure something can be arranged.

Thanks in advance, sorry for the overly long message :)
auto lo
iface lo inet loopback

auto em1
iface em1 inet manual
  bond-master bond0
  bond-primary em1

auto em2
iface em2 inet manual
  bond-master bond0

auto bond0
iface bond0 inet manual
  bond-mode active-backup
  bond-miimon 100
  bond-slaves em1 em2


# The primary network interface
auto bond0.100
iface bond0.100 inet static
  address 10.100.0.33
  netmask 255.255.255.0
  network 10.100.0.0
  broadcast 10.100.0.255
  gateway 10.100.0.1
  dns-nameservers 10.100.0.4
  dns-search dcnfargo.ntgcloud

#public network
auto cloudbr0
iface cloudbr0 inet manual
bridge ports bond0.50
bridge_fd 5
bridge_stp off
bridge_maxwait 1

# private network
auto cloudbr0
iface cloudbr0 inet manual
bridge_ports bond0.200
bridge_fd 5
bridge_stp off
bridge_maxwait 1

AWS EC2 API Issues

2014-02-04 Thread Francois Gaudreault

Hi,

I am trying to get the EC2 API to work, and I am getting some exceptions 
from the CloudStack server:


Server: org.apache.axis2.databinding.ADBException: Unexpected subelement 
DescribeAvailabilityZones


Anyone has an idea? I have been able to register my user/keys 
successfully without issues.


--
Francois Gaudreault
Architecte de Solution Cloud | Cloud Solutions Architect
fgaudrea...@cloudops.com
514-629-6775
- - -
CloudOps
420 rue Guy
Montréal QC  H3J 1S6
www.cloudops.com
@CloudOps_



RE: Not able to add primary Storage Cloudstack 4.3

2014-02-04 Thread Paul Angus
Hey Tejas,

cifs%3A%2F%2F10.129.151.155hcloud%2Fsecondary%3Fuser%3Dadministrator%26domain%3Dnwx.com

Theres a "/" ("%2F") missing between 10.129.151.155 and hcloud - my 
recollection is that primary and secondary storage UIs are not consistent, add 
the secondary path as /hcloud/secondary

re primary - is the agent service running? it doesn't seem to (always) 
automatically start even when it's set to automatic in services.

Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

From: Tejas Gadaria [mailto:refond.g...@gmail.com]
Sent: 04 February 2014 12:15
To: users@cloudstack.apache.org
Cc: rajesh.batt...@citrix.com; d...@cloudstack.apache.org
Subject: Re: Not able to add primary Storage Cloudstack 4.3

Hi Paul,
I tried with "hcloud/primary" and
primary storage shows Unsupported command issued.

secondary storage shows Failed to add data store: cifs URI missing host and/or 
path. Make sure it's of the format 
cifs://hostname/path?user=&password=

After that I was trying to add secondary storage with /hcloud/secondary, I 
didn't show much activity in log.
In Cloudstack console, secondary storage got added, but protocol is CIFS and 
provider is NFS.

Please find attached logs. and screenshot from attached secondary storage.

Regards,
Tejas

On Tue, Feb 4, 2014 at 12:29 PM, Paul Angus 
mailto:paul.an...@shapeblue.com>> wrote:
Tejas, You have hcloud\primary, it should be hcloud/primary

Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: 
+447711418784 | T: CloudyAngus
paul.an...@shapeblue.com>

From: Tejas Gadaria [mailto:refond.g...@gmail.com]
Sent: 04 February 2014 05:16
To: users@cloudstack.apache.org
Cc: rajesh.batt...@citrix.com; 
d...@cloudstack.apache.org
Subject: Re: Not able to add primary Storage Cloudstack 4.3
Hi,
I have tried to add Primary Storage as suggested above, I am getting similar 
error.
Failed to add data store: 
cifs://10.129.151.155/hcloud\primary?user=administrator&password=abc_123&domain=nwx.com
 is not a valid uri
Regards,
Tejas

On Sun, Feb 2, 2014 at 9:58 AM, Tejas Gadaria 
mailto:refond.g...@gmail.com>>>
 wrote:
Hi Paul,
Thanks for your replay.
I was entering the path exactly what you predicted.  ("\\server\share\directory 
 
 
")
I will try to add primary storage with 'share/folder' and the 'server' without 
the \\ path .
Regards,
Tejas
On Sat, Feb 1, 2014 at 5:34 PM, Paul Angus 
mailto:paul.an...@shapeblue.com>>>
 wrote:
Tejas,
I guess that your entering the path as an smb path 
\\server\share\directory>
For primary storage try 'share/folder' and the 'server' without the \\

There were issues with shared primary storage, so I've included one of the devs 
working on the feature.

The same is true for secondary storage (although the UI may need 
\share\directory in the path).

Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 
| M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com>

-Original Message-
From: Sean Hamilton 
[mailto:s...@seanhamilton.co.uk>]
Sent: 01 February 2014 11:55
To: 
users@cloudstack.apache.org>
Cc: 
users@cloudstack.apache.org>
Subject: Re: Not able to add primary Storage Cloudstack 4.3

Hi Tejas,

What hypervisor are you using?
I can't remember if CIFS is a valid protocol for hypervisors other than 
Hyper-V. NFS is used for other hypervisors.

Cheers,
Sean
> On 1 Feb 2014, at 09:26, Tejas Gadaria 
> mailto:refond.g...@gmail.com>>>
>  wrote:
>
> Hi,
>
> While adding primary Storage I am getting
>
>  
> "cifs://10.129.151.155/\\hcloud\primary\?user=administrator&password=abc_123&domain=nwx.com
>  is not a valid uri"
>
> Similar error I am facing while adding secondary storage also.
>
> Please find attachment for logs,
>
>
> Regards,
> Tejas
> 
> 
Need Enterprise Grade Support for Apache Clo

Re: Not able to add primary Storage Cloudstack 4.3

2014-02-04 Thread Tejas Gadaria
Hi Paul,

I tried with "hcloud/primary" and
primary storage shows Unsupported command issued.

secondary storage shows Failed to add data store: cifs URI missing host
and/or path. Make sure it's of the format
cifs://hostname/path?user=&password=

After that I was trying to add secondary storage with /hcloud/secondary, I
didn't show much activity in log.
In Cloudstack console, secondary storage got added, but protocol is CIFS
and provider is NFS.

Please find attached logs. and screenshot from attached secondary storage.

Regards,
Tejas


On Tue, Feb 4, 2014 at 12:29 PM, Paul Angus wrote:

> Tejas, You have hcloud\primary, it should be hcloud/primary
>
> Regards
>
> Paul Angus
> Cloud Architect
> S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
> paul.an...@shapeblue.com
>
> From: Tejas Gadaria [mailto:refond.g...@gmail.com]
> Sent: 04 February 2014 05:16
> To: users@cloudstack.apache.org
> Cc: rajesh.batt...@citrix.com; d...@cloudstack.apache.org
> Subject: Re: Not able to add primary Storage Cloudstack 4.3
>
> Hi,
> I have tried to add Primary Storage as suggested above, I am getting
> similar error.
> Failed to add data store: cifs://
> 10.129.151.155/hcloud\primary?user=administrator&password=abc_123&domain=nwx.com
> <
> http://10.129.151.155/hcloud%5Cprimary?user=administrator&password=abc_123@123&domain=nwx.com>
> is not a valid uri
> Regards,
> Tejas
>
> On Sun, Feb 2, 2014 at 9:58 AM, Tejas Gadaria  > wrote:
> Hi Paul,
> Thanks for your replay.
> I was entering the path exactly what you predicted.
>  ("\\server\share\directory  ")
> I will try to add primary storage with 'share/folder' and the 'server'
> without the \\ path .
> Regards,
> Tejas
>
> On Sat, Feb 1, 2014 at 5:34 PM, Paul Angus  > wrote:
> Tejas,
>
> I guess that your entering the path as an smb path
> \\server\share\directory
> For primary storage try 'share/folder' and the 'server' without the \\
>
> There were issues with shared primary storage, so I've included one of the
> devs working on the feature.
>
> The same is true for secondary storage (although the UI may need
> \share\directory in the path).
>
> Regards
>
> Paul Angus
> Cloud Architect
> S: +44 20 3603 0540 | M: 
> +447711418784
> | T: CloudyAngus
> paul.an...@shapeblue.com
>
> -Original Message-
> From: Sean Hamilton [mailto:s...@seanhamilton.co.uk s...@seanhamilton.co.uk>]
> Sent: 01 February 2014 11:55
> To: users@cloudstack.apache.org
> Cc: users@cloudstack.apache.org
> Subject: Re: Not able to add primary Storage Cloudstack 4.3
>
> Hi Tejas,
>
> What hypervisor are you using?
> I can't remember if CIFS is a valid protocol for hypervisors other than
> Hyper-V. NFS is used for other hypervisors.
>
> Cheers,
> Sean
>
> > On 1 Feb 2014, at 09:26, Tejas Gadaria  refond.g...@gmail.com>> wrote:
> >
> > Hi,
> >
> > While adding primary Storage I am getting
> >
> >  "cifs://
> 10.129.151.155/\\hcloud\primary\?user=administrator&password=abc_123&domain=nwx.com
> <
> http://10.129.151.155/%5C%5Chcloud%5Cprimary%5C?user=administrator&password=abc_123&domain=nwx.com>
> is not a valid uri"
> >
> > Similar error I am facing while adding secondary storage also.
> >
> > Please find attachment for logs,
> >
> >
> > Regards,
> > Tejas
> > 
> > 
> Need Enterprise Grade Support for Apache CloudStack?
> Our CloudStack Infrastructure Support<
> http://shapeblue.com/cloudstack-infrastructure-support/> offers the best
> 24/7 SLA for CloudStack Environments.
>
> Apache CloudStack Bootcamp training courses
>
> **NEW!** CloudStack 4.2.1 training<
> http://shapeblue.com/cloudstack-training/>
> 18th-19th February 2014, Brazil. Classroom<
> http://shapeblue.com/cloudstack-training/>
> 17th-23rd March 2014, Region A. Instructor led, On-line<
> http://shapeblue.com/cloudstack-training/>
> 24th-28th March 2014, Region B. Instructor led, On-line<
> http://shapeblue.com/cloudstack-training/>
> 16th-20th June 2014, Region A. Instructor led, On-line<
> http://shapeblue.com/cloudstack-training/>
> 23rd-27th June 2014, Region B. Instructor led, On-line<
> 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 B