Re: Console Proxy SSL Error

2014-05-06 Thread Gopala Krishnan
Yes... I have changed manually id in keystore tables.

1 for root cert
2 for intermediate CA
3 for certificate




On Tue, May 6, 2014 at 10:47 AM, Amogh Vasekar amogh.vase...@citrix.comwrote:

 Can you please outline the steps in uploading intermediate and root
 certificates? Specifically, was the id parameter set (1 for root, 2 for
 intermediate_ca_1 etc..)

 Amogh

 On 5/5/14 10:10 PM, Gopala Krishnan gopkris2...@gmail.com wrote:

 Amogh,
 
 Yes.. I am used Cloudstack 4.2 and uploaded root and intermediate CA
 certificate as per order.  But still not console accessible.
 
 Any idea?
 
 
 
 On Sat, May 3, 2014 at 11:58 PM, Amogh Vasekar
 amogh.vase...@citrix.comwrote:
 
  Hi,
 
  Which version are you on? Also, did you upload the root and intermediate
  certificates (if any)?
 
  Amogh
 
  On 5/3/14 3:38 AM, Gopala Krishnan gopkris2...@gmail.com wrote:
 
  Hi,
  
  I have tried to change realhostip.com for console proxy. I have
 created
  SSL
  certificate with wildcard SSL and updated as per the cloudstack
 document.
  
  
 
 
 http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/l
 a
  test/systemvm.html#console-proxy
  
  Its not working.. I have done the following steps.
  
  Purchased SSL certificate for my domain *.hostname.com and updated the
  certificate via the cloudstack UI.
  
  Infrastructure -  SSL certificate
  
  Pasted the certificate
  Pasted the Key
  DNS domain = hostname.com
  
  Once completed, I have optimized the global settings
  
  consoleproxy.url.domain = hostname.com
  
  
  When I click console for VM, It shows certificate trusted errors. May I
  know what I done wrong??
  
  
  --
  Gopala Krishnan.S
  Mobile : +91 9865709094 / +91 9994874447
  *cPanel KnowledgeBase http://www.cpanelkb.net/*
  *Linux Server Admin Tools* http://www.gnutoolbox.com
 
 
 
 
 --
 Gopala Krishnan.S
 Mobile : +91 9865709094 / +91 9994874447
 *cPanel KnowledgeBase http://www.cpanelkb.net/*
 *Linux Server Admin Tools* http://www.gnutoolbox.com




-- 
Gopala Krishnan.S
Mobile : +91 9865709094 / +91 9994874447
*cPanel KnowledgeBase http://www.cpanelkb.net/*
*Linux Server Admin Tools* http://www.gnutoolbox.com


Re: Falha de instalação.

2014-05-06 Thread Daan Hoogland
can you translate to Dutch, please? My Brazilian is not very current.

kind regards,
Helder (dutch for clear)

2014-05-05 11:37 GMT+02:00 Airton Silva airtonsilva2...@gmail.com:
 Bom dia.

 Eu tento implementar o cloudstack em um servidor e conectar o storage
 primario a um freenas.

 Quando salvo as configurações recebo a mensagem de erro informando falha ao
 adicionar o storage.

 Caso eu coloque o mesmo storage NFS no storage secundario já não apresenta
 a mensagem.

 Alguem tem alguma dica?

 Att.: Airton
 airtonsilva2...@gmail.com



-- 
Daan


Re: Falha de instalação.

2014-05-06 Thread ronald higgins
Hi Airton,

Can you manually mount the Primary  Secondary NFS storage from your
Cloudstack Management server just as a test to see if that works and if you
can write to it?

Regards

Ronald


2014-05-06 10:42 GMT+02:00 Daan Hoogland daan.hoogl...@gmail.com:

 can you translate to Dutch, please? My Brazilian is not very current.

 kind regards,
 Helder (dutch for clear)

 2014-05-05 11:37 GMT+02:00 Airton Silva airtonsilva2...@gmail.com:
  Bom dia.
 
  Eu tento implementar o cloudstack em um servidor e conectar o storage
  primario a um freenas.
 
  Quando salvo as configurações recebo a mensagem de erro informando falha
 ao
  adicionar o storage.
 
  Caso eu coloque o mesmo storage NFS no storage secundario já não
 apresenta
  a mensagem.
 
  Alguem tem alguma dica?
 
  Att.: Airton
  airtonsilva2...@gmail.com



 --
 Daan



cloudstack 4.3 installation on CentOS

2014-05-06 Thread dimas yoga pratama
Hi all,

I'm trying to install cloudstack 4.3 on CentOS 6.5 with single hardware
with proxy environment. I followed this guide
http://cloudstack-installation.readthedocs.org/en/latest/qig.html. I
managed to login to  cloudstack dashboard and succeded to add host. When it
comes to creating system VMs(this may take a while) step, it takes a very
very loong time and when I refresh the browser suddenly it redirect to
dashboard. I check the infrastructure tab and I found 2 system VMs already
created and the VM state showed starting but the agent showed nothing.
Also in dashboard tab I found this notification : Management Server:
Management network CIDR is not configured original.type 14
why is that happening?  anything wrong with my installation?

looking forward for your answer.


Re: Console Proxy SSL Error

2014-05-06 Thread Ian Service
I was able to get it all to work using the API.

I followed Chip's advice
http://www.chipchilders.com/blog/2013/1/2/undocumented-feature-using-certificate-chains-in-cloudstack.html

The difference is is that I'm using my own CloudStack API wrapper in PHP
and the certificates and private key needed to be url encoded twice (once
for normal URL transmission and once before that for transmission into the
system) before they would be pushed out correctly to the system VMs.  I
also replaced all newlines with \r\n and trimmed off the white space from
beginning and end of the strings for good measure.

Before I discovered that, the certificates would look like they had been
imported correctly in the database but were being prevented from being used
on the Java end of things.

- Ian



On Tue, May 6, 2014 at 2:17 AM, Gopala Krishnan gopkris2...@gmail.comwrote:

 Yes... I have changed manually id in keystore tables.

 1 for root cert
 2 for intermediate CA
 3 for certificate




 On Tue, May 6, 2014 at 10:47 AM, Amogh Vasekar amogh.vase...@citrix.com
 wrote:

  Can you please outline the steps in uploading intermediate and root
  certificates? Specifically, was the id parameter set (1 for root, 2 for
  intermediate_ca_1 etc..)
 
  Amogh
 
  On 5/5/14 10:10 PM, Gopala Krishnan gopkris2...@gmail.com wrote:
 
  Amogh,
  
  Yes.. I am used Cloudstack 4.2 and uploaded root and intermediate CA
  certificate as per order.  But still not console accessible.
  
  Any idea?
  
  
  
  On Sat, May 3, 2014 at 11:58 PM, Amogh Vasekar
  amogh.vase...@citrix.comwrote:
  
   Hi,
  
   Which version are you on? Also, did you upload the root and
 intermediate
   certificates (if any)?
  
   Amogh
  
   On 5/3/14 3:38 AM, Gopala Krishnan gopkris2...@gmail.com wrote:
  
   Hi,
   
   I have tried to change realhostip.com for console proxy. I have
  created
   SSL
   certificate with wildcard SSL and updated as per the cloudstack
  document.
   
   
  
  
 
 http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/l
  a
   test/systemvm.html#console-proxy
   
   Its not working.. I have done the following steps.
   
   Purchased SSL certificate for my domain *.hostname.com and updated
 the
   certificate via the cloudstack UI.
   
   Infrastructure -  SSL certificate
   
   Pasted the certificate
   Pasted the Key
   DNS domain = hostname.com
   
   Once completed, I have optimized the global settings
   
   consoleproxy.url.domain = hostname.com
   
   
   When I click console for VM, It shows certificate trusted errors.
 May I
   know what I done wrong??
   
   
   --
   Gopala Krishnan.S
   Mobile : +91 9865709094 / +91 9994874447
   *cPanel KnowledgeBase http://www.cpanelkb.net/*
   *Linux Server Admin Tools* http://www.gnutoolbox.com
  
  
  
  
  --
  Gopala Krishnan.S
  Mobile : +91 9865709094 / +91 9994874447
  *cPanel KnowledgeBase http://www.cpanelkb.net/*
  *Linux Server Admin Tools* http://www.gnutoolbox.com
 
 


 --
 Gopala Krishnan.S
 Mobile : +91 9865709094 / +91 9994874447
 *cPanel KnowledgeBase http://www.cpanelkb.net/*
 *Linux Server Admin Tools* http://www.gnutoolbox.com



Re: Falha de instalação.

2014-05-06 Thread Rafael Weingartner
Have you checked the management-server.log?
Do you have any cluster with at least a(1) host active in which you are
adding that primary storage?


On Tue, May 6, 2014 at 5:46 AM, ronald higgins ronald.higg...@gmail.comwrote:

 Hi Airton,

 Can you manually mount the Primary  Secondary NFS storage from your
 Cloudstack Management server just as a test to see if that works and if you
 can write to it?

 Regards

 Ronald


 2014-05-06 10:42 GMT+02:00 Daan Hoogland daan.hoogl...@gmail.com:

  can you translate to Dutch, please? My Brazilian is not very current.
 
  kind regards,
  Helder (dutch for clear)
 
  2014-05-05 11:37 GMT+02:00 Airton Silva airtonsilva2...@gmail.com:
   Bom dia.
  
   Eu tento implementar o cloudstack em um servidor e conectar o storage
   primario a um freenas.
  
   Quando salvo as configurações recebo a mensagem de erro informando
 falha
  ao
   adicionar o storage.
  
   Caso eu coloque o mesmo storage NFS no storage secundario já não
  apresenta
   a mensagem.
  
   Alguem tem alguma dica?
  
   Att.: Airton
   airtonsilva2...@gmail.com
 
 
 
  --
  Daan
 




-- 
Rafael Weingärtner


Re: CloudStack 4.3 proper Advanced Network setup

2014-05-06 Thread Владислав Старков
Hi everyone,

I have successfully installed CloudStack management server and NFS
server for primary and secondary storage.

I'm in doubt about how to configure Zone1.

Let's separate my first long letter with multiple small questions.

Question:

If I have 2 NICs on my host, is it possible to use first NIC for
management  secondary storage traffic, and second NIC for both public
(VLAN 10) and guest traffic (VLAN 20)?

Thanks.


On Wed, Apr 23, 2014 at 5:13 AM, Amin Samir a...@opencloud.net.au wrote:
 Hello,

 I am not sure if 14.04 LTS is supported check out the installation link, I 
 propose to use it with LTS 12.04 very easy link is enclosed.

 http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/installation.html

 http://www.greenhills.co.uk/2013/08/30/cloudstack-single-server-on-ubuntu-with-kvm.html


 Kind Regards
 Amin

 -Original Message-
 From: Владислав Старков [mailto:vladislav.star...@gmail.com]
 Sent: Wednesday, 23 April 2014 1:26 AM
 To: users@cloudstack.apache.org
 Subject: CloudStack 4.3 proper Advanced Network setup

 Hi there,

 I just installed CloudStack 4.3 on a single host (all-in-one).

 My host's setup:
 – Ubuntu 14.04 LTS 64bit
 – 6 1GbE NICs (3 in use and 3 not in use) – Primary storage on NFSv4 – 
 Secondary storage on NFSv4 – KVM hypervisor only – Management server 
 installed directly on this host (not on VM)

 My physical network setup:
 – 1 L2 switch with 3 different VLANs
 – VLAN 2 for NAS (Primary storage on NFSv4) – VLAN 10 for guests public 
 traffic (there lives public IP addresses) – VLAN 100 for management traffic – 
 VLAN 200 for guests traffic (there lives private IP addresses, so guests from 
 different clusters can interact with each other)

 cat /etc/network/interfaces:
   # This file describes the network interfaces available on your system
   # and how to activate them. For more information, see interfaces(5).

   # The loopback network interface
   auto lo
   iface lo inet loopback

   # The primary network interface
   # CloudStack Primary storage traffic
   auto eth0
   iface eth0 inet static
   address 10.10.10.11
   netmask 255.255.255.0
   network 10.10.10.0
   broadcast 10.10.10.255
   # dns-* options are implemented by the resolvconf package, if installed
   dns-nameservers 8.8.8.8 8.8.4.4
   dns-search cloud.example.com

   # CloudStack Management traffic
   auto eth1
   iface eth1 inet static
   address 10.10.12.2
   netmask 255.255.255.0
   network 10.10.12.0
   broadcast 10.10.12.255
   gateway 10.10.12.1

   auto eth2
   iface eth2 inet manual

   # CloudStack Public traffic
   auto cloudbr0
   iface cloudbr0 inet manual
   bridge_ports eth2.10
   bridge_fd 5
   bridge_stp off
   bridge_maxwait 1

   # CloudStack Guest traffic
   auto cloudbr1
   iface cloudbr1 inet manual
   bridge_ports eth2.200
   bridge_fd 5
   bridge_stp off
   bridge_maxwait 1

   auto eth3
   iface eth3 inet manual
   up ifconfig $IFACE 0.0.0.0 up
   down ifconfig $IFACE down

   auto eth4
   iface eth4 inet manual
   up ifconfig $IFACE 0.0.0.0 up
   down ifconfig $IFACE down

   auto eth5
   iface eth5 inet manual
   up ifconfig $IFACE 0.0.0.0 up
   down ifconfig $IFACE down

 The approximate network setup schema is depicted here:
 http://cl.ly/image/3z2D0w370H1M/o

 While setting up the first zone in administrator's UI I've faced with 
 difficulties in setting up my advanced network correctly. (For ex.
 I've got this error Creating primary storage Something went wrong; please 
 correct the following: zone wide storage pool is not supported for hypervisor 
 type undefined, and so on)

 As I'm newbie to CloudStack and virtualization I'm not clear enough for me 
 how CloudStack network should be setup in case I use multiple NICs and 
 multiple VLANs on L2 physical switch.

 Could someone point me how should be setup my network for Zone1 with respect 
 to network schema as I showed above?

 For education purposes, lets say we will use these networks:
 – 77.12.34.0/24 (for Public)
 – 10.10.10.0/24 (for zone's NAS – primary  secondary storage) – 10.1.1.0/24 
 (for Guests VMs) – 10.10.12.0/24 (for management, if it required to be 
 different subnet)

 As an answer to my question it would be awesome to get two things:

 1) Content of /etc/network/interfaces (bridges and VLANs config in particular)

 2) What should be entered on Step 3 – Setup Network (and substeps) in 
 CloudStack Administrator's UI?

 Thanks in advance for helping!


 --
 Vlad




Re: CloudStack 4.3 proper Advanced Network setup

2014-05-06 Thread Владислав Старков
Say, I use eth0 for management  secondary storage traffic. No VLANs
there. Eth0 directly connected to access-port on L2 switch. (Access
port means no VLAN ethernet frames is being emitted from this port).

Should I use eth0 as a label for both Management traffic and Storage
traffic when I configure Physical interfaces in CloudStack WEB UI?

(general question is what is label here?)


On Tue, May 6, 2014 at 4:16 PM, Владислав Старков
vladislav.star...@gmail.com wrote:
 Hi everyone,

 I have successfully installed CloudStack management server and NFS
 server for primary and secondary storage.

 I'm in doubt about how to configure Zone1.

 Let's separate my first long letter with multiple small questions.

 Question:

 If I have 2 NICs on my host, is it possible to use first NIC for
 management  secondary storage traffic, and second NIC for both public
 (VLAN 10) and guest traffic (VLAN 20)?

 Thanks.


 On Wed, Apr 23, 2014 at 5:13 AM, Amin Samir a...@opencloud.net.au wrote:
 Hello,

 I am not sure if 14.04 LTS is supported check out the installation link, I 
 propose to use it with LTS 12.04 very easy link is enclosed.

 http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/installation.html

 http://www.greenhills.co.uk/2013/08/30/cloudstack-single-server-on-ubuntu-with-kvm.html


 Kind Regards
 Amin

 -Original Message-
 From: Владислав Старков [mailto:vladislav.star...@gmail.com]
 Sent: Wednesday, 23 April 2014 1:26 AM
 To: users@cloudstack.apache.org
 Subject: CloudStack 4.3 proper Advanced Network setup

 Hi there,

 I just installed CloudStack 4.3 on a single host (all-in-one).

 My host's setup:
 – Ubuntu 14.04 LTS 64bit
 – 6 1GbE NICs (3 in use and 3 not in use) – Primary storage on NFSv4 – 
 Secondary storage on NFSv4 – KVM hypervisor only – Management server 
 installed directly on this host (not on VM)

 My physical network setup:
 – 1 L2 switch with 3 different VLANs
 – VLAN 2 for NAS (Primary storage on NFSv4) – VLAN 10 for guests public 
 traffic (there lives public IP addresses) – VLAN 100 for management traffic 
 – VLAN 200 for guests traffic (there lives private IP addresses, so guests 
 from different clusters can interact with each other)

 cat /etc/network/interfaces:
   # This file describes the network interfaces available on your system
   # and how to activate them. For more information, see interfaces(5).

   # The loopback network interface
   auto lo
   iface lo inet loopback

   # The primary network interface
   # CloudStack Primary storage traffic
   auto eth0
   iface eth0 inet static
   address 10.10.10.11
   netmask 255.255.255.0
   network 10.10.10.0
   broadcast 10.10.10.255
   # dns-* options are implemented by the resolvconf package, if installed
   dns-nameservers 8.8.8.8 8.8.4.4
   dns-search cloud.example.com

   # CloudStack Management traffic
   auto eth1
   iface eth1 inet static
   address 10.10.12.2
   netmask 255.255.255.0
   network 10.10.12.0
   broadcast 10.10.12.255
   gateway 10.10.12.1

   auto eth2
   iface eth2 inet manual

   # CloudStack Public traffic
   auto cloudbr0
   iface cloudbr0 inet manual
   bridge_ports eth2.10
   bridge_fd 5
   bridge_stp off
   bridge_maxwait 1

   # CloudStack Guest traffic
   auto cloudbr1
   iface cloudbr1 inet manual
   bridge_ports eth2.200
   bridge_fd 5
   bridge_stp off
   bridge_maxwait 1

   auto eth3
   iface eth3 inet manual
   up ifconfig $IFACE 0.0.0.0 up
   down ifconfig $IFACE down

   auto eth4
   iface eth4 inet manual
   up ifconfig $IFACE 0.0.0.0 up
   down ifconfig $IFACE down

   auto eth5
   iface eth5 inet manual
   up ifconfig $IFACE 0.0.0.0 up
   down ifconfig $IFACE down

 The approximate network setup schema is depicted here:
 http://cl.ly/image/3z2D0w370H1M/o

 While setting up the first zone in administrator's UI I've faced with 
 difficulties in setting up my advanced network correctly. (For ex.
 I've got this error Creating primary storage Something went wrong; please 
 correct the following: zone wide storage pool is not supported for 
 hypervisor type undefined, and so on)

 As I'm newbie to CloudStack and virtualization I'm not clear enough for me 
 how CloudStack network should be setup in case I use multiple NICs and 
 multiple VLANs on L2 physical switch.

 Could someone point me how should be setup my network for Zone1 with respect 
 to network schema as I showed above?

 For education purposes, lets say we will use these networks:
 – 77.12.34.0/24 (for Public)
 – 10.10.10.0/24 (for zone's NAS – primary  secondary storage) – 10.1.1.0/24 
 (for Guests VMs) – 10.10.12.0/24 (for management, if it required to be 
 different subnet)

 As an answer to my question it would be awesome to get two things:

 1) Content of /etc/network/interfaces (bridges and VLANs config in 
 particular)

 2) What should be entered on Step 3 – Setup Network (and substeps) in 
 

Re: org.libvirt.LibvirtException: operation failed: drive hotplug is not supported

2014-05-06 Thread Andrija Panic
no one with the same issue ?
I don't understand why would libvirt report that disk hotplug is not
supported.

Thanks


On 2 May 2014 16:09, Andrija Panic andrija.pa...@gmail.com wrote:

 anyone ? :)


 On 1 May 2014 16:19, Andrija Panic andrija.pa...@gmail.com wrote:

 Hi,

  I'm getting errors when trying to attach new DATA disk to a running
 VM... :

 I had to replace CentOS 6.5 libvirt 0.10.2 with manually compiled libvirt
 1.2.3 in order to support RBD as storage... this is CS 4.2.1 on CentOS 6.5..


 But now I'm getting errors when trying to attach new DATA disk to a
 running VM:

 org.libvirt.LibvirtException: operation failed: drive hotplug is not
 supported


 I can't really remember if this disk hotplug did work at all even on
 stock libvirt..

 Any suggestions ? I checked all the options during the ./configure phase
 of libvirt, and did not notice any references to it...it should be
 supported as from 2009 in some of the patches for libvirt...

 Thanks,

 --

 Andrija Panić




 --

 Andrija Panić
 --
   http://admintweets.com
 --




-- 

Andrija Panić
--
  http://admintweets.com
--


Re: CloudStack 4.3 proper Advanced Network setup

2014-05-06 Thread Andrija Panic
Label should be exactly the name of your bridges - you don't use eth0, you
join eth0 to new bridge...
Labels define in what bridge to plug virtual NIC of your VM...
Cheers



On 6 May 2014 14:32, Владислав Старков vladislav.star...@gmail.com wrote:

 Say, I use eth0 for management  secondary storage traffic. No VLANs
 there. Eth0 directly connected to access-port on L2 switch. (Access
 port means no VLAN ethernet frames is being emitted from this port).

 Should I use eth0 as a label for both Management traffic and Storage
 traffic when I configure Physical interfaces in CloudStack WEB UI?

 (general question is what is label here?)


 On Tue, May 6, 2014 at 4:16 PM, Владислав Старков
 vladislav.star...@gmail.com wrote:
  Hi everyone,
 
  I have successfully installed CloudStack management server and NFS
  server for primary and secondary storage.
 
  I'm in doubt about how to configure Zone1.
 
  Let's separate my first long letter with multiple small questions.
 
  Question:
 
  If I have 2 NICs on my host, is it possible to use first NIC for
  management  secondary storage traffic, and second NIC for both public
  (VLAN 10) and guest traffic (VLAN 20)?
 
  Thanks.
 
 
  On Wed, Apr 23, 2014 at 5:13 AM, Amin Samir a...@opencloud.net.au
 wrote:
  Hello,
 
  I am not sure if 14.04 LTS is supported check out the installation
 link, I propose to use it with LTS 12.04 very easy link is enclosed.
 
 
 http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/installation.html
 
 
 http://www.greenhills.co.uk/2013/08/30/cloudstack-single-server-on-ubuntu-with-kvm.html
 
 
  Kind Regards
  Amin
 
  -Original Message-
  From: Владислав Старков [mailto:vladislav.star...@gmail.com]
  Sent: Wednesday, 23 April 2014 1:26 AM
  To: users@cloudstack.apache.org
  Subject: CloudStack 4.3 proper Advanced Network setup
 
  Hi there,
 
  I just installed CloudStack 4.3 on a single host (all-in-one).
 
  My host's setup:
  – Ubuntu 14.04 LTS 64bit
  – 6 1GbE NICs (3 in use and 3 not in use) – Primary storage on NFSv4 –
 Secondary storage on NFSv4 – KVM hypervisor only – Management server
 installed directly on this host (not on VM)
 
  My physical network setup:
  – 1 L2 switch with 3 different VLANs
  – VLAN 2 for NAS (Primary storage on NFSv4) – VLAN 10 for guests public
 traffic (there lives public IP addresses) – VLAN 100 for management traffic
 – VLAN 200 for guests traffic (there lives private IP addresses, so guests
 from different clusters can interact with each other)
 
  cat /etc/network/interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
 
# The loopback network interface
auto lo
iface lo inet loopback
 
# The primary network interface
# CloudStack Primary storage traffic
auto eth0
iface eth0 inet static
address 10.10.10.11
netmask 255.255.255.0
network 10.10.10.0
broadcast 10.10.10.255
# dns-* options are implemented by the resolvconf package, if
 installed
dns-nameservers 8.8.8.8 8.8.4.4
dns-search cloud.example.com
 
# CloudStack Management traffic
auto eth1
iface eth1 inet static
address 10.10.12.2
netmask 255.255.255.0
network 10.10.12.0
broadcast 10.10.12.255
gateway 10.10.12.1
 
auto eth2
iface eth2 inet manual
 
# CloudStack Public traffic
auto cloudbr0
iface cloudbr0 inet manual
bridge_ports eth2.10
bridge_fd 5
bridge_stp off
bridge_maxwait 1
 
# CloudStack Guest traffic
auto cloudbr1
iface cloudbr1 inet manual
bridge_ports eth2.200
bridge_fd 5
bridge_stp off
bridge_maxwait 1
 
auto eth3
iface eth3 inet manual
up ifconfig $IFACE 0.0.0.0 up
down ifconfig $IFACE down
 
auto eth4
iface eth4 inet manual
up ifconfig $IFACE 0.0.0.0 up
down ifconfig $IFACE down
 
auto eth5
iface eth5 inet manual
up ifconfig $IFACE 0.0.0.0 up
down ifconfig $IFACE down
 
  The approximate network setup schema is depicted here:
  http://cl.ly/image/3z2D0w370H1M/o
 
  While setting up the first zone in administrator's UI I've faced with
 difficulties in setting up my advanced network correctly. (For ex.
  I've got this error Creating primary storage Something went wrong;
 please correct the following: zone wide storage pool is not supported for
 hypervisor type undefined, and so on)
 
  As I'm newbie to CloudStack and virtualization I'm not clear enough for
 me how CloudStack network should be setup in case I use multiple NICs and
 multiple VLANs on L2 physical switch.
 
  Could someone point me how should be setup my network for Zone1 with
 respect to network schema as I showed above?
 
  For education purposes, lets say we will use these networks:
  – 77.12.34.0/24 (for Public)
  – 10.10.10.0/24 (for 

using cldstk-dploy with proxy

2014-05-06 Thread dimas yoga pratama
Hi all, is it possible to use cldstk-dply
https://github.com/thehyperadvisor/cldstk-deploy with proxy environment and
a single host?
I want to test it in my college lab.thanks


Re: CloudStack 4.3 proper Advanced Network setup

2014-05-06 Thread Andrija Panic
Yes, at least that is for KVM, and as far as I know same for xen,
vmware...per the unofficial documentacion:
http://shapeblue.com/cloudstack/understanding-cloudstacks-physical-networking-architecture/-
search for Network Labels
cheers


On 6 May 2014 14:47, Rafael Weingartner rafaelweingart...@gmail.com wrote:

 you mean, xenbr0, xebr1, xenapi0 xenapi1?


 On Tue, May 6, 2014 at 9:39 AM, Andrija Panic andrija.pa...@gmail.com
 wrote:

  Label should be exactly the name of your bridges - you don't use eth0,
 you
  join eth0 to new bridge...
  Labels define in what bridge to plug virtual NIC of your VM...
  Cheers
 
 
 
  On 6 May 2014 14:32, Владислав Старков vladislav.star...@gmail.com
  wrote:
 
   Say, I use eth0 for management  secondary storage traffic. No VLANs
   there. Eth0 directly connected to access-port on L2 switch. (Access
   port means no VLAN ethernet frames is being emitted from this port).
  
   Should I use eth0 as a label for both Management traffic and Storage
   traffic when I configure Physical interfaces in CloudStack WEB UI?
  
   (general question is what is label here?)
  
  
   On Tue, May 6, 2014 at 4:16 PM, Владислав Старков
   vladislav.star...@gmail.com wrote:
Hi everyone,
   
I have successfully installed CloudStack management server and NFS
server for primary and secondary storage.
   
I'm in doubt about how to configure Zone1.
   
Let's separate my first long letter with multiple small questions.
   
Question:
   
If I have 2 NICs on my host, is it possible to use first NIC for
management  secondary storage traffic, and second NIC for both
 public
(VLAN 10) and guest traffic (VLAN 20)?
   
Thanks.
   
   
On Wed, Apr 23, 2014 at 5:13 AM, Amin Samir a...@opencloud.net.au
   wrote:
Hello,
   
I am not sure if 14.04 LTS is supported check out the installation
   link, I propose to use it with LTS 12.04 very easy link is enclosed.
   
   
  
 
 http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/installation.html
   
   
  
 
 http://www.greenhills.co.uk/2013/08/30/cloudstack-single-server-on-ubuntu-with-kvm.html
   
   
Kind Regards
Amin
   
-Original Message-
From: Владислав Старков [mailto:vladislav.star...@gmail.com]
Sent: Wednesday, 23 April 2014 1:26 AM
To: users@cloudstack.apache.org
Subject: CloudStack 4.3 proper Advanced Network setup
   
Hi there,
   
I just installed CloudStack 4.3 on a single host (all-in-one).
   
My host's setup:
– Ubuntu 14.04 LTS 64bit
– 6 1GbE NICs (3 in use and 3 not in use) – Primary storage on
 NFSv4 –
   Secondary storage on NFSv4 – KVM hypervisor only – Management server
   installed directly on this host (not on VM)
   
My physical network setup:
– 1 L2 switch with 3 different VLANs
– VLAN 2 for NAS (Primary storage on NFSv4) – VLAN 10 for guests
  public
   traffic (there lives public IP addresses) – VLAN 100 for management
  traffic
   – VLAN 200 for guests traffic (there lives private IP addresses, so
  guests
   from different clusters can interact with each other)
   
cat /etc/network/interfaces:
  # This file describes the network interfaces available on your
  system
  # and how to activate them. For more information, see
 interfaces(5).
   
  # The loopback network interface
  auto lo
  iface lo inet loopback
   
  # The primary network interface
  # CloudStack Primary storage traffic
  auto eth0
  iface eth0 inet static
  address 10.10.10.11
  netmask 255.255.255.0
  network 10.10.10.0
  broadcast 10.10.10.255
  # dns-* options are implemented by the resolvconf package, if
   installed
  dns-nameservers 8.8.8.8 8.8.4.4
  dns-search cloud.example.com
   
  # CloudStack Management traffic
  auto eth1
  iface eth1 inet static
  address 10.10.12.2
  netmask 255.255.255.0
  network 10.10.12.0
  broadcast 10.10.12.255
  gateway 10.10.12.1
   
  auto eth2
  iface eth2 inet manual
   
  # CloudStack Public traffic
  auto cloudbr0
  iface cloudbr0 inet manual
  bridge_ports eth2.10
  bridge_fd 5
  bridge_stp off
  bridge_maxwait 1
   
  # CloudStack Guest traffic
  auto cloudbr1
  iface cloudbr1 inet manual
  bridge_ports eth2.200
  bridge_fd 5
  bridge_stp off
  bridge_maxwait 1
   
  auto eth3
  iface eth3 inet manual
  up ifconfig $IFACE 0.0.0.0 up
  down ifconfig $IFACE down
   
  auto eth4
  iface eth4 inet manual
  up ifconfig $IFACE 0.0.0.0 up
  down ifconfig $IFACE down
   
  auto eth5
  iface eth5 inet manual
  up ifconfig $IFACE 0.0.0.0 up
  down ifconfig $IFACE down
   
The approximate network setup schema is depicted here:
http://cl.ly/image/3z2D0w370H1M/o
   

Re: Console Proxy SSL Error

2014-05-06 Thread Konstantinos Karampogias
I was also able to upload the root certificate and the intermediate
certificate using exactly
the script in this link
http://www.chipchilders.com/blog/2013/1/2/undocumented-feature-using-certificate-chains-in-cloudstack.html

I was not able to put my certificate and private key using the script,
but i did it through the cloudstack web interface.

A tip is to use api to get the error, for example when i was failing i
was getting the error
 cs job query cfa55630-6a76-4128-a759-469224ddee4f  -e cs3-admin
accountid : 40ed3d8c-cae2-11e3-8f1a-001e67a0a266
userid : 40ed6f44-cae2-11e3-8f1a-001e67a0a266
cmd : 
org.apache.cloudstack.api.command.admin.resource.UploadCustomCertificateCmd
jobstatus : 2
jobprocstatus : 0
jobresultcode : 530
jobresulttype : object
jobresult :errorcode : 530
   errortext : Failed to pass certificate validation check
created : 2014-05-06T15:47:52+0200
jobid : cfa55630-6a76-4128-a759-469224ddee4f


when i succeeded  i got
$ cs job query 686d4d71-94da-4b27-9629-9067793147fa -e cs3-admin
accountid : 40ed3d8c-cae2-11e3-8f1a-001e67a0a266
userid : 40ed6f44-cae2-11e3-8f1a-001e67a0a266
cmd : 
org.apache.cloudstack.api.command.admin.resource.UploadCustomCertificateCmd
jobstatus : 1
jobprocstatus : 0
jobresultcode : 0
jobresulttype : object
jobresult :customcertificate : {message=Certificate has been
updated, we will stop all running console proxy VMs and secondary
storage VMs to propagate the new certificate, please give a few
minutes for console access service to be up again}
created : 2014-05-06T15:56:31+0200
jobid : 686d4d71-94da-4b27-9629-9067793147fa


After you verify that all keys are there, verify also the console
proxy is being restarted.



On Tue, May 6, 2014 at 1:21 PM, Ian Service iserv...@ts2.ca wrote:
 I was able to get it all to work using the API.

 I followed Chip's advice
 http://www.chipchilders.com/blog/2013/1/2/undocumented-feature-using-certificate-chains-in-cloudstack.html

 The difference is is that I'm using my own CloudStack API wrapper in PHP
 and the certificates and private key needed to be url encoded twice (once
 for normal URL transmission and once before that for transmission into the
 system) before they would be pushed out correctly to the system VMs.  I
 also replaced all newlines with \r\n and trimmed off the white space from
 beginning and end of the strings for good measure.

 Before I discovered that, the certificates would look like they had been
 imported correctly in the database but were being prevented from being used
 on the Java end of things.

 - Ian



 On Tue, May 6, 2014 at 2:17 AM, Gopala Krishnan gopkris2...@gmail.comwrote:

 Yes... I have changed manually id in keystore tables.

 1 for root cert
 2 for intermediate CA
 3 for certificate




 On Tue, May 6, 2014 at 10:47 AM, Amogh Vasekar amogh.vase...@citrix.com
 wrote:

  Can you please outline the steps in uploading intermediate and root
  certificates? Specifically, was the id parameter set (1 for root, 2 for
  intermediate_ca_1 etc..)
 
  Amogh
 
  On 5/5/14 10:10 PM, Gopala Krishnan gopkris2...@gmail.com wrote:
 
  Amogh,
  
  Yes.. I am used Cloudstack 4.2 and uploaded root and intermediate CA
  certificate as per order.  But still not console accessible.
  
  Any idea?
  
  
  
  On Sat, May 3, 2014 at 11:58 PM, Amogh Vasekar
  amogh.vase...@citrix.comwrote:
  
   Hi,
  
   Which version are you on? Also, did you upload the root and
 intermediate
   certificates (if any)?
  
   Amogh
  
   On 5/3/14 3:38 AM, Gopala Krishnan gopkris2...@gmail.com wrote:
  
   Hi,
   
   I have tried to change realhostip.com for console proxy. I have
  created
   SSL
   certificate with wildcard SSL and updated as per the cloudstack
  document.
   
   
  
  
 
 http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/l
  a
   test/systemvm.html#console-proxy
   
   Its not working.. I have done the following steps.
   
   Purchased SSL certificate for my domain *.hostname.com and updated
 the
   certificate via the cloudstack UI.
   
   Infrastructure -  SSL certificate
   
   Pasted the certificate
   Pasted the Key
   DNS domain = hostname.com
   
   Once completed, I have optimized the global settings
   
   consoleproxy.url.domain = hostname.com
   
   
   When I click console for VM, It shows certificate trusted errors.
 May I
   know what I done wrong??
   
   
   --
   Gopala Krishnan.S
   Mobile : +91 9865709094 / +91 9994874447
   *cPanel KnowledgeBase http://www.cpanelkb.net/*
   *Linux Server Admin Tools* http://www.gnutoolbox.com
  
  
  
  
  --
  Gopala Krishnan.S
  Mobile : +91 9865709094 / +91 9994874447
  *cPanel KnowledgeBase http://www.cpanelkb.net/*
  *Linux Server Admin Tools* http://www.gnutoolbox.com
 
 


 --
 Gopala Krishnan.S
 Mobile : +91 9865709094 / +91 9994874447
 *cPanel KnowledgeBase http://www.cpanelkb.net/*
 *Linux Server Admin Tools* http://www.gnutoolbox.com




-- 
Centralway Factory AG | Konstantinos Karampogias, DevOps |  LinkedIn |
+ 41 44 578 

Re: Cannot delete F5 device

2014-05-06 Thread Amin Pashapour
Hi Sanjeev

As you can see below, all my networks with F5 are already removed but I still 
can't delete the F5 device.  I went ahead and deleted the 3 rows in the 
ntwk_service_map and still no luck.


mysql select * from ntwk_service_map where provider like 'F5%';
+--++-+--+-+
| id   | network_id | service | provider | created             |
+--++-+--+-+
| 1537 |        357 | Lb      | F5BigIp  | 2014-05-05 15:10:37 |
| 1545 |        358 | Lb      | F5BigIp  | 2014-05-05 15:59:27 |
| 1553 |        359 | Lb      | F5BigIp  | 2014-05-05 21:53:10 |
+--++-+--+-+

mysql select * from networks where LOWER(name) LIKE '%f5%';
+-+-+--+-+--+---+---++---+--+-+-++--+-+-+---+++--+---++--+---+--++--+-+-+---++-+--+--+-++
| id  | name            | uuid                                 | display_text   
 | traffic_type | broadcast_domain_type | broadcast_uri | gateway    | cidr     
     | mode | network_offering_id | physical_network_id | data_center_id | 
guru_name                | state   | related | domain_id | account_id | dns1    
       | dns2 | guru_data | set_fields | acl_type | network_domain    | 
reservation_id                       | guest_type | restart_required | created  
           | removed             | specify_ip_ranges | vpc_id | ip6_gateway | 
ip6_cidr | network_cidr | display_network | network_acl_id |
+-+-+--+-+--+---+---++---+--+-+-++--+-+-+---+++--+---++--+---+--++--+-+-+---++-+--+--+-++
| 357 | Network with F5 | 5c323bd2-07af-4f54-bab2-2c7f9bf9eb7a | Network with 
F5 | Guest        | Vlan                  | NULL          | 10.0.16.1  | 
10.0.16.0/20  | Dhcp |                  15 |                 202 |              
1 | ExternalGuestNetworkGuru | Destroy |     357 |         1 |          2 | 
208.67.222.222 | NULL | NULL      |          0 | Account  | cs2cloud.internal | 
fd620153-db82-4155-98af-451a291f681c | Isolated   |                0 | 
2014-05-05 15:10:37 | 2014-05-05 16:28:27 |                 0 |   NULL | NULL   
     | NULL     | NULL         |               1 |           NULL |
| 358 | pashaf5         | 3dd4c6ea-006d-42a0-b02b-88f1f94ecf2a | pasha f5       
 | Guest        | Vlan                  | NULL          | 10.0.128.1 | 
10.0.128.0/20 | Dhcp |                  15 |                 202 |              
1 | ExternalGuestNetworkGuru | Destroy |     358 |         1 |          2 | 
208.67.222.222 | NULL | NULL      |          0 | Account  | cs2cloud.internal | 
24e21406-2d71-4660-8537-cd2093f6e637 | Isolated   |                0 | 
2014-05-05 15:59:27 | 2014-05-05 16:28:33 |                 0 |   NULL | NULL   
     | NULL     | NULL         |               1 |           NULL |
| 359 | MyF5Network     | 46e0bc3e-f0aa-454c-b7e2-3a4f900ccf26 | My F5 Network  
 | Guest        | Vlan                  | NULL          | 10.1.16.1  | 
10.1.16.0/20  | Dhcp |                  16 |                 202 |              
1 | ExternalGuestNetworkGuru | Destroy |     359 |         1 |          2 | 
208.67.222.222 | NULL | NULL      |          0 | Account  | cs2cloud.internal | 
c3a8fa38-4fe5-49ff-9176-fa8d99372a44 | Isolated   |                0 | 
2014-05-05 21:53:10 | 2014-05-06 14:52:16 |                 0 |   NULL | NULL   
     | NULL     | NULL         |               1 |           NULL |

find hostname from ip address

2014-05-06 Thread Rodrigo D. Lopez

higuys,

A user in my cloud has changed theip and mac addresses of his/her VM 
manually. I have noticed some ip conflicts in my network and when I was 
debugging it I have found out that there were two VMs with the same IP 
address. However, I do not know which VM is the one that had its 
ipchanged manually. Would there be a way to find that out?




Re: Local storage DB

2014-05-06 Thread Anton Rubets
Okay
Lets begin from start, if you can help me, because i cant google it =(
Now i am trying to understand advanced network installation on Xenserver.
I have 2 NIC, one of the will use as management and storage traffic. Second
for public and guest traffic. But i cant understand/find in google/ find in
documentation  how to configure guest traffic on Xenserver.
I don't anything at NIC except the label cloud-mgmt . It works and even
storage traffic created (I use local storage, so CS will created it by
himself and i see that in log file).
So it clear for me, but on the Second network i have no idea how to do it
right.
If i understand it , in CS Advanced Network I moved  public and guest
traffic type on Second NIC (Physical network name). Then assign label for
public and guest network as cloud-public, after add public network
ip/netmask and assign it as Vlan 42. Add vlan for guest network 1000-1500.
So i have netx configuration
XS 6.2
 xe network-list
uuid ( RO): 0af6214f-61eb-f041-1979-4998a51c0930
  name-label ( RW): cloud-public
name-description ( RW):
  bridge ( RO): xenbr1


uuid ( RO): 9faf1d2b-50eb-79e7-9c5a-20616738f6c8
  name-label ( RW): Host internal management network
name-description ( RW): Network on which guests will be assigned a
private link-local IP address which can be used to talk XenAPI
  bridge ( RO): xenapi


uuid ( RO): 2502b2fd-f385-05d7-cedf-58fea3a86de8
  name-label ( RW): cloud-mgmt
name-description ( RW):
  bridge ( RO): xenbr0
On CS4.3
cloud-mgmt - management traffic
  storage traffic
cloud-public - public traffic (Vlan: 42)
   guest traffic (Vlans 1000-1500)

So there a question:
This is right configuration or i need to change the XS network config ( for
example add guest network as internal )?
This is right configuration on CS4.3?
Or what i need to change on this config?

Best regard
Anton Rubets




On Mon, May 5, 2014 at 9:08 PM, Daan Hoogland daan.hoogl...@gmail.comwrote:

 i have no idea what you mean Anton.
 Can you write out a way of reproducing on a clean installation?
 preferably in some scripting language.

 On Mon, May 5, 2014 at 6:39 PM, Anton Rubets plejik@gmail.com wrote:
  Hi
  I have some strange in installation. I found that storage traffic created
  only when i added host that sec storage and after that enable the zone by
  hands
 
 
  On Mon, May 5, 2014 at 7:00 PM, Daan Hoogland daan.hoogl...@gmail.com
 wrote:
 
  what table are you referring, Anton?
 
  there are several in the system, most importantly networks and
  network_offerings but also firewall_rule and vpc_acl_item.
 
  On Tue, Apr 29, 2014 at 9:43 AM, Anton Rubets plejik@gmail.com
  wrote:
   Hi
   I have old CS4.1 system, but now setup new and have some trouble;
   Now i have check the cloud database traffic type and see that on old
  system
   Storage traffic_type present, but i don`t add it myself (automatic i
   think), but in new CS4.3 this traffic_type don`t added, so can someone
  look
   at their DB (i use local storage) and show it if your CS working well?
   Thanks
 
 
 
  --
  Daan
 



 --
 Daan



cloudstack4.3-kvm hyperviser: Clone vm

2014-05-06 Thread rammohan ganapavarapu
Hi,

In cloudstack4.3, is there a way to clone existing vm and or create
/convert a vm into a template like in proxmox? if so how?

Thanks,
Ram


Migrate VR from NFS to CEPH

2014-05-06 Thread Andrija Panic
Hi,

I have just implemented CEPH as Primary Storage for CS, and have created
new System Offerings for Console Proxy and Secondary Storage and Virtual
Router - declared these new offerings to use shared storage that is tagged
with rbd (tag I used on CEPH), etc.

I created new offering for CPVV and SSVM and used the guide here:
https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html-single/Admin_Guide/index.html#sys-offering-sysvm
to
start using these new system offerings and it is all fine for CPVM and SSVM
(they are destroyed and recreated by CS, now on CEPH).

I did completely the same steps for Software Router, but it keeps using
original system offering, instead of the one I created.

CS keeps creating VR on NFS storage, choosen randomly among 3 NFS storage
nodes...instead of CEPH.

Any suggestions how to make CS use my new VR offering (System Offering For
Software Router) ?

Thanks,

-- 

Andrija Panić


Re: using cldstk-dploy with proxy

2014-05-06 Thread Ian Duffy
Sorry and NPM: http://jjasonclark.com/how-to-setup-node-behind-web-proxy


On 6 May 2014 21:12, Ian Duffy i...@ianduffy.ie wrote:

 I don't know the script in detail just briefly glanced over it.

 It looks like it should work if you

 1) Set the proxy for yum. Modify /etc/yum.conf add in
 proxy=http://whatever:port
 2) Modify /etc/bashrc and do exports for http_proxy and https_proxy
 3) Modify /etc/wgetrc and do http_proxy=http://whatever:portand use_proxy = on


 On 6 May 2014 13:45, dimas yoga pratama smid...@gmail.com wrote:

 Hi all, is it possible to use cldstk-dply
 https://github.com/thehyperadvisor/cldstk-deploy with proxy environment
 and
 a single host?
 I want to test it in my college lab.thanks





Re: using cldstk-dploy with proxy

2014-05-06 Thread Ian Duffy
I don't know the script in detail just briefly glanced over it.

It looks like it should work if you

1) Set the proxy for yum. Modify /etc/yum.conf add in
proxy=http://whatever:port
2) Modify /etc/bashrc and do exports for http_proxy and https_proxy
3) Modify /etc/wgetrc and do http_proxy=http://whatever:port and use_proxy
= on


On 6 May 2014 13:45, dimas yoga pratama smid...@gmail.com wrote:

 Hi all, is it possible to use cldstk-dply
 https://github.com/thehyperadvisor/cldstk-deploy with proxy environment
 and
 a single host?
 I want to test it in my college lab.thanks



Re: Total number of Vms?

2014-05-06 Thread Rafael Weingartner
i would say to you to try Cloudmonkey, I think there you can create
something easy to count the total of VMs including projects, zones and etc..


On Tue, May 6, 2014 at 5:58 PM, Juan Gomez juan.go...@kumo.com.co wrote:

 Hello everyone,

 How can i quickly count the total number of VMs that exist in my whole
 cluoudstack environment including all the zones ?

 Thank You




 Email asegurado por Check Point




-- 
Rafael Weingärtner


Re: Local storage DB

2014-05-06 Thread Daan Hoogland
If I understand your description it seems correct. Can you start
cloudstack and do the system vms get started?

On Tue, May 6, 2014 at 6:30 PM, Anton Rubets plejik@gmail.com wrote:
 Okay
 Lets begin from start, if you can help me, because i cant google it =(
 Now i am trying to understand advanced network installation on Xenserver.
 I have 2 NIC, one of the will use as management and storage traffic. Second
 for public and guest traffic. But i cant understand/find in google/ find in
 documentation  how to configure guest traffic on Xenserver.
 I don't anything at NIC except the label cloud-mgmt . It works and even
 storage traffic created (I use local storage, so CS will created it by
 himself and i see that in log file).
 So it clear for me, but on the Second network i have no idea how to do it
 right.
 If i understand it , in CS Advanced Network I moved  public and guest
 traffic type on Second NIC (Physical network name). Then assign label for
 public and guest network as cloud-public, after add public network
 ip/netmask and assign it as Vlan 42. Add vlan for guest network 1000-1500.
 So i have netx configuration
 XS 6.2
  xe network-list
 uuid ( RO): 0af6214f-61eb-f041-1979-4998a51c0930
   name-label ( RW): cloud-public
 name-description ( RW):
   bridge ( RO): xenbr1


 uuid ( RO): 9faf1d2b-50eb-79e7-9c5a-20616738f6c8
   name-label ( RW): Host internal management network
 name-description ( RW): Network on which guests will be assigned a
 private link-local IP address which can be used to talk XenAPI
   bridge ( RO): xenapi


 uuid ( RO): 2502b2fd-f385-05d7-cedf-58fea3a86de8
   name-label ( RW): cloud-mgmt
 name-description ( RW):
   bridge ( RO): xenbr0
 On CS4.3
 cloud-mgmt - management traffic
   storage traffic
 cloud-public - public traffic (Vlan: 42)
guest traffic (Vlans 1000-1500)

 So there a question:
 This is right configuration or i need to change the XS network config ( for
 example add guest network as internal )?
 This is right configuration on CS4.3?
 Or what i need to change on this config?

 Best regard
 Anton Rubets




 On Mon, May 5, 2014 at 9:08 PM, Daan Hoogland daan.hoogl...@gmail.comwrote:

 i have no idea what you mean Anton.
 Can you write out a way of reproducing on a clean installation?
 preferably in some scripting language.

 On Mon, May 5, 2014 at 6:39 PM, Anton Rubets plejik@gmail.com wrote:
  Hi
  I have some strange in installation. I found that storage traffic created
  only when i added host that sec storage and after that enable the zone by
  hands
 
 
  On Mon, May 5, 2014 at 7:00 PM, Daan Hoogland daan.hoogl...@gmail.com
 wrote:
 
  what table are you referring, Anton?
 
  there are several in the system, most importantly networks and
  network_offerings but also firewall_rule and vpc_acl_item.
 
  On Tue, Apr 29, 2014 at 9:43 AM, Anton Rubets plejik@gmail.com
  wrote:
   Hi
   I have old CS4.1 system, but now setup new and have some trouble;
   Now i have check the cloud database traffic type and see that on old
  system
   Storage traffic_type present, but i don`t add it myself (automatic i
   think), but in new CS4.3 this traffic_type don`t added, so can someone
  look
   at their DB (i use local storage) and show it if your CS working well?
   Thanks
 
 
 
  --
  Daan
 



 --
 Daan




-- 
Daan


Re: Presentation videos from CloudStack Collab Conference #CCCNA14

2014-05-06 Thread Kirk Jantzer
Just wondering if there is an update to this, mine is still missing.


Regards,

Kirk Jantzer
http://about.me/kirkjantzer


On Thu, May 1, 2014 at 5:05 PM, Kirk Jantzer kirk.jant...@gmail.com wrote:

 Mine is missing :-(


 Regards,

 Kirk Jantzer
 http://about.me/kirkjantzer


 On Thu, May 1, 2014 at 4:06 PM, Francois Gaudreault 
 fgaudrea...@cloudops.com wrote:

 Well at least one of the presentation we made is missing.

 FG


 On 2014-05-01, 5:48 PM, Amogh Vasekar wrote:

 Hi,

 Are some of the videos missing?

 Amogh

 On 5/1/14 2:39 PM, Karen Vuong karen.vu...@citrix.com wrote:

  Hi Adrian,

 The Linux Foundation is uploading the full video and correcting the
 typo.
 It will be up in a few days.

 Thanks,

 Karen

 -Original Message-
 From: Adrian Lewis [mailto:adr...@alsiconsulting.co.uk]
 Sent: Thursday, May 01, 2014 3:05 AM
 To: users@cloudstack.apache.org; fgaudrea...@cloudops.com;
 market...@cloudstack.apache.org
 Subject: RE: Presentation videos from CloudStack Collab Conference
 #CCCNA14

 And Integration of Citrex XenDesktop and XenApp with CloudStack - Paul
 Howard is cut short to about 4 minutes. Is this the right place to
 report things like this? Would also be nice to correct the typo if it's
 being uploaded again.

 Adrian

 -Original Message-
 From: Francois Gaudreault [mailto:fgaudrea...@cloudops.com]
 Sent: 01 May 2014 02:20
 To: users@cloudstack.apache.org; market...@cloudstack.apache.org
 Subject: Re: Presentation videos from CloudStack Collab Conference
 #CCCNA14

 Looks like some are still missing?

 Francois

 On 2014-04-30, 5:03 PM, Tariq Iqbal wrote:

 Hi,

 The presentation videos from the CloudStack Collaboration Conference
 North America 2014 held in Denver earlier this month are now available:

 https://www.youtube.com/playlist?list=PLU2OcwpQkYCyPx_cwJxyOK0YKSM86Mj
 9napp=desktop

 Best Regards,

 Tariq Iqbal

 *Senior Consultant*

 **

 Description: Mail Logo Bottom Align**

 **

 S: +44 20 3603 0540 tel:+442036030540 | M: +447909911600
 tel:+447909911600

 tariq.iq...@shapeblue.com mailto:tariq.iq...@shapeblue.com |
 www.shapeblue.com http://www.shapeblue.com/ | Twitter:@shapeBlue
 https://twitter.com/#%21/shapeblue | Twitter:@TariqIqbal_
 https://twitter.com/tariqiqbal_

 ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

 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
 http://shapeblue.com/csforge/ CloudStack Consulting
 http://shapeblue.com/cloudstack-consultancy/
 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 is
 a registered trademark.


 --
 Francois Gaudreault
 Gestionnaire de Produit | Product Manager - Cloud Platform  Services
 fgaudrea...@cloudops.com
 514-629-6775
 - - -
 CloudOps
 420 rue Guy
 Montréal QC  H3J 1S6
 www.cloudops.com
 @CloudOps_




 --
 Francois Gaudreault
 Gestionnaire de Produit | Product Manager - Cloud Platform  Services
 fgaudrea...@cloudops.com
 514-629-6775
 - - -
 CloudOps
 420 rue Guy
 Montréal QC  H3J 1S6
 www.cloudops.com
 @CloudOps_





Re: Total number of Vms?

2014-05-06 Thread rammohan ganapavarapu
Can't you query databse? select * from user_vm; some thing like this?


On Tue, May 6, 2014 at 1:58 PM, Juan Gomez juan.go...@kumo.com.co wrote:

 Hello everyone,

 How can i quickly count the total number of VMs that exist in my whole
 cluoudstack environment including all the zones ?

 Thank You




 Email asegurado por Check Point




Re: Total number of Vms?

2014-05-06 Thread Rafael Weingartner
actually, you can and that would work.


On Tue, May 6, 2014 at 7:07 PM, rammohan ganapavarapu 
rammohanga...@gmail.com wrote:

 Can't you query databse? select * from user_vm; some thing like this?


 On Tue, May 6, 2014 at 1:58 PM, Juan Gomez juan.go...@kumo.com.co wrote:

  Hello everyone,
 
  How can i quickly count the total number of VMs that exist in my whole
  cluoudstack environment including all the zones ?
 
  Thank You
 
 
 
 
  Email asegurado por Check Point
 
 




-- 
Rafael Weingärtner


Re: Total number of Vms?

2014-05-06 Thread Ahmad Emneina
make sure to include in your query some additional clauses; and type='User'
and removed is null... something along those lines.


On Tue, May 6, 2014 at 3:07 PM, rammohan ganapavarapu 
rammohanga...@gmail.com wrote:

 Can't you query databse? select * from user_vm; some thing like this?


 On Tue, May 6, 2014 at 1:58 PM, Juan Gomez juan.go...@kumo.com.co wrote:

  Hello everyone,
 
  How can i quickly count the total number of VMs that exist in my whole
  cluoudstack environment including all the zones ?
 
  Thank You
 
 
 
 
  Email asegurado por Check Point
 
 



Re: cloudstack 4.3 installation on CentOS

2014-05-06 Thread Pierre-Luc Dion
Hi,
Did you follow the zone creation wizard from the ui?

Could it be possible their is not enough management IP in the pod?

Le mardi 6 mai 2014, dimas yoga pratama smid...@gmail.com a écrit :

 Hi all,

 I'm trying to install cloudstack 4.3 on CentOS 6.5 with single hardware
 with proxy environment. I followed this guide
 http://cloudstack-installation.readthedocs.org/en/latest/qig.html. I
 managed to login to  cloudstack dashboard and succeded to add host. When it
 comes to creating system VMs(this may take a while) step, it takes a very
 very loong time and when I refresh the browser suddenly it redirect to
 dashboard. I check the infrastructure tab and I found 2 system VMs already
 created and the VM state showed starting but the agent showed nothing.
 Also in dashboard tab I found this notification : Management Server:
 Management network CIDR is not configured original.type 14
 why is that happening?  anything wrong with my installation?

 looking forward for your answer.



-- 

Pierre-Luc Dion
Architecte de Solution Cloud | Cloud Solutions Architect
855-OK-CLOUD (855-652-5683) x1101
- - -

*CloudOps*420 rue Guy
Montréal QC  H3J 1S6
www.cloudops.com
@CloudOps_


Re: Total number of Vms?

2014-05-06 Thread Pierre-Luc Dion
Their is also the ruby gem: cloudstack_ruby_client if its for a script.
It provide the total instance count  automatically when calling
list_instance

Le mardi 6 mai 2014, Ahmad Emneina aemne...@gmail.com a écrit :

 make sure to include in your query some additional clauses; and type='User'
 and removed is null... something along those lines.


 On Tue, May 6, 2014 at 3:07 PM, rammohan ganapavarapu 
 rammohanga...@gmail.com javascript:; wrote:

  Can't you query databse? select * from user_vm; some thing like this?
 
 
  On Tue, May 6, 2014 at 1:58 PM, Juan Gomez 
  juan.go...@kumo.com.cojavascript:;
 wrote:
 
   Hello everyone,
  
   How can i quickly count the total number of VMs that exist in my whole
   cluoudstack environment including all the zones ?
  
   Thank You
  
  
  
  
   Email asegurado por Check Point
  
  
 



-- 

Pierre-Luc Dion
Architecte de Solution Cloud | Cloud Solutions Architect
855-OK-CLOUD (855-652-5683) x1101
- - -

*CloudOps*420 rue Guy
Montréal QC  H3J 1S6
www.cloudops.com
@CloudOps_


ACS 4.3 problem with starting virtual routers

2014-05-06 Thread Andrei Mikhailovsky
Hello guys, 

could someone help me to solve the problem with virtual routers on ACS 4.3 
using Ubuntu 12.04 for both management and host servers. 

I've recenly upgraded from ACS 4.2.1 following the release notes. In the 
process of upgrading i've added new system vm template and following the 
upgrade i've restarted all virtual routers. The process went well so far as 
there we no errors. 

Next day i've noticed that I am no longer able to start new virtual routers or 
restart networks. I can successfully start existing virtual routers which are 
in the Stopped state, but can't start a new virtual router. For instance, the 
management server log shows the following when I am trying to restart an 
existing network: 



--- 

2014-05-07 00:11:32,069 DEBUG [c.c.a.ApiServlet] (catalina-exec-5:ctx-f0be1010) 
===START=== 192.168.169.52 -- GET command=restartNetworkid=13 
1e86d0-8d0b-4e9a-964d-e102511b055acleanup=trueresponse=jsonsessionkey=i9vBkmoEtC2L4tAjX%2BMQQ9NzZKw%3D_=1399417892014
 
2014-05-07 00:11:32,106 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(catalina-exec-5:ctx-f0be1010 ctx-d6f35608) submit async job-4913, details: 
Asyn 
cJobVO {id:4913, userId: 3, accountId: 2, instanceType: None, instanceId: null, 
cmd: org.apache.cloudstack.api.command.user.network.RestartNetwo 
rkCmd, cmdInfo: 
{id:131e86d0-8d0b-4e9a-964d-e102511b055a,response:json,cleanup:true,sessionkey:i9vBkmoEtC2L4tAjX+MQQ9NzZKw\u003d
 
,cmdEventType:NETWORK.RESTART,ctxUserId:3,httpmethod:GET,_:1399417892014,ctxAccountId:2,ctxStartEventId:15168},
 cmdVersi 
on: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, 
initMsid: 238402986947280, completeMsid: null, lastUpdated: null, las 
tPolled: null, created: null} 
2014-05-07 00:11:32,107 INFO [o.a.c.f.j.i.AsyncJobMonitor] 
(Job-Executor-2:ctx-549fa81b) Add job-4913 into job monitoring 
2014-05-07 00:11:32,107 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(Job-Executor-2:ctx-549fa81b) Executing AsyncJobVO {id:4913, userId: 3, 
accountI 
d: 2, instanceType: None, instanceId: null, cmd: 
org.apache.cloudstack.api.command.user.network.RestartNetworkCmd, cmdInfo: 
{id:131e86d0-8d0b 
-4e9a-964d-e102511b055a,response:json,cleanup:true,sessionkey:i9vBkmoEtC2L4tAjX+MQQ9NzZKw\u003d,cmdEventType:NETWORK.RESTART,c
 
txUserId:3,httpmethod:GET,_:1399417892014,ctxAccountId:2,ctxStartEventId:15168},
 cmdVersion: 0, status: IN_PROGRESS, processS 
tatus: 0, resultCode: 0, result: null, initMsid: 238402986947280, completeMsid: 
null, lastUpdated: null, lastPolled: null, created: null} 
2014-05-07 00:11:32,108 DEBUG [c.c.a.ApiServlet] (catalina-exec-5:ctx-f0be1010 
ctx-d6f35608) ===END=== 192.168.169.52 -- GET command=restartNe 
tworkid=131e86d0-8d0b-4e9a-964d-e102511b055acleanup=trueresponse=jsonsessionkey=i9vBkmoEtC2L4tAjX%2BMQQ9NzZKw%3D_=1399417892014
 
2014-05-07 00:11:32,130 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(Job-Executor-2:ctx-549fa81b ctx-d6f35608) Restarting network 264... 
2014-05-07 00:11:32,130 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(Job-Executor-2:ctx-549fa81b ctx-d6f35608) Shutting down the network id=264 as 
a p 
art of network restart 
2014-05-07 00:11:32,134 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(Job-Executor-2:ctx-549fa81b ctx-d6f35608) Releasing 2 port forwarding rules 
for n 
etwork id=264 as a part of shutdownNetworkRules 
2014-05-07 00:11:32,160 DEBUG [c.c.n.e.VirtualRouterElement] 
(Job-Executor-2:ctx-549fa81b ctx-d6f35608) Virtual router elemnt doesn't need 
to ap 
ply firewall rules on the backend; virtual router doesn't exist in the network 
264 
2014-05-07 00:11:32,162 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(Job-Executor-2:ctx-549fa81b ctx-d6f35608) Releasing 0 static nat rules for 
networ 
k id=264 as a part of shutdownNetworkRules 
2014-05-07 00:11:32,162 DEBUG [c.c.n.f.FirewallManagerImpl] 
(Job-Executor-2:ctx-549fa81b ctx-d6f35608) There are no rules to forward to the 
netw 
ork elements 
2014-05-07 00:11:32,164 DEBUG [c.c.n.l.LoadBalancingRulesManagerImpl] 
(Job-Executor-2:ctx-549fa81b ctx-d6f35608) Revoking 0 Public load balancing 
rules for network id=264 
2014-05-07 00:11:32,164 DEBUG [c.c.n.l.LoadBalancingRulesManagerImpl] 
(Job-Executor-2:ctx-549fa81b ctx-d6f35608) There are no Load Balancing Rules to 
forward to the network elements 
2014-05-07 00:11:32,166 DEBUG [c.c.n.l.LoadBalancingRulesManagerImpl] 
(Job-Executor-2:ctx-549fa81b ctx-d6f35608) Revoking 0 Internal load balancing 
rules for network id=264 
2014-05-07 00:11:32,166 DEBUG [c.c.n.l.LoadBalancingRulesManagerImpl] 
(Job-Executor-2:ctx-549fa81b ctx-d6f35608) There are no Load Balancing Rules to 
forward to the network elements 
2014-05-07 00:11:32,168 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(Job-Executor-2:ctx-549fa81b ctx-d6f35608) Releasing 5 firewall ingress rules 
for network id=264 as a part of shutdownNetworkRules 
2014-05-07 00:11:32,186 DEBUG [c.c.n.e.VirtualRouterElement] 
(Job-Executor-2:ctx-549fa81b ctx-d6f35608) Virtual router elemnt doesn't need 
to apply firewall 

Re: vrouter cannot start after upgraded from 4.2.1 to 4.3

2014-05-06 Thread Andrei Mikhailovsky
Hi Steven, 

Have you solved this problem? I am having the same issue and can't figure out 
what to do next. 

Cheers 

Andrei 

- Original Message -

From: stevenliang stevenli...@yesup.com 
To: users@cloudstack.apache.org 
Sent: Friday, 28 March, 2014 1:05:31 PM 
Subject: Re: vrouter cannot start after upgraded from 4.2.1 to 4.3 

Yes, I enabled bridge in my KVM server. 

On 28/03/14 12:46 AM, Gopala Krishnan wrote: 
 Hi, 
 
 You should check with your primary storage status and SSVM. Did you enabled 
 bridge in your KVM server? 
 
 
 
 On Fri, Mar 28, 2014 at 8:53 AM, ilya musayev 
 ilya.mailing.li...@gmail.comwrote: 
 
 Caused by: com.cloud.exception.InsufficientServerCapacityException: 
 Unable to create a deployment for VM[User|steven3]Scope=interface 
 com.cloud.dc.DataCenter; id=2 
 
 How you doing on capacity? You have some hosts in avoid set and ACS cant 
 figure out where to place your router vm. 
 
 
 On 3/27/14, 8:32 AM, stevenliang wrote: 
 
 Hi, 
 
 I used kvm hypervisor, after upgraded, vrouter stopped and was not able 
 to start. 
 I removed the stopped vrouter and created a new instance tried to 
 trigger to create a new vrouter, but failed. This link is management 
 server's log http://pastebin.com/Pm9J1ECk 
 Please help. 
 Thank you. 
 
 Steven