[DOC]:baremetal kickstart document was old

2013-10-17 Thread Jijun
recently i have test the CS + baremetal kickstart, found the baremetal 
kickstart document was old ,


https://cwiki.apache.org/confluence/display/CLOUDSTACK/Baremetal+KickStart

i want to have the right to update it , can someone give me the right to 
do that?


My account name is my email address.

--
Thanks,
Jijun



Re: could not register iso

2013-10-17 Thread raj kumar
Thank you all for your responses.

After refering logs and logging into console through virsh, seen that there
is no link-local ip even though the link ip address is listed in web
console. there is only 127.0.0.1 configure in ssvm.  So where i'm missing.

I'm using basic network, no vlans. only one subnet. Also pls note I skipped
totally 8.1.7.2. Configuring the network bridges from the installation
guide for kvm hypervisor. But cloudstack itself has created cloud0,
cloudbr0 and vnet interfaces.

-Raj


On Thu, Oct 17, 2013 at 12:48 AM, Nitin Mehta nitin.me...@citrix.comwrote:

 Did you reboot the SSVM as well ? You might have to do this to take into
 affect. Let me know if that resolves it for you.

 On 16/10/13 6:22 AM, raj kumar rajkumar600...@gmail.com wrote:

 Hi,
 
 while registering iso, registration is successful, but it is not ready for
 use. after 20 to 30sec, it vanishes.  I've added the http server in global
 settings secstorage.allowed.internal.sites. still no luck.
 
 both secodary and console system vms are running.




RE: CS 4.2 Advance Zone System VM won't start

2013-10-17 Thread Sanjeev Neelarapu
Did you allow ping traffic in ingress rules in the guest network?

-Original Message-
From: motty cruz [mailto:motty.c...@gmail.com] 
Sent: Saturday, October 12, 2013 2:44 AM
To: users@cloudstack.apache.org
Subject: Re: CS 4.2 Advance Zone System VM won't start

So after changing my gateway to public address my System VMs started, I was 
able to download a ISO install an instance but I'm unable to ping the instance, 
or the VR, guest CIDR 10.1.1.0/24 guest traffic is in the same network as 
public traffic using vlan 100.
this is how eth0 public interface looks like

DEVICE=eth0
HWADDR=00:15:17:7B:67:65
ONBOOT=yes
BRIDGE=cloudbr0

DEVICE=eth0.99
HWADDR=00:15:17:7B:67:65
ONBOOT=yes
VLAN=yes


DEVICE=eth0.100
HWADDR=00:15:17:7B:67:65
ONBOOT=yes
VLAN=yes

I'm not sure if this is correct?
Thanks,





On Fri, Oct 11, 2013 at 1:03 PM, motty cruz motty.c...@gmail.com wrote:

 Thank you very much,
 my gateway was set to local network,

 Thanks,


 On Fri, Oct 11, 2013 at 12:17 PM, Amogh Vasekar 
 amogh.vase...@citrix.comwrote:

 Possibly - Your default gateway on the host is set to your internal 
 192.* gateway? What does route -n say?

 Thanks,
 Amogh

 On 10/11/13 9:18 AM, motty cruz motty.c...@gmail.com wrote:

 Thank you for your reply, I blow out my installation, started from 
 scratch; you mentioned that we don't configure bridge for guest VLAN 
 traffic but Cloudstack did not configure it automatically. Also, I 
 noticied after installed cloudstack-agent and configure advance zone 
 four new interfaces appear vnet0 - vnet3. I don't know what that is.
 root@kvm4 network-scripts]# brctl show
 bridge name bridge id   STP enabled interfaces
 cloud0  8000.fe00a9fe025f   no  vnet0
 cloudbr08000.0015177b6765   no  eth0
 vnet2
 cloudbr18000.0015177b6764   no  eth1
 vnet1
 vnet3
 virbr0  8000.525400643b18   yes virbr0-nic
 
 after re-installing Cloudstack-management on the management server 
 and Cloudstack-agent on the KVM host configure two bridge cloudbr0 
 for public/guest and Cloudbr1 for managemen/storage, now my system 
 VMs are running but when trying to download and iso, I get the 
 follwoing error
 No
 route to host,
 here is my cloudbr0 bridge for public/guest traffic
 [root@kvm4 network-scripts]# less ifcfg-cloudbr0
 DEVICE=cloudbr0
 ONBOOT=yes
 TYPE=Bridge
 IPADDR=xxx..xxx
 GATEWAY=...xxx
 NETMASK=255.255.255.0
 DNS1=8.8.8.8
 
 base on eth0
 DEVICE=eth0
 HWADDR=00:15:17:7B:67:65
 ONBOOT=yes
 BRIDGE=cloudbr0
 
 Thanks again,
 
 
 
 
 On Fri, Oct 11, 2013 at 2:20 AM, Sanjeev Neelarapu  
 sanjeev.neelar...@citrix.com wrote:
 
  Hi,
 
  Please post management server log and agent log from kvm (with 
  debug
  enabled) to find out the issue .
  We don't have to created bridge with guest vlan for guest traffic.
  Cloudstack will configure it automatically on kvm when required.
 
  -Sanjeev
 
  -Original Message-
  From: motty cruz [mailto:motty.c...@gmail.com]
  Sent: Thursday, October 10, 2013 10:50 PM
  To: users@cloudstack.apache.org
  Subject: CS 4.2 Advance Zone System VM won't start
 
  Hi,
  I posted this problem in the past and got no help, so I'm trying 
  my
 luck
  again I install CS 4.2, configure advance zone for KVM cluster 
 here is my  brctl
  [root@kvm4 network-scripts]# brctl show
  bridge name bridge id   STP enabled interfaces
  cloud0  8000.fe00a9fe0212   no  vnet0
  cloudbr08000.0015177b6765   no  eth0
  vnet1
  vnet3
  cloudbr18000.0015177b6764   no  eth1
  vnet2
  cloudbr99   8000.0015177b6764   no  eth1.99
  virbr0  8000.52540089a4da   yes virbr0-nic
 
  I'm using inteface eth0 for management
  [root@kvm4 network-scripts]# less ifcfg-eth0
  DEVICE=eth0
  ONBOOT=yes
  BRIDGE=cloudbr0
 
  here is bridge for eth0
  DEVICE=cloudbr0
  ONBOOT=yes
  TYPE=Bridge
  IPADDR=192.168.0.10
  NETMASK=255.255.255.0
  GATEWAY=192.168.0.1
  DNS1=8.8.8.8
 
  I'm using eth1 for public/guest
  [root@kvm4 network-scripts]# less ifcfg-eth1
  DEVICE=eth1
  ONBOOT=yes
  BRIDGE=cloudbr1
 
  here is bridge to public network untag in vlan 1 by default
  DEVICE=cloudbr1
  ONBOOT=yes
  TYPE=Bridge
  IPADDR=98.234.34.208
  NETMASK=255.255.255.0
 
  I created VLAN 99 for guest traffic
  DEVICE=eth1.99
  ONBOOT=yes
  VLAN=yes
  BRIDGE=cloudbr99
 
  DEVICE=cloudbr99
  ONBOOT=yes
  TYPE=Bridge
  IPADDR=10.1.1.2
  NETMASK=255.255.255.0
  DNS1=8.8.8.8
 
  I'm using CLVM 

Re: DevCloud-KVM

2013-10-17 Thread Sebastien Goasguen

On Oct 16, 2013, at 7:57 PM, CK cloudw...@gmail.com wrote:

 Hi
 
 How is the nested visualization configured in the DevCloud appliance for
 VirtualBox?
 
 I have been trying to build my own DevCloud using Centos instead of Debian
 with KVM as the hypervisor in the DevCloud, but it looks like VirtualBox
 does not pass thru the Intel VMX flag to the Centos VM.
 

hardware virtualization is not supported on Vbox. If you want to use KVM you 
need Vmware workstation or Fusion if you are on OSX.

 So how does the Xen nested virtualisation work in the Debian based
 DevCloud2?
 

Xen works because it's a pv kernel.

 Regards



RE: Secondary Storage IP Subnet: Is it Optional or Mandatory?

2013-10-17 Thread Sanjeev Neelarapu
Hi Rob,

Even in 4.2 defining storage traffic is not mandatory while creating physical 
network. If you opt to have storage network then you have to specify IP range.

Thanks,
Sanjeev

-Original Message-
From: Rob C. [mailto:iose...@gmail.com] 
Sent: Thursday, October 17, 2013 4:58 AM
To: users@cloudstack.apache.org
Subject: Secondary Storage IP Subnet: Is it Optional or Mandatory?

Hi,

According to some (possibly old) documentation I read, I have the impression 
that it is *optional* to define a secondary storage IP subnet.

Note, my questions are all in the context of:
- CloudStack 4.2
- ESXi hosts / vSphere 5.1
- Primary Storage is VMFS via fiber channel
- Advanced Networking

Here is the document to which I am referring, along with the relevant
quotes:
CloudStack System VMs:
https://cwiki.apache.org/confluence/download/attachments/30149076/Cloudstack+System+VMs.pdf
*Network Terminology - Storage: As it relates to CloudStack, this is an 
optional network dedicated to secondary storage. If not specified, the 
management network will be assumed for this role.* *SSVM - eth3 (storage): 
Note if a physical storage interface was not specified when creating the zone 
this interface will not exist. Storage traffic will assume the management 
interface*

My Questions:
1. Is the above-referenced document accurate for CloudStack 4.2?

2. Do I interpret correctly that I don't need to define an IP subnet for 
Secondary Storage?

3. I have noticed that the CloudStack 4.2 Installation Guide, section 2.8.3 
Advanced Zone Network Traffic Types, for the type Storage says: *You must 
configure the IP range to use for the storage network.* 
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html-single/Installation_Guide/index.html#advanced-zone-network-traffic-types
How am I to interpret the quoted statement?  Is it saying that I must configure 
a range regardless, or only if I *opt* to have a Secondary Storage network?  If 
there is no Secondary Storage IP subnet, would I enter a range selected from 
the Management IP subnet?

I am aware of the redundancy and performance benefits to using separate 
interfaces, this is not my concern here.  My idea is to have a simplified 
CloudStack architecture by using a single IP subnet for CloudStack Management, 
and putting the NFS server on the same subnet (NFS to be used for Secondary 
Storage only).

If your response is that a defined Secondary Storage IP subnet is a mandatory 
requirement, then I have a few other questions regarding this
network:
4. I haven't found any documentation that helps with planning the size of the 
Secondary Storage network -- besides the NFS server and the SSVM, what other 
devices must have an IP address on this network?

5. How are IP addresses for devices on the Secondary Storage network assigned?  
In the case of the SSVM it must be dynamic, but if I were to manually put a 
CloudStack host onto this network (for convenience), what assures that the same 
IP address won't also get handed out to an SSVM?

6. Is it permitted to place the Secondary Storage traffic onto its own 
dedicated vSwitch on ESXi?  According to the Installation Guide under section 
8.3.5.1.1 Separating Traffic: *CloudStack allows you to use vCenter to 
configure three separate networks per ESXi host. *...*  The allowed networks 
for configuration are public, guest, and private (for management and usually 
storage traffic).*  This would suggest that storage traffic must share the 
same vSwitch as management traffic.

If I am missing something fundamental, and/or asking the wrong questions, 
please correct me!  Same goes if you have some general insight into the pros 
and cons of having a Secondary Storage IP subnet.

Many thanks!
Rob


Re: Secondary Storage IP Subnet: Is it Optional or Mandatory?

2013-10-17 Thread Geoff Higginbottom
Hi Rob,

The 'storage' network is indeed optional so your plan to not use it is 
perfectly valid.

Simply put the NFS server on the management network or ensure there is a route 
to it via the management network.

The SSVM will still get a virtual interface dedicated to storage, but it will 
be assigned an additional IP address from the management ip range.

There is no need to configure any ip range for storage, and if using the add 
zone wizard it will not prompt you for one.

Regards

Geoff Higginbottom
CTO / Cloud Architect


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

geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.com | 
www.shapeblue.com

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



On 17 Oct 2013, at 01:08, Rob C. 
iose...@gmail.commailto:iose...@gmail.com wrote:

Hi,

According to some (possibly old) documentation I read, I have the
impression that it is *optional* to define a secondary storage IP subnet.

Note, my questions are all in the context of:
- CloudStack 4.2
- ESXi hosts / vSphere 5.1
- Primary Storage is VMFS via fiber channel
- Advanced Networking

Here is the document to which I am referring, along with the relevant
quotes:
CloudStack System VMs:
https://cwiki.apache.org/confluence/download/attachments/30149076/Cloudstack+System+VMs.pdf
*Network Terminology - Storage: As it relates to CloudStack, this is an
optional network dedicated to secondary storage. If not specified, the
management network will be assumed for this role.*
*SSVM - eth3 (storage): Note if a physical storage interface was not
specified when creating the zone this interface will not exist. Storage
traffic will assume the management interface*

My Questions:
1. Is the above-referenced document accurate for CloudStack 4.2?

2. Do I interpret correctly that I don't need to define an IP subnet for
Secondary Storage?

3. I have noticed that the CloudStack 4.2 Installation Guide, section 2.8.3
Advanced Zone Network Traffic Types, for the type Storage says: *You
must configure the IP range to use for the storage network.*
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html-single/Installation_Guide/index.html#advanced-zone-network-traffic-types
How am I to interpret the quoted statement?  Is it saying that I must
configure a range regardless, or only if I *opt* to have a Secondary
Storage network?  If there is no Secondary Storage IP subnet, would I enter
a range selected from the Management IP subnet?

I am aware of the redundancy and performance benefits to using separate
interfaces, this is not my concern here.  My idea is to have a simplified
CloudStack architecture by using a single IP subnet for CloudStack
Management, and putting the NFS server on the same subnet (NFS to be used
for Secondary Storage only).

If your response is that a defined Secondary Storage IP subnet is a
mandatory requirement, then I have a few other questions regarding this
network:
4. I haven't found any documentation that helps with planning the size of
the Secondary Storage network -- besides the NFS server and the SSVM, what
other devices must have an IP address on this network?

5. How are IP addresses for devices on the Secondary Storage network
assigned?  In the case of the SSVM it must be dynamic, but if I were to
manually put a CloudStack host onto this network (for convenience), what
assures that the same IP address won't also get handed out to an SSVM?

6. Is it permitted to place the Secondary Storage traffic onto its own
dedicated vSwitch on ESXi?  According to the Installation Guide under
section 8.3.5.1.1 Separating Traffic: *CloudStack allows you to use
vCenter to configure three separate networks per ESXi host. *...*  The
allowed networks for configuration are public, guest, and private (for
management and usually storage traffic).*  This would suggest that storage
traffic must share the same vSwitch as management traffic.

If I am missing something fundamental, and/or asking the wrong questions,
please correct me!  Same goes if you have some general insight into the
pros and cons of having a Secondary Storage IP subnet.

Many thanks!
Rob
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 

XenServer Core and ACS 4.1 issue

2013-10-17 Thread Andrei Mikhailovsky
Hello guys, 

I was wondering if anyone managed to add the XenServer Core to ACS? 

I was trying to setup the XenServer + ceph cluster and add it to ACS and 
frankly not having much luck with the adding to ACS part. I am currently on ACS 
4.1.1. To setup the XenServer + Ceph I've used the following guide: 

http://xenserver.org/blog/entry/tech-preview-of-xenserver-libvirt-ceph.html 

After sorting out a few issues not covered in this guide I've managed to add 
Ceph cluster to my XenServer Core - I can see my Ceph Cluster as SR. However, 
adding to ACS would give me the following error in the console: 

2013-10-17 09:29:37,251 INFO [cloud.resource.ResourceManagerImpl] 
(catalina-exec-6:null) Trying to add a new host at http://192.168.169.11 in 
data center 1 
2013-10-17 09:29:37,337 DEBUG [xen.resource.XenServerConnectionPool] 
(catalina-exec-6:null) Slave logon to 192.168.169.11 
2013-10-17 09:29:37,398 DEBUG [xen.resource.XenServerConnectionPool] 
(catalina-exec-6:null) Logging on as the master to 192.168.169.11 
2013-10-17 09:29:37,567 DEBUG [agent.transport.Request] 
(AgentManager-Handler-14:null) Seq 56-527224240: Processing: { Ans: , MgmtId: 
110514943262, via: 56, Ver: v1, Flags: 10, 
[{NetworkUsageAnswer:{routerName:r-638-VM,bytesSent:19552411933,bytesReceived:1162622661,result:true,details:,wait:0}}]
 } 
2013-10-17 09:29:37,567 DEBUG [agent.transport.Request] (RouterMonitor-1:null) 
Seq 56-527224240: Received: { Ans: , MgmtId: 110514943262, via: 56, Ver: v1, 
Flags: 10, { NetworkUsageAnswer } } 
2013-10-17 09:29:37,567 DEBUG [agent.manager.AgentManagerImpl] 
(RouterMonitor-1:null) Details from executing class 
com.cloud.agent.api.NetworkUsageCommand: 
2013-10-17 09:29:37,568 DEBUG 
[network.router.VirtualNetworkApplianceManagerImpl] (RouterMonitor-1:null) 
Router stats changed from the time NetworkUsageCommand was sent. Ignoring 
current answer. Router: r-638-VM Rcvd: 1162622661Sent: 19552411933 
2013-10-17 09:29:37,568 DEBUG [db.Transaction.Transaction] 
(RouterMonitor-1:null) Rolling back the transaction: Time = 1 Name = 
-VirtualNetworkApplianceManagerImpl$NetworkUsageTask.run:883-Executors$RunnableAdapter.call:471-FutureTask$Sync.innerRunAndReset:351-FutureTask.runAndReset:178-ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201:165-ScheduledThreadPoolExecutor$ScheduledFutureTask.run:267-ThreadPoolExecutor.runWorker:1146-ThreadPoolExecutor$Worker.run:615-Thread.run:679;
 called by 
-Transaction.rollback:890-Transaction.removeUpTo:833-Transaction.close:657-VirtualNetworkApplianceManagerImpl$NetworkUsageTask.run:938-Executors$RunnableAdapter.call:471-FutureTask$Sync.innerRunAndReset:351-FutureTask.runAndReset:178-ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201:165-ScheduledThreadPoolExecutor$ScheduledFutureTask.run:267-ThreadPoolExecutor.runWorker:1146-ThreadPoolExecutor$Worker.run:615-Thread.run:679
 
2013-10-17 09:29:37,804 DEBUG [xen.discoverer.XcpServerDiscoverer] 
(catalina-exec-6:null) other exceptions: java.lang.NullPointerException 
java.lang.NullPointerException 
at 
com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.createServerResource(XcpServerDiscoverer.java:417)
 
at 
com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.find(XcpServerDiscoverer.java:278)
 
at 
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:801)
 
at 
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:619)
 
at 
org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143)
 
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162) 
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:505) 
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:355) 
at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:302) 
at com.cloud.api.ApiServlet.doPost(ApiServlet.java:71) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) 
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) 
at 
org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
 
at 
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
 
at 

Re: could not register iso

2013-10-17 Thread raj kumar
configured manually link-local ip listed in the web in ssvm with gateway
ip(hypervisor link local ip)
stopped iptables in both hypervisor and ssvm. I can able to ssh. if
iptables is running i can't ssh.
tried adding iso. but not successful.

log shows
[storage.endpoint.DefaultEndPointSelector] (StatsCollector-2:null) No
running ssvm is found, so command will be sent to LocalHostEndPoint.


On Thu, Oct 17, 2013 at 12:03 PM, raj kumar rajkumar600...@gmail.comwrote:

 Thank you all for your responses.

 After refering logs and logging into console through virsh, seen that
 there is no link-local ip even though the link ip address is listed in web
 console. there is only 127.0.0.1 configure in ssvm.  So where i'm missing.

 I'm using basic network, no vlans. only one subnet. Also pls note I
 skipped totally 8.1.7.2. Configuring the network bridges from the
 installation guide for kvm hypervisor. But cloudstack itself has created
 cloud0, cloudbr0 and vnet interfaces.

 -Raj


 On Thu, Oct 17, 2013 at 12:48 AM, Nitin Mehta nitin.me...@citrix.comwrote:

 Did you reboot the SSVM as well ? You might have to do this to take into
 affect. Let me know if that resolves it for you.

 On 16/10/13 6:22 AM, raj kumar rajkumar600...@gmail.com wrote:

 Hi,
 
 while registering iso, registration is successful, but it is not ready
 for
 use. after 20 to 30sec, it vanishes.  I've added the http server in
 global
 settings secstorage.allowed.internal.sites. still no luck.
 
 both secodary and console system vms are running.





cloudstack4.2.0 network configuration - ssvm has no IP

2013-10-17 Thread raj kumar
Hi,

I'd like to use basic network configuration. No vlans in the network.

I've two networks. one is primary used for all cloudstack servers(guest,
system vms, management server, hypervisor, etc).

another one is connected to storage. only hypervisors(kvm) have access to
this network.

my questions.
1. what should be my network configuration in hypervisors. I've used eth0,
and cloudstack automatically created cloud0, cloudbr0, etc.
2. Even though ssvm is up, it didn't get any IP. Hence I could not connect
the console from web or can't add any iso.

please let me know what should be my configuration and how to fix the ssvm
issue.


Public IP Address attached to Instance: Where does it reside?

2013-10-17 Thread ronald higgins
Hi CS Users.

Simple question I think.

I've acquired a Public IP and created some port forwarding rules to an
instance. (KVM, Advanced Setup).

My question is where does this Public IP actually reside? I've checked the
Virtual Router for the network it's been assigned to but cannot see it
bound to an interface on the VR.

Regards

Ronald


RE: Public IP Address attached to Instance: Where does it reside?

2013-10-17 Thread Geoff Higginbottom
The Public IP is assigned to the Public Interface of the VR

Regards

Geoff Higginbottom

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

geoff.higginbot...@shapeblue.com

-Original Message-
From: ronald higgins [mailto:ronald.higg...@gmail.com]
Sent: 17 October 2013 11:30
To: users
Subject: Public IP Address attached to Instance: Where does it reside?

Hi CS Users.

Simple question I think.

I've acquired a Public IP and created some port forwarding rules to an 
instance. (KVM, Advanced Setup).

My question is where does this Public IP actually reside? I've checked the 
Virtual Router for the network it's been assigned to but cannot see it bound to 
an interface on the VR.

Regards

Ronald
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.


Re: Public IP Address attached to Instance: Where does it reside?

2013-10-17 Thread Jayapal Reddy Uradi
Hi,

The public ip address is assigned to public interface of the VR.
You can't see using ifconfig command.

To see the ip addresses assigned use the below command.

ip addr show

Thanks,
Jayapal
On 17-Oct-2013, at 3:59 PM, ronald higgins ronald.higg...@gmail.com wrote:

 Hi CS Users.
 
 Simple question I think.
 
 I've acquired a Public IP and created some port forwarding rules to an
 instance. (KVM, Advanced Setup).
 
 My question is where does this Public IP actually reside? I've checked the
 Virtual Router for the network it's been assigned to but cannot see it
 bound to an interface on the VR.
 
 Regards
 
 Ronald



Re: XenServer Core and ACS 4.1 issue

2013-10-17 Thread Koushik Das
Xenserver core is not a supported hypervisor. For ACS 4.1 the supported XS 
versions are 5.6 sp2, 6.0, 6.0.2, 6.1.


On 17-Oct-2013, at 2:04 PM, Andrei Mikhailovsky and...@arhont.com wrote:

 Hello guys, 
 
 I was wondering if anyone managed to add the XenServer Core to ACS? 
 
 I was trying to setup the XenServer + ceph cluster and add it to ACS and 
 frankly not having much luck with the adding to ACS part. I am currently on 
 ACS 4.1.1. To setup the XenServer + Ceph I've used the following guide: 
 
 http://xenserver.org/blog/entry/tech-preview-of-xenserver-libvirt-ceph.html 
 
 After sorting out a few issues not covered in this guide I've managed to add 
 Ceph cluster to my XenServer Core - I can see my Ceph Cluster as SR. However, 
 adding to ACS would give me the following error in the console: 
 
 2013-10-17 09:29:37,251 INFO [cloud.resource.ResourceManagerImpl] 
 (catalina-exec-6:null) Trying to add a new host at http://192.168.169.11 in 
 data center 1 
 2013-10-17 09:29:37,337 DEBUG [xen.resource.XenServerConnectionPool] 
 (catalina-exec-6:null) Slave logon to 192.168.169.11 
 2013-10-17 09:29:37,398 DEBUG [xen.resource.XenServerConnectionPool] 
 (catalina-exec-6:null) Logging on as the master to 192.168.169.11 
 2013-10-17 09:29:37,567 DEBUG [agent.transport.Request] 
 (AgentManager-Handler-14:null) Seq 56-527224240: Processing: { Ans: , MgmtId: 
 110514943262, via: 56, Ver: v1, Flags: 10, 
 [{NetworkUsageAnswer:{routerName:r-638-VM,bytesSent:19552411933,bytesReceived:1162622661,result:true,details:,wait:0}}]
  } 
 2013-10-17 09:29:37,567 DEBUG [agent.transport.Request] 
 (RouterMonitor-1:null) Seq 56-527224240: Received: { Ans: , MgmtId: 
 110514943262, via: 56, Ver: v1, Flags: 10, { NetworkUsageAnswer } } 
 2013-10-17 09:29:37,567 DEBUG [agent.manager.AgentManagerImpl] 
 (RouterMonitor-1:null) Details from executing class 
 com.cloud.agent.api.NetworkUsageCommand: 
 2013-10-17 09:29:37,568 DEBUG 
 [network.router.VirtualNetworkApplianceManagerImpl] (RouterMonitor-1:null) 
 Router stats changed from the time NetworkUsageCommand was sent. Ignoring 
 current answer. Router: r-638-VM Rcvd: 1162622661Sent: 19552411933 
 2013-10-17 09:29:37,568 DEBUG [db.Transaction.Transaction] 
 (RouterMonitor-1:null) Rolling back the transaction: Time = 1 Name = 
 -VirtualNetworkApplianceManagerImpl$NetworkUsageTask.run:883-Executors$RunnableAdapter.call:471-FutureTask$Sync.innerRunAndReset:351-FutureTask.runAndReset:178-ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201:165-ScheduledThreadPoolExecutor$ScheduledFutureTask.run:267-ThreadPoolExecutor.runWorker:1146-ThreadPoolExecutor$Worker.run:615-Thread.run:679;
  called by 
 -Transaction.rollback:890-Transaction.removeUpTo:833-Transaction.close:657-VirtualNetworkApplianceManagerImpl$NetworkUsageTask.run:938-Executors$RunnableAdapter.call:471-FutureTask$Sync.innerRunAndReset:351-FutureTask.runAndReset:178-ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201:165-ScheduledThreadPoolExecutor$ScheduledFutureTask.run:267-ThreadPoolExecutor.runWorker:1146-ThreadPoolExecutor$Worker.run:615-Thread.run:679
  
 2013-10-17 09:29:37,804 DEBUG [xen.discoverer.XcpServerDiscoverer] 
 (catalina-exec-6:null) other exceptions: java.lang.NullPointerException 
 java.lang.NullPointerException 
 at 
 com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.createServerResource(XcpServerDiscoverer.java:417)
  
 at 
 com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.find(XcpServerDiscoverer.java:278)
  
 at 
 com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:801)
  
 at 
 com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:619)
  
 at 
 org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143)
  
 at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162) 
 at com.cloud.api.ApiServer.queueCommand(ApiServer.java:505) 
 at com.cloud.api.ApiServer.handleRequest(ApiServer.java:355) 
 at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:302) 
 at com.cloud.api.ApiServlet.doPost(ApiServlet.java:71) 
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) 
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  
 at 
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
  
 at 
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
  
 at 
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 
 at 
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 
 at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) 
 at 
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  
 at 
 

Re: Public IP Address attached to Instance: Where does it reside?

2013-10-17 Thread ronald higgins
Awesome.

Thanks Jayapal :)




On Thu, Oct 17, 2013 at 12:53 PM, Jayapal Reddy Uradi 
jayapalreddy.ur...@citrix.com wrote:

 Hi,

 The public ip address is assigned to public interface of the VR.
 You can't see using ifconfig command.

 To see the ip addresses assigned use the below command.

 ip addr show

 Thanks,
 Jayapal
 On 17-Oct-2013, at 3:59 PM, ronald higgins ronald.higg...@gmail.com
 wrote:

  Hi CS Users.
 
  Simple question I think.
 
  I've acquired a Public IP and created some port forwarding rules to an
  instance. (KVM, Advanced Setup).
 
  My question is where does this Public IP actually reside? I've checked
 the
  Virtual Router for the network it's been assigned to but cannot see it
  bound to an interface on the VR.
 
  Regards
 
  Ronald




Re: could not register iso

2013-10-17 Thread Chirag Choudhary
Hi Raj,
   You don't have to configure bridges on the host in the first place, as
you pointed out cloudstack does that, check if the version of system
template you have added is correct. As pointed out reboot ssvm once.

  The above log is a warning not an error, I am not sure about the
reason as I am getting this warning, but everything else seems to work
fine, I added KVM and Xen hosts, created instances. Can you post detailed
logs from management server , cloud agent logs and the ssvm logs.

Regards,


On Thu, Oct 17, 2013 at 3:05 PM, raj kumar rajkumar600...@gmail.com wrote:

 configured manually link-local ip listed in the web in ssvm with gateway
 ip(hypervisor link local ip)
 stopped iptables in both hypervisor and ssvm. I can able to ssh. if
 iptables is running i can't ssh.
 tried adding iso. but not successful.

 log shows
 [storage.endpoint.DefaultEndPointSelector] (StatsCollector-2:null) No
 running ssvm is found, so command will be sent to LocalHostEndPoint.


 On Thu, Oct 17, 2013 at 12:03 PM, raj kumar rajkumar600...@gmail.com
 wrote:

  Thank you all for your responses.
 
  After refering logs and logging into console through virsh, seen that
  there is no link-local ip even though the link ip address is listed in
 web
  console. there is only 127.0.0.1 configure in ssvm.  So where i'm
 missing.
 
  I'm using basic network, no vlans. only one subnet. Also pls note I
  skipped totally 8.1.7.2. Configuring the network bridges from the
  installation guide for kvm hypervisor. But cloudstack itself has created
  cloud0, cloudbr0 and vnet interfaces.
 
  -Raj
 
 
  On Thu, Oct 17, 2013 at 12:48 AM, Nitin Mehta nitin.me...@citrix.com
 wrote:
 
  Did you reboot the SSVM as well ? You might have to do this to take into
  affect. Let me know if that resolves it for you.
 
  On 16/10/13 6:22 AM, raj kumar rajkumar600...@gmail.com wrote:
 
  Hi,
  
  while registering iso, registration is successful, but it is not ready
  for
  use. after 20 to 30sec, it vanishes.  I've added the http server in
  global
  settings secstorage.allowed.internal.sites. still no luck.
  
  both secodary and console system vms are running.
 
 
 




-- 
Chirag Choudhary,
Software Engineer


hackathons so far

2013-10-17 Thread Daan Hoogland
Users and developers,

So far the list of hackathons on CCC Europe has taken a serious shape.
Don't forget to check and make sure your personal or company interest
is represented at
https://cwiki.apache.org/confluence/display/CLOUDSTACK/CCC+Europe:


h2. hackathon proposals
|| chair || subject || description ||
| Daan/? | automated testing | Improve the quality of releases by
adding more unit and integration tests to our automated test-suites.
Discuss whether the present suites of unit tests and bvt are enough or
we might need more classes of tests (i.e. component level and a
seperation of integration from functional tests) |
| Daan/? | modularization and plug-ability | make cloudstack more
plug-able and maintainable by 3rd party vendors. At the moment several
mudularization efforts are on the way. The UI guys are working on
splitting css, the storare guys are driving towards a better
plug-model for drivers and at a system level work is being done on
better organizing the injection framework. These might be worth
separate hackathons but a measure of communication is no luxury. |
|wido| Review Ceph integration | Further review and improve the Ceph
RBD integration for KVM and also look at Xen |
|Sebastien ? | API Interfaces | (AWS refactor, GCE, OCCICIMI
standard): Discuss the state of our interfaces, plans for future,
needs etc. AWS interface might need a refactor, GCE is a new
interface, OCCI is a standard and Isaac Chiang has developed an
interface. We are missing a CIMI interface. |
|Sebastien ? | DOCs | We are having lots of talks about docs, they
have been split in a separate repo, we need to discuss format, release
life cycle, format etc.
 |
|Sebastien /Wido ? | KVM Agent re-factor | There has been
discussions/wishes to re-write the KVM agent in something else than
Java. Review architecture, define a plan, find developers :)
 |
|Sebastien ? | Ecosystem support | The are lots of tools in the cloud
ecosystem, we should talk about docker, ansible, cloud
foundry/bosh…etc.and define a plan to have great cloudstack support in
all of those.
|
|Abhinandan/Jayapal  | Virtual Router | Hacking various services
running on the virtual router and the services configuration via
management server.
|
|Kishan Kavala  | Usage | Creating a flexible usage framework so  that
new usage entities could be added easily.
|

regards,
Daan


Re: CS 4.2 Advance Zone System VM won't start

2013-10-17 Thread motty cruz
Thank you Sanjeev, that was solved my problem!



On Wed, Oct 16, 2013 at 11:38 PM, Sanjeev Neelarapu 
sanjeev.neelar...@citrix.com wrote:

 Did you allow ping traffic in ingress rules in the guest network?

 -Original Message-
 From: motty cruz [mailto:motty.c...@gmail.com]
 Sent: Saturday, October 12, 2013 2:44 AM
 To: users@cloudstack.apache.org
 Subject: Re: CS 4.2 Advance Zone System VM won't start

 So after changing my gateway to public address my System VMs started, I
 was able to download a ISO install an instance but I'm unable to ping the
 instance, or the VR, guest CIDR 10.1.1.0/24 guest traffic is in the same
 network as public traffic using vlan 100.
 this is how eth0 public interface looks like

 DEVICE=eth0
 HWADDR=00:15:17:7B:67:65
 ONBOOT=yes
 BRIDGE=cloudbr0

 DEVICE=eth0.99
 HWADDR=00:15:17:7B:67:65
 ONBOOT=yes
 VLAN=yes


 DEVICE=eth0.100
 HWADDR=00:15:17:7B:67:65
 ONBOOT=yes
 VLAN=yes

 I'm not sure if this is correct?
 Thanks,





 On Fri, Oct 11, 2013 at 1:03 PM, motty cruz motty.c...@gmail.com wrote:

  Thank you very much,
  my gateway was set to local network,
 
  Thanks,
 
 
  On Fri, Oct 11, 2013 at 12:17 PM, Amogh Vasekar 
 amogh.vase...@citrix.comwrote:
 
  Possibly - Your default gateway on the host is set to your internal
  192.* gateway? What does route -n say?
 
  Thanks,
  Amogh
 
  On 10/11/13 9:18 AM, motty cruz motty.c...@gmail.com wrote:
 
  Thank you for your reply, I blow out my installation, started from
  scratch; you mentioned that we don't configure bridge for guest VLAN
  traffic but Cloudstack did not configure it automatically. Also, I
  noticied after installed cloudstack-agent and configure advance zone
  four new interfaces appear vnet0 - vnet3. I don't know what that is.
  root@kvm4 network-scripts]# brctl show
  bridge name bridge id   STP enabled interfaces
  cloud0  8000.fe00a9fe025f   no  vnet0
  cloudbr08000.0015177b6765   no  eth0
  vnet2
  cloudbr18000.0015177b6764   no  eth1
  vnet1
  vnet3
  virbr0  8000.525400643b18   yes virbr0-nic
  
  after re-installing Cloudstack-management on the management server
  and Cloudstack-agent on the KVM host configure two bridge cloudbr0
  for public/guest and Cloudbr1 for managemen/storage, now my system
  VMs are running but when trying to download and iso, I get the
  follwoing error
  No
  route to host,
  here is my cloudbr0 bridge for public/guest traffic
  [root@kvm4 network-scripts]# less ifcfg-cloudbr0
  DEVICE=cloudbr0
  ONBOOT=yes
  TYPE=Bridge
  IPADDR=xxx..xxx
  GATEWAY=...xxx
  NETMASK=255.255.255.0
  DNS1=8.8.8.8
  
  base on eth0
  DEVICE=eth0
  HWADDR=00:15:17:7B:67:65
  ONBOOT=yes
  BRIDGE=cloudbr0
  
  Thanks again,
  
  
  
  
  On Fri, Oct 11, 2013 at 2:20 AM, Sanjeev Neelarapu 
  sanjeev.neelar...@citrix.com wrote:
  
   Hi,
  
   Please post management server log and agent log from kvm (with
   debug
   enabled) to find out the issue .
   We don't have to created bridge with guest vlan for guest traffic.
   Cloudstack will configure it automatically on kvm when required.
  
   -Sanjeev
  
   -Original Message-
   From: motty cruz [mailto:motty.c...@gmail.com]
   Sent: Thursday, October 10, 2013 10:50 PM
   To: users@cloudstack.apache.org
   Subject: CS 4.2 Advance Zone System VM won't start
  
   Hi,
   I posted this problem in the past and got no help, so I'm trying
   my
  luck
   again I install CS 4.2, configure advance zone for KVM cluster
  here is my  brctl
   [root@kvm4 network-scripts]# brctl show
   bridge name bridge id   STP enabled interfaces
   cloud0  8000.fe00a9fe0212   no  vnet0
   cloudbr08000.0015177b6765   no  eth0
   vnet1
   vnet3
   cloudbr18000.0015177b6764   no  eth1
   vnet2
   cloudbr99   8000.0015177b6764   no
  eth1.99
   virbr0  8000.52540089a4da   yes virbr0-nic
  
   I'm using inteface eth0 for management
   [root@kvm4 network-scripts]# less ifcfg-eth0
   DEVICE=eth0
   ONBOOT=yes
   BRIDGE=cloudbr0
  
   here is bridge for eth0
   DEVICE=cloudbr0
   ONBOOT=yes
   TYPE=Bridge
   IPADDR=192.168.0.10
   NETMASK=255.255.255.0
   GATEWAY=192.168.0.1
   DNS1=8.8.8.8
  
   I'm using eth1 for public/guest
   [root@kvm4 network-scripts]# less ifcfg-eth1
   DEVICE=eth1
   ONBOOT=yes
   BRIDGE=cloudbr1
  
   here is bridge to public network untag in vlan 1 by default
   DEVICE=cloudbr1
   ONBOOT=yes
   TYPE=Bridge
   

Re: DevCloud with Centos and Xen

2013-10-17 Thread CK
For my host, I have Xen(XCP) running on Centos6.4, is there a plugin or
something that I also need to setup/configure on this host for it to be
recoginised by CloudStack 4.2?

At the moment when I try to Add Host it does not find it, what does
cloudstack look for on the host to identify it is a Xen host?


On 10 October 2013 19:35, Travis Graham tgra...@tgraham.us wrote:

 I have no real idea of how the LXC implementation works, but it's layered
 on top of libvirt and it's KVM/QEMU drivers. Would tapping into libvirt in
 the same way with it's Xen driver be possible?

 And I ask that having zero idea of how CS uses QEMU and libvirt to get its
 hooks into KVM or KVM itself or LXC.

 Travis

 On Oct 10, 2013, at 2:27 PM, David Nalley da...@gnsa.us wrote:

  On Thu, Oct 10, 2013 at 1:15 PM, CK cloudw...@gmail.com wrote:
  Does anyone know if Centos 4.2 running Xen (not xenserver) hypervisor
 work
  with CloudStack 4.2?
 
  In a few words; not easily.
  CloudStack talks to the XenAPI - which CentOS doesn't have by default.
  There was some work to build XAPI on EL6 with the CentOS + Xen work
  that was happening, but I don't know where that stands. If you did get
  XAPI on CentOS, you'd still likely need to fake the version
  information.
 
  --David




Re: [cloudmonkey] username / password support

2013-10-17 Thread Rohit Yadav
On Thu, Oct 17, 2013 at 6:55 AM, Chiradeep Vittal 
chiradeep.vit...@citrix.com wrote:

 Fixed pep8 and other issues (with flake8).

 Does this warrant a new release?


The idea of fast iteration and release process was to get even smallest
feature that is tested and works out in the public, so yes let's test it,
fix/add docs and whatnot, and release it. If you insist we can have
weekly/monthly release windows (but no longer than that please), so we
won't end up releasing for every single feature. Advise?

Cheers.



 On 10/16/13 11:13 AM, Chiradeep Vittal chiradeep.vit...@citrix.com
 wrote:

 Passwords can be changed too. No difference in security, IMO.
 
 Plus the api key option is always there.
 
 In fact I first wrote it as an option ( --populate-api-keys
 USERNAME:PASSWORD), but decided that it didn't buy anything.
 
 The original code didn't pass pep8 (imports not being used etc), that's
 probably a separate patch.
 
 
 -Original Message-
 From: rohityada...@gmail.com [mailto:rohityada...@gmail.com] On Behalf Of
 Rohit Yadav
 Sent: Wednesday, October 16, 2013 10:50 AM
 To: d...@cloudstack.apache.org
 Cc: users@cloudstack.apache.org
 Subject: Re: [cloudmonkey] username / password support
 
 I never intended to have support for password as I thought people will
 end up using and storing plain text username/password, keys (specific for
 cloudmonkey) are revokable :)
 Maybe we can use usernames/password initially to create keys or maybe let
 users decided what they want. If this could be refactored as a reusable
 module Prasanna can use this for Marvin.
 
 On Wed, Oct 16, 2013 at 10:21 AM, Chiradeep Vittal 
 chiradeep.vit...@citrix.com wrote:
 
  Sorry, urllib2 and cookiejar looked just too painful.
 
 
 Totally agree, we should throw away painful things for better ones. With
 requests as dependency in setup.py so no one has to install it manually.
 You just do pip install --upgrade stuff and pip would get all the deps
 from setup.py. Thanks Prasanna for adding that, maybe specify a minimum
 or maximum version?
 
 Initially my idea was to use least possible dependency, like have
 cloudmonkey pure python 2.6 program that just uses standard libs but
 eventually added prettytable and pygments. We should have more good
 stuff, remove painful libs.
 
 Lastly, could the code be pep8'd, tested and released :)
 
 Cheers,
 bhaisaab
 
 
 
  On 10/15/13 9:26 PM, Prasanna Santhanam t...@apache.org wrote:
 
  
  I fixed this temporarily by adding the requests as a dependency. But
  may be we could do the login using urllib2 itself to avoid the
  requests dependency.
  
  +1 to username,password login. I need to add that to marvin too.
  
  On Wed, Oct 16, 2013 at 11:38:40AM +0800, Ryan Lei wrote:
   I was unable to run cloudmonkey after applying your update.
   My commands were:
  
   $ git checkout username_password_support $ git pull $ python
   setup.py build $ python setup.py install $ cloudmonkey
  
   Then I got this import error:
   Import error in cloudmonkey.requester : No module named requests
  
   Switching back to master branch runs fine, however.
  
  
  
  
  -
  --
   Yu-Heng (Ryan) Lei, Associate Researcher  Chunghwa Telecom
  Laboratories / Cloud Computing Laboratory
  
  ryan...@cht.com.tw
  https://email.cht.com.tw/owa/redir.aspx?C=-wE1FEC3G0SW
  YpVkiWo8SsDdf3ZqO9AIuAPTzRnFYCUi-z4YljtI_hyVKkNHfn9F1Bn-vUWJnQ4.URL
  =mail
  to%3aryanlei%40cht.com.tw
   or
   ryanlei750...@gmail.com
  
  
  
   On Wed, Oct 16, 2013 at 11:23 AM, Chiradeep Vittal 
   chiradeep.vit...@citrix.com wrote:
  
Hi folks,
   
I modified cloudmonkey to work off of username and password.
Feedback
  and
testing required.
The code is in the branch  username_password_support
http://goo.gl/5xTgo5
   
Thanks
--
Chiradeep
   
  
  --
  Prasanna.,
  
  
  Powered by BigRock.com
  
 
 




Re: Doc Updates

2013-10-17 Thread Carlos Reategui
Fred,
The updated doc I saw was this one:
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Installation_Guide/index.html
If you look at this section:
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Installation_Guide/management-server-install-flow.html#prepare-system-vm-template
You will see the updated templates.  Not sure what else changed.


On Wed, Oct 16, 2013 at 4:16 AM, Fred Messinger fredmessin...@gmail.comwrote:

 David,

 Would you mind posting the url for the update you reference?  I'm looking
 at the 4.2 view on buildacloud.com and the last update there was a month
 ago.  So I assume I'm looking in the wrong place.

 Thanks,
 Fred


 On Mon, Oct 14, 2013 at 2:07 PM, David Nalley da...@gnsa.us wrote:

  And just as a heads up, thanks for help from Prasanna and Travis, I've
  published an updated version of the IG for 4.2, hopefully that at
  least gets us 'installable'.
 
  --David
 
  On Thu, Oct 10, 2013 at 2:10 PM, David Nalley da...@gnsa.us wrote:
   On Thu, Oct 10, 2013 at 1:53 PM, Travis Graham tgra...@tgraham.us
  wrote:
   What's an acceptable/expected timeframe for rolling out the published
  fixes once a patch has made it's way in? Is that something that can be
  automated after a successful Jenkins run?
  
   Travis
  
  
   It depends on the scope of changes. For a document like the release
   notes, assuming someone already has an updated SVN tree, it shouldn't
   take more than 30 minutes to update, and it could happen pretty
   regularly. If it's every document in a single release, that's
   historically taken the better part of a day. I don't think we'll get
   away with getting it to happen in an automated fashion, simply because
   it requires commit access to SVN, which is tied to an individual,
   which means someone would need to expose their creds, which would be a
   bad thing.
  
   --David
 



Re: Missing jar vmware-lib-jaxrpc.jar?

2013-10-17 Thread Daan Hoogland
Fred,

Attachements are stripped from maila to the list. It sounds like this
is your problem yes. Why don't you try adding the jar and restarting
the ms?

regards,
Daan

On Wed, Oct 16, 2013 at 3:04 PM, Fred Messinger fredmessin...@gmail.com wrote:
 Hi All,

 I'm trying to upgrade from 4.1.1 to 4.2 using vmware. And I think I am
 SO close!

 My management server log file is attached.  It describes some
 deserialization problems and it also shows that a VMware resource class file
 cannot be loaded.  From googling the exception, I found this jira ticket:

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

 Is the reason I can't start my ssvm because of this?

 Thanks,
 Fred


Public IPs on Guest VMs within CloudStack 4.2.0

2013-10-17 Thread Bryan Manske
All,

Now I'm curious about public IPs on Guest VMs within CloudStack 4.2.0.

I have one IPv4 /27 for Public IPs and that's working fine.  Now what
I want to do is assign a live IP address from another /27 to a Guest VM,
which appears to work but can't actually touch the default gateway.

So here's the rub: The default gateway is actually provided as a virtual
IP on two VRRP nodes (for A/B redundancy) by my upstream provider.  I can
ping the two VRRP routers, I can see the VM has the proper IP address,
netmask, and default gateway; and I can configure the VM with a proper
IP config which never finds the default gateway IP.  The arp cache sees
the local MAC address and incomplete for the gateway.

So now I'm thinking; according to cloudstack, is the default gateway plumbed
on a virtual router?  If so, how does THAT route out to the world?

I also have a /64 of IPv6 space, /96 of which I have configured in a network
offering which has the same upstream infrastructure situation.  Same lack of
functionality there.

So how do I configure my Guest real IP netblocks?  Is it okay to be looking
for a default gateway IP on a my provider's core router or do I need to have
them statically route that netblock to something like the cloudstack
management host?

Of course I could also have the network offering wrong or incomplete.

Any thoughts or pointers to documentation would be appreciated.

I can tell I'm making progress because I keep dealing with progressively
higher level errors. :)

Thanks.

Bryan Manske


---
Earnest falsehoods left unchallenged risk being accepted as fact.
 -- Monty xiphmont Montgomery - Xiph Foundation, on the Ogg format
---


CS 4.2 System VMs not starting

2013-10-17 Thread motty cruz
Hello, install Cloudstack 4.2 with KVM hypervisors, Console Proxy MV
started but I am not able to ping the private or public IP, second VM won't
start. When I ran the command
[root@kvm1 network-scripts]# virsh list
 IdName   State

 2 v-2-VM running
 4 s-3-VM running

[root@kvm1 network-scripts]#

I see both VMs running; I configured zone with advance network,
guest/public network on eth0, management/storage on eth1

any ideas or suggestions?

Thanks,


Re: CS 4.2 System VMs not starting

2013-10-17 Thread Erdősi Péter

Hello!

I stucked something like this in Xen.
The problem was the networks (and vlans) on sysvm.
Can you ssh it (in xen,  ssh -i .ssh/id_rsa.cloud -p 3922 169.254.X.Y  
from the xen host machine, which own the guest), and check the network 
avaibility of the system vm?


Best regards,
 Peter


2013.10.17. 22:31 keltezéssel, motty cruz írta:

Hello, install Cloudstack 4.2 with KVM hypervisors, Console Proxy MV
started but I am not able to ping the private or public IP, second VM won't
start. When I ran the command
[root@kvm1 network-scripts]# virsh list
  IdName   State

  2 v-2-VM running
  4 s-3-VM running

[root@kvm1 network-scripts]#

I see both VMs running; I configured zone with advance network,
guest/public network on eth0, management/storage on eth1

any ideas or suggestions?

Thanks,





Re: CS 4.2 System VMs not starting

2013-10-17 Thread motty cruz
Thanks Peter,
I tried the command you suggested,

[root@kvm1 network-scripts]# ssh -i .ssh/id_rsa.cloud -p 3922 169.254.3.53
Warning: Identity file .ssh/id_rsa.cloud not accessible: No such file or
directory.
ssh: connect to host 169.254.3.53 port 3922: No route to host
[root@kvm1 network-scripts]#

do you mind providing  the config file of your vlans? I believe VLANs are
not configure properly
here is my management/storage bridge
less ifcfg-eth1:

DEVICE=eth1
HWADDR=00:25:90:88:51:5D
ONBOOT=yes
BRIDGE=cloudbr1
[root@kvm1 network-scripts]#

less ifcfg-cloudbr1:
DEVICE=cloudbr1
ONBOOT=yes
TYPE=Bridge
IPADDR=10.107.0.7
NETMASK=255.255.255.0
DNS1=8.8.8.8
DNS2=10.0.10.0

Thank you for your support!


On Thu, Oct 17, 2013 at 1:45 PM, Erdősi Péter f...@niif.hu wrote:

 Hello!

 I stucked something like this in Xen.
 The problem was the networks (and vlans) on sysvm.
 Can you ssh it (in xen,  ssh -i .ssh/id_rsa.cloud -p 3922 169.254.X.Y
  from the xen host machine, which own the guest), and check the network
 avaibility of the system vm?

 Best regards,
  Peter


 2013.10.17. 22:31 keltezéssel, motty cruz írta:

  Hello, install Cloudstack 4.2 with KVM hypervisors, Console Proxy MV
 started but I am not able to ping the private or public IP, second VM
 won't
 start. When I ran the command
 [root@kvm1 network-scripts]# virsh list
   IdName   State
 --**--
   2 v-2-VM running
   4 s-3-VM running

 [root@kvm1 network-scripts]#

 I see both VMs running; I configured zone with advance network,
 guest/public network on eth0, management/storage on eth1

 any ideas or suggestions?

 Thanks,





Re: CS 4.2 System VMs not starting

2013-10-17 Thread Jayapal Reddy Uradi
Hi,

use the key file at /root/.ssh/id_rsa.cloud 
If it not found, locate key file


Thanks,
Jayapal

On 18-Oct-2013, at 2:41 AM, motty cruz motty.c...@gmail.com wrote:

 Thanks Peter,
 I tried the command you suggested,
 
 [root@kvm1 network-scripts]# ssh -i .ssh/id_rsa.cloud -p 3922 169.254.3.53
 Warning: Identity file .ssh/id_rsa.cloud not accessible: No such file or
 directory.
 ssh: connect to host 169.254.3.53 port 3922: No route to host
 [root@kvm1 network-scripts]#
 
 do you mind providing  the config file of your vlans? I believe VLANs are
 not configure properly
 here is my management/storage bridge
 less ifcfg-eth1:
 
 DEVICE=eth1
 HWADDR=00:25:90:88:51:5D
 ONBOOT=yes
 BRIDGE=cloudbr1
 [root@kvm1 network-scripts]#
 
 less ifcfg-cloudbr1:
 DEVICE=cloudbr1
 ONBOOT=yes
 TYPE=Bridge
 IPADDR=10.107.0.7
 NETMASK=255.255.255.0
 DNS1=8.8.8.8
 DNS2=10.0.10.0
 
 Thank you for your support!
 
 
 On Thu, Oct 17, 2013 at 1:45 PM, Erdősi Péter f...@niif.hu wrote:
 
 Hello!
 
 I stucked something like this in Xen.
 The problem was the networks (and vlans) on sysvm.
 Can you ssh it (in xen,  ssh -i .ssh/id_rsa.cloud -p 3922 169.254.X.Y
 from the xen host machine, which own the guest), and check the network
 avaibility of the system vm?
 
 Best regards,
 Peter
 
 
 2013.10.17. 22:31 keltezéssel, motty cruz írta:
 
 Hello, install Cloudstack 4.2 with KVM hypervisors, Console Proxy MV
 started but I am not able to ping the private or public IP, second VM
 won't
 start. When I ran the command
 [root@kvm1 network-scripts]# virsh list
  IdName   State
 --**--
  2 v-2-VM running
  4 s-3-VM running
 
 [root@kvm1 network-scripts]#
 
 I see both VMs running; I configured zone with advance network,
 guest/public network on eth0, management/storage on eth1
 
 any ideas or suggestions?
 
 Thanks,
 
 
 



RE: cloudstack4.2.0 network configuration - ssvm has no IP

2013-10-17 Thread Sanjeev Neelarapu
Hi,

While creating a zone you must specify guest and management traffic with ip 
ranges from your primary network. 
If you want to use dedicated storage network then add the storage traffic to 
physical network (during zone creation) and specify ip range from your second 
network.
This should work find.

Thanks,
Sanjeev
 

-Original Message-
From: raj kumar [mailto:rajkumar600...@gmail.com] 
Sent: Thursday, October 17, 2013 3:39 PM
To: users@cloudstack.apache.org
Subject: cloudstack4.2.0 network configuration - ssvm has no IP

Hi,

I'd like to use basic network configuration. No vlans in the network.

I've two networks. one is primary used for all cloudstack servers(guest, system 
vms, management server, hypervisor, etc).

another one is connected to storage. only hypervisors(kvm) have access to this 
network.

my questions.
1. what should be my network configuration in hypervisors. I've used eth0, and 
cloudstack automatically created cloud0, cloudbr0, etc.
2. Even though ssvm is up, it didn't get any IP. Hence I could not connect the 
console from web or can't add any iso.

please let me know what should be my configuration and how to fix the ssvm 
issue.


RE: Public IPs on Guest VMs within CloudStack 4.2.0

2013-10-17 Thread Sanjeev Neelarapu
Hi,

If you are creating isolated network with your /27 cidr and deploying vm in 
that , default gateway on the vm will always points to ip address configured on 
the virtual routers guest interface. So for the vms to point to the gateway in 
/27 cidr, create a shared network and deploy vm in that.

Thanks,
Sanjeev

-Original Message-
From: Bryan Manske [mailto:br...@manske.org] 
Sent: Friday, October 18, 2013 1:20 AM
To: users@cloudstack.apache.org
Subject: Public IPs on Guest VMs within CloudStack 4.2.0

All,

Now I'm curious about public IPs on Guest VMs within CloudStack 4.2.0.

I have one IPv4 /27 for Public IPs and that's working fine.  Now what I want to 
do is assign a live IP address from another /27 to a Guest VM, which appears to 
work but can't actually touch the default gateway.

So here's the rub: The default gateway is actually provided as a virtual IP on 
two VRRP nodes (for A/B redundancy) by my upstream provider.  I can ping the 
two VRRP routers, I can see the VM has the proper IP address, netmask, and 
default gateway; and I can configure the VM with a proper IP config which never 
finds the default gateway IP.  The arp cache sees the local MAC address and 
incomplete for the gateway.

So now I'm thinking; according to cloudstack, is the default gateway plumbed on 
a virtual router?  If so, how does THAT route out to the world?

I also have a /64 of IPv6 space, /96 of which I have configured in a network 
offering which has the same upstream infrastructure situation.  Same lack of 
functionality there.

So how do I configure my Guest real IP netblocks?  Is it okay to be looking for 
a default gateway IP on a my provider's core router or do I need to have them 
statically route that netblock to something like the cloudstack management host?

Of course I could also have the network offering wrong or incomplete.

Any thoughts or pointers to documentation would be appreciated.

I can tell I'm making progress because I keep dealing with progressively higher 
level errors. :)

Thanks.

Bryan Manske


---
Earnest falsehoods left unchallenged risk being accepted as fact.
 -- Monty xiphmont Montgomery - Xiph Foundation, on the Ogg format
---


Re: Public IPs on Guest VMs within CloudStack 4.2.0

2013-10-17 Thread Jayapal Reddy Uradi
Create share network with your ip ranges and add vm nic to in the share network.

-Jayapal

On 18-Oct-2013, at 10:51 AM, Sanjeev Neelarapu sanjeev.neelar...@citrix.com
 wrote:

 Hi,
 
 If you are creating isolated network with your /27 cidr and deploying vm in 
 that , default gateway on the vm will always points to ip address configured 
 on the virtual routers guest interface. So for the vms to point to the 
 gateway in /27 cidr, create a shared network and deploy vm in that.
 
 Thanks,
 Sanjeev
 
 -Original Message-
 From: Bryan Manske [mailto:br...@manske.org] 
 Sent: Friday, October 18, 2013 1:20 AM
 To: users@cloudstack.apache.org
 Subject: Public IPs on Guest VMs within CloudStack 4.2.0
 
 All,
 
 Now I'm curious about public IPs on Guest VMs within CloudStack 4.2.0.
 
 I have one IPv4 /27 for Public IPs and that's working fine.  Now what I want 
 to do is assign a live IP address from another /27 to a Guest VM, which 
 appears to work but can't actually touch the default gateway.
 
 So here's the rub: The default gateway is actually provided as a virtual IP 
 on two VRRP nodes (for A/B redundancy) by my upstream provider.  I can ping 
 the two VRRP routers, I can see the VM has the proper IP address, netmask, 
 and default gateway; and I can configure the VM with a proper IP config which 
 never finds the default gateway IP.  The arp cache sees the local MAC address 
 and incomplete for the gateway.
 
 So now I'm thinking; according to cloudstack, is the default gateway plumbed 
 on a virtual router?  If so, how does THAT route out to the world?
 
 I also have a /64 of IPv6 space, /96 of which I have configured in a network 
 offering which has the same upstream infrastructure situation.  Same lack of 
 functionality there.
 
 So how do I configure my Guest real IP netblocks?  Is it okay to be looking 
 for a default gateway IP on a my provider's core router or do I need to have 
 them statically route that netblock to something like the cloudstack 
 management host?
 
 Of course I could also have the network offering wrong or incomplete.
 
 Any thoughts or pointers to documentation would be appreciated.
 
 I can tell I'm making progress because I keep dealing with progressively 
 higher level errors. :)
 
 Thanks.
 
 Bryan Manske
 
 
 ---
 Earnest falsehoods left unchallenged risk being accepted as fact.
 -- Monty xiphmont Montgomery - Xiph Foundation, on the Ogg format
 ---