XEN | CentOS | Cloud 4.2 | Error Message - Agent Disconnected.
Hello, Can someone shed some light on this error message? * Something went wrong; please correct the following: Cannot transit agent status with event AgentDisconnected for host 1, mangement server id is 161344192609,Unable to transition to a new state from Creating via AgentDisconnected = 2014-02-12 23:25:03,365 DEBUG [agent.manager.AgentManagerImpl] (catalina-exec-12:null) Sending Disconnect to listener: com.cloud.consoleproxy.ConsoleProxyListener 2014-02-12 23:25:03,366 DEBUG [cloud.host.Status] (catalina-exec-12:null) Transition:[Resource state = Enabled, Agent event = AgentDisconnected, Host id = 1, name = node1.domain.com] 2014-02-12 23:25:03,447 DEBUG [cloud.host.Status] (catalina-exec-12:null) Agent status update: [id = 1; name = node1.domain.com; old status = Connecting; event = AgentDisconnected; new status = Alert; old update count = 1; new update count = 2] 2014-02-12 23:25:03,448 DEBUG [agent.manager.ClusteredAgentManagerImpl] (catalina-exec-12:null) Notifying other nodes of to disconnect 2014-02-12 23:25:03,449 WARN [cloud.resource.ResourceManagerImpl] (catalina-exec-12:null) Unable to connect due to com.cloud.utils.exception.CloudRuntimeException: Unable to connect 1 at com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:606) at com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1482) at com.cloud.resource.ResourceManagerImpl.createHostAndAgentDeferred(ResourceManagerImpl.java:1872) at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:778) at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:590) at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:514) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:372) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305) 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 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701) Caused by: java.lang.ClassCastException: com.cloud.agent.api.Answer cannot be cast to com.cloud.agent.api.SetupAnswer at com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.processConnect(XcpServerDiscoverer.java:646) at com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:587) ... 27 more 2014-02-12 23:25:03,450 DEBUG [cloud.host.Status] (catalina-exec-12:null) Transition:[Resource state = Enabled, Agent event = AgentDisconnected, Host id = 1, name = node1.domain.com] 2014-02-12 23:25:03,450 DEBUG [cloud.host.Status] (catalina-exec-12:null) Cannot transit agent status with event AgentDisconnected for host 1, name=node1.domain.com, mangement server id is 161344192609 2014-02-12 23:25:03,450 ERROR [cloud.api.ApiServer] (catalina-exec-12:null) unhandled exception executing api command: addHost com.cloud.utils.exception.CloudRuntimeException: Cannot transit agent status with event AgentDisconnected for host 1, mangement server id is 161344192609,Unable to transition to a new state from Creating via AgentDisconnected
XEN Setup
Hello, I'm attempting to utilize a public IP subnet and a private subnet. However, getting this error: is not compatible with the CIDR of pod: Hades and zone: Argos at com.cloud.resource.ResourceManagerImpl.checkCIDR(ResourceManagerImpl.java:1508) at com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.createHostVOForDirectConnectAgent(XcpServerDiscoverer.java:703) at com.cloud.resource.ResourceManagerImpl.dispatchToStateAdapters(ResourceManagerImpl.java:1468) at com.cloud.resource.ResourceManagerImpl.createHostVO(ResourceManagerImpl.java:1651) at com.cloud.resource.ResourceManagerImpl.createHostAndAgentDeferred(ResourceManagerImpl.java:1846) at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:778) at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:590) at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:514) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:372) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305) 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 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701) How can I get pasted this. My ideal solution would be to use 10.x subnet to private system VMs & regular vms with a 10.x IP address. Along with that, give all instances that need public internet a 96.x subnet IP. Please advise.
What is your setup?
Just a general question What is YOUR favorite setup? KVM? Xen? VmWare? - Maurice
Xen Server Setup
Has anyone setup a public facing cloudstack with Xen server. I want to be able to provide the internal systems with a 10.x IP address along with a public facing IP address. I have read the manual multiple times, I cannot seem to get this; if anyone has a tutorial that might help I'd love to read it. - Maurice
CloudStack 4.2 | Xen Server 6.2
Is Xen Server 6.2 supported by Cloudstack 4.2 ? If so, I am not finding a supp pack listed here: http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Installation_Guide/citrix-xenserver-installation.html#system-requirements-xenserver-hosts I saw some chatter about it being supported by 4.2 -- but that's where my trail ended. Thanks, Maurice
OpenVswitch | KVM | CentOS 6.5 | Cloudstack 4.2
Hello, Question, I'm a little confused, following the documentation here: http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Installation_Guide/hypervisor-kvm-install-flow.html I am a little perplexed, do I need to also have eth0.100 - eth0.300 along with cloudbr0 / cloudbr1 / mgmt0? Or is it one set or another. Right now, I am setting up Cloudstack under one roof of CentOS. I have OpenVSwitch installed and configured as the documentation suggests, however still unable to get public access to the machine. I also black-listed the native bridge module and rebooted the server. If someone that has experience with KVM / OpenVswitch could assist -- that would be awesome. THANKS! Maurice
OpenVswitch | KVM | CentOS 6.5 | Cloudstack 4.2
Hello, Question, I'm a little confused, following the documentation here: http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Installation_Guide/hypervisor-kvm-install-flow.html I am a little perplexed, do I need to also have eth0.100 - eth0.300 along with cloudbr0 / cloudbr1 / mgmt0? Or is it one set or another. Right now, I am setting up Cloudstack under one roof of CentOS. I have OpenVSwitch installed and configured as the documentation suggests, however still unable to get public access to the machine. I also black-listed the native bridge module and rebooted the server. If someone that has experience with KVM / OpenVswitch could assist -- that would be awesome. THANKS! Maurice
Re: CentOS 6.5 | KVM | Cloudstack 4.2
Marcus, I have noticed when rebooting, cloudbr0 does not come on-line automatically, even though it states onboot=yes. On 1/24/14, 6:02 PM, Marcus Sorensen wrote: Haven't used it. On Fri, Jan 24, 2014 at 3:54 PM, Maurice Lawler wrote: I am slowly wrapping my head around this, since I do not have a hardware switch; I see docs about utilizing OpevSwitch, would you suggest this; as I mentioned in the start of this thread ALL things are under one server and one nic. On 1/24/14, 5:37 PM, Marcus Sorensen wrote: Let's say you have eth0. You've configured your switch to share the following vlans: vlan default = management vlan 200 = public vlan 300-500 = guest create your cloudbr0 with eth0, this has your management ip. Point all traffic types to cloubr0 via traffic label. you should be done. Cloudstack will bring up eth0.200 and the bridge for it, and any guest bridges as they're assigned. If your management network is also tagged, then create eth0. and put the bridge on that. On Fri, Jan 24, 2014 at 3:18 PM, Maurice Lawler wrote: Ah, so I would revert to what I said previously; create eth0.100 etc, and then create cloudbr0 for all communication, correct? On 1/24/14, 5:15 PM, Marcus Sorensen wrote: tagged network is when you send multiple vlans to the same interface, e.g. eth0.100 On Fri, Jan 24, 2014 at 3:09 PM, Maurice Lawler wrote: Tagged network, I am not sure what you mean by that; is that what Cloudstack will do once I populate everything within the UI? Along with that, making the bridges will also be done via the cloudstack code, as you mentioned. On 1/24/14, 4:21 PM, Marcus Sorensen wrote: Yes, assuming you have tagged networks. Just create a cloubr0 ONLY, and use that as the traffic label for everything. cloudbr0 should be on your 10.x network, assuming that it is the internal mgmt network, with an ip. Then when you fill out your public network info, provide the vlan tag. The code should look at the label, see cloubr0, find the parent device, create an eth0., and a bridge for it. It will do similar for the guest networks. On Fri, Jan 24, 2014 at 2:06 PM, Maurice Lawler wrote: This may be a rather ridiculous question. I have two subnets: 96.x public and 10.x private - What I am trying to accomplish on one NIC / KVM / CentOS, this can be done right? On 1/24/14, 3:41 PM, Marcus Sorensen wrote: You could also try these: This would just be an example setup to use, with management on cloubr0 and public on cloubr1: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+the+devcloud-kvm+environment+from+scratch See bottom of page for graphic depicting layout: https://cwiki.apache.org/confluence/display/CLOUDSTACK/devcloud-kvm You can also review these, they spell out the exact settings through the zone config for one-nic and two-nic configs, you could substitute your own. http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-one-nic.rtf http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-two-nic.rtf On Fri, Jan 24, 2014 at 1:29 PM, Marcus Sorensen wrote: They don't technically need ips just for VM traffic, it totally depends on your setup. You need to decide where your management network is connected and add the ip there, whether it's cloubr0, cloudbr1, or some other interface. On Fri, Jan 24, 2014 at 1:26 PM, Maurice Lawler wrote: The document states, create cloudbr0 and cloudbr1 without IPs, I did as it told me which didn't seem right to begin with. DEVICE=eth0 HWADDR=00:04:xx:xx:xx:xx ONBOOT=yes HOTPLUG=no BOOTPROTO=none TYPE=Ethernet DEVICE=cloudbr0 TYPE=Bridge ONBOOT=yes BOOTPROTO=none IPV6INIT=no IPV6_AUTOCONF=no DELAY=5 STP=yes DEVICE=cloudbr1 TYPE=Bridge ONBOOT=yes BOOTPROTO=none IPV6INIT=no IPV6_AUTOCONF=no DELAY=5 STP=yes On 1/24/14, 3:23 PM, Marcus Sorensen wrote: so... eth0 -> cloudbr0 ? And that's the management interface? If so, where is the ip for the server? I don't see any ip on cloudbr0, that might be why you have no access. On Fri, Jan 24, 2014 at 12:38 PM, Maurice Lawler mailto:maur...@daoenix.com>> wrote: Marcus, So I have gone through the docs and set it up as discussed. I am now unable to gain access to the server: The screen shot I have here: That shows you cloud0 which was setup automatically, cloudbr0 and cloudbr1 which I setup both, of course both without IP address, as it states to do in the docs. Along with that, I have eth0 setup as bridge, eth0.100 - eth0.300 setup according to the docs. The eth0.100 has the public facing IP address, however, my connection times out; I saw other examples where the public IP address was attached to cloudbr0, can you please tell me what I am missing? - Maurice On 1/24/14, 12:04 AM, Marcus Sorensen wrote: I've always setup cloudbr0 (pub/mg
Re: CentOS 6.5 | KVM | Cloudstack 4.2
Ah, so I will assume, it would not be necessary, as long as the network is tagged and go from there. On 1/24/14, 6:02 PM, Marcus Sorensen wrote: Haven't used it. On Fri, Jan 24, 2014 at 3:54 PM, Maurice Lawler wrote: I am slowly wrapping my head around this, since I do not have a hardware switch; I see docs about utilizing OpevSwitch, would you suggest this; as I mentioned in the start of this thread ALL things are under one server and one nic. On 1/24/14, 5:37 PM, Marcus Sorensen wrote: Let's say you have eth0. You've configured your switch to share the following vlans: vlan default = management vlan 200 = public vlan 300-500 = guest create your cloudbr0 with eth0, this has your management ip. Point all traffic types to cloubr0 via traffic label. you should be done. Cloudstack will bring up eth0.200 and the bridge for it, and any guest bridges as they're assigned. If your management network is also tagged, then create eth0. and put the bridge on that. On Fri, Jan 24, 2014 at 3:18 PM, Maurice Lawler wrote: Ah, so I would revert to what I said previously; create eth0.100 etc, and then create cloudbr0 for all communication, correct? On 1/24/14, 5:15 PM, Marcus Sorensen wrote: tagged network is when you send multiple vlans to the same interface, e.g. eth0.100 On Fri, Jan 24, 2014 at 3:09 PM, Maurice Lawler wrote: Tagged network, I am not sure what you mean by that; is that what Cloudstack will do once I populate everything within the UI? Along with that, making the bridges will also be done via the cloudstack code, as you mentioned. On 1/24/14, 4:21 PM, Marcus Sorensen wrote: Yes, assuming you have tagged networks. Just create a cloubr0 ONLY, and use that as the traffic label for everything. cloudbr0 should be on your 10.x network, assuming that it is the internal mgmt network, with an ip. Then when you fill out your public network info, provide the vlan tag. The code should look at the label, see cloubr0, find the parent device, create an eth0., and a bridge for it. It will do similar for the guest networks. On Fri, Jan 24, 2014 at 2:06 PM, Maurice Lawler wrote: This may be a rather ridiculous question. I have two subnets: 96.x public and 10.x private - What I am trying to accomplish on one NIC / KVM / CentOS, this can be done right? On 1/24/14, 3:41 PM, Marcus Sorensen wrote: You could also try these: This would just be an example setup to use, with management on cloubr0 and public on cloubr1: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+the+devcloud-kvm+environment+from+scratch See bottom of page for graphic depicting layout: https://cwiki.apache.org/confluence/display/CLOUDSTACK/devcloud-kvm You can also review these, they spell out the exact settings through the zone config for one-nic and two-nic configs, you could substitute your own. http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-one-nic.rtf http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-two-nic.rtf On Fri, Jan 24, 2014 at 1:29 PM, Marcus Sorensen wrote: They don't technically need ips just for VM traffic, it totally depends on your setup. You need to decide where your management network is connected and add the ip there, whether it's cloubr0, cloudbr1, or some other interface. On Fri, Jan 24, 2014 at 1:26 PM, Maurice Lawler wrote: The document states, create cloudbr0 and cloudbr1 without IPs, I did as it told me which didn't seem right to begin with. DEVICE=eth0 HWADDR=00:04:xx:xx:xx:xx ONBOOT=yes HOTPLUG=no BOOTPROTO=none TYPE=Ethernet DEVICE=cloudbr0 TYPE=Bridge ONBOOT=yes BOOTPROTO=none IPV6INIT=no IPV6_AUTOCONF=no DELAY=5 STP=yes DEVICE=cloudbr1 TYPE=Bridge ONBOOT=yes BOOTPROTO=none IPV6INIT=no IPV6_AUTOCONF=no DELAY=5 STP=yes On 1/24/14, 3:23 PM, Marcus Sorensen wrote: so... eth0 -> cloudbr0 ? And that's the management interface? If so, where is the ip for the server? I don't see any ip on cloudbr0, that might be why you have no access. On Fri, Jan 24, 2014 at 12:38 PM, Maurice Lawler mailto:maur...@daoenix.com>> wrote: Marcus, So I have gone through the docs and set it up as discussed. I am now unable to gain access to the server: The screen shot I have here: That shows you cloud0 which was setup automatically, cloudbr0 and cloudbr1 which I setup both, of course both without IP address, as it states to do in the docs. Along with that, I have eth0 setup as bridge, eth0.100 - eth0.300 setup according to the docs. The eth0.100 has the public facing IP address, however, my connection times out; I saw other examples where the public IP address was attached to cloudbr0, can you please tell me what I am missing? - Maurice On 1/24/14, 12:04 AM, Marcus Sorensen wrote: I've always setup cloudbr0 (pub/mgt/guest br) per the
Re: CentOS 6.5 | KVM | Cloudstack 4.2
I am slowly wrapping my head around this, since I do not have a hardware switch; I see docs about utilizing OpevSwitch, would you suggest this; as I mentioned in the start of this thread ALL things are under one server and one nic. On 1/24/14, 5:37 PM, Marcus Sorensen wrote: Let's say you have eth0. You've configured your switch to share the following vlans: vlan default = management vlan 200 = public vlan 300-500 = guest create your cloudbr0 with eth0, this has your management ip. Point all traffic types to cloubr0 via traffic label. you should be done. Cloudstack will bring up eth0.200 and the bridge for it, and any guest bridges as they're assigned. If your management network is also tagged, then create eth0. and put the bridge on that. On Fri, Jan 24, 2014 at 3:18 PM, Maurice Lawler wrote: Ah, so I would revert to what I said previously; create eth0.100 etc, and then create cloudbr0 for all communication, correct? On 1/24/14, 5:15 PM, Marcus Sorensen wrote: tagged network is when you send multiple vlans to the same interface, e.g. eth0.100 On Fri, Jan 24, 2014 at 3:09 PM, Maurice Lawler wrote: Tagged network, I am not sure what you mean by that; is that what Cloudstack will do once I populate everything within the UI? Along with that, making the bridges will also be done via the cloudstack code, as you mentioned. On 1/24/14, 4:21 PM, Marcus Sorensen wrote: Yes, assuming you have tagged networks. Just create a cloubr0 ONLY, and use that as the traffic label for everything. cloudbr0 should be on your 10.x network, assuming that it is the internal mgmt network, with an ip. Then when you fill out your public network info, provide the vlan tag. The code should look at the label, see cloubr0, find the parent device, create an eth0., and a bridge for it. It will do similar for the guest networks. On Fri, Jan 24, 2014 at 2:06 PM, Maurice Lawler wrote: This may be a rather ridiculous question. I have two subnets: 96.x public and 10.x private - What I am trying to accomplish on one NIC / KVM / CentOS, this can be done right? On 1/24/14, 3:41 PM, Marcus Sorensen wrote: You could also try these: This would just be an example setup to use, with management on cloubr0 and public on cloubr1: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+the+devcloud-kvm+environment+from+scratch See bottom of page for graphic depicting layout: https://cwiki.apache.org/confluence/display/CLOUDSTACK/devcloud-kvm You can also review these, they spell out the exact settings through the zone config for one-nic and two-nic configs, you could substitute your own. http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-one-nic.rtf http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-two-nic.rtf On Fri, Jan 24, 2014 at 1:29 PM, Marcus Sorensen wrote: They don't technically need ips just for VM traffic, it totally depends on your setup. You need to decide where your management network is connected and add the ip there, whether it's cloubr0, cloudbr1, or some other interface. On Fri, Jan 24, 2014 at 1:26 PM, Maurice Lawler wrote: The document states, create cloudbr0 and cloudbr1 without IPs, I did as it told me which didn't seem right to begin with. DEVICE=eth0 HWADDR=00:04:xx:xx:xx:xx ONBOOT=yes HOTPLUG=no BOOTPROTO=none TYPE=Ethernet DEVICE=cloudbr0 TYPE=Bridge ONBOOT=yes BOOTPROTO=none IPV6INIT=no IPV6_AUTOCONF=no DELAY=5 STP=yes DEVICE=cloudbr1 TYPE=Bridge ONBOOT=yes BOOTPROTO=none IPV6INIT=no IPV6_AUTOCONF=no DELAY=5 STP=yes On 1/24/14, 3:23 PM, Marcus Sorensen wrote: so... eth0 -> cloudbr0 ? And that's the management interface? If so, where is the ip for the server? I don't see any ip on cloudbr0, that might be why you have no access. On Fri, Jan 24, 2014 at 12:38 PM, Maurice Lawler mailto:maur...@daoenix.com>> wrote: Marcus, So I have gone through the docs and set it up as discussed. I am now unable to gain access to the server: The screen shot I have here: That shows you cloud0 which was setup automatically, cloudbr0 and cloudbr1 which I setup both, of course both without IP address, as it states to do in the docs. Along with that, I have eth0 setup as bridge, eth0.100 - eth0.300 setup according to the docs. The eth0.100 has the public facing IP address, however, my connection times out; I saw other examples where the public IP address was attached to cloudbr0, can you please tell me what I am missing? - Maurice On 1/24/14, 12:04 AM, Marcus Sorensen wrote: I've always setup cloudbr0 (pub/mgt/guest br) per the documented examples, and never cloud0 (link local bridge). You can look at the devcloud-kvm doc for an example of an all-in-one. The traffic labels reference bridges, so you have to have a bridge to enter as a traffic
Re: CentOS 6.5 | KVM | Cloudstack 4.2
Ah, so I would revert to what I said previously; create eth0.100 etc, and then create cloudbr0 for all communication, correct? On 1/24/14, 5:15 PM, Marcus Sorensen wrote: tagged network is when you send multiple vlans to the same interface, e.g. eth0.100 On Fri, Jan 24, 2014 at 3:09 PM, Maurice Lawler wrote: Tagged network, I am not sure what you mean by that; is that what Cloudstack will do once I populate everything within the UI? Along with that, making the bridges will also be done via the cloudstack code, as you mentioned. On 1/24/14, 4:21 PM, Marcus Sorensen wrote: Yes, assuming you have tagged networks. Just create a cloubr0 ONLY, and use that as the traffic label for everything. cloudbr0 should be on your 10.x network, assuming that it is the internal mgmt network, with an ip. Then when you fill out your public network info, provide the vlan tag. The code should look at the label, see cloubr0, find the parent device, create an eth0., and a bridge for it. It will do similar for the guest networks. On Fri, Jan 24, 2014 at 2:06 PM, Maurice Lawler wrote: This may be a rather ridiculous question. I have two subnets: 96.x public and 10.x private - What I am trying to accomplish on one NIC / KVM / CentOS, this can be done right? On 1/24/14, 3:41 PM, Marcus Sorensen wrote: You could also try these: This would just be an example setup to use, with management on cloubr0 and public on cloubr1: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+the+devcloud-kvm+environment+from+scratch See bottom of page for graphic depicting layout: https://cwiki.apache.org/confluence/display/CLOUDSTACK/devcloud-kvm You can also review these, they spell out the exact settings through the zone config for one-nic and two-nic configs, you could substitute your own. http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-one-nic.rtf http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-two-nic.rtf On Fri, Jan 24, 2014 at 1:29 PM, Marcus Sorensen wrote: They don't technically need ips just for VM traffic, it totally depends on your setup. You need to decide where your management network is connected and add the ip there, whether it's cloubr0, cloudbr1, or some other interface. On Fri, Jan 24, 2014 at 1:26 PM, Maurice Lawler wrote: The document states, create cloudbr0 and cloudbr1 without IPs, I did as it told me which didn't seem right to begin with. DEVICE=eth0 HWADDR=00:04:xx:xx:xx:xx ONBOOT=yes HOTPLUG=no BOOTPROTO=none TYPE=Ethernet DEVICE=cloudbr0 TYPE=Bridge ONBOOT=yes BOOTPROTO=none IPV6INIT=no IPV6_AUTOCONF=no DELAY=5 STP=yes DEVICE=cloudbr1 TYPE=Bridge ONBOOT=yes BOOTPROTO=none IPV6INIT=no IPV6_AUTOCONF=no DELAY=5 STP=yes On 1/24/14, 3:23 PM, Marcus Sorensen wrote: so... eth0 -> cloudbr0 ? And that's the management interface? If so, where is the ip for the server? I don't see any ip on cloudbr0, that might be why you have no access. On Fri, Jan 24, 2014 at 12:38 PM, Maurice Lawler mailto:maur...@daoenix.com>> wrote: Marcus, So I have gone through the docs and set it up as discussed. I am now unable to gain access to the server: The screen shot I have here: That shows you cloud0 which was setup automatically, cloudbr0 and cloudbr1 which I setup both, of course both without IP address, as it states to do in the docs. Along with that, I have eth0 setup as bridge, eth0.100 - eth0.300 setup according to the docs. The eth0.100 has the public facing IP address, however, my connection times out; I saw other examples where the public IP address was attached to cloudbr0, can you please tell me what I am missing? - Maurice On 1/24/14, 12:04 AM, Marcus Sorensen wrote: I've always setup cloudbr0 (pub/mgt/guest br) per the documented examples, and never cloud0 (link local bridge). You can look at the devcloud-kvm doc for an example of an all-in-one. The traffic labels reference bridges, so you have to have a bridge to enter as a traffic label in the first place. If you don't provide traffic labels, it by default looks for cloudbr0 for public and cloudbr1 for guest and private. Looking through the code, it looks as though if you stick with an 'untagged' public network (enter no vlan id in your public range), then you're required to create the bridge yourself, matcing the traffic label you enter. If you enter a vlan id, then it will create the public bridge for you, but you still have to identify where you want the bridge to be created via traffic label. e.g. say you have only cloudbr0, which is your mgmt bridge, and you want vlan 460 on that same eth device to be public traffic. You'd enter 460 as the vlan id when entering the public traffic range, and set the traffic label to
Re: CentOS 6.5 | KVM | Cloudstack 4.2
Tagged network, I am not sure what you mean by that; is that what Cloudstack will do once I populate everything within the UI? Along with that, making the bridges will also be done via the cloudstack code, as you mentioned. On 1/24/14, 4:21 PM, Marcus Sorensen wrote: Yes, assuming you have tagged networks. Just create a cloubr0 ONLY, and use that as the traffic label for everything. cloudbr0 should be on your 10.x network, assuming that it is the internal mgmt network, with an ip. Then when you fill out your public network info, provide the vlan tag. The code should look at the label, see cloubr0, find the parent device, create an eth0., and a bridge for it. It will do similar for the guest networks. On Fri, Jan 24, 2014 at 2:06 PM, Maurice Lawler wrote: This may be a rather ridiculous question. I have two subnets: 96.x public and 10.x private - What I am trying to accomplish on one NIC / KVM / CentOS, this can be done right? On 1/24/14, 3:41 PM, Marcus Sorensen wrote: You could also try these: This would just be an example setup to use, with management on cloubr0 and public on cloubr1: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+the+devcloud-kvm+environment+from+scratch See bottom of page for graphic depicting layout: https://cwiki.apache.org/confluence/display/CLOUDSTACK/devcloud-kvm You can also review these, they spell out the exact settings through the zone config for one-nic and two-nic configs, you could substitute your own. http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-one-nic.rtf http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-two-nic.rtf On Fri, Jan 24, 2014 at 1:29 PM, Marcus Sorensen wrote: They don't technically need ips just for VM traffic, it totally depends on your setup. You need to decide where your management network is connected and add the ip there, whether it's cloubr0, cloudbr1, or some other interface. On Fri, Jan 24, 2014 at 1:26 PM, Maurice Lawler wrote: The document states, create cloudbr0 and cloudbr1 without IPs, I did as it told me which didn't seem right to begin with. DEVICE=eth0 HWADDR=00:04:xx:xx:xx:xx ONBOOT=yes HOTPLUG=no BOOTPROTO=none TYPE=Ethernet DEVICE=cloudbr0 TYPE=Bridge ONBOOT=yes BOOTPROTO=none IPV6INIT=no IPV6_AUTOCONF=no DELAY=5 STP=yes DEVICE=cloudbr1 TYPE=Bridge ONBOOT=yes BOOTPROTO=none IPV6INIT=no IPV6_AUTOCONF=no DELAY=5 STP=yes On 1/24/14, 3:23 PM, Marcus Sorensen wrote: so... eth0 -> cloudbr0 ? And that's the management interface? If so, where is the ip for the server? I don't see any ip on cloudbr0, that might be why you have no access. On Fri, Jan 24, 2014 at 12:38 PM, Maurice Lawler mailto:maur...@daoenix.com>> wrote: Marcus, So I have gone through the docs and set it up as discussed. I am now unable to gain access to the server: The screen shot I have here: That shows you cloud0 which was setup automatically, cloudbr0 and cloudbr1 which I setup both, of course both without IP address, as it states to do in the docs. Along with that, I have eth0 setup as bridge, eth0.100 - eth0.300 setup according to the docs. The eth0.100 has the public facing IP address, however, my connection times out; I saw other examples where the public IP address was attached to cloudbr0, can you please tell me what I am missing? - Maurice On 1/24/14, 12:04 AM, Marcus Sorensen wrote: I've always setup cloudbr0 (pub/mgt/guest br) per the documented examples, and never cloud0 (link local bridge). You can look at the devcloud-kvm doc for an example of an all-in-one. The traffic labels reference bridges, so you have to have a bridge to enter as a traffic label in the first place. If you don't provide traffic labels, it by default looks for cloudbr0 for public and cloudbr1 for guest and private. Looking through the code, it looks as though if you stick with an 'untagged' public network (enter no vlan id in your public range), then you're required to create the bridge yourself, matcing the traffic label you enter. If you enter a vlan id, then it will create the public bridge for you, but you still have to identify where you want the bridge to be created via traffic label. e.g. say you have only cloudbr0, which is your mgmt bridge, and you want vlan 460 on that same eth device to be public traffic. You'd enter 460 as the vlan id when entering the public traffic range, and set the traffic label to 'cloudbr0', to identify where the vlan 460 bridge should be created. it then looks up the physical interface that cloudbr0 is bridged to (eth0), creates a tagged interface (eth0.460), and a bridge (breth0-460). For private traffic (mgmt), it expects you to have already created the bridge. I believe th
Re: CentOS 6.5 | KVM | Cloudstack 4.2
This may be a rather ridiculous question. I have two subnets: 96.x public and 10.x private - What I am trying to accomplish on one NIC / KVM / CentOS, this can be done right? On 1/24/14, 3:41 PM, Marcus Sorensen wrote: You could also try these: This would just be an example setup to use, with management on cloubr0 and public on cloubr1: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+the+devcloud-kvm+environment+from+scratch See bottom of page for graphic depicting layout: https://cwiki.apache.org/confluence/display/CLOUDSTACK/devcloud-kvm You can also review these, they spell out the exact settings through the zone config for one-nic and two-nic configs, you could substitute your own. http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-one-nic.rtf http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-two-nic.rtf On Fri, Jan 24, 2014 at 1:29 PM, Marcus Sorensen wrote: They don't technically need ips just for VM traffic, it totally depends on your setup. You need to decide where your management network is connected and add the ip there, whether it's cloubr0, cloudbr1, or some other interface. On Fri, Jan 24, 2014 at 1:26 PM, Maurice Lawler wrote: The document states, create cloudbr0 and cloudbr1 without IPs, I did as it told me which didn't seem right to begin with. DEVICE=eth0 HWADDR=00:04:xx:xx:xx:xx ONBOOT=yes HOTPLUG=no BOOTPROTO=none TYPE=Ethernet DEVICE=cloudbr0 TYPE=Bridge ONBOOT=yes BOOTPROTO=none IPV6INIT=no IPV6_AUTOCONF=no DELAY=5 STP=yes DEVICE=cloudbr1 TYPE=Bridge ONBOOT=yes BOOTPROTO=none IPV6INIT=no IPV6_AUTOCONF=no DELAY=5 STP=yes On 1/24/14, 3:23 PM, Marcus Sorensen wrote: so... eth0 -> cloudbr0 ? And that's the management interface? If so, where is the ip for the server? I don't see any ip on cloudbr0, that might be why you have no access. On Fri, Jan 24, 2014 at 12:38 PM, Maurice Lawler mailto:maur...@daoenix.com>> wrote: Marcus, So I have gone through the docs and set it up as discussed. I am now unable to gain access to the server: The screen shot I have here: That shows you cloud0 which was setup automatically, cloudbr0 and cloudbr1 which I setup both, of course both without IP address, as it states to do in the docs. Along with that, I have eth0 setup as bridge, eth0.100 - eth0.300 setup according to the docs. The eth0.100 has the public facing IP address, however, my connection times out; I saw other examples where the public IP address was attached to cloudbr0, can you please tell me what I am missing? - Maurice On 1/24/14, 12:04 AM, Marcus Sorensen wrote: I've always setup cloudbr0 (pub/mgt/guest br) per the documented examples, and never cloud0 (link local bridge). You can look at the devcloud-kvm doc for an example of an all-in-one. The traffic labels reference bridges, so you have to have a bridge to enter as a traffic label in the first place. If you don't provide traffic labels, it by default looks for cloudbr0 for public and cloudbr1 for guest and private. Looking through the code, it looks as though if you stick with an 'untagged' public network (enter no vlan id in your public range), then you're required to create the bridge yourself, matcing the traffic label you enter. If you enter a vlan id, then it will create the public bridge for you, but you still have to identify where you want the bridge to be created via traffic label. e.g. say you have only cloudbr0, which is your mgmt bridge, and you want vlan 460 on that same eth device to be public traffic. You'd enter 460 as the vlan id when entering the public traffic range, and set the traffic label to 'cloudbr0', to identify where the vlan 460 bridge should be created. it then looks up the physical interface that cloudbr0 is bridged to (eth0), creates a tagged interface (eth0.460), and a bridge (breth0-460). For private traffic (mgmt), it expects you to have already created the bridge. I believe this is most likely because they expect this to be how you're reaching the server in the first place (via ssh on mgmt net). Guest networks are always dynamically created. On Jan 23, 2014 9:11 PM, "Maurice Lawler" <mailto:maur...@daoenix.com> wrote: Hello, I am setting up KVM / Cloudstack all under one server. I have done this countless of other times, however, this time on a new server I have noticed it did not provision cloudbr0 / cloud0 as it has done in the past. I saw a few tutorials where it says to setup VLANS ifcfg-eth0.100-300 which I understand. However, right now I am not sure if this is the normal for 4.2 to not have those two previously mentioned interfaces already setup when you issue the command setu
Re: CentOS 6.5 | KVM | Cloudstack 4.2
Okay, going to try this again; I have 18 public facing IPs and endless subnets on the private side, so i would assume this would be the same thing as you mentioned without an issue. As i've done this before, without issue; I just cannot figure out what the hell I am doing wrong. - Maurice On 1/24/14, 3:29 PM, Marcus Sorensen wrote: They don't technically need ips just for VM traffic, it totally depends on your setup. You need to decide where your management network is connected and add the ip there, whether it's cloubr0, cloudbr1, or some other interface. On Fri, Jan 24, 2014 at 1:26 PM, Maurice Lawler wrote: The document states, create cloudbr0 and cloudbr1 without IPs, I did as it told me which didn't seem right to begin with. DEVICE=eth0 HWADDR=00:04:xx:xx:xx:xx ONBOOT=yes HOTPLUG=no BOOTPROTO=none TYPE=Ethernet DEVICE=cloudbr0 TYPE=Bridge ONBOOT=yes BOOTPROTO=none IPV6INIT=no IPV6_AUTOCONF=no DELAY=5 STP=yes DEVICE=cloudbr1 TYPE=Bridge ONBOOT=yes BOOTPROTO=none IPV6INIT=no IPV6_AUTOCONF=no DELAY=5 STP=yes On 1/24/14, 3:23 PM, Marcus Sorensen wrote: so... eth0 -> cloudbr0 ? And that's the management interface? If so, where is the ip for the server? I don't see any ip on cloudbr0, that might be why you have no access. On Fri, Jan 24, 2014 at 12:38 PM, Maurice Lawler mailto:maur...@daoenix.com>> wrote: Marcus, So I have gone through the docs and set it up as discussed. I am now unable to gain access to the server: The screen shot I have here: That shows you cloud0 which was setup automatically, cloudbr0 and cloudbr1 which I setup both, of course both without IP address, as it states to do in the docs. Along with that, I have eth0 setup as bridge, eth0.100 - eth0.300 setup according to the docs. The eth0.100 has the public facing IP address, however, my connection times out; I saw other examples where the public IP address was attached to cloudbr0, can you please tell me what I am missing? - Maurice On 1/24/14, 12:04 AM, Marcus Sorensen wrote: I've always setup cloudbr0 (pub/mgt/guest br) per the documented examples, and never cloud0 (link local bridge). You can look at the devcloud-kvm doc for an example of an all-in-one. The traffic labels reference bridges, so you have to have a bridge to enter as a traffic label in the first place. If you don't provide traffic labels, it by default looks for cloudbr0 for public and cloudbr1 for guest and private. Looking through the code, it looks as though if you stick with an 'untagged' public network (enter no vlan id in your public range), then you're required to create the bridge yourself, matcing the traffic label you enter. If you enter a vlan id, then it will create the public bridge for you, but you still have to identify where you want the bridge to be created via traffic label. e.g. say you have only cloudbr0, which is your mgmt bridge, and you want vlan 460 on that same eth device to be public traffic. You'd enter 460 as the vlan id when entering the public traffic range, and set the traffic label to 'cloudbr0', to identify where the vlan 460 bridge should be created. it then looks up the physical interface that cloudbr0 is bridged to (eth0), creates a tagged interface (eth0.460), and a bridge (breth0-460). For private traffic (mgmt), it expects you to have already created the bridge. I believe this is most likely because they expect this to be how you're reaching the server in the first place (via ssh on mgmt net). Guest networks are always dynamically created. On Jan 23, 2014 9:11 PM, "Maurice Lawler" <mailto:maur...@daoenix.com> wrote: Hello, I am setting up KVM / Cloudstack all under one server. I have done this countless of other times, however, this time on a new server I have noticed it did not provision cloudbr0 / cloud0 as it has done in the past. I saw a few tutorials where it says to setup VLANS ifcfg-eth0.100-300 which I understand. However, right now I am not sure if this is the normal for 4.2 to not have those two previously mentioned interfaces already setup when you issue the command setup-management / setup-databases as it has done before. Can someone explain this to me? - Maurice
Re: CentOS 6.5 | KVM | Cloudstack 4.2
The document states, create cloudbr0 and cloudbr1 without IPs, I did as it told me which didn't seem right to begin with. DEVICE=eth0 HWADDR=00:04:xx:xx:xx:xx ONBOOT=yes HOTPLUG=no BOOTPROTO=none TYPE=Ethernet DEVICE=cloudbr0 TYPE=Bridge ONBOOT=yes BOOTPROTO=none IPV6INIT=no IPV6_AUTOCONF=no DELAY=5 STP=yes DEVICE=cloudbr1 TYPE=Bridge ONBOOT=yes BOOTPROTO=none IPV6INIT=no IPV6_AUTOCONF=no DELAY=5 STP=yes On 1/24/14, 3:23 PM, Marcus Sorensen wrote: so... eth0 -> cloudbr0 ? And that's the management interface? If so, where is the ip for the server? I don't see any ip on cloudbr0, that might be why you have no access. On Fri, Jan 24, 2014 at 12:38 PM, Maurice Lawler <mailto:maur...@daoenix.com>> wrote: Marcus, So I have gone through the docs and set it up as discussed. I am now unable to gain access to the server: The screen shot I have here: That shows you cloud0 which was setup automatically, cloudbr0 and cloudbr1 which I setup both, of course both without IP address, as it states to do in the docs. Along with that, I have eth0 setup as bridge, eth0.100 - eth0.300 setup according to the docs. The eth0.100 has the public facing IP address, however, my connection times out; I saw other examples where the public IP address was attached to cloudbr0, can you please tell me what I am missing? - Maurice On 1/24/14, 12:04 AM, Marcus Sorensen wrote: I've always setup cloudbr0 (pub/mgt/guest br) per the documented examples, and never cloud0 (link local bridge). You can look at the devcloud-kvm doc for an example of an all-in-one. The traffic labels reference bridges, so you have to have a bridge to enter as a traffic label in the first place. If you don't provide traffic labels, it by default looks for cloudbr0 for public and cloudbr1 for guest and private. Looking through the code, it looks as though if you stick with an 'untagged' public network (enter no vlan id in your public range), then you're required to create the bridge yourself, matcing the traffic label you enter. If you enter a vlan id, then it will create the public bridge for you, but you still have to identify where you want the bridge to be created via traffic label. e.g. say you have only cloudbr0, which is your mgmt bridge, and you want vlan 460 on that same eth device to be public traffic. You'd enter 460 as the vlan id when entering the public traffic range, and set the traffic label to 'cloudbr0', to identify where the vlan 460 bridge should be created. it then looks up the physical interface that cloudbr0 is bridged to (eth0), creates a tagged interface (eth0.460), and a bridge (breth0-460). For private traffic (mgmt), it expects you to have already created the bridge. I believe this is most likely because they expect this to be how you're reaching the server in the first place (via ssh on mgmt net). Guest networks are always dynamically created. On Jan 23, 2014 9:11 PM, "Maurice Lawler" <mailto:maur...@daoenix.com> wrote: Hello, I am setting up KVM / Cloudstack all under one server. I have done this countless of other times, however, this time on a new server I have noticed it did not provision cloudbr0 / cloud0 as it has done in the past. I saw a few tutorials where it says to setup VLANS ifcfg-eth0.100-300 which I understand. However, right now I am not sure if this is the normal for 4.2 to not have those two previously mentioned interfaces already setup when you issue the command setup-management / setup-databases as it has done before. Can someone explain this to me? - Maurice
Re: 403Forbidden System VM
Found one: http://download.cloud.com/templates/4.2//systemvmtemplate/-/2013-06-12/-/master/-kvm./qcow2/./bz2/ Is the other one down for good or? On 1/24/14, 12:48 PM, Maurice Lawler wrote: # /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt -m /storage/secondary/ -u http://d21ifhcun6b1t2.cloudfront.net/templates/4.2/systemvmtemplate-2013-06-12-master-kv.qcow2.bz2 -h kvm -F --2014-01-24 12:47:02-- http://d21ifhcun6b1t2.cloudfront.net/templates/4.2/systemvmtemplate-2013-06-12-master-kv.qcow2.bz2 Resolving d21ifhcun6b1t2.cloudfront.net... 54.230.207.23, 54.239.172.41, 54.230.204.143, ... Connecting to d21ifhcun6b1t2.cloudfront.net|54.230.207.23|:80... connected. HTTP request sent, awaiting response... 403 Forbidden 2014-01-24 12:47:02 ERROR 403: Forbidden. Failed to fetch system vm template from http://d21ifhcun6b1t2.cloudfront.net/templates/4.2/systemvmtempla Where else can I obtain the 4.2 system VM template? Maurice
403Forbidden System VM
# /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt -m /storage/secondary/ -u http://d21ifhcun6b1t2.cloudfront.net/templates/4.2/systemvmtemplate-2013-06-12-master-kv.qcow2.bz2 -h kvm -F --2014-01-24 12:47:02-- http://d21ifhcun6b1t2.cloudfront.net/templates/4.2/systemvmtemplate-2013-06-12-master-kv.qcow2.bz2 Resolving d21ifhcun6b1t2.cloudfront.net... 54.230.207.23, 54.239.172.41, 54.230.204.143, ... Connecting to d21ifhcun6b1t2.cloudfront.net|54.230.207.23|:80... connected. HTTP request sent, awaiting response... 403 Forbidden 2014-01-24 12:47:02 ERROR 403: Forbidden. Failed to fetch system vm template from http://d21ifhcun6b1t2.cloudfront.net/templates/4.2/systemvmtempla Where else can I obtain the 4.2 system VM template? Maurice
CentOS 6.5 | KVM | Cloudstack 4.2
Hello, I am setting up KVM / Cloudstack all under one server. I have done this countless of other times, however, this time on a new server I have noticed it did not provision cloudbr0 / cloud0 as it has done in the past. I saw a few tutorials where it says to setup VLANS ifcfg-eth0.100-300 which I understand. However, right now I am not sure if this is the normal for 4.2 to not have those two previously mentioned interfaces already setup when you issue the command setup-management / setup-databases as it has done before. Can someone explain this to me? - Maurice
Re: CloudStack Admin Latency
David, Thank you, that's exactly, what I am referring to. I have noticed each time I go in the latency is present, I suspect one will just need to deal with it until perhaps a future update? - Maurice On 1/23/14, 9:49 PM, David Nalley wrote: Are you talking about when you first visit http://:8080/client ?? If so as Marcus has previously pointed out its the css and images loading, which is used throughout the UI. And it's a number of megabytes. There was a proposal to gzip that up but not sure what happened with it. --David On Thu, Jan 23, 2014 at 7:29 PM, Maurice Lawler wrote: Hello, Is anyone else experiencing a delay when traveling to their admin page? Seems as though mine takes 45 seconds roughly to render. Prior installs rendered much faster. - Maurice
CloudStack Admin Latency
Hello, Is anyone else experiencing a delay when traveling to their admin page? Seems as though mine takes 45 seconds roughly to render. Prior installs rendered much faster. - Maurice
CloudStack 4.2 | Cent OS 6.4 | KVM
Greetings, Ongoing issues with advanced network setup. If someone could please humor me as to what I am doing incorrectly. I have everything under one server, KVM / storage / etc. I have a block of IPs public facing. I also have 192.x for private network. All the system VM's spin up and are on-line, however, I am unable to access the internet from within each of these. Manually adding the gateway to my public facing block IP fixes this issue. Is it even possible to do what I am doing, or does both sets need to be private? root@s-1-VM:~# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default myPUBLICgatewayIP 0.0.0.0 UG0 0 0 eth2 8.8.8.8 192.168.1.1 255.255.255.255 UGH 0 00 eth1 publicsubnet.0 * 255.255.255.0 U 0 00 eth2 publicIP 192.168.1.1 255.255.255.255 UGH 0 00 eth1 link-local * 255.255.0.0 U 0 00 eth0 192.168.1.0 * 255.255.255.0 U 0 00 eth1 192.168.1.0 * 255.255.255.0 U 0 00 eth3 The above is what my route looks like on the secondary storage device. Any help would be great! - maurice
Re: Public vs Private
Ah right - Forgot to add the right routes, I'm dumb. Apologies. - Maurice On 1/16/14, 11:15 AM, Maurice Lawler wrote: Hello, I am setting up CloudStack I have a quick question about network connectivity. I have a block of 18 IP addresses, 96.x IPs. I proceeding to setup my installation of Cloudstack, with my 96 as guest IPs and the 192.x IPs for the private side of things. Looking at the system virtual machines they have 192 as private and 96 as public which is perfect. However, the virtual machines do not have internet access. Thus cannot download the system template and the centos template. I am fairly certain this can be done, but I fear I am missing a step on the host node or something of that nature. I should state, this is all under one hood. CentOS 6.5 / KVM / Cloudstack 4.2 THANKS! Maurice
Public vs Private
Hello, I am setting up CloudStack I have a quick question about network connectivity. I have a block of 18 IP addresses, 96.x IPs. I proceeding to setup my installation of Cloudstack, with my 96 as guest IPs and the 192.x IPs for the private side of things. Looking at the system virtual machines they have 192 as private and 96 as public which is perfect. However, the virtual machines do not have internet access. Thus cannot download the system template and the centos template. I am fairly certain this can be done, but I fear I am missing a step on the host node or something of that nature. I should state, this is all under one hood. CentOS 6.5 / KVM / Cloudstack 4.2 THANKS! Maurice
Console
Hello, Odd question, has anyone experience the pop up console being black and hard to see what the mounted ISO is attempting to install? If so, how can one correct this issue. - M.
Re: Template Issues
Awesome, thank you for pointing me into the right direction of the udev rules. I had forgtten about that, removing that, re-creating template and making an instance from newly created template enabled the password script to work without issue. Thanks again, Marcus! Have a good weekend! - Maurice On 10/5/13, 2:25 PM, Marcus Sorensen wrote: Networking is a prerequisite for fetching the password from the router on boot, so let's start there. On Oct 5, 2013 12:24 PM, "Maurice Lawler" wrote: Thank you Marcus, is this also the cause of the password issue I mentioned? On 10/5/13, 2:10 PM, Marcus Sorensen wrote: Udev rules. Its not cloudstacks issue but the OS. When the Mac address changes, centos thinks its a new nic and creates a different one. So you end up with eth1 or eth2 instead, which has no configuration. You need to delete two files in the source you are templating, I don't have them memorized but they should be easy to find online. One is /etc/udev/rules.d/70-**persistent-net or similar, and the other creates that file, in some other udev dir in /use I think. On Oct 5, 2013 12:06 PM, "Maurice Lawler" wrote: Hello, I have setup a CentOS 6.4 Template, I also enabled the password reset script as shown here: http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/<http://cloudstack.apache.org/**docs/en-US/Apache_CloudStack/**> 4.2.0/html/Admin_Guide/add-password-management-to- templates.html<http://**cloudstack.apache.org/docs/en-** US/Apache_CloudStack/4.2.0/**html/Admin_Guide/add-password-** management-to-templates.html<http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/add-password-management-to-templates.html> However, following the directions I am noticing the password that pops-up does not match what is actually on the newly provisioned instance nor when resetting does the password reset do what popsup. Along with the afromentioned, the networking is not starting per network script on boot. My ifcfg-eth0 DEVICE=eth0 TYPE=Ethernet ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=dhcp Can someone advise me as to what might be missing and also this error when running ifup eth0 Device eth0 does not seem to be present, delying initialization. I would appreciate the assistance. - Maurice
Re: Template Issues
Thank you Marcus, is this also the cause of the password issue I mentioned? On 10/5/13, 2:10 PM, Marcus Sorensen wrote: Udev rules. Its not cloudstacks issue but the OS. When the Mac address changes, centos thinks its a new nic and creates a different one. So you end up with eth1 or eth2 instead, which has no configuration. You need to delete two files in the source you are templating, I don't have them memorized but they should be easy to find online. One is /etc/udev/rules.d/70-persistent-net or similar, and the other creates that file, in some other udev dir in /use I think. On Oct 5, 2013 12:06 PM, "Maurice Lawler" wrote: Hello, I have setup a CentOS 6.4 Template, I also enabled the password reset script as shown here: http://cloudstack.apache.org/**docs/en-US/Apache_CloudStack/** 4.2.0/html/Admin_Guide/add-**password-management-to-**templates.html<http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/add-password-management-to-templates.html> However, following the directions I am noticing the password that pops-up does not match what is actually on the newly provisioned instance nor when resetting does the password reset do what popsup. Along with the afromentioned, the networking is not starting per network script on boot. My ifcfg-eth0 DEVICE=eth0 TYPE=Ethernet ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=dhcp Can someone advise me as to what might be missing and also this error when running ifup eth0 Device eth0 does not seem to be present, delying initialization. I would appreciate the assistance. - Maurice
Template Issues
Hello, I have setup a CentOS 6.4 Template, I also enabled the password reset script as shown here: http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/add-password-management-to-templates.html However, following the directions I am noticing the password that pops-up does not match what is actually on the newly provisioned instance nor when resetting does the password reset do what popsup. Along with the afromentioned, the networking is not starting per network script on boot. My ifcfg-eth0 DEVICE=eth0 TYPE=Ethernet ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=dhcp Can someone advise me as to what might be missing and also this error when running ifup eth0 Device eth0 does not seem to be present, delying initialization. I would appreciate the assistance. - Maurice
Re: Document Issues
Great, thank you Travis! - M. On 10/5/13, 11:54 AM, Travis Graham wrote: Here is the relevant section from the 4.2.0 docs: * http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/add-password-management-to-templates.html Travis On Oct 5, 2013, at 11:52 AM, Maurice Lawler wrote: Hello, I am attempting to recall how to setup a template to enable password resets. However, upon searching for 'password' in the documents I get the error as shown in the attached screen shots. - Maurice
Document Issues
Hello, I am attempting to recall how to setup a template to enable password resets. However, upon searching for 'password' in the documents I get the error as shown in the attached screen shots. - Maurice
System VM | Default Template
Could I please inquire as to why when installing CS4.2 that the template it automatically installs is still CentOS 5.x, one would think this too would have been updated. Is there information why this is the case? - M.
Re: Connection Refused
Thank you Sangeetha, I was able to register the ISO via IP address. However, adding the CDIR/s for it still did not permit me to register the ISO via hostname. Along with that, the default template didn't download either for this same issue. On 10/2/13, 8:39 PM, Sangeetha Hariharan wrote: You can try setting this global parameter- secstorage.allowed.internal.sites to allow for "mirrors.liquidweb.com" . Or , If you register the iso using the Ip address instead of mirrors.liquidweb.com , it should work as well. -Thanks Sangeetha -Original Message- From: Maurice Lawler [mailto:maurice.law...@me.com] Sent: Wednesday, October 02, 2013 5:31 PM To: Cloud Dev Subject: Connection Refused Sorry to bother again, What would cause this... --2013-10-03 00:28:07-- http://mirrors.liquidweb.com/CentOS/6.4/isos/x86_64/CentOS-6.4-x86_64-minimal.iso Resolving mirrors.liquidweb.com (mirrors.liquidweb.com)... 69.167.187.144 Connecting to mirrors.liquidweb.com (mirrors.liquidweb.com)|69.167.187.144|:80... failed: Connection refused. From what I know of this, doesn't the secondary storage obtain / hold such ISO's therefore it would be necessary for it to connect to the mirror to download. WHat would I need to alter to permit this permission. I've disabled both iptables / ebtables -- I verified I am able to ping the sites but getting connection refused still. Whereas, I am able to pull things down via FTP just not HTTP. Please advise. - Maurice
Connection Refused
Sorry to bother again, What would cause this... --2013-10-03 00:28:07-- http://mirrors.liquidweb.com/CentOS/6.4/isos/x86_64/CentOS-6.4-x86_64-minimal.iso Resolving mirrors.liquidweb.com (mirrors.liquidweb.com)... 69.167.187.144 Connecting to mirrors.liquidweb.com (mirrors.liquidweb.com)|69.167.187.144|:80... failed: Connection refused. From what I know of this, doesn't the secondary storage obtain / hold such ISO's therefore it would be necessary for it to connect to the mirror to download. WHat would I need to alter to permit this permission. I've disabled both iptables / ebtables -- I verified I am able to ping the sites but getting connection refused still. Whereas, I am able to pull things down via FTP just not HTTP. Please advise. - Maurice
Re: System VM
Thank you! - Maurice On 10/2/13, 7:21 PM, Travis Graham wrote: Here are the correct links for 4.2.0: Xenserver : http://download.cloud.com/templates/4.2/systemvmtemplate-2013-07-12-master-xen.vhd.bz2 KVM : http://download.cloud.com/templates/4.2/systemvmtemplate-2013-06-12-master-kvm.qcow2.bz2 VMware : http://download.cloud.com/templates/4.2/systemvmtemplate-4.2-vh7.ova Travis On Oct 2, 2013, at 7:00 PM, Maurice Lawler wrote: Hello, Going through the install, I noticed the system VM template hasnt changed URL. Is it safe to assume to utilize this one: # /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/acton/acton-systemvm-02062012.qcow2.bz2 -h kvm -s -F Or should I be utilizing another? - Maurice
System VM
Hello, Going through the install, I noticed the system VM template hasnt changed URL. Is it safe to assume to utilize this one: # /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/acton/acton-systemvm-02062012.qcow2.bz2 -h kvm -s -F Or should I be utilizing another? - Maurice
Error, when setting up in advanced..
Hello, Getting this error, when setting up advanced mode... SSH Executed failed. However, there aren't any issues I see with SSH getting into the server as root etc. What does this suggest? - Maurice 2013-10-01 22:43:17,533 INFO [utils.ssh.SSHCmdHelper] (catalina-exec-13:null) Timeout while waiting for data from peer. 2013-10-01 22:43:17,537 DEBUG [utils.ssh.SSHCmdHelper] (catalina-exec-13:null) cloudstack-setup-agent -m HyperVisorIP -z 1 -p 1 -c 1 -g 6fafb1c2-462b-3306-b55a-c274bcbac1d2 -a --pubNic=public --prvNic=manage --guestNic=guest output:[OK] Configure Nfs ... Configure Cgroup ... 2013-10-01 22:43:18,538 DEBUG [utils.ssh.SSHCmdHelper] (catalina-exec-13:null) Ssh executed failed java.lang.NullPointerException at com.cloud.utils.ssh.SSHCmdHelper.sshExecuteCmdOneShotWithExitCode(SSHCmdHelper.java:147) at com.cloud.utils.ssh.SSHCmdHelper.sshExecuteCmdOneShot(SSHCmdHelper.java:158) at com.cloud.utils.ssh.SSHCmdHelper.sshExecuteCmd(SSHCmdHelper.java:63) at com.cloud.hypervisor.kvm.discoverer.LibvirtServerDiscoverer.find(LibvirtServerDiscoverer.java:225) at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:741) at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:590) at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:514) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:372) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305) 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 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679)
Re: Error when taking host out of maintenance
That error is no longer, now getting an error about vm_snapshot_chain_size being a duplicate. The upgrade script has: ALTER TABLE volumes ADD COLUMN vm_snapshot_chain_size bigint(20) unsigned; Error message is: 2013-10-01 15:03:29,531 DEBUG [db.Transaction.Transaction] (Timer-2:null) Rolling back the transaction: Time = 14 Name = -CloudStartupServlet$1.run:52-TimerThread.mainLoop:534-TimerThread.run:484; called by -Transaction.rollback:898-Transaction.removeUpTo:841-Transaction.close:665-DatabaseUpgradeChecker.upgrade:295-DatabaseUpgradeChecker.check:391-ComponentContext.initComponentsLifeCycle:90-CloudStartupServlet$1.run:54-TimerThread.mainLoop:534-TimerThread.run:484 2013-10-01 15:03:29,532 ERROR [utils.component.ComponentContext] (Timer-2:null) System integrity check failed. Refuse to startup com.cloud.utils.exception.CloudRuntimeException: Unable to upgrade the database at com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:293) at com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java:391) at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:90) at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54) at java.util.TimerThread.mainLoop(Timer.java:534) at java.util.TimerThread.run(Timer.java:484) Caused by: com.cloud.utils.exception.CloudRuntimeException: Unable to execute upgrade script: /usr/share/cloudstack-management/setup/db/schema-410to420.sql at com.cloud.upgrade.DatabaseUpgradeChecker.runScript(DatabaseUpgradeChecker.java:210) at com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:262) ... 5 more Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Duplicate column name 'vm_snapshot_chain_size' at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:193) at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:87) at com.cloud.upgrade.DatabaseUpgradeChecker.runScript(DatabaseUpgradeChecker.java:201) ... 6 more
Re: Error when taking host out of maintenance
Seems as though I am running into MULTIPLE errors now. :| 013-10-01 14:49:34,197 ERROR [utils.db.ScriptRunner] (Timer-2:null) com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Duplicate column name 'default' 2013-10-01 14:49:34,199 ERROR [cloud.upgrade.DatabaseUpgradeChecker] (Timer-2:null) Unable to execute upgrade script: /usr/share/cloudstack-management/setup/db/schema-410to420.sql com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Duplicate column name 'default' at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:193) at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:87) at com.cloud.upgrade.DatabaseUpgradeChecker.runScript(DatabaseUpgradeChecker.java:201) at com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:262) at com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java:391) at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:90) at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54) at java.util.TimerThread.mainLoop(Timer.java:534) at java.util.TimerThread.run(Timer.java:484) 2013-10-01 14:49:34,200 ERROR [cloud.upgrade.DatabaseUpgradeChecker] (Timer-2:null) Unable to upgrade the database com.cloud.utils.exception.CloudRuntimeException: Unable to execute upgrade script: /usr/share/cloudstack-management/setup/db/schema-410to420.sql at com.cloud.upgrade.DatabaseUpgradeChecker.runScript(DatabaseUpgradeChecker.java:210) at com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:262) at com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java:391) at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:90) at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54) at java.util.TimerThread.mainLoop(Timer.java:534) at java.util.TimerThread.run(Timer.java:484) Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Duplicate column name 'default' at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:193) at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:87) at com.cloud.upgrade.DatabaseUpgradeChecker.runScript(DatabaseUpgradeChecker.java:201) ... 6 more 2013-10-01 14:49:34,201 DEBUG [db.Transaction.Transaction] (Timer-2:null) Rolling back the transaction: Time = 431 Name = -CloudStartupServlet$1.run:52-TimerThread.mainLoop:534-TimerThread.run:484; called by -Transaction.rollback:898-Transaction.removeUpTo:841-Transaction.close:665-DatabaseUpgradeChecker.upgrade:295-DatabaseUpgradeChecker.check:391-ComponentContext.initComponentsLifeCycle:90-CloudStartupServlet$1.run:54-TimerThread.mainLoop:534-TimerThread.run:484 2013-10-01 14:49:34,202 ERROR [utils.component.ComponentContext] (Timer-2:null) System integrity check failed. Refuse to startup com.cloud.utils.exception.CloudRuntimeException: Unable to upgrade the database at com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:293) at com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java:391) at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:90) at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54) at java.util.TimerThread.mainLoop(Timer.java:534) at java.util.TimerThread.run(Timer.java:484) Caused by: com.cloud.utils.exception.CloudRuntimeException: Unable to execute upgrade script: /usr/share/cloudstack-management/setup/db/schema-410to420.sql at com.cloud.upgrade.DatabaseUpgradeChecker.runScript(DatabaseUpgradeChecker.java:210) at com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:262) ... 5 more Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Duplicate column name 'default' at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:193) at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:87) at com.cloud.upgrade.DatabaseUpgradeChecker.runScript(DatabaseUpgradeChecker.java:201) ... 6 more On 10/1/13, 1:48 PM, Travis Graham wrote: Are you using the new systemvm image? On Oct 1, 2013, at 1:37 PM, Maurice Lawler wrote: Since upgrading, and restarting system VM's, nothing is coming back online. System VM's are still in starting state, nothing in the way of error messages in the logs. Did you or anyone else encounter this and if so, how was it resolved. On 10/1/13, 1:19 PM, Marcus Sorensen wrote: I've gotten errors canceling maintenance too, but it still worked (host was enabled afterward) so I haven't dug into it yet. On Oct 1, 2013 10:57 AM, "Maurice Lawler" wrote: Anyone able to dycpher what htis is trying to tell me ? - Maurice 013-10-01 12:54:41,347 DEBUG [
Re: Error when taking host out of maintenance
Since upgrading, and restarting system VM's, nothing is coming back online. System VM's are still in starting state, nothing in the way of error messages in the logs. Did you or anyone else encounter this and if so, how was it resolved. On 10/1/13, 1:19 PM, Marcus Sorensen wrote: I've gotten errors canceling maintenance too, but it still worked (host was enabled afterward) so I haven't dug into it yet. On Oct 1, 2013 10:57 AM, "Maurice Lawler" wrote: Anyone able to dycpher what htis is trying to tell me ? - Maurice 013-10-01 12:54:41,347 DEBUG [cloud.deploy.**DeploymentPlanningManagerImpl] (Job-Executor-10:job-188 = [ 9552b42a-eac5-4744-8323-**d71eb78bc0fb ]) MessageBus message: host reserved capacity released for VM: 1, checking if host reservation can be released for host:1 2013-10-01 12:54:41,354 DEBUG [cloud.resource.**ResourceManagerImpl] (Job-Executor-10:job-188 = [ 9552b42a-eac5-4744-8323-**d71eb78bc0fb ]) Sent resource event EVENT_CANCEL_MAINTENANCE_AFTER to listener CapacityManagerImpl_**EnhancerByCloudStack_55a560e8 2013-10-01 12:54:41,354 ERROR [cloud.async.**AsyncJobManagerImpl] (Job-Executor-10:job-188 = [ 9552b42a-eac5-4744-8323-**d71eb78bc0fb ]) Unexpected exception while executing org.apache.cloudstack.api.** command.admin.host.**CancelMaintenanceCmd com.cloud.utils.exception.**CloudRuntimeException: Internal error cancelling maintenance. at com.cloud.resource.**ResourceManagerImpl.**cancelMaintenance(** ResourceManagerImpl.java:1156) at org.apache.cloudstack.api.**command.admin.host.** CancelMaintenanceCmd.execute(**CancelMaintenanceCmd.java:101) at com.cloud.api.ApiDispatcher.**dispatch(ApiDispatcher.java:**158) at com.cloud.async.**AsyncJobManagerImpl$1.run(** AsyncJobManagerImpl.java:531) at java.util.concurrent.**Executors$RunnableAdapter.** call(Executors.java:471) at java.util.concurrent.**FutureTask$Sync.innerRun(** FutureTask.java:334) at java.util.concurrent.**FutureTask.run(FutureTask.**java:166) at java.util.concurrent.**ThreadPoolExecutor.runWorker(** ThreadPoolExecutor.java:1146) at java.util.concurrent.**ThreadPoolExecutor$Worker.run(** ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.**java:679) 2013-10-01 12:54:41,356 DEBUG [cloud.async.**AsyncJobManagerImpl] (Job-Executor-10:job-188 = [ 9552b42a-eac5-4744-8323-**d71eb78bc0fb ]) Complete async job-188 = [ 9552b42a-eac5-4744-8323-**d71eb78bc0fb ], jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Internal error cancelling maintenance. 2013-10-01 12:54:42,380 DEBUG [cloud.api.ApiServlet] (catalina-exec-21:null) ===START=== -- GET command=queryAsyncJobResult&**jobId=9552b42a-eac5-4744-8323-** d71eb78bc0fb&response=json&**sessionkey=e3ePddUCCz2xG%** 2FTvAbZ8jspIpvw%3D&_=**1380646468186
Error when taking host out of maintenance
Anyone able to dycpher what htis is trying to tell me ? - Maurice 013-10-01 12:54:41,347 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-10:job-188 = [ 9552b42a-eac5-4744-8323-d71eb78bc0fb ]) MessageBus message: host reserved capacity released for VM: 1, checking if host reservation can be released for host:1 2013-10-01 12:54:41,354 DEBUG [cloud.resource.ResourceManagerImpl] (Job-Executor-10:job-188 = [ 9552b42a-eac5-4744-8323-d71eb78bc0fb ]) Sent resource event EVENT_CANCEL_MAINTENANCE_AFTER to listener CapacityManagerImpl_EnhancerByCloudStack_55a560e8 2013-10-01 12:54:41,354 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-10:job-188 = [ 9552b42a-eac5-4744-8323-d71eb78bc0fb ]) Unexpected exception while executing org.apache.cloudstack.api.command.admin.host.CancelMaintenanceCmd com.cloud.utils.exception.CloudRuntimeException: Internal error cancelling maintenance. at com.cloud.resource.ResourceManagerImpl.cancelMaintenance(ResourceManagerImpl.java:1156) at org.apache.cloudstack.api.command.admin.host.CancelMaintenanceCmd.execute(CancelMaintenanceCmd.java:101) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158) at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679) 2013-10-01 12:54:41,356 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-10:job-188 = [ 9552b42a-eac5-4744-8323-d71eb78bc0fb ]) Complete async job-188 = [ 9552b42a-eac5-4744-8323-d71eb78bc0fb ], jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Internal error cancelling maintenance. 2013-10-01 12:54:42,380 DEBUG [cloud.api.ApiServlet] (catalina-exec-21:null) ===START=== -- GET command=queryAsyncJobResult&jobId=9552b42a-eac5-4744-8323-d71eb78bc0fb&response=json&sessionkey=e3ePddUCCz2xG%2FTvAbZ8jspIpvw%3D&_=1380646468186
Add Network to Instance
Hello, I assumed the "Add Network to VM" meant, the ability to add an additional IP address to an existing VM. However, getting he error message the nic already exists.
Re: IPTables Issues
Hello,Right now, after rebooting the instance / router, the IPTables are as follows:[root@cloud ~]# iptables -L -nvChain INPUT (policy ACCEPT 61208 packets, 199M bytes) pkts bytes target prot opt in out source destination Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination 2320 264K BF-cloudbr0 all -- * cloudbr0 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-is-bridged 803 106K BF-cloudbr0 all -- cloudbr0 * 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-is-bridged 803 106K DROP all -- * cloudbr0 0.0.0.0/0 0.0.0.0/0 0 0 DROP all -- cloudbr0 * 0.0.0.0/0 0.0.0.0/0 Chain OUTPUT (policy ACCEPT 61246 packets, 200M bytes) pkts bytes target prot opt in out source destination Chain BF-cloudbr0 (2 references) pkts bytes target prot opt in out source destination 1157 126K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED 1966 245K BF-cloudbr0-IN all -- * * 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-is-in --physdev-is-bridged 1966 245K BF-cloudbr0-OUT all -- * * 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-is-out --physdev-is-bridged 146 11287 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-out eth0 --physdev-is-bridged Chain BF-cloudbr0-IN (1 references) pkts bytes target prot opt in out source destination 71 7558 r-31-VM all -- * * 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0 --physdev-is-bridged Chain BF-cloudbr0-OUT (1 references) pkts bytes target prot opt in out source destination 214 20606 r-31-VM all -- * * 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-out vnet0 --physdev-is-bridged Chain r-31-VM (2 references) pkts bytes target prot opt in out source destination 71 7558 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0 --physdev-is-bridged 214 20606 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 [root@cloud ~]# Along with that, I am unable to access the instance via ssh / or ping it / console it. Thanks,M.
IPTables Issues
Hello folks,I have a couple issues with the iptables showed below.1) When enabled, I find that I cannot resolve DNS (ie: ping google.com) or even yum update etc.2) When enabled, I am also unable to view the console. When I disable both issues go away.Please assist.-Maurice3[root@cloud ~]# cat /etc/sysconfig/iptables# Generated by iptables-save v1.4.7 on Fri Aug 16 15:30:37 2013*mangle:PREROUTING ACCEPT [0:0]:INPUT ACCEPT [0:0]:FORWARD ACCEPT [0:0]:OUTPUT ACCEPT [0:0]:POSTROUTING ACCEPT [0:0]-A POSTROUTING -o virbr0 -p udp -m udp --dport 68 -j CHECKSUM --checksum-fill -A POSTROUTING -o virbr0 -p udp -m udp --dport 68 -j CHECKSUM --checksum-fill COMMIT*nat:PREROUTING ACCEPT [0:0]:POSTROUTING ACCEPT [0:0]:OUTPUT ACCEPT [0:0]COMMIT:INPUT ACCEPT [0:0]:FORWARD ACCEPT [0:0]:OUTPUT ACCEPT [0:0]:BF-cloudbr0 - [0:0]:BF-cloudbr0-IN - [0:0]:BF-cloudbr0-OUT - [0:0]:s-1-VM - [0:0]:v-2-VM - [0:0]-A INPUT -i virbr0 -p udp -m udp --dport 67 -j ACCEPT -A INPUT -i virbr0 -p tcp -m tcp --dport 67 -j ACCEPT -A INPUT -i virbr0 -p udp -m udp --dport 53 -j ACCEPT -A INPUT -i virbr0 -p tcp -m tcp --dport 53 -j ACCEPT -A INPUT -i virbr0 -p udp -m udp --dport 67 -j ACCEPT -A INPUT -i virbr0 -p tcp -m tcp --dport 67 -j ACCEPT -A INPUT -p tcp -m tcp --dport 9090 -j ACCEPT -A INPUT -p tcp -m tcp --dport 8250 -j ACCEPT -A INPUT -p tcp -m tcp --dport 7080 -j ACCEPT -A INPUT -p tcp -m tcp --dport 8080 -j ACCEPT -A INPUT -i virbr0 -p udp -m udp --dport 53 -j ACCEPT -A INPUT -i virbr0 -p tcp -m tcp --dport 53 -j ACCEPT -A INPUT -i virbr0 -p udp -m udp --dport 67 -j ACCEPT -A INPUT -i virbr0 -p tcp -m tcp --dport 67 -j ACCEPT -A INPUT -p tcp -m tcp --dport 49152:49216 -j ACCEPT -A INPUT -p tcp -m tcp --dport 5900:6100 -j ACCEPT -A INPUT -p tcp -m tcp --dport 16509 -j ACCEPT -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT -A FORWARD -o cloudbr0 -m physdev --physdev-is-bridged -j BF-cloudbr0 -A FORWARD -i cloudbr0 -m physdev --physdev-is-bridged -j BF-cloudbr0 -A FORWARD -o cloudbr0 -j DROP -A FORWARD -i cloudbr0 -j DROP -A FORWARD -i virbr0 -o virbr0 -j ACCEPT -A FORWARD -o virbr0 -j REJECT --reject-with icmp-port-unreachable -A FORWARD -i virbr0 -j REJECT --reject-with icmp-port-unreachable -A FORWARD -i virbr0 -o virbr0 -j ACCEPT -A FORWARD -o virbr0 -j REJECT --reject-with icmp-port-unreachable -A FORWARD -i virbr0 -j REJECT --reject-with icmp-port-unreachable -A BF-cloudbr0 -m state --state RELATED,ESTABLISHED -j ACCEPT -A BF-cloudbr0 -m physdev --physdev-is-in --physdev-is-bridged -j BF-cloudbr0-IN -A BF-cloudbr0 -m physdev --physdev-is-out --physdev-is-bridged -j BF-cloudbr0-OUT -A BF-cloudbr0 -m physdev --physdev-out eth0 --physdev-is-bridged -j ACCEPT -A BF-cloudbr0-IN -m physdev --physdev-in vnet1 --physdev-is-bridged -j s-1-VM -A BF-cloudbr0-IN -m physdev --physdev-in vnet2 --physdev-is-bridged -j s-1-VM -A BF-cloudbr0-IN -m physdev --physdev-in vnet3 --physdev-is-bridged -j s-1-VM -A BF-cloudbr0-IN -m physdev --physdev-in vnet5 --physdev-is-bridged -j v-2-VM -A BF-cloudbr0-IN -m physdev --physdev-in vnet6 --physdev-is-bridged -j v-2-VM -A BF-cloudbr0-OUT -m physdev --physdev-out vnet1 --physdev-is-bridged -j s-1-VM -A BF-cloudbr0-OUT -m physdev --physdev-out vnet2 --physdev-is-bridged -j s-1-VM -A BF-cloudbr0-OUT -m physdev --physdev-out vnet3 --physdev-is-bridged -j s-1-VM -A BF-cloudbr0-OUT -m physdev --physdev-out vnet5 --physdev-is-bridged -j v-2-VM -A BF-cloudbr0-OUT -m physdev --physdev-out vnet6 --physdev-is-bridged -j v-2-VM -A s-1-VM -m physdev --physdev-in vnet1 --physdev-is-bridged -j RETURN -A s-1-VM -m physdev --physdev-in vnet2 --physdev-is-bridged -j RETURN -A s-1-VM -m physdev --physdev-in vnet3 --physdev-is-bridged -j RETURN -A s-1-VM -j ACCEPT -A v-2-VM -m physdev --physdev-in vnet5 --physdev-is-bridged -j RETURN -A v-2-VM -m physdev --physdev-in vnet6 --physdev-is-bridged -j RETURN -A v-2-VM -j ACCEPT COMMIT# Completed on Fri Aug 16 15:30:37 2013[root@cloud ~]#
Re: Reboots
YES!!! That's it! Thank you! :-) - MauriceOn Aug 28, 2013, at 02:24 PM, Ove Ewerlid wrote:If this is about linux, you may be looking for acpid. For RHEL6; yum install acpid chkconfig acpid on service acpid start /Ove On 08/28/2013 08:08 PM, Maurice Lawler wrote:Greetings,I have noticed there is latency from when I issue a reboot to when it isactually done. I recall a program I can install on the instances to fixthis issue; however, googling has turned up on results, does anyone knowwhat program I am speaking of or how to correct this ?- Maurice -- Ove Everlid System Administrator / Architect / SDN & Linux hacker Mobile: +46706662363 Office: +4618656913 (note EMEA Time Zone)
Reboots
Greetings,I have noticed there is latency from when I issue a reboot to when it is actually done. I recall a program I can install on the instances to fix this issue; however, googling has turned up on results, does anyone know what program I am speaking of or how to correct this ?- Maurice
Re: Unable to Reach Management Server
Actually I restarted again and it came back just fine. I'll keep my eye on it if it happens again ( the error that is) and provide more detail later. THANKS! On Aug 23, 2013, at 5:46 PM, Marty Sweet wrote: > Hi, > > Can you provide your management server log? > > Thanks, > Marty > > > On Fri, Aug 23, 2013 at 10:41 PM, Maurice Lawler wrote: > >> Hello, >> >> I was manipulating the system preferences and upon restarting the cloud >> stack management server, I am now presented with this error on the UI. >> >> The given command does not exist or it is not available for user >> >> Anyone have this issue and know how to correct it? >> >> >> >>
Unable to Reach Management Server
Hello,I was manipulating the system preferences and upon restarting the cloud stack management server, I am now presented with this error on the UI.The given command does not exist or it is not available for userAnyone have this issue and know how to correct it?
Re: [VOTE] Apache Cloudstack 4.2.0
Thank you both for directing me to the correct link, greatly appreciated. On Aug 23, 2013, at 03:19 PM, Chiradeep Vittal wrote:You may be looking at the 4.1 section. The actual RN will contain the complete list. In the meantime https://issues.apache.org/jira/issues/?filter=12323963 From: Maurice Lawler <maurice.law...@me.commaurice.law...@me.com>> Reply-To: "dev@cloudstack.apache.orgdev@cloudstack.apache.org>" <dev@cloudstack.apache.orgdev@cloudstack.apache.org>> Date: Friday, August 23, 2013 12:12 PM To: "dev@cloudstack.apache.orgdev@cloudstack.apache.org>" <dev@cloudstack.apache.orgdev@cloudstack.apache.org>> Cc: "dev@cloudstack.apache.orgdev@cloudstack.apache.org>" <dev@cloudstack.apache.orgdev@cloudstack.apache.org>> Subject: Re: [VOTE] Apache Cloudstack 4.2.0 I was reviewing the changes, I do not see what was previously told me that there would be multiple IP support in 4.2 https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blob_plain;f=CHANGES;hb=4.2 Did that hit the cutting room floor for this pending release? - Maurice On Aug 23, 2013, at 02:55 PM, Animesh Chaturvedi <animesh.chaturv...@citrix.comanimesh.chaturv...@citrix.com>> wrote:Hi All, I've created a 4.2.0 release, with the following artifacts up for a vote: Git Branch and Commit SH: https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.2 Commit: 06f28722b6fe5827d58861e9a9d47fe46aaafefa List of changes: https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blob_plain;f=CHANGES;hb=4.2 Source release (checksums and signatures are available at the same location): https://dist.apache.org/repos/dist/dev/cloudstack/4.2.0/ PGP release keys (signed using 94BE0D7C): https://dist.apache.org/repos/dist/release/cloudstack/KEYS Testing instructions are here: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Release+test+procedure Vote will be open for 72 hours. For sanity in tallying the vote, can PMC members please be sure to indicate "(binding)" with their vote? [ ] +1 approve [ ] +0 no opinion [ ] -1 disapprove (and reason why)
Re: [VOTE] Apache Cloudstack 4.2.0
Ah, I am very sorry; I overlooked that part. I just happened reread the text and went right into the changes. Thank you for your response. Appreciate it! :-)On Aug 23, 2013, at 03:22 PM, Animesh Chaturvedi wrote:The changes section is empty for 4.2 as this will be covered in Release Notes as per community discussion. Release Notes are in progress but you can look at the JIRA filter https://issues.apache.org/jira/issues/?filter=12323963 for features and improvements in 4.2 Animesh From: Maurice Lawler [mailto:maurice.law...@me.com] Sent: Friday, August 23, 2013 12:12 PM To: dev@cloudstack.apache.org Cc: dev@cloudstack.apache.org Subject: Re: [VOTE] Apache Cloudstack 4.2.0 I was reviewing the changes, I do not see what was previously told me that there would be multiple IP support in 4.2 https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blob_plain;f=CHANGES;hb=4.2 Did that hit the cutting room floor for this pending release? - Maurice On Aug 23, 2013, at 02:55 PM, Animesh Chaturvedi <animesh.chaturv...@citrix.comanimesh.chaturv...@citrix.com>> wrote: Hi All, I've created a 4.2.0 release, with the following artifacts up for a vote: Git Branch and Commit SH: https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.2 Commit: 06f28722b6fe5827d58861e9a9d47fe46aaafefa List of changes: https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blob_plain;f=CHANGES;hb=4.2 Source release (checksums and signatures are available at the same location): https://dist.apache.org/repos/dist/dev/cloudstack/4.2.0/ PGP release keys (signed using 94BE0D7C): https://dist.apache.org/repos/dist/release/cloudstack/KEYS Testing instructions are here: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Release+test+procedure Vote will be open for 72 hours. For sanity in tallying the vote, can PMC members please be sure to indicate "(binding)" with their vote? [ ] +1 approve [ ] +0 no opinion [ ] -1 disapprove (and reason why)
Re: [VOTE] Apache Cloudstack 4.2.0
I was reviewing the changes, I do not see what was previously told me that there would be multiple IP support in 4.2https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blob_plain;f=CHANGES;hb=4.2Did that hit the cutting room floor for this pending release?- MauriceOn Aug 23, 2013, at 02:55 PM, Animesh Chaturvedi wrote: Hi All, I've created a 4.2.0 release, with the following artifacts up for a vote: Git Branch and Commit SH: https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.2 Commit: 06f28722b6fe5827d58861e9a9d47fe46aaafefa List of changes: https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blob_plain;f=CHANGES;hb=4.2 Source release (checksums and signatures are available at the same location): https://dist.apache.org/repos/dist/dev/cloudstack/4.2.0/ PGP release keys (signed using 94BE0D7C): https://dist.apache.org/repos/dist/release/cloudstack/KEYS Testing instructions are here: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Release+test+procedure Vote will be open for 72 hours. For sanity in tallying the vote, can PMC members please be sure to indicate "(binding)" with their vote? [ ] +1 approve [ ] +0 no opinion [ ] -1 disapprove (and reason why)
Re: Cloudstack Ports
Yes, it's all under one server; KVM.On Aug 22, 2013, at 10:56 AM, "Musayev, Ilya" wrote:Are you using this host as both CloudStack management and also hypervisor? I have several instances of ACS installed, I don't have telnet or vnc enabled by default. This is indicative of your server configuration (and services installed) and not cloudstack. From: Maurice Lawler [mailto:maurice.law...@me.com] Sent: Thursday, August 22, 2013 10:38 AM To: Cloud Dev Subject: Cloudstack Ports Greetings, I find the following open on my Cloud Management Server. PORT STATE SERVICE 22/tcp open ssh 23/tcp filtered telnet 111/tcp open rpcbind 2049/tcp open nfs 5900/tcp open vnc 5901/tcp open vnc-1 5902/tcp open vnc-2 5903/tcp open vnc-3 5904/tcp open unknown 5906/tcp open unknown The ones I understand are 22, 111, 2049 and the VNC 5900-5903, however, what is 5904 and 5906? Also why is telnet even enable what on cloud stack utilizes that?
Cloudstack Ports
Greetings,I find the following open on my Cloud Management Server.PORT STATE SERVICE22/tcp open ssh23/tcp filtered telnet111/tcp open rpcbind2049/tcp open nfs5900/tcp open vnc5901/tcp open vnc-15902/tcp open vnc-25903/tcp open vnc-35904/tcp open unknown5906/tcp open unknownThe ones I understand are 22, 111, 2049 and the VNC 5900-5903, however, what is 5904 and 5906? Also why is telnet even enable what on cloud stack utilizes that?
Re: Instance Names
Hello,I did just find that CLOUDSTACk-778, reviewing it it seems to me that does not quite answer my question; unless I am missing an obvious point, which I will not let, I find myself doing that more then I would like.URL: https://issues.apache.org/jira/browse/CLOUDSTACK-778Is this correct?- MauriceOn Aug 21, 2013, at 01:41 AM, "Musayev, Ilya" wrote:Have you looked at CLOUDSTACK-778? -Original Message----- From: Maurice Lawler [mailto:maurice.law...@me.com] Sent: Tuesday, August 20, 2013 9:25 PM To: dev@cloudstack.apache.org Cc: Marcus Sorensen Subject: Re: Instance Names You suggest that I should leave my mistake as is. If you are unsure of the issues it may cause upon instance rebooting, I just thought it would be easy to just update a line in the database as it was mentioned to me, in the vm_instance table... On Aug 19, 2013, at 11:46 PM, Marcus Sorensen <shadow...@gmail.com> wrote: You can edit the display name via API or the UI's edit button, butthat only changes what shows up in the UI, not the name of the hostitself (e.g. when you log in and do 'hostname'). To change the actualname in the vm_instance table, column 'name'. I'm not entirely surewhat the repercussions of that are.On Mon, Aug 19, 2013 at 9:36 PM, Todd Pigram <t...@toddpigram.com> wrote:vm_instanceOn Monday, August 19, 2013, Maurice Lawler wrote:Greetings,I'm hoping someone can point me into the right direction, I haveprovisioned an instanced; however, I failed to create a name for it.Now in my list of instances, I see the UUID and not a 'custom' name so to speak.I'm sure this can easily be manipulated via the database, however; Iam looking through docs etc, unsure where to make changes.Any guidance would be greatly appreciate!- M.
Re: Secondary IP (4.1.1)
Jayapal,You say "you can add the below rules on that host" the rules I provided is a direct extract of what rules that are listed presently. Would I simply duplicate the same rules to allow a secondary IP to pass through, or is it more involved then that?Also, you mention a manipulation required in the IPTables, mind pointing me in the right direction to make this happen.- MauriceOn Aug 21, 2013, at 01:14 AM, Jayapal Reddy Uradi wrote:you can add the below rules on the host. Also you need to update the iptables filter rules. You need to add rules on host in vm reboot, on VM reboot the old rules get added on host. Thanks, Jayapal On 21-Aug-2013, at 6:49 AM, Maurice Lawler <maurice.law...@me.com> wrote: It would seem to be perhaps I can add something via this segment in the security policy.try:193 # -s ! 52:54:0:56:44:32 -j DROP194 execute("ebtables -t nat -A PREROUTING -i " + vif + " -j " + vmchain_in)195 execute("ebtables -t nat -A POSTROUTING -o " + vif + " -j " + vmchain_out)196 except:197 logging.debug("Failed to program default rules")198 return 'false'199200 try:201 execute("ebtables -t nat -A " + vmchain_in + " -s ! " + vm_mac + " -j DROP")202 execute("ebtables -t nat -A " + vmchain_in + " -p ARP -s ! " + vm_mac + " -j DROP")203 execute("ebtables -t nat -A " + vmchain_in + " -p ARP --arp-mac-src ! " + vm_mac + " -j DROP")204 if vm_ip is not None:205 execute("ebtables -t nat -A " + vmchain_in + " -p ARP --arp-ip-src ! " + vm_ip + " -j DROP")206 execute("ebtables -t nat -A " + vmchain_in + " -p ARP --arp-op Request -j ACCEPT")207 execute("ebtables -t nat -A " + vmchain_in + " -p ARP --arp-op Reply -j ACCEPT")208 execute("ebtables -t nat -A " + vmchain_in + " -p ARP -j DROP")209 except:210 logging.exception("Failed to program default ebtables IN rules")211 return 'false'Am I wrong in my thinking?On Aug 19, 2013, at 11:43 PM, Marcus Sorensen <shadow...@gmail.com> wrote:Well, it depends on how you edit the security_group.py script, itcertainly wouldn't have to open up everything. You could add aone-liner in there that would pass the instance name to a separatescript that looked up the vm in a table or database and applied extrarules (in post_default_network_rules), maybe adding something like:"ebtables -t nat -I " + vmchain_in + " -p ARP --arp-ip-src " +secondary_vm_ip + " -j ACCEPT"etc.Although, that might not be fun to maintain. It would probably beeasier to use the libvirt hooks: http://www.libvirt.org/hooks.html Tocall your script whenever a vm starts or stops. You would accept theguest name as an argument to your script, and then that script couldlook up secondary IPs in a table, from a database or file, adding themto the ebtables chain of the same guest name.On Mon, Aug 19, 2013 at 8:03 PM, Maurice Lawler <maurice.law...@me.com> wrote:Greetings,Does anyone have experience in adding a secondary IP address (by way of altering the ebtables / security script) in basic networking mode (KVM)I have reviewed the script that is called to setup the ebtables, but if I alter that, I would believe that would open all ports on all my instances. I just simply want the easy ability to add a secondary IP address.I understand this is a feature coming in 4.2, but I also understand this version is a ways out.Any assistance would be GREATLY appreciated!- Maurice
Re: Instance Names
You suggest that I should leave my mistake as is. If you are unsure of the issues it may cause upon instance rebooting, I just thought it would be easy to just update a line in the database as it was mentioned to me, in the vm_instance table… On Aug 19, 2013, at 11:46 PM, Marcus Sorensen wrote: > You can edit the display name via API or the UI's edit button, but > that only changes what shows up in the UI, not the name of the host > itself (e.g. when you log in and do 'hostname'). To change the actual > name in the vm_instance table, column 'name'. I'm not entirely sure > what the repercussions of that are. > > On Mon, Aug 19, 2013 at 9:36 PM, Todd Pigram wrote: >> vm_instance >> >> On Monday, August 19, 2013, Maurice Lawler wrote: >> >>> Greetings, >>> >>> I'm hoping someone can point me into the right direction, I have >>> provisioned an instanced; however, I failed to create a name for it. Now in >>> my list of instances, I see the UUID and not a 'custom' name so to speak. >>> I'm sure this can easily be manipulated via the database, however; I am >>> looking through docs etc, unsure where to make changes. >>> >>> Any guidance would be greatly appreciate! >>> >>> - M.
Re: Secondary IP (4.1.1)
It would seem to be perhaps I can add something via this segment in the security policy. try: 193 # -s ! 52:54:0:56:44:32 -j DROP 194 execute("ebtables -t nat -A PREROUTING -i " + vif + " -j " + vmchain_in) 195 execute("ebtables -t nat -A POSTROUTING -o " + vif + " -j " + vmchain_out) 196 except: 197 logging.debug("Failed to program default rules") 198 return 'false' 199 200 try: 201 execute("ebtables -t nat -A " + vmchain_in + " -s ! " + vm_mac + " -j DROP") 202 execute("ebtables -t nat -A " + vmchain_in + " -p ARP -s ! " + vm_mac + " -j DROP") 203 execute("ebtables -t nat -A " + vmchain_in + " -p ARP --arp-mac-src ! " + vm_mac + " -j DROP") 204 if vm_ip is not None: 205 execute("ebtables -t nat -A " + vmchain_in + " -p ARP --arp-ip-src ! " + vm_ip + " -j DROP") 206 execute("ebtables -t nat -A " + vmchain_in + " -p ARP --arp-op Request -j ACCEPT") 207 execute("ebtables -t nat -A " + vmchain_in + " -p ARP --arp-op Reply -j ACCEPT") 208 execute("ebtables -t nat -A " + vmchain_in + " -p ARP -j DROP") 209 except: 210 logging.exception("Failed to program default ebtables IN rules") 211 return 'false' Am I wrong in my thinking? On Aug 19, 2013, at 11:43 PM, Marcus Sorensen wrote: > Well, it depends on how you edit the security_group.py script, it > certainly wouldn't have to open up everything. You could add a > one-liner in there that would pass the instance name to a separate > script that looked up the vm in a table or database and applied extra > rules (in post_default_network_rules), maybe adding something like: > > "ebtables -t nat -I " + vmchain_in + " -p ARP --arp-ip-src " + > secondary_vm_ip + " -j ACCEPT" > > etc. > > Although, that might not be fun to maintain. It would probably be > easier to use the libvirt hooks: http://www.libvirt.org/hooks.html To > call your script whenever a vm starts or stops. You would accept the > guest name as an argument to your script, and then that script could > look up secondary IPs in a table, from a database or file, adding them > to the ebtables chain of the same guest name. > > On Mon, Aug 19, 2013 at 8:03 PM, Maurice Lawler wrote: >> Greetings, >> >> Does anyone have experience in adding a secondary IP address (by way of >> altering the ebtables / security script) in basic networking mode (KVM) >> >> I have reviewed the script that is called to setup the ebtables, but if I >> alter that, I would believe that would open all ports on all my instances. I >> just simply want the easy ability to add a secondary IP address. >> >> I understand this is a feature coming in 4.2, but I also understand this >> version is a ways out. >> >> Any assistance would be GREATLY appreciated! >> >> - Maurice
Instance Names
Greetings, I'm hoping someone can point me into the right direction, I have provisioned an instanced; however, I failed to create a name for it. Now in my list of instances, I see the UUID and not a 'custom' name so to speak. I'm sure this can easily be manipulated via the database, however; I am looking through docs etc, unsure where to make changes. Any guidance would be greatly appreciate! - M.
Secondary IP (4.1.1)
Greetings, Does anyone have experience in adding a secondary IP address (by way of altering the ebtables / security script) in basic networking mode (KVM) I have reviewed the script that is called to setup the ebtables, but if I alter that, I would believe that would open all ports on all my instances. I just simply want the easy ability to add a secondary IP address. I understand this is a feature coming in 4.2, but I also understand this version is a ways out. Any assistance would be GREATLY appreciated! - Maurice
Re: Easiest Way...
Any ETA when this version will be released? On Aug 17, 2013, at 11:43 PM, Venkata SwamyBabu Budumuru wrote: > It is available for both advanced and basic. > > On 18/08/13 12:55 AM, "Maurice Lawler" wrote: > >> Oh, in 4.2 -- will this only be available in advanced networking? Or both >> basic & advanced? >> >> - Maurice >> >> >> On Aug 17, 2013, at 3:56 AM, Venkata SwamyBabu Budumuru >> wrote: >> >>> Hi Maurice, >>> >>> This piece is now automatically done by CloudStack 4.2 release. There >>> is a >>> feature called "secondary Ips / multiple Ips per NIC". You can have a >>> look >>> at the code to see what you need to exactly configure. >>> >>> On 17/08/13 12:05 AM, "Maurice Lawler" wrote: >>> >>>> Greetings, >>>> >>>> What is the easiest way to manipulate a script to allow a instance to >>>> get >>>> a second IP address? I know it would require some fiddling with >>>> ebtables. >>>> >>>> Please provide some additional information, and method to permit this >>>> please. >>>> >>>> - Maurice >>> >> >
Re: Easiest Way...
Oh, in 4.2 -- will this only be available in advanced networking? Or both basic & advanced? - Maurice On Aug 17, 2013, at 3:56 AM, Venkata SwamyBabu Budumuru wrote: > Hi Maurice, > > This piece is now automatically done by CloudStack 4.2 release. There is a > feature called "secondary Ips / multiple Ips per NIC". You can have a look > at the code to see what you need to exactly configure. > > On 17/08/13 12:05 AM, "Maurice Lawler" wrote: > >> Greetings, >> >> What is the easiest way to manipulate a script to allow a instance to get >> a second IP address? I know it would require some fiddling with ebtables. >> >> Please provide some additional information, and method to permit this >> please. >> >> - Maurice >
Re: Admin Password
Got it! Thanks, Chris! :-) "SuichII, Christopher" wrote: >If you look in /developer/developer-prefill.sql, you'll find the >default password already encrypted. Just copy that and set it as the password >for the admin account with mysql at the command line. > >If you need help with that, just let me know and I can write the SQL command >for you. > >-Chris > >On Aug 16, 2013, at 5:19 PM, Maurice Lawler wrote: > >>> >>> >>> Riddle me this… >>> >>> I am unsure as to what the issue is, I installed CS 4.1.1 and created a >>> secondary user, logged out of the Admin portion logged into the regular >>> user and now the admin password does not work. How would one change the >>> password via the database or another method ? >>> >>> - Maurice >> >
Fwd: Admin Password
> > > Riddle me this… > > I am unsure as to what the issue is, I installed CS 4.1.1 and created a > secondary user, logged out of the Admin portion logged into the regular user > and now the admin password does not work. How would one change the password > via the database or another method ? > > - Maurice
Re: Easiest Way...
I recall it being fairly simple, by adding / removing a rule from the ebtables, so my method of thinking isn't to complex, I was hoping someone on the list could point me in the right direction. On Aug 16, 2013, at 3:41 PM, Kelcey Jamison Damage wrote: > Ok so this would make it very difficult to achieve. With Advanced zones you > have the flexibility to make some of this stuff work. Basic was not intended > for this purpose. Advanced zone with SG enabled would give you the tools > needed to accomplish your goal. > > Also if the secondary subnet is NOT for legacy systems support, then the VPC > service would work as well. > > - Original Message - > From: "Maurice Lawler" > To: dev@cloudstack.apache.org > Cc: kel...@backbonetechnology.com > Sent: Friday, August 16, 2013 12:36:32 PM > Subject: Re: Easiest Way... > > I am not utilizing advanced, I am utilizing basic; which I know can be done, > via editing the ebtables, but I cannot recall how to do this. Yes, this > secondary subnet requires it's own gateway. > >
Re: Easiest Way...
I am not utilizing advanced, I am utilizing basic; which I know can be done, via editing the ebtables, but I cannot recall how to do this. Yes, this secondary subnet requires it's own gateway.
Re: Easiest Way...
I understand how to add the virtual interface on the guest. However, doing so, still does not pass traffic to that secondary IP address. Which is why I mentioned ebtables, there is something I would need to add / remove I cannot recall. Also, the secondary IP's is not at all attached to Cloud Stack, completely different subnets. - Maurice On Aug 16, 2013, at 2:42 PM, Kelcey Jamison Damage wrote: > Assuming you don't care about pool sanity, then add an alias script to the > guest [ifcfg-eth0:0] > > - Original Message - > From: "Maurice Lawler" > To: "Cloud Dev" > Sent: Friday, August 16, 2013 11:35:41 AM > Subject: Easiest Way... > > Greetings, > > What is the easiest way to manipulate a script to allow a instance to get a > second IP address? I know it would require some fiddling with ebtables. > > Please provide some additional information, and method to permit this please. > > - Maurice
Easiest Way...
Greetings, What is the easiest way to manipulate a script to allow a instance to get a second IP address? I know it would require some fiddling with ebtables. Please provide some additional information, and method to permit this please. - Maurice
Re: Single Server | Advanced Mode | KVM | Cent OS 6.4
SORRY! I forgot one important thing, I am able to proceed as normal while utilizing the basic zone. I just want to know why the advanced mode is giving me grief. - Maurice On Aug 16, 2013, at 1:02 AM, Maurice Lawler wrote: > Actually, I corrected that issue now I am utilizing a /27 subnet which to me > would mean that's more then enough IP's for both management / guest IPs, or > am I wrong in this thinking; it would appear to be as such. > > Now upon downloading the 5.5 CentOS image as it does when you set it up, I am > getting this error: > > s: 10, > [{"storage.DownloadAnswer":{"jobId":"9b72e224-388f-441d-a3ae-8ca48aac47b0","downloadPct":0,"errorString":"No > route to > host","downloadStatus":"DOWNLOAD_ERROR","downloadPath":"/mnt/SecStorage/dba6a4e8-6548-3688-864a-8f58cd5766dd/template/tmpl/1/4/dnld4673899116561514286tmp_","templateSize":0,"templatePhySicalSize":0,"checkSum":"ed0e788280ff2912ea40f7f91ca7a249","result":false,"details":"No > route to host","wait":0}}] } > > Within the system VM, I am unable to ping out etc. Even when attempting to > utilize another subnet I have, I am still haven the no route to host. > > Any suggestions on how to fix this ? > > - Maurice > > > On Aug 16, 2013, at 12:34 AM, Maurice Lawler wrote: > >> I have reviewed the links you provided (namely one nick) I made the >> interfaces as described, however, upon starting the setup process it stalls >> out (failed network) because cloudstack creates cloudbr0 which is not what I >> set up,so it does not pass through the connections. I had to go in a revert >> the changes cloud stack had made to regain control over my server. >> >> At this time, I'm unable to add my host, it says connection failed, I am >> able to sign into SSH without any issues and ping it none the less. >> >> Error message is: >> >> 2013-08-16 00:24:52,199 DEBUG [kvm.discoverer.KvmServerDiscoverer] >> (catalina-exec-17:null) Timeout, to wait for the host connecting to mgt svr, >> assuming it is failed >> 2013-08-16 00:24:52,201 WARN [cloud.resource.ResourceManagerImpl] >> (catalina-exec-17:null) Unable to find the server resources at >> http://MYACTUALIPADDRESS >> 2013-08-16 00:24:52,209 INFO [utils.exception.CSExceptionErrorCode] >> (catalina-exec-17:null) Could not find exception: >> com.cloud.exception.DiscoveryException in error code list for exceptions >> 2013-08-16 00:24:52,209 WARN [admin.host.AddHostCmd] >> (catalina-exec-17:null) Exception: >> com.cloud.exception.DiscoveryException: Unable to add the host >> at >> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:867) >> 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$Http11Conne
Re: Single Server | Advanced Mode | KVM | Cent OS 6.4
Actually, I corrected that issue now I am utilizing a /27 subnet which to me would mean that's more then enough IP's for both management / guest IPs, or am I wrong in this thinking; it would appear to be as such. Now upon downloading the 5.5 CentOS image as it does when you set it up, I am getting this error: s: 10, [{"storage.DownloadAnswer":{"jobId":"9b72e224-388f-441d-a3ae-8ca48aac47b0","downloadPct":0,"errorString":"No route to host","downloadStatus":"DOWNLOAD_ERROR","downloadPath":"/mnt/SecStorage/dba6a4e8-6548-3688-864a-8f58cd5766dd/template/tmpl/1/4/dnld4673899116561514286tmp_","templateSize":0,"templatePhySicalSize":0,"checkSum":"ed0e788280ff2912ea40f7f91ca7a249","result":false,"details":"No route to host","wait":0}}] } Within the system VM, I am unable to ping out etc. Even when attempting to utilize another subnet I have, I am still haven the no route to host. Any suggestions on how to fix this ? - Maurice On Aug 16, 2013, at 12:34 AM, Maurice Lawler wrote: > I have reviewed the links you provided (namely one nick) I made the > interfaces as described, however, upon starting the setup process it stalls > out (failed network) because cloudstack creates cloudbr0 which is not what I > set up,so it does not pass through the connections. I had to go in a revert > the changes cloud stack had made to regain control over my server. > > At this time, I'm unable to add my host, it says connection failed, I am able > to sign into SSH without any issues and ping it none the less. > > Error message is: > > 2013-08-16 00:24:52,199 DEBUG [kvm.discoverer.KvmServerDiscoverer] > (catalina-exec-17:null) Timeout, to wait for the host connecting to mgt svr, > assuming it is failed > 2013-08-16 00:24:52,201 WARN [cloud.resource.ResourceManagerImpl] > (catalina-exec-17:null) Unable to find the server resources at > http://MYACTUALIPADDRESS > 2013-08-16 00:24:52,209 INFO [utils.exception.CSExceptionErrorCode] > (catalina-exec-17:null) Could not find exception: > com.cloud.exception.DiscoveryException in error code list for exceptions > 2013-08-16 00:24:52,209 WARN [admin.host.AddHostCmd] (catalina-exec-17:null) > Exception: > com.cloud.exception.DiscoveryException: Unable to add the host > at > com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:867) > 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 > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:679) > 2013-08-16 00:24:52,210 INFO [cloud.api.ApiServer] (catalina-exec-17:null) > Unable to add the host > > My ifconfig shows cloudbr0 /
Re: Single Server | Advanced Mode | KVM | Cent OS 6.4
I have reviewed the links you provided (namely one nick) I made the interfaces as described, however, upon starting the setup process it stalls out (failed network) because cloudstack creates cloudbr0 which is not what I set up,so it does not pass through the connections. I had to go in a revert the changes cloud stack had made to regain control over my server. At this time, I'm unable to add my host, it says connection failed, I am able to sign into SSH without any issues and ping it none the less. Error message is: 2013-08-16 00:24:52,199 DEBUG [kvm.discoverer.KvmServerDiscoverer] (catalina-exec-17:null) Timeout, to wait for the host connecting to mgt svr, assuming it is failed 2013-08-16 00:24:52,201 WARN [cloud.resource.ResourceManagerImpl] (catalina-exec-17:null) Unable to find the server resources at http://MYACTUALIPADDRESS 2013-08-16 00:24:52,209 INFO [utils.exception.CSExceptionErrorCode] (catalina-exec-17:null) Could not find exception: com.cloud.exception.DiscoveryException in error code list for exceptions 2013-08-16 00:24:52,209 WARN [admin.host.AddHostCmd] (catalina-exec-17:null) Exception: com.cloud.exception.DiscoveryException: Unable to add the host at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:867) 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 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679) 2013-08-16 00:24:52,210 INFO [cloud.api.ApiServer] (catalina-exec-17:null) Unable to add the host My ifconfig shows cloudbr0 / eth0 / eth0.9 and localhost. What is odd, all the traffic is local, going through the local loop I am right now at 40 megs and it's steadily increasing. Please inform me as to what I am missing…… Maurice On Aug 15, 2013, at 7:07 PM, Marcus Sorensen wrote: > You may be able to leverage the devcloud-kvm configuration as a > reference. You can either use marvin to deploy an edited version of > tools/devcloud-kvm/devcloud-kvm-advanced.cfg (just swapping out your > ip address ranges), or take a look at the example advanced KVM network > configs that I sent out awhile back: > http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-two-nic.rtf > and > http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-one-nic.rtf > . I only mention these options because I've used them quite a bit, and > the public access has consistently worked fine. > > On Thu, Aug 15, 2013 at 4:32 PM, Maurice Lawler wrote: >> Hello, >> >> I'm working with KVM | CloudStack 4.1.1 | CentOS 6.4, I am running into a >> issue where it goes through all the motions of setting up just fine. >> However, I notice when it attempts to download the CentOS template it fails, >> with error message: No Route To Host. I am utilizing two subnets one /27 >> and another /29; this works without issue in basic mode. >> >> My thought is this, I am obviously missing an im
Single Server | Advanced Mode | KVM | Cent OS 6.4
Hello, I'm working with KVM | CloudStack 4.1.1 | CentOS 6.4, I am running into a issue where it goes through all the motions of setting up just fine. However, I notice when it attempts to download the CentOS template it fails, with error message: No Route To Host. I am utilizing two subnets one /27 and another /29; this works without issue in basic mode. My thought is this, I am obviously missing an important step in Advanced Mode setup, is there a need (or a step) that states to create virtual network interfaces on the host server? If there, I am not seeing that step; as when I sign into the System VM's (which provision and come online without issue) I can ping the gateway of the /27 without issue; however, it does not permit my downloading (No Route to Host) along with that, I cannot resolve DNS of any kind of the Console Proxy VM / Secondary Storage VM. If anyone can guide me into the right direction that would be greatly appreciated ! - Maurice
CS 4.1 | KVM | CentOS 6.4 - 64bit | Advanced Network Add Host Error
Greetings, Attempting to 'Add the Host' to CS I keep getting this error message, I am not well with dcyphering what this means entirely, can someone please she some light on this. I have of course removed my IP address this and replaced it with "MYIP".-- Maurice2013-07-11 20:24:25,176 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 routers to update status. 2013-07-11 20:24:25,177 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 networks to update RvR status. 2013-07-11 20:24:25,192 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 routers to update status. 2013-07-11 20:24:25,193 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 networks to update RvR status. 2013-07-11 20:24:55,014 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage UPintenance mode2013-07-11 20:24:55,176 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 routers to update status. 2013-07-11 20:24:55,178 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 networks to update RvR status. 2013-07-11 20:24:55,192 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 routers to update status. 2013-07-11 20:24:55,193 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 netwo2013-07-11 20:25:08,048 INFO [utils.ssh.SSHCmdHelper] (catalina-exec-23:null) Timeout while waiting for data from peer.2013-07-11 20:25:08,053 DEBUG [utils.ssh.SSHCmdHelper] (catalina-exec-23:null) cloudstack-setup-agent -m MYIP -z 1 -p 1 -c 1 -g 6fafb1c2-462b-3306-b55a-c274bcbac1d2 -a --pubNic=cloudbr0 --prvNic=cloudbr0 --guestNic=cloudbr0 output:Configure Nfs ... Configure Cgroup ... 2013-07-11 20:25:09,053 DEBUG [utils.ssh.SSHCmdHelper] (catalina-exec-23:null) Ssh executed failedjava.lang.NullPointerException at com.cloud.utils.ssh.SSHCmdHelper.sshExecuteCmdOneShotWithExitCode(SSHCmdHelper.java:147) at com.cloud.utils.ssh.SSHCmdHelper.sshExecuteCmdOneShot(SSHCmdHelper.java:158) at com.cloud.utils.ssh.SSHCmdHelper.sshExecuteCmd(SSHCmdHelper.java:63) at com.cloud.hypervisor.kvm.discoverer.KvmServerDiscoverer.find(KvmServerDiscoverer.java:215) 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 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679)2013-07-11 20:25:10,310 DEBUG [cloud.server.StatsCollector] (StatsCollector-1:null) VmStatsCollector is running...2013-07-11 20:25:10,310 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:null) HostStatsCollector is running...2013-07-11 20:25:10,373 DEBUG [cloud.server.StatsCollector] (StatsCollector-1:null) StorageCollector is running...2013-07-11 20:25:25,015 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage UPintenance mode
Advanced Networking
Greetings,I've been trying to get this advanced networking going on my server. However, it's just not working; I am utilizing 1 server for everything. KVM |CentOS 6.4| CS 4.1, is there a trick to this that I am JUST not getting. Along with that, it works without issues in basic mode.I just wanted the ability to add additional NIC (IPs) to instances instead of the one provided from DHCP. Can someone perhaps point me into the right direction?- Maurice
Re: Error Message: Cloud Stack
Thank you! This is being deployed on a single machine utilizing KVM as the hypervisor. This is also my attempt at setting it up under Advanced Networking, with the plans later to add additional servers; just wanted to toy with this server. Should the storage not be NFS since its local? As there is an option at the start of the set up. Marcus Sorensen wrote: >InsufficientServerCapacity = You didn't have enough resources to >launch the VM. It can be due to out of memory on hosts, out of CPU, or >not able to find storage. Sometimes this is just due to a mismatch in >service offerings. For example, often in a dev environment you just >set up a local primary storage, but all service offerings reference >shared primary storage, therefore the system can not find a place >matching it's requirements on which to run the VMs. > >On Tue, Jul 9, 2013 at 10:26 PM, Maurice Lawler wrote: >> I have started my cloudstack in advanced mode, however, during the process I >> am seeing this: >> >> >> >> 2013-07-09 23:23:55,920 DEBUG [cloud.capacity.CapacityManagerImpl] >> (consoleproxy-1:null) release cpu from host: 1, old used: 500,reserved: 0, >> actual total: 36256, total with overprovisioning: 36256; new used: >> 0,reserved:0; movedfromreserved: false,moveToReserveredfalse >> 2013-07-09 23:23:55,920 DEBUG [cloud.capacity.CapacityManagerImpl] >> (consoleproxy-1:null) release mem from host: 1, old used: >> 1073741824,reserved: 0, total: 25186906112; new used: 0,reserved:0; >> movedfromreserved: false,moveToReserveredfalse >> 2013-07-09 23:23:55,922 WARN [cloud.consoleproxy.ConsoleProxyManagerImpl] >> (consoleproxy-1:null) Exception while trying to start console proxy >> com.cloud.exception.InsufficientServerCapacityException: Unable to create a >> deployment for VM[ConsoleProxy|v-2-VM]Scope=interface >> com.cloud.dc.DataCenter; id=1 >> at >> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:728) >> at >> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:471) >> at >> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:464) >> at >> com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:632) >> at >> com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:1166) >> at >> com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1989) >> at >> com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:175) >> at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:111) >> at com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:33) >> at com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:81) >> at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72) >> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) >> at >> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) >> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) >> at >> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165) >> at >> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267) >> at >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >> at java.lang.Thread.run(Thread.java:679) >> 2013-07-09 23:23:58,720 DEBUG >> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1 >> is ready to launch secondary storage VM >> >> >> What does this mean? >> >> - Maurice
Error Message: Cloud Stack
I have started my cloudstack in advanced mode, however, during the process I am seeing this:2013-07-09 23:23:55,920 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) release cpu from host: 1, old used: 500,reserved: 0, actual total: 36256, total with overprovisioning: 36256; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse2013-07-09 23:23:55,920 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) release mem from host: 1, old used: 1073741824,reserved: 0, total: 25186906112; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse2013-07-09 23:23:55,922 WARN [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Exception while trying to start console proxycom.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[ConsoleProxy|v-2-VM]Scope=interface com.cloud.dc.DataCenter; id=1 at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:728) at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:471) at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:464) at com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:632) at com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:1166) at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1989) at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:175) at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:111) at com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:33) at com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:81) at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679)2013-07-09 23:23:58,720 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1 is ready to launch secondary storage VMWhat does this mean?- Maurice
Re: CloudStack Mirrors
Agreed, today alone; I am doing another fresh install for some of the RPMs it took 14 minutes. Where others took what appeared seconds. On Jul 09, 2013, at 09:32 PM, Kelly Hair wrote:That would seem to make sense. Great for redundancy, and if the mirrors are on multiple continents then it should help with any bandwidth starved downloaders. On Jul 9, 2013 8:24 PM, "Maurice Lawler" <maurice.law...@me.com> wrote: Greetings,Is there any plan to make use of mirrors for folks downloading / updatingfrom the repo. Or is there one in existence now?- Maurice
System VM
Hello,I'm curious, is this the most recent up to date system VM for download for KVM?http://download.cloud.com/templates/acton/acton-systemvm-02062012.qcow2.bz2
CloudStack Mirrors
Greetings,Is there any plan to make use of mirrors for folks downloading / updating from the repo. Or is there one in existence now?- Maurice
New Install: CS 4.1 | Cent OS 6.4 | KVM
Hello,Fresh install /setup, I am getting error: [root@cloud ~]# /etc/init.d/cloudstack-management start/etc/sysconfig/cloudstack-management: line 21: /etc/cloudstack/management/tomcat6.conf: No such file or directoryStarting cloudstack-management: awk: cmd. line:1: fatal: cannot open file `/etc/cloudstack/management/tomcat6.conf' for reading (No such file or directory)Error code 4 [FAILED]However, I read of a work around, copy tomcat6-nonssl.conf to tomcat6.conf and that allowed me to start the management server.Why is this error on going? https://issues.apache.org/jira/browse/CLOUDSTACK-1802
Advanced Network Errors
Hello gang, I appreciate the help I've had thus far; I am toying with advanced network on my test server, however; setting it up, to what I believe is correct, I am presented with the errors you'll find here: http://pastebin.com/mspH3fZ9Anyone know how to resolve this?- M.
Re: How to remove General / Host Alerts
I found it. :-) - MauriceOn Jun 27, 2013, at 09:26 PM, "Maurice Lawler" wrote:Thank you, I am not seeing that option within Global Settings.On Jun 27, 2013, at 08:25 PM, Alena Prokharchyk wrote:On 6/27/13 5:12 PM, "Maurice Lawler" <maurice.law...@me.com> wrote: >That much I understand, I failed to mention; what table in the DB can I >go to remove these false positives Cloud.alert table > and also change the duration of which they would remain in the UI. You can do it by changing configs: alert.purge.delay alert.purge.interval -Alena. > > > > >On Jun 27, 2013, at 08:06 PM, Mathias Mullins ><mathias.mull...@citrix.com> wrote: > > >So there is no way through the GUI to actually remove the Alerts. They >stay there until they permanently (on the dashboard they will roll-off). > >Matt > >From: Maurice Lawler <maurice.law...@me.commaurice.law...@me.com>> >Reply-To: "dev@cloudstack.apache.orgdev@cloudstack.apache.org>" > <dev@cloudstack.apache.orgdev@cloudstack.apache.org>> >Date: Thursday, June 27, 2013 3:23 PM >To: "dev@cloudstack.apache.orgdev@cloudstack.apache.org>" > <dev@cloudstack.apache.orgdev@cloudstack.apache.org>> >Subject: How to remove General / Host Alerts > >Sorry, for flooding the mailing list today. > >Could someone please inform me as to how to clear 'Alerts' in my UI. > >Under General / Host Alerts. > >- Maurice > > > > > > > >
Re: How to remove General / Host Alerts
Thank you, I am not seeing that option within Global Settings.On Jun 27, 2013, at 08:25 PM, Alena Prokharchyk wrote:On 6/27/13 5:12 PM, "Maurice Lawler" <maurice.law...@me.com> wrote: >That much I understand, I failed to mention; what table in the DB can I >go to remove these false positives Cloud.alert table > and also change the duration of which they would remain in the UI. You can do it by changing configs: alert.purge.delay alert.purge.interval -Alena. > > > > >On Jun 27, 2013, at 08:06 PM, Mathias Mullins ><mathias.mull...@citrix.com> wrote: > > >So there is no way through the GUI to actually remove the Alerts. They >stay there until they permanently (on the dashboard they will roll-off). > >Matt > >From: Maurice Lawler <maurice.law...@me.commaurice.law...@me.com>> >Reply-To: "dev@cloudstack.apache.orgdev@cloudstack.apache.org>" > <dev@cloudstack.apache.orgdev@cloudstack.apache.org>> >Date: Thursday, June 27, 2013 3:23 PM >To: "dev@cloudstack.apache.orgdev@cloudstack.apache.org>" > <dev@cloudstack.apache.orgdev@cloudstack.apache.org>> >Subject: How to remove General / Host Alerts > >Sorry, for flooding the mailing list today. > >Could someone please inform me as to how to clear 'Alerts' in my UI. > >Under General / Host Alerts. > >- Maurice > > > > > > > >
Re: How to remove General / Host Alerts
That much I understand, I failed to mention; what table in the DB can I go to remove these false positives and also change the duration of which they would remain in the UI.On Jun 27, 2013, at 08:06 PM, Mathias Mullins wrote:So there is no way through the GUI to actually remove the Alerts. They stay there until they permanently (on the dashboard they will roll-off). Matt From: Maurice Lawler <maurice.law...@me.commaurice.law...@me.com>> Reply-To: "dev@cloudstack.apache.orgdev@cloudstack.apache.org>" <dev@cloudstack.apache.orgdev@cloudstack.apache.org>> Date: Thursday, June 27, 2013 3:23 PM To: "dev@cloudstack.apache.orgdev@cloudstack.apache.org>" <dev@cloudstack.apache.orgdev@cloudstack.apache.org>> Subject: How to remove General / Host Alerts Sorry, for flooding the mailing list today. Could someone please inform me as to how to clear 'Alerts' in my UI. Under General / Host Alerts. - Maurice
How to remove General / Host Alerts
Sorry, for flooding the mailing list today. Could someone please inform me as to how to clear 'Alerts' in my UI.Under General / Host Alerts. - Maurice
Re: Console Proxy VM failed to start
Hello,Thank you! I was able to access the DB make a few tweaks and I am good to go. =)- MauriceOn Jun 27, 2013, at 06:03 PM, Venkata SwamyBabu Budumuru wrote:Here is the bug which was filed sometime back and tracking the same: https://issues.apache.org/jira/browse/CLOUDSTACK-2813 On 27/06/13 2:56 PM, "Sangeetha Hariharan" <sangeetha.hariha...@citrix.com> wrote: >You can free IPs from op_dc_ip_address_alloc table. > >update nic_id, reservation_id and taken as null for the entry that has >timestamp marked as "taken" but is not being really allocated to any >system Vm yet. > >-Thanks >Sangeetha > >From: Maurice Lawler [mailto:maurice.law...@me.com] >Sent: Thursday, June 27, 2013 2:30 PM >To: dev@cloudstack.apache.org >Cc: aemne...@gmail.com >Subject: Re: Console Proxy VM failed to start > >I think I have found my issue: > >2013-06-27 16:27:44,235 DEBUG [cloud.alert.AlertManagerImpl] >(CapacityChecker:null) System Alert: Number of unallocated private IPs is >low in pod Apollo of availability zone Orion >2013-06-27 16:27:44,235 DEBUG [cloud.alert.AlertManagerImpl] >(CapacityChecker:null) Number of unallocated private IPs is low, total: >5.0, allocated: 5.0 (100%) >2013-06-27 16:27:44,237 DEBUG [cloud.alert.AlertManagerImpl] >(CapacityChecker:null) Have already sent: 1 emails for alert type '5' -- >skipping send email > >However, how can I go through the database to free up IPs? > >On Jun 27, 2013, at 04:47 PM, Ahmad Emneina ><aemne...@gmail.comaemne...@gmail.com>> wrote: >Hey Maurice can you post more logs before the error below. You might want >to post them outside of email, to a site like >pastebin.com<http://pastebin.com>. > >Ahmad > >On Jun 27, 2013, at 12:39 PM, Maurice Lawler ><maurice.law...@me.commaurice.law...@me.com>> wrote: > >> Hello, >> >> I have finally got both system VM's 'Stopped', however, the secondary >>storage is running without issue. Whereas, the console proxy will not >>start, this is from the logs. >> >> 2013-06-27 14:36:52,192 DEBUG [allocator.impl.FirstFitAllocator] >>(consoleproxy-1:FirstFitRoutingAllocator) Host name: lunder.daoenix.com, >>hostId: 9 is in avoid set, skipping this and trying other available hosts >> 2013-06-27 14:36:52,192 DEBUG [allocator.impl.FirstFitAllocator] >>(consoleproxy-1:FirstFitRoutingAllocator) Host Allocator returning 0 >>suitable hosts >> 2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] >>(consoleproxy-1:null) No suitable hosts found >> 2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] >>(consoleproxy-1:null) No suitable hosts found under this Cluster: 1 >> 2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] >>(consoleproxy-1:null) Could not find suitable Deployment Destination for >>this VM under any clusters, returning. >> 2013-06-27 14:36:52,196 DEBUG [cloud.capacity.CapacityManagerImpl] >>(consoleproxy-1:null) VM state transitted from :Starting to Stopped with >>event: OperationFailedvm's original host id: null new host id: null host >>id before state transition: 9 >> 2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] >>(consoleproxy-1:null) Hosts's actual total CPU: 36256 and CPU after >>applying overprovisioning: 36256 >> 2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] >>(consoleproxy-1:null) release cpu from host: 9, old used: 1000,reserved: >>0, actual total: 36256, total with overprovisioning: 36256; new used: >>500,reserved:0; movedfromreserved: false,moveToReserveredfalse >> 2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] >>(consoleproxy-1:null) release mem from host: 9, old used: >>1342177280,reserved: 0, total: 25186906112; new used: >>268435456,reserved:0; movedfromreserved: false,moveToReserveredfalse >> 2013-06-27 14:36:52,201 WARN >>[cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) >>Exception while trying to start console proxy >> com.cloud.exception.InsufficientServerCapacityException: Unable to >>create a deployment for VM[ConsoleProxy|v-40-VM]Scope=interface >>com.cloud.dc.DataCenter; id=1 >> at >>com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManager >>Impl.java:728) >> at >>com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.ja >>va:471) >> at >>com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.ja >>va:464) >> at >>com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyMan >>agerImpl.java:632) >> at >>com.cloud.consoleproxy.
Re: Console Proxy VM failed to start
I think I have found my issue:2013-06-27 16:27:44,235 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) System Alert: Number of unallocated private IPs is low in pod Apollo of availability zone Orion2013-06-27 16:27:44,235 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) Number of unallocated private IPs is low, total: 5.0, allocated: 5.0 (100%)2013-06-27 16:27:44,237 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) Have already sent: 1 emails for alert type '5' -- skipping send emailHowever, how can I go through the database to free up IPs?On Jun 27, 2013, at 04:47 PM, Ahmad Emneina wrote:Hey Maurice can you post more logs before the error below. You might want to post them outside of email, to a site like pastebin.com. Ahmad On Jun 27, 2013, at 12:39 PM, Maurice Lawler <maurice.law...@me.com> wrote: > Hello, > > I have finally got both system VM's 'Stopped', however, the secondary storage is running without issue. Whereas, the console proxy will not start, this is from the logs. > > 2013-06-27 14:36:52,192 DEBUG [allocator.impl.FirstFitAllocator] (consoleproxy-1:FirstFitRoutingAllocator) Host name: lunder.daoenix.com, hostId: 9 is in avoid set, skipping this and trying other available hosts > 2013-06-27 14:36:52,192 DEBUG [allocator.impl.FirstFitAllocator] (consoleproxy-1:FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts > 2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] (consoleproxy-1:null) No suitable hosts found > 2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] (consoleproxy-1:null) No suitable hosts found under this Cluster: 1 > 2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] (consoleproxy-1:null) Could not find suitable Deployment Destination for this VM under any clusters, returning. > 2013-06-27 14:36:52,196 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) VM state transitted from :Starting to Stopped with event: OperationFailedvm's original host id: null new host id: null host id before state transition: 9 > 2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) Hosts's actual total CPU: 36256 and CPU after applying overprovisioning: 36256 > 2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) release cpu from host: 9, old used: 1000,reserved: 0, actual total: 36256, total with overprovisioning: 36256; new used: 500,reserved:0; movedfromreserved: false,moveToReserveredfalse > 2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) release mem from host: 9, old used: 1342177280,reserved: 0, total: 25186906112; new used: 268435456,reserved:0; movedfromreserved: false,moveToReserveredfalse > 2013-06-27 14:36:52,201 WARN [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Exception while trying to start console proxy > com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[ConsoleProxy|v-40-VM]Scope=interface com.cloud.dc.DataCenter; id=1 > at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:728) > at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:471) > at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:464) > at com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:632) > at com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:1166) > at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1989) > at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:175) > at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:111) > at com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:33) > at com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:81) > at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:679) > > > I am not well with reading the logs, what is this trying to tell me?
Console Proxy VM failed to start
Hello,I have finally got both system VM's 'Stopped', however, the secondary storage is running without issue. Whereas, the console proxy will not start, this is from the logs.2013-06-27 14:36:52,192 DEBUG [allocator.impl.FirstFitAllocator] (consoleproxy-1:FirstFitRoutingAllocator) Host name: lunder.daoenix.com, hostId: 9 is in avoid set, skipping this and trying other available hosts2013-06-27 14:36:52,192 DEBUG [allocator.impl.FirstFitAllocator] (consoleproxy-1:FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] (consoleproxy-1:null) No suitable hosts found2013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] (consoleproxy-1:null) No suitable hosts found under this Cluster: 12013-06-27 14:36:52,193 DEBUG [cloud.deploy.FirstFitPlanner] (consoleproxy-1:null) Could not find suitable Deployment Destination for this VM under any clusters, returning. 2013-06-27 14:36:52,196 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) VM state transitted from :Starting to Stopped with event: OperationFailedvm's original host id: null new host id: null host id before state transition: 92013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) Hosts's actual total CPU: 36256 and CPU after applying overprovisioning: 362562013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) release cpu from host: 9, old used: 1000,reserved: 0, actual total: 36256, total with overprovisioning: 36256; new used: 500,reserved:0; movedfromreserved: false,moveToReserveredfalse2013-06-27 14:36:52,199 DEBUG [cloud.capacity.CapacityManagerImpl] (consoleproxy-1:null) release mem from host: 9, old used: 1342177280,reserved: 0, total: 25186906112; new used: 268435456,reserved:0; movedfromreserved: false,moveToReserveredfalse2013-06-27 14:36:52,201 WARN [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Exception while trying to start console proxycom.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[ConsoleProxy|v-40-VM]Scope=interface com.cloud.dc.DataCenter; id=1 at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:728) at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:471) at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:464) at com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:632) at com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:1166) at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1989) at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:175) at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:111) at com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:33) at com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:81) at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679)I am not well with reading the logs, what is this trying to tell me?
Re: system VMS stuck in 'Starting' state.
Is ‘ID’ the UUID, the long string of letters/numbers. If not, how would I get the correct ID? - Maurice On Jun 27, 2013, at 3:16 AM, France wrote: > Your assumptions are correct. > > I've done it like this. Ofcourse you must select appropriate status: > use cloud > update vm_instance set state='Running' where id='293'; > > Regards, > F. > > On 27/6/13 9:30 AM, Maurice Lawler wrote: >> Hello, >> >> How can I manipulate the database to tell CS that the system VMS are stopped >> and not 'Starting' along with that; once stopped I can then either restart >> them and or destroy and let then system recreate, correct?
system VMS stuck in 'Starting' state.
Hello, How can I manipulate the database to tell CS that the system VMS are stopped and not 'Starting' along with that; once stopped I can then either restart them and or destroy and let then system recreate, correct?
Identifying Volumes
Greetings, I have goofed up, I am hoping someone will be kind enough to help hopefully resolve my issue. I have removed a host from my CS UI, however; I did not realize my other host had failed, with that said the message I got was if I were to remove this host I would cause database issues and the guest VM’s would not longer be usable. However, here is what is present in my /storage/primary: -rwxr--r-- 1 root root 256K Jun 26 22:25 0da0acad-a5e4-48a9-8fd4-63caffa96084 -rwxr--r-- 1 nobody nobody 66M Jun 26 22:43 16dd6507-46dd-414b-be76-bcb8e6ee23c5 -rwxr--r-- 1 nobody nobody 256K Jun 26 22:38 4c40fbad-8731-4d6a-afc7-49fd3af52762 -rwxr--r-- 1 nobody nobody 6.5M Jun 26 22:42 5c2fb845-619e-46b8-9aad-64dc94a5f2ea -rwxr--r-- 1 nobody nobody 216M Jun 26 22:32 61589156-83d6-43cd-9d3e-ec7128fd69b9 -rwxr--r-- 1 nobody nobody 873M Apr 25 22:36 62c543da-2b78-4e9b-a1a8-a2e941309b14 -rwxr--r-- 1 nobody nobody 25G Jun 26 21:06 6a69c5e4-c6ee-4c8f-80d8-c1ecc648ac63 -rwxr--r-- 1 nobody nobody 693M Apr 25 20:46 90a88149-4cf3-4687-837c-3160af8d5f4a -rwxr--r-- 1 nobody nobody 22G Jun 26 21:24 bad06d82-87c6-47f9-87ae-338c6da8c935 -rwxr--r-- 1 nobody nobody 3.7G Jun 26 21:39 c718ad4c-2e14-4f73-9a1d-7d9710005629 -rwxr--r-- 1 nobody nobody 12G Jun 26 21:41 d7916e51-d981-4cd8-9492-16977cdf01fa -rwxr--r-- 1 nobody nobody 63G Jun 26 21:38 e98be185-fc62-43d7-a513-ae64ba09d9c2 -rwxr--r-- 1 nobody nobody 256K Apr 29 20:08 ea0900be-8ac8-4e08-b6c7-f000874c0ac1 -rwxr--r-- 1 nobody nobody 27G Jun 26 21:41 f1e26194-64eb-4ed4-8fb7-5f5f0a3da43b -rwxr--r-- 1 nobody nobody 218M Jun 26 21:36 f59a1c03-c51a-4674-b7ff-9d32eb4b3b6c drwxr-xr-x 2 root root 4.0K Jun 26 21:24 KVMHA -rwxr--r-- 1 nobody nobody 10M Jun 26 22:37 r-4-VM-patchdisk -rwxr--r-- 1 root root10M Apr 25 20:48 s-1-VM-patchdisk -rwxr--r-- 1 nobody nobody 10M Jun 7 22:33 s-32-VM-patchdisk -rwxr--r-- 1 nobody nobody 10M Jun 26 22:30 v-2-VM-patchdisk Then this is what I have in my /storage/secondary/volumes: -rwxr--r-- 1 root root 2.5G Jun 10 16:12 7e450b5f-c09a-4727-8435-d2eb28761bee.qcow2 My question is this, in my /storage/primary, are those UUID’s referencing either the volume and/or the actual instance. If so, could I download these and covert them to a image that I can later import once I reload; or could would it just be easier to reload and forget about obtaining the existing instances. Your help would be greatly appreciated! - maurice
Expanding Volumes
Hello, I see one of the features is to expand and/or shrink drives. However, I just encountered I can only do that for secondary drives on a particular instance. Is this feature not readily available to be done via the primary virtual drive of said instance? - Maurice
Hello (Upgrade to 4.1)
I just wanted to follow up, seems as though the communcation has stopped. I am presetly utilizing CS 4.0.2 | KVM | CentOS 6.3 I would like to go ahead and upgrade to CS 4.1 / CentOS 6.4; however, prior to doing so, it would be suggested to pause all containers (instances) as it seems it will be also upgrading the qmenu. Just wanted to make sure. - Maurice
Re: Hello (Upgrade to 4.1)
Thank you. I suspect, since it will be updating the qemu- that I should perhaps stop all VM's prior to upgrading, correct? On 2013-06-06 22:41, David Nalley wrote: That advice is now deprecated. I believe RHT began shipping the patches in 6.2 or 6.3 - so you should be fine with 4.0.x or 4.1 and those version of qemu-* --David On Thu, Jun 6, 2013 at 11:15 PM, Maurice Lawler wrote: Thank you for the update... However, upon installing Cloud Stack MONTHS ago, it was said to NOT utilize qemu-img / qemu-kvm that was included in the CentOS repos. qemu-img x86_64 2:0.12.1.2-2.355.0.1.el6.centos.5 updates 471 k qemu-kvm x86_64 2:0.12.1.2-2.355.0.1.el6.centos.5 updates 1.3 M Those things want to be updated by the centos repos, will that cause my VM's to not come back online?
Re: Hello (Upgrade to 4.1)
Thank you for the update... However, upon installing Cloud Stack MONTHS ago, it was said to NOT utilize qemu-img / qemu-kvm that was included in the CentOS repos. qemu-img x86_64 2:0.12.1.2-2.355.0.1.el6.centos.5 updates 471 k qemu-kvm x86_64 2:0.12.1.2-2.355.0.1.el6.centos.5 updates 1.3 M Those things want to be updated by the centos repos, will that cause my VM's to not come back online?
Hello (Upgrade to 4.1)
Greetings, I am utilizing KVM / CentOS 6.3. / CS 4.0.2 Upon issuing yum update, I am getting a slue of updates for the OS it's self. Previously I was informed that CentOS 6.4 was NOT supported, so I have backed off on updated my OS due to this fact. I have taken a paste bin of what my system is attempting to update: http://pastebin.com/3NtHrUVd Is it okay if I proceed with this upgrade, then I notice the cloud upgrade: http://pastebin.com/b2Th18SB seems very easy/small. Please tell me if I can proceed with both, without issues on my VM's. It seems easy, but I just like to double check. Appreciate your time! - Maurice
System Resources
Hello:Where can I change / update where it is suggested the maximum amount of RAM / Core the compute offering allows.I have 16 Core = 32 Gig RAMBut it seems as though I cannot offer a compute offering with more the 1 core | 1.5 Gig.Please advise,Maurice
Typical Port Listing?
Hello:Is it typical when doing nmap -P0 to get the listing as follows:23/tcp filtered telnet111/tcp open rpcbind2049/tcp open nfs3306/tcp open mysql5900/tcp open vnc5901/tcp open vnc-15902/tcp open vnc-28080/tcp open http-proxy9090/tcp open zeus-admin- Maurice
Password Enabled Template on KVM | CentOS
Hello Everyone:I am having an issue allowing/making cloud-set-guest-password to actually work. How I installed it: Download the script file cloud-set-guest-password: >> >> Linux: http://cloudstack.org/dl/cloud-set-guest-password >> Windows: >> http://sourceforge.net/projects/cloudstack/files/Password%20Management%20Scripts/CloudInstanceManager.msi/download >> >> Copy this file to /etc/init.d. >> On some Linux distributions, copy the file to /etc/rc.d/init.d. >> Run the following command to make the script executable: >> >> chmod +x /etc/init.d/cloud-set-guest-password >> >> Depending on the Linux distribution, continue with the appropriate step. >> On Fedora, CentOS/RHEL, and Debian, run: >> >> chkconfig --add cloud-set-guest-passwordchkconfig output:[root@CentOS63 ~]# chkconfig --list |grep cloud-set-guest-passwordcloud-set-guest-password 0:off 1:off 2:off 3:on 4:on 5:on 6:off[root@CentOS63 ~]# --/var/log/messages[root@CentOS63 ~]# tail -f /var/log/messages Apr 26 15:19:38 CentOS63 cloud: VM has already saved a password from the password server at dhcp/virtualrouterIPApr 26 15:19:38 CentOS63 cloud: Could not find password server IP in /var/lib/dhclient/resolv.conf.predhclient.eth0Apr 26 15:19:38 CentOS63 cloud: Did not need to change password.Apr 26 18:37:51 CentOS63 cloud: Found password server IP dhcp/virtualrouterIPin /var/lib/dhclient/dhclient-eth0.leasesApr 26 18:37:51 CentOS63 cloud: Sending request to password server at dhcp/virtualrouterIPApr 26 18:37:51 CentOS63 cloud: Got response from server at dhcp/virtualrouterIPApr 26 18:37:51 CentOS63 cloud: VM has already saved a password from the password server at dhcp/virtualrouterIPApr 26 18:37:51 CentOS63 cloud: Could not find password server IP in /var/lib/dhclient/resolv.conf.predhclient.eth0Apr 26 18:37:51 CentOS63 cloud: Did not need to change password.--The bash -x output is: [root@CentOS63 ~]# bash -x /etc/init.d/cloud-set-guest-password + user=root+ DHCP_FOLDERS='/var/lib/dhclient/* /var/lib/dhcp3/* /var/lib/dhcp/*'+ password_received=0+ file_count=0+ error_count=0+ for DHCP_FILE in '$DHCP_FOLDERS'+ '[' -f /var/lib/dhclient/dhclient-eth0.leases ']'+ file_count=1++ tr -d '\;'++ awk '{print $NF}'++ tail -1++ grep dhcp-server-identifier /var/lib/dhclient/dhclient-eth0.leases+ PASSWORD_SERVER_IP=IP.OF.INSTANCE+ '[' -n IPOFINSTANCE]'+ logger -t cloud 'Found password server IP IP.OF.INSTANCE in /var/lib/dhclient/dhclient-eth0.leases'+ logger -t cloud 'Sending request to password server at 66.232.104.214'++ wget -q -t 3 -T 20 -O - --header 'DomU_Request: send_my_password' IP.OF.INSTANCE:8080+ password=$'saved_password\r'++ tr -d '\r'++ echo $'saved_password\r'+ password=saved_password+ '[' 0 -eq 0 ']'+ logger -t cloud 'Got response from server at IP.OF.INSTANCE'+ case $password in+ logger -t cloud 'VM has already saved a password from the password server at IP.OF.INSTANCE'+ continue+ for DHCP_FILE in '$DHCP_FOLDERS'+ '[' -f /var/lib/dhclient/resolv.conf.predhclient.eth0 ']'+ file_count=2++ tr -d '\;'++ awk '{print $NF}'++ tail -1++ grep dhcp-server-identifier /var/lib/dhclient/resolv.conf.predhclient.eth0+ PASSWORD_SERVER_IP=+ '[' -n '' ']'+ logger -t cloud 'Could not find password server IP in /var/lib/dhclient/resolv.conf.predhclient.eth0'+ error_count=1+ for DHCP_FILE in '$DHCP_FOLDERS'+ '[' -f '/var/lib/dhcp3/*' ']'+ for DHCP_FILE in '$DHCP_FOLDERS'+ '[' -f '/var/lib/dhcp/*' ']'+ '[' 0 == 0 ']'+ '[' 1 == 2 ']'+ logger -t cloud 'Did not need to change password.'+ exit 0[root@CentOS63 ~]# I hope I have provided enough information for assistance. - Maurice
Re: Cluster Heartbeat
It seems communication is possible, I tested it via telnet on port 8080, from within the guest VM to the DHCP IP that I found within /var/log/messagesReviewing the logs, I see: Apr 26 15:19:38 CentOS63 cloud: VM has already saved a password from the password server at dhcpipApr 26 15:19:38 CentOS63 cloud: Could not find password server IP in /var/lib/dhclient/resolv.conf.predhclient.eth0Apr 26 15:19:38 CentOS63 cloud: Did not need to change password.Apr 26 18:37:51 CentOS63 cloud: Found password server IP dhcpip in /var/lib/dhclient/dhclient-eth0.leasesApr 26 18:37:51 CentOS63 cloud: Sending request to password server at dhcpipApr 26 18:37:51 CentOS63 cloud: Got response from server at dhcpipApr 26 18:37:51 CentOS63 cloud: VM has already saved a password from the password server at dhcpipApr 26 18:37:51 CentOS63 cloud: Could not find password server IP in /var/lib/dhclient/resolv.conf.predhclient.eth0Apr 26 18:37:51 CentOS63 cloud: Did not need to change password.What else would you need to know?On Apr 26, 2013, at 07:58 PM, Kelven Yang wrote:You can either try out devCloud, or running management server in its own machine (could be a VM on your KVM host) to get rid of this KVM limitation. For your password enabled template, depends on which guest OS you are using, to trouble shoot the problem, need a few steps to determine the root cause, but first of all, you need to check the connectivity from within guest VM to DHCP server that you see from inside the guest VM on port 8080. With limited information, it is hard to tell for now. Kelven From: Maurice Lawler <maurice.law...@me.commaurice.law...@me.com>> Date: Friday, April 26, 2013 1:30 PM To: "dev@cloudstack.apache.orgdev@cloudstack.apache.org>" <dev@cloudstack.apache.orgdev@cloudstack.apache.org>> Cc: Kelven Yang <kelven.y...@citrix.comkelven.y...@citrix.com>> Subject: Re: Cluster Heartbeat Kelven, Thanks for the quick response, yes, I have seen no performance issues due to the error; you hit the nail on the head in stating it's annoyance. However, I'll live with the limitation KVM provide; as long as my instances remain running as well as they are. However, the second part of mine; not sure if you have seen my mailing on the password enabled templates? - Maurice On Apr 26, 2013, at 04:27 PM, Kelven Yang <kelven.y...@citrix.comkelven.y...@citrix.com>> wrote: Thanks for the info and this is the explanation, When you add KVM host into management server, it creates network bridge that affects CloudStack management to identify itself (we use MAC address to derive management server ID). This is a limitation of running KVM host and management server in one machine. The message may be annoying, but it should not affect CloudStack from normal functioning Kelven From: Maurice Lawler <maurice.law...@me.commaurice.law...@me.com>maurice.law...@me.commaurice.law...@me.com>>> Date: Friday, April 26, 2013 1:17 PM To: "dev@cloudstack.apache.orgdev@cloudstack.apache.org>dev@cloudstack.apache.orgdev@cloudstack.apache.org>>" <dev@cloudstack.apache.orgdev@cloudstack.apache.org>dev@cloudstack.apache.orgdev@cloudstack.apache.org>>> Cc: Kelven Yang <kelven.y...@citrix.comkelven.y...@citrix.com>kelven.y...@citrix.comkelven.y...@citrix.com>>> Subject: Re: Cluster Heartbeat Hello Kelven, I am using KVM | CentOS 6.3 | CS 4.0.1 All under ONE server. However, I was as mentioned told to remove the 'Down' instances from mshost; restart and the error continues. - Maurice On Apr 26, 2013, at 01:13 PM, Kelven Yang <kelven.y...@citrix.comkelven.y...@citrix.com>kelven.y...@citrix.comkelven.y...@citrix.com>>> wrote: What is your management server cluster setup look like? If it is a one-node setup, how many network interfaces do you have in the management server node? Kelven From: Maurice Lawler <maurice.law...@me.commaurice.law...@me.com>maurice.law...@me.commaurice.law...@me.com>>maurice.law...@me.commaurice.law...@me.com>maurice.law...@me.commaurice.law...@me.com>>>> Reply-To: "dev@cloudstack.apache.orgdev@cloudstack.apache.org>dev@cloudstack.apache.orgdev@cloudstack.apache.org>>dev@cloudstack.apache.orgdev@cloudstack.apache.org>dev@cloudstack.apache.orgdev@cloudstack.apache.org>>>" <dev@cloudstack.apache.orgdev@cloudstack.apache.org>dev@cloudstack.apache.orgdev@cloudstack.apache.org>>dev@cloudstack.apache.orgdev@cloudstack.apache.org>dev@cloudstack.apache.orgdev@cloudstack.apache.org>>>> Date: Thursday, April 25, 2013 8:53 PM To: Cloud Dev <dev@cloudstack.apache.orgdev@cloudstack.apache.org>dev@cloudstack.apache.orgdev@cloudstack.apache.org>>dev@cloudstack.apache.orgdev@cloudstack.apache.org>dev@cloudstack.apache.orgdev@cloudstack.apache.org>>>>, "us...@cloudstack.apache.orgus...@cloudstack.a
Ebtables
Sorry...Could someone please remind me, the chain I would need to delete from ebtables to permit traversing of a secondary IP on a specified instance? == Output from Ebtables ==-A i-2-9-VM-in -s ! 6:2f:ca:0:0:c -j DROP-A i-2-9-VM-in -p ARP -s ! 6:2f:ca:0:0:c -j DROP-A i-2-9-VM-in -p ARP --arp-mac-src ! 6:2f:ca:0:0:c -j DROP-A i-2-9-VM-in -p ARP --arp-ip-src ! 66.232.104.216 -j DROP-A i-2-9-VM-in -p ARP --arp-op Request -j ACCEPT-A i-2-9-VM-in -p ARP --arp-op Reply -j ACCEPT-A i-2-9-VM-in -p ARP -j DROP-A i-2-9-VM-out -p ARP --arp-op Reply --arp-mac-dst ! 6:2f:ca:0:0:c -j DROP-A i-2-9-VM-out -p ARP --arp-ip-dst ! IPADDRESS.OF.INSTANCE -j DROP-A i-2-9-VM-out -p ARP --arp-op Request -j ACCEPT-A i-2-9-VM-out -p ARP --arp-op Reply -j ACCEPT-A i-2-9-VM-out -p ARP -j DROPI'd appreciate any assistance in this matter.
Re: Cluster Heartbeat
Kelven,Thanks for the quick response, yes, I have seen no performance issues due to the error; you hit the nail on the head in stating it's annoyance. However, I'll live with the limitation KVM provide; as long as my instances remain running as well as they are. However, the second part of mine; not sure if you have seen my mailing on the password enabled templates?- MauriceOn Apr 26, 2013, at 04:27 PM, Kelven Yang wrote:Thanks for the info and this is the explanation, When you add KVM host into management server, it creates network bridge that affects CloudStack management to identify itself (we use MAC address to derive management server ID). This is a limitation of running KVM host and management server in one machine. The message may be annoying, but it should not affect CloudStack from normal functioning Kelven From: Maurice Lawler <maurice.law...@me.commaurice.law...@me.com>> Date: Friday, April 26, 2013 1:17 PM To: "dev@cloudstack.apache.orgdev@cloudstack.apache.org>" <dev@cloudstack.apache.orgdev@cloudstack.apache.org>> Cc: Kelven Yang <kelven.y...@citrix.comkelven.y...@citrix.com>> Subject: Re: Cluster Heartbeat Hello Kelven, I am using KVM | CentOS 6.3 | CS 4.0.1 All under ONE server. However, I was as mentioned told to remove the 'Down' instances from mshost; restart and the error continues. - Maurice On Apr 26, 2013, at 01:13 PM, Kelven Yang <kelven.y...@citrix.comkelven.y...@citrix.com>> wrote: What is your management server cluster setup look like? If it is a one-node setup, how many network interfaces do you have in the management server node? Kelven From: Maurice Lawler <maurice.law...@me.commaurice.law...@me.com>maurice.law...@me.commaurice.law...@me.com>>> Reply-To: "dev@cloudstack.apache.orgdev@cloudstack.apache.org>dev@cloudstack.apache.orgdev@cloudstack.apache.org>>" <dev@cloudstack.apache.orgdev@cloudstack.apache.org>dev@cloudstack.apache.orgdev@cloudstack.apache.org>>> Date: Thursday, April 25, 2013 8:53 PM To: Cloud Dev <dev@cloudstack.apache.orgdev@cloudstack.apache.org>dev@cloudstack.apache.orgdev@cloudstack.apache.org>>>, "us...@cloudstack.apache.orgus...@cloudstack.apache.org>us...@cloudstack.apache.orgus...@cloudstack.apache.org>>" <us...@cloudstack.apache.orgus...@cloudstack.apache.org>us...@cloudstack.apache.orgus...@cloudstack.apache.org>>>, "us...@cloudstack.apache.orgus...@cloudstack.apache.org>us...@cloudstack.apache.orgus...@cloudstack.apache.org>>" <us...@cloudstack.apache.orgus...@cloudstack.apache.org>us...@cloudstack.apache.orgus...@cloudstack.apache.org>>> Cc: "cloudstack-...@incubator.apache.orgcloudstack-...@incubator.apache.org>cloudstack-...@incubator.apache.orgcloudstack-...@incubator.apache.org>>" <cloudstack-...@incubator.apache.orgcloudstack-...@incubator.apache.org>cloudstack-...@incubator.apache.orgcloudstack-...@incubator.apache.org>>>, "cloudstack-...@incubator.apache.orgcloudstack-...@incubator.apache.org>cloudstack-...@incubator.apache.orgcloudstack-...@incubator.apache.org>>" <cloudstack-...@incubator.apache.orgcloudstack-...@incubator.apache.org>cloudstack-...@incubator.apache.orgcloudstack-...@incubator.apache.org>>> Subject: Cluster Heartbeat Greetings, Within my log of /var/log/cloud/management/management-cloud.log I am seeing the following: 2013-04-25 22:50:11,081 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Detected management node left, id:1, nodeIP:MYIPADDRESS 2013-04-25 22:50:11,081 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Trying to connect to MYIPADDRESS 2013-04-25 22:50:11,081 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Management node 1 is detected inactive by timestamp but is pingable 2013-04-25 22:50:12,581 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Detected management node left, id:1, nodeIP:MYIPADDRESS 2013-04-25 22:50:12,582 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Trying to connect to MYIPADDRESS 2013-04-25 22:50:12,582 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Management node 1 is detected inactive by timestamp but is pingable 2013-04-25 22:50:14,080 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Detected management node left, id:1, nodeIP:MYIPADDRESS 2013-04-25 22:50:14,080 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Trying to connect to MYIPADDRESS 2013-04-25 22:50:14,080 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Management node 1 is detected inactive by timestamp but is pingable 2013-04-25 22:50:15,579 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Detected management node left, id:1, nodeIP:MYIPADDRESS 2013
Re: Cluster Heartbeat
Hello Kelven,I am using KVM | CentOS 6.3 | CS 4.0.1 All under ONE server. However, I was as mentioned told to remove the 'Down' instances from mshost; restart and the error continues.- MauriceOn Apr 26, 2013, at 01:13 PM, Kelven Yang wrote:What is your management server cluster setup look like? If it is a one-node setup, how many network interfaces do you have in the management server node? Kelven From: Maurice Lawler <maurice.law...@me.commaurice.law...@me.com>> Reply-To: "dev@cloudstack.apache.orgdev@cloudstack.apache.org>" <dev@cloudstack.apache.orgdev@cloudstack.apache.org>> Date: Thursday, April 25, 2013 8:53 PM To: Cloud Dev <dev@cloudstack.apache.orgdev@cloudstack.apache.org>>, "us...@cloudstack.apache.orgus...@cloudstack.apache.org>" <us...@cloudstack.apache.orgus...@cloudstack.apache.org>>, "us...@cloudstack.apache.orgus...@cloudstack.apache.org>" <us...@cloudstack.apache.orgus...@cloudstack.apache.org>> Cc: "cloudstack-...@incubator.apache.orgcloudstack-...@incubator.apache.org>" <cloudstack-...@incubator.apache.orgcloudstack-...@incubator.apache.org>>, "cloudstack-...@incubator.apache.orgcloudstack-...@incubator.apache.org>" <cloudstack-...@incubator.apache.orgcloudstack-...@incubator.apache.org>> Subject: Cluster Heartbeat Greetings, Within my log of /var/log/cloud/management/management-cloud.log I am seeing the following: 2013-04-25 22:50:11,081 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Detected management node left, id:1, nodeIP:MYIPADDRESS 2013-04-25 22:50:11,081 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Trying to connect to MYIPADDRESS 2013-04-25 22:50:11,081 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Management node 1 is detected inactive by timestamp but is pingable 2013-04-25 22:50:12,581 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Detected management node left, id:1, nodeIP:MYIPADDRESS 2013-04-25 22:50:12,582 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Trying to connect to MYIPADDRESS 2013-04-25 22:50:12,582 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Management node 1 is detected inactive by timestamp but is pingable 2013-04-25 22:50:14,080 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Detected management node left, id:1, nodeIP:MYIPADDRESS 2013-04-25 22:50:14,080 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Trying to connect to MYIPADDRESS 2013-04-25 22:50:14,080 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Management node 1 is detected inactive by timestamp but is pingable 2013-04-25 22:50:15,579 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Detected management node left, id:1, nodeIP:MYIPADDRESS 2013-04-25 22:50:15,580 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Trying to connect to MYIPADDRESS 2013-04-25 22:50:15,580 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Management node 1 is detected inactive by timestamp but is pingable 2013-04-25 22:50:17,080 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Detected management node left, id:1, nodeIP:MYIPADDRESS 2013-04-25 22:50:17,081 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Trying to connect to MYIPADDRESS 2013-04-25 22:50:17,081 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Management node 1 is detected inactive by timestamp but is pingable 2013-04-25 22:50:18,581 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Detected management node left, id:1, nodeIP:MYIPADDRESS 2013-04-25 22:50:18,581 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Trying to connect to MYIPADDRESS 2013-04-25 22:50:18,581 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Management node 1 is detected inactive by timestamp but is pingable It was preivously told to me to remove the "down" enttries within the table mshost; however, when I do that the error is no longer, but rebooting cloud-management if I were to make a change seems to revert whatever was done via table and the error reappears. Anyone able to help me resolve this once and for all? - Maurice