CloudStack and New Relic
Has anyone developed a plugin or found a way to monitor CloudStack with New Relic? -- Erik
RE: How to reserve IPs
Franky, If you have to move such number of hosts at production I would recommend you to learn CloudMonkey and have to set-up development environment first. There you can develop migration strategy and execute test-cases for re-partitioning the network. We all learn from experience and there will always be better solution in the future. As I understand the issue is not critical - everything works as expected, but you have some unpleasant side-effects. So, be prepared - develop new network layout, test it at development and execute the same at production. I see no other choice. Doing changes at database level manually is probably the worst thing you may do. Vadim. -Original Message- From: Daan Hoogland [mailto:daan.hoogl...@gmail.com] Sent: Friday, May 08, 2015 10:45 AM To: users@cloudstack.apache.org Subject: Re: How to reserve IPs dirty trick: spin up vms, login, disable startup scripts/remove kernel, brang them down and leave them there to rot. The ip will never be used in cs again. If you like this trick: don't operate a cloud. (don't take this as condescending, just as my view on the thing) Op vr 8 mei 2015 om 09:21 schreef Franky Hall fra...@cartcrafter.com: I wish that were so easy. :( I have 200 VMs running across 5 hosts, and what you described is not a process I have time to learn right now. I do appreciate your reply and advice. Thank you! -Franky On May 7, 2015, at 9:57 PM, Vadim Kimlaychuk vadim.kimlayc...@elion.ee wrote: Hello Franky, I would not reccomend you to change database tables directly in order to fix errors in configuration. It is better to set-up cloudstack again with the proper configuration. Vadim From: Franky Hall fra...@cartcrafter.com Sent: Friday, May 8, 2015 1:22 To: users@cloudstack.apache.org Subject: How to reserve IPs Hello, I made the mistake of putting my entire /22 into cloudstack for private IPs. I need to put some other things into that network (like network file storage), and I’m wondering how I can make sure CloudStack never tries to assign one of the IPs I ‘steal’. Is it as easy as updating the `state` column in the `user_ip_address` table to ‘Allocated’? I’d like to ‘allocate’ about 20 IPs for things not created in CloudStack. Is that safe, or is there another way to do it? Thanks, Franky
Re: Re: cloudstack中如何在zone中的物理网络里 添加某一个ip地址段
大侠,您好! 这个问题,您可以提供帮助吗? 本邮件及其附件所载内容可能含有保密信息并受法律保护,任何人切勿传播、分发、复制、印刷或使用本邮件之任何部分或其所载之任何内容。若您误收本邮件,请通知发件人,并删除原始邮件、附件及其所有复本。 This email (including any attachments) is confidential, may be legally privileged and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited. If you received this message in error, please contact the sender and destroy all copies of this email. 发件人: Hongtu Zang 发送时间: 2015-05-07 11:30 收件人: users-cn 主题: Re: cloudstack中如何在zone中的物理网络里 添加某一个ip地址段 不太清楚你目前的网络环境,但是看log应该是跟现有的IP段有冲突。 你检查一下private Network吧 在 2015年5月7日 上午11:10,xuetong xuet...@snailgame.net写道: 各位前辈、大侠: 我是苏州的cloudstack忠实粉丝。现 我有一个很棘手的问题需要请教。 关于高级网络配置, 在 cloudstack中,无法在zone中的物理网络里 添加某一个ip地址段, 例如,这个物理网络里已经存在两行记录: 第一行:网关 172.180.10.1 子网掩码 255.255.255.0 VLAN 200 开始IP 172.180.10.80 结束IP 172.180.10.90 第一行:网关 172.180.10.1 子网掩码 255.255.255.0 VLAN 200 开始IP 172.180.10.100 结束IP 172.180.10.110 我需要在这个页面再添加第三行IP地址段,但是怎么也无法添加进去: 欲添加第三行:网关 172.180.10.1 子网掩码 255.255.255.0 VLAN 200 开始IP 172.180.10.140 结束IP 172.180.10.160 无法添加进去,且报错: This subnet is overlapped with subnet in other network 253 in zone IDC-CESHI-4-6 . Please specify a different gateway/netmask. 求各位前辈、大侠指教! 致敬! 薛通 本邮件及其附件所载内容可能含有保密信息并受法律保护,任何人切勿传播、分发、复制、印刷或使用本邮件之任何部分或其所载之任何内容。若您误收本邮件,请通知发件人,并删除原始邮件、附件及其所有复本。 This email (including any attachments) is confidential, may be legally privileged and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited. If you received this message in error, please contact the sender and destroy all copies of this email.
Re: How to reserve IPs
I wish that were so easy. :( I have 200 VMs running across 5 hosts, and what you described is not a process I have time to learn right now. I do appreciate your reply and advice. Thank you! -Franky On May 7, 2015, at 9:57 PM, Vadim Kimlaychuk vadim.kimlayc...@elion.ee wrote: Hello Franky, I would not reccomend you to change database tables directly in order to fix errors in configuration. It is better to set-up cloudstack again with the proper configuration. Vadim From: Franky Hall fra...@cartcrafter.com Sent: Friday, May 8, 2015 1:22 To: users@cloudstack.apache.org Subject: How to reserve IPs Hello, I made the mistake of putting my entire /22 into cloudstack for private IPs. I need to put some other things into that network (like network file storage), and I’m wondering how I can make sure CloudStack never tries to assign one of the IPs I ‘steal’. Is it as easy as updating the `state` column in the `user_ip_address` table to ‘Allocated’? I’d like to ‘allocate’ about 20 IPs for things not created in CloudStack. Is that safe, or is there another way to do it? Thanks, Franky
Re: VPC usage scenario
Vadim, Whatever you have tried is a valid scenario. Please report a bug if things are not as expected. -Sanjeev On Wed, May 6, 2015 at 1:09 AM, Vadim Kimlaychuk vadim.kimlayc...@elion.ee wrote: Hello all, 1. I have created VPC and 2 network tiers. 2. Added VM to the 1-st one (default). Got IP by DHCP, everything works so far. 3. Added 2-nd network tier to the same VM at run-time. VIF initialised and I run dhclient for 2nd interface and got IP from 2nd tier. Everything works ... until 4. Reboot 5. After reboot VM console shows : * ???that 1-st network (default) was neglected by DHCP server -- I got NACK for DHCP offer from VM * 2-nd network got ACK from DHCP server and IP, but since it is not default NIC - route is not provided * VM is waiting for default route from VR for 30 seconds and after timeout I have non-working configuration. 1-st interface has no IP, there is no default route. Am I doing something wrong? Can VM have 2 NICs in different tiers or this kind of scenario is prohibited? As far as VM has only 1 NIC everything works fine. Thank you for explaination, Vadim.
Problem with SSVM ?
Hi All, my secondary storage seems died, ISO and templates not appearing correctly from management web UI. Secondary Storage VM is running. CS 4.1.1 on Centos 6.4, on manager log I see: Add host failed due to ModifyStoragePoolCommand failedjava.lang.NullPointerException at com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:540) at com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:111) at com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:104) at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2304) at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1094) at com.cloud.agent.Agent.processRequest(Agent.java:525) at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852) at com.cloud.utils.nio.Task.run(Task.java:83) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run( Does anyone have a workaround or solution for this? Regards, -- Valerio Guaglianone Midhgard S.r.l. C/so Svizzera 185 bis c/o centro Piero Della Francesca 10149 - Torino tel: +39-0117575375 Int. 16 mobile: +39-3386935328 fax: +39-0117768576 sito web: http://www.midhgard.it/
RE: Problem with SSVM ?
Take a look at this for trouble shooting steps https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting Regards Geoff Higginbottom D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 geoff.higginbot...@shapeblue.com -Original Message- From: Andrei Mikhailovsky [mailto:and...@arhont.com] Sent: 08 May 2015 11:30 To: users@cloudstack.apache.org Subject: Re: Problem with SSVM ? Valerio, Please login to SSVM and check if it is running and that the check-ssvm.sh (i believe this is what the script is called, but you can double check by doing find / -type f |grep ssvm ) does not give you any errors. Andrei - Original Message - From: Valerio Guaglianone v.guaglian...@midhgard.it To: users@cloudstack.apache.org Sent: Friday, 8 May, 2015 11:09:31 AM Subject: Problem with SSVM ? Hi All, my secondary storage seems died, ISO and templates not appearing correctly from management web UI. Secondary Storage VM is running. CS 4.1.1 on Centos 6.4, on manager log I see: Add host failed due to ModifyStoragePoolCommand failedjava.lang.NullPointerException at com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:540) at com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:111) at com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:104) at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2304) at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1094) at com.cloud.agent.Agent.processRequest(Agent.java:525) at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852) at com.cloud.utils.nio.Task.run(Task.java:83) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run( Does anyone have a workaround or solution for this? Regards, -- Valerio Guaglianone Midhgard S.r.l. C/so Svizzera 185 bis c/o centro Piero Della Francesca 10149 - Torino tel: +39-0117575375 Int. 16 mobile: +39-3386935328 fax: +39-0117768576 sito web: http://www.midhgard.it/ Find out more about ShapeBlue and our range of CloudStack related services IaaS Cloud Design Buildhttp://shapeblue.com/iaas-cloud-design-and-build// CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/ CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/ CloudStack Software Engineeringhttp://shapeblue.com/cloudstack-software-engineering/ CloudStack Infrastructure Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
Re: How to reserve IPs
Hi Vadim, Now that answer is spot-on. This development environment grew into a larger site than I expected. I can migrate the VMs; they do not require 100% uptime, but the owners do like them up m-f 8-5 ya know? I plan to build out another environment and move things into it, but that will take some time. This is the first cloudstack installation I’ve done and so far things work pretty well. I’ve had to iron out a few kinks here and there, but things have been fine so far and I’m reasonably pleased with the product. Thank you, again, for your feedback. I will look into cloud monkey, it sounds like a tool I will find useful. Warm regards, Franky On May 8, 2015, at 1:10 AM, Vadim Kimlaychuk vadim.kimlayc...@elion.ee wrote: Franky, If you have to move such number of hosts at production I would recommend you to learn CloudMonkey and have to set-up development environment first. There you can develop migration strategy and execute test-cases for re-partitioning the network. We all learn from experience and there will always be better solution in the future. As I understand the issue is not critical - everything works as expected, but you have some unpleasant side-effects. So, be prepared - develop new network layout, test it at development and execute the same at production. I see no other choice. Doing changes at database level manually is probably the worst thing you may do. Vadim. -Original Message- From: Daan Hoogland [mailto:daan.hoogl...@gmail.com] Sent: Friday, May 08, 2015 10:45 AM To: users@cloudstack.apache.org Subject: Re: How to reserve IPs dirty trick: spin up vms, login, disable startup scripts/remove kernel, brang them down and leave them there to rot. The ip will never be used in cs again. If you like this trick: don't operate a cloud. (don't take this as condescending, just as my view on the thing) Op vr 8 mei 2015 om 09:21 schreef Franky Hall fra...@cartcrafter.com: I wish that were so easy. :( I have 200 VMs running across 5 hosts, and what you described is not a process I have time to learn right now. I do appreciate your reply and advice. Thank you! -Franky On May 7, 2015, at 9:57 PM, Vadim Kimlaychuk vadim.kimlayc...@elion.ee wrote: Hello Franky, I would not reccomend you to change database tables directly in order to fix errors in configuration. It is better to set-up cloudstack again with the proper configuration. Vadim From: Franky Hall fra...@cartcrafter.com Sent: Friday, May 8, 2015 1:22 To: users@cloudstack.apache.org Subject: How to reserve IPs Hello, I made the mistake of putting my entire /22 into cloudstack for private IPs. I need to put some other things into that network (like network file storage), and I’m wondering how I can make sure CloudStack never tries to assign one of the IPs I ‘steal’. Is it as easy as updating the `state` column in the `user_ip_address` table to ‘Allocated’? I’d like to ‘allocate’ about 20 IPs for things not created in CloudStack. Is that safe, or is there another way to do it? Thanks, Franky
Re: FIXED: VMware Storage vMotion
Very good howto, this should be posted on a wiki! Den fredag 8. mai 2015 skrev Timothy Lothering tlother...@datacentrix.co.za følgende: Hi, I am not sure if this is the right place to post workarounds/fixes, if not please advise. Fix only tested in CCP 4.3.0.2 Cause: 1. Migrating a VM outside of CloudPlatform/ACS using VMware Storage Live Migration (VMs are online when performing this move) 2. VM Agent does not register Storage Path Change Effect: 1. VMs might randomly shutdown (Protection mechanism) 2. Starting VMs from UI will fail 3. Any storage changes will not work a. Modifying Volume size b.Deleting Volumes c. Snapshots (Disk VM) 4. Many Errors/Warnings in MS Log Files Workaround/Fix 1. In CloudPlatform/ACS Locate the ID of the store where you Storage vMotioned the VM to: a. i.e. Storage Pool Name = Storage Pool ID 2. In CloudMonkey, locate the VM where the changed Volumes are and note the ID of the VM: a. list virtualmachines instancename=The VMs Instance Name listall=true filter=name,id 3. In CloudMonkey, list all the Volumes of the above VM: a. list volumes virtualmachineid=Virtual Machine ID listall=true filter=name,storage,storageid,id,path 4. Take note of the following: a. Name – It will reference to the Volume which needs to be migrated b. Storage – Where the Volume resides in the CloudPlatform/ACS DB c. Storageid – The Storage ID of the OLD Datastore (This ID needs to be changed in the command below) d. Path – The Physical .VMDK filename in the NEW datastore 5. In CloudMonkey, update the VM’s “Storageid” and “Path” a. update volume id=Volume ID storageid=Storage ID path=.VMDK Filename – without the .VMDK extension 6. In CloudMonkey, run the following command to ensure that the storage location has been changed: a. list volumes virtualmachineid=Virtual Machine ID listall=true filter=name,storage,storageid,id,path i. Confirm STORAGE change ii. Confirm STORAGEID change iii. Confirm PATH change Regards, From: Timothy Lothering [mailto:tlother...@datacentrix.co.za javascript:;] Sent: 07 May 2015 10:45 AM To: users@cloudstack.apache.org javascript:; Subject: VMware Storage vMotion Hi, Is it possible to migrate VM Instance storage outside of ACS? Specically, can you use VMware’s Storage vMotion instead of powering down the VM first? I have tested this and it seems that the VM is fine, but the DB has not updated the new location Running CCP 4.3.0.2 Regards, [www.datacentrix.co.za]http://www.datacentrix.co.za Timothy Lothering Solutions Architect Managed Services T: +27877415535 F: +27877415100 C: +27824904099 E: tlother...@datacentrix.co.za javascript:;mailto: tlother...@datacentrix.co.za javascript:; www.datacentrix.co.zahttp://www.datacentrix.co.za/ Serious about performance, passionate about value [cid:115050710445002669@za-mta-18.za.mimecast.lan] https://mail28.mimecast.co.za/mimecast/click?account=CSA14A19code=a1f441a0d08a00266a71192971733113 Disclaimer Everything in this e-mail and any attachments relating to the official business of Datacentrix Holdings Ltd. and its subsidiaries ('Datacentrix') is proprietary to Datacentrix. It is confidential, legally privileged and protected by law. Datacentrix does not own and endorse any other content. Views and opinions are those of the sender unless clearly stated as being that of Datacentrix. The person addressed in the e-mail is the sole authorised recipient. Please notify the sender immediately if it has unintentionally reached you and do not read, disclose or use the content in any way. Datacentrix cannot assure that the integrity of this communication has been maintained nor that it is free of errors, virus, interception or interference. [cid:115050710445002769@za-mta-18.za.mimecast.lan]
FIXED: VMware Storage vMotion
Hi, I am not sure if this is the right place to post workarounds/fixes, if not please advise. Fix only tested in CCP 4.3.0.2 Cause: 1. Migrating a VM outside of CloudPlatform/ACS using VMware Storage Live Migration (VMs are online when performing this move) 2. VM Agent does not register Storage Path Change Effect: 1. VMs might randomly shutdown (Protection mechanism) 2. Starting VMs from UI will fail 3. Any storage changes will not work a. Modifying Volume size b.Deleting Volumes c. Snapshots (Disk VM) 4. Many Errors/Warnings in MS Log Files Workaround/Fix 1. In CloudPlatform/ACS Locate the ID of the store where you Storage vMotioned the VM to: a. i.e. Storage Pool Name = Storage Pool ID 2. In CloudMonkey, locate the VM where the changed Volumes are and note the ID of the VM: a. list virtualmachines instancename=The VMs Instance Name listall=true filter=name,id 3. In CloudMonkey, list all the Volumes of the above VM: a. list volumes virtualmachineid=Virtual Machine ID listall=true filter=name,storage,storageid,id,path 4. Take note of the following: a. Name – It will reference to the Volume which needs to be migrated b. Storage – Where the Volume resides in the CloudPlatform/ACS DB c. Storageid – The Storage ID of the OLD Datastore (This ID needs to be changed in the command below) d. Path – The Physical .VMDK filename in the NEW datastore 5. In CloudMonkey, update the VM’s “Storageid” and “Path” a. update volume id=Volume ID storageid=Storage ID path=.VMDK Filename – without the .VMDK extension 6. In CloudMonkey, run the following command to ensure that the storage location has been changed: a. list volumes virtualmachineid=Virtual Machine ID listall=true filter=name,storage,storageid,id,path i. Confirm STORAGE change ii. Confirm STORAGEID change iii. Confirm PATH change Regards, From: Timothy Lothering [mailto:tlother...@datacentrix.co.za] Sent: 07 May 2015 10:45 AM To: users@cloudstack.apache.org Subject: VMware Storage vMotion Hi, Is it possible to migrate VM Instance storage outside of ACS? Specically, can you use VMware’s Storage vMotion instead of powering down the VM first? I have tested this and it seems that the VM is fine, but the DB has not updated the new location Running CCP 4.3.0.2 Regards, [www.datacentrix.co.za]http://www.datacentrix.co.za Timothy Lothering Solutions Architect Managed Services T: +27877415535 F: +27877415100 C: +27824904099 E: tlother...@datacentrix.co.zamailto:tlother...@datacentrix.co.za www.datacentrix.co.zahttp://www.datacentrix.co.za/ Serious about performance, passionate about value [cid:115050710445002669@za-mta-18.za.mimecast.lan]https://mail28.mimecast.co.za/mimecast/click?account=CSA14A19code=a1f441a0d08a00266a71192971733113 Disclaimer Everything in this e-mail and any attachments relating to the official business of Datacentrix Holdings Ltd. and its subsidiaries ('Datacentrix') is proprietary to Datacentrix. It is confidential, legally privileged and protected by law. Datacentrix does not own and endorse any other content. Views and opinions are those of the sender unless clearly stated as being that of Datacentrix. The person addressed in the e-mail is the sole authorised recipient. Please notify the sender immediately if it has unintentionally reached you and do not read, disclose or use the content in any way. Datacentrix cannot assure that the integrity of this communication has been maintained nor that it is free of errors, virus, interception or interference. [cid:115050710445002769@za-mta-18.za.mimecast.lan]
Re: Unable to mount Secondary Storage on SSVM
Srini, you need to make sure the nfs server is configured properly to allow access from SSVM, as you can see, the access is denied. please check that the nfs server supports the same protocol version as ssvm is requesting. Most likely, it's nfs v3. Check logs on the nfs server to verify why it is denying access. Once this is fixed, you should be good to go. Andrei - Original Message - From: srinivas niddapu sr...@axiomio.com To: Rohit Yadav rohit.ya...@shapeblue.com, d...@cloudstack.apache.org Cc: users@cloudstack.apache.org Sent: Friday, 8 May, 2015 2:03:10 PM Subject: RE: Unable to mount Secondary Storage on SSVM Appreciated info Rohit. As we verified our NFS storage there is no permission restrictions (* FULL ACCESS). Validated the same NFS share on the Cloud Stack Hypervisors, already mounted and data visible. We try to mount the NFS volume in the SSVM manually but its throwing error. Unable to mount. mount.nfs: access denied by server while mounting While restoring snapshot in the CloudStack UI getting below error. Status Failed to create templatecom.cloud.utils.exception.CloudRuntimeException: GetRootDir for nfs://172.30.36.51/vS02304090GCSP_NAS07 failed due to com.cloud.utils.exception.CloudRuntimeException: Unable to mount 172.30.36.51:/vS02304090GCSP_NAS07 at /mnt/SecStorage/1c7f122c-e72e-3daa-a54a-3693b89d4015 due to mount.nfs: access denied by server while mounting 172.30.36.51:/vS02304090GCSP_NAS07 at org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.getRootDir(NfsSecondaryStorageResource.java:1956) at org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.copySnapshotToTemplateFromNfsToNfsXenserver(NfsSecondaryStorageResource.java:377) at org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.copySnapshotToTemplateFromNfsToNfs(NfsSecondaryStorageResource.java:444) at org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.createTemplateFromSnapshot(NfsSecondaryStorageResource.java:553) at org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.execute(NfsSecondaryStorageResource.java:632) at org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.executeRequest(NfsSecondaryStorageResource.java:236) at com.cloud.storage.resource.PremiumSecondaryStorageResource.defaultAction(PremiumSecondaryStorageResource.java:63) at com.cloud.storage.resource.PremiumSecondaryStorageResource.executeRequest(PremiumSecondaryStorageResource.java:59) at com.cloud.agent.Agent.processRequest(Agent.java:498) at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:806) at com.cloud.utils.nio.Task.run(Task.java:83) 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) Any suggestions. Thanks, Srini. -Original Message- From: Rohit Yadav [mailto:rohit.ya...@shapeblue.com] Sent: Friday, May 08, 2015 5:57 PM To: d...@cloudstack.apache.org Cc: users@cloudstack.apache.org; srinivas niddapu Subject: Re: Unable to mount Secondary Storage on SSVM On 08-May-2015, at 2:05 pm, anil lakineni anilkumar459.lakin...@gmail.com wrote: and this Secondary Storage path is mounting and working with all other servers except with SSVM.. Getting error mount.nfs: access denied by server while mounting xx.xx.xx.xx:/ Check your nfs exports file and do a chmod 777 on the mount points, such as /export/secondary or /export/primary. Regards, Rohit Yadav Software Architect, ShapeBlue M. +91 88 262 30892 | rohit.ya...@shapeblue.com Blog: bhaisaab.org | Twitter: @_bhaisaab Find out more about ShapeBlue and our range of CloudStack related services IaaS Cloud Design Buildhttp://shapeblue.com/iaas-cloud-design-and-build// CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/ CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/ CloudStack Software Engineeringhttp://shapeblue.com/cloudstack-software-engineering/ CloudStack Infrastructure Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in
Re: Foreman Cloudstack provider
https://github.com/citrix/foreman-cloudstack --David On Fri, May 8, 2015 at 8:00 AM, Nux! n...@li.nux.ro wrote: Hello, I'm playing with The Foreman these days and promises a lot. Ideally I'd like to use ACS as a Foreman provider (ie Foreman should be able to provision ACS instances), but I have found nothing about this in my searches. Is anyone doing anything with Foreman and Cloudstack? Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Adding Second Zone
Thanks Geoff. On the secondary conversion to S3, can you give me more information about the problems there? I presume that the updateCloudToUseObjectStore API is designed for exactly this scenario. According to the docs from Citrix, which are very thin on the topic, the old NFS is retained as staging store after the conversion and the existing snaps etc. stay there, and templates/volumes can migrate with certain API fuctions (extractVolume, etc.). Is it just not recommended at all to convert to object store, even though there is functionality for it? The reason I am considering S3 is that we want region-wide secondary storage for DR purposes. If the primary datacenter suffers catastrophic failure I need to be able to restore VMs from snapshot on secondary storage to the secondary site. I am replicating my existing NFS secondary storage from each site to the other site, but it's a manual process to import VHDs for recovery if disaster strikes. Chris - Original Message - From: Geoff Higginbottom geoff.higginbot...@shapeblue.com To: users@cloudstack.apache.org users@cloudstack.apache.org Sent: Thursday, May 7, 2015 4:16:34 PM Subject: Re: Adding Second Zone Hi Christopher, Re seeding secondary storage with system VM tempate, it's best if you do, however if the SSVM in the first zone has a route to the secondary storage in the new zone you can use the copy template command. If when you added other templates you added them as all zones and not specifically for the first zone, once the new zone is online and the SSVM is running you should see them automatically replicate across. You can copy templates between zones from the UI or API. Regarding adding S3 backed secondary storage at a later date, you will run into problems with volume snapshots and the cleanest approach would be to add it on day one, or if adding later delete all the snapshots and then remove the exiting secondary storage, before adding the the new one, but that can also be a tricky task. Regards Geoff Higginbottom CTO / Cloud Architect D: +44 20 3603 0542tel:+442036030542 | S: +44 20 3603 0540tel:+442036030540 | M: +447968161581tel:+447968161581 geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.com | www.shapeblue.comhtp://www.shapeblue.com/ | Twitter:@cloudstackguruhttps://twitter.com/#!/cloudstackguru ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HSx-apple-data-detectors://5 On 7 May 2015, at 21:01, Christopher Falk christopher.f...@reliablenetworks.commailto:christopher.f...@reliablenetworks.com wrote: I'm running commercial CP 4.5 Hotfix 3 and we're about to deploy a second site. I've been searching the CP and CS docs and mailing list for some of the pitfalls and haven't found a lot of information so I'm jumping in here with some questions. I'd love to learn from those who've done it already. Our current environment looks like: * 6-host XenServer 6.2 SP1 cluster in a single pod/zone. * Two management servers and a DB master/slave in the same datacenter as the compute. * iSCSI primary storage, NFS secondary. We've got a brand new XenServer 6.5 cluster ready to go in our second datacenter with a high-bandwidth redundant link to the first DC. We intend to create a second zone in the new facility and leave management in the first one for now. I've got the following questions I was hoping for some wisdom on: * Do I need to seed the system VM template to the NFS secondary storage in the new zone before I create the zone, or does it get copied from the first zone SS when creating the second? * Is it possible to copy templates between zones directly without export/import? * Our eventual goal is S3 region-wide secondary storage later in the year. Has anybody done the conversion successfully? My lab tests have been challenging against a RiakCS backend, with a successful API call for the conversion, but failing snapshot copies from XenServer to S3. The lab was on XenServer 6.5 - I haven't tried 6.2SP1 with S3. Thanks, Chris Find out more about ShapeBlue and our range of CloudStack related services IaaS Cloud Design Buildhttp://shapeblue.com/iaas-cloud-design-and-build// CSForge - rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/ CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/ CloudStack Software Engineeringhttp://shapeblue.com/cloudstack-software-engineering/ CloudStack Infrastructure Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither
Re: libvirt exception
On 2015-05-07 16:41, Daan Hoogland wrote: But if your patient I'll get there. I'm here to see it through to the end ;) The good news is Remi's note worked. I've included output below. On 2015-05-07 16:42, Remi Bergsma wrote: Hi Mike, Can you check if the agent has debug logging enabled in log4j.xml? If not, this enables it: sed -i 's/INFO/DEBUG/g' /etc/cloudstack/agent/log4j-cloud.xml Restart agent, then try again and we should see more logs. I've included logs on both the source agent which is currently running the VM and the destination agent which is the target of the migrate. = == Source Agent = 2015-05-08 09:58:13,943 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) Request:Seq 1-5821465468329787407: { Cmd , MgmtId: 114374076129940, via: 1, Ver: v1, Flags: 100011, [{com.cloud.agent.api.MigrateCommand:{vmName:r-93-VM,destIp:172.16.16.31,hostGuid:9a421209-fb8b-30ad-8304-95a4e33f3286-LibvirtComputingResource,isWindows:false,vmTO:{id:93,name:r-93-VM,type:DomainRouter,cpus:1,minSpeed:500,maxSpeed:500,minRam:268435456,maxRam:268435456,arch:x86_64,os:Debian GNU/Linux 7(64-bit),platformEmulator:Other,bootArgs:,rebootOnCrash:false,enableHA:true,limitCpuUse:false,enableDynamicallyScaleVm:false,vncPassword:2b74e551cba07566,params:{},uuid:5269e919-564a-4986-92c1-07464e99e3ce,disks:[{data:{org.apache.cloudstack.storage.to.VolumeObjectTO:{uuid:c1b45654-5e74-420e-bf91-5beb745546f8,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:d5174632-721e-39ed-b93b-462539f63c77,id:1,poolType:NetworkFilesystem,host:172.16.16.25,path:/srv/cloudstack/primary/0001,port:2049,url:NetworkFilesystem://172.16.16.25/srv/cloudstack/primary/0001/?ROLE=PrimarySTOREUUID=d5174632-721e-39ed-b93b-462539f63c77}},name:ROOT-93,size:262144,path:c1b45654-5e74-420e-bf91-5beb745546f8,volumeId:132,vmName:r-93-VM,accountId:2,format:QCOW2,id:132,deviceId:0,cacheMode:NONE,hypervisorType:KVM}},diskSeq:0,path:c1b45654-5e74-420e-bf91-5beb745546f8,ty pe:ROOT,_details:{managed:false,storagePort:2049,storageHost:172.16.16.25,volumeSize:262144}}],nics:[{deviceId:0,networkRateMbps:200,defaultNic:false,nicUuid:3ae999b5-9d59-431a-a41b-7dbeb90c5509,uuid:a011df28-a322-4d94-bf31-1f4fbb7a869b,ip:172.16.18.1,netmask:255.255.255.0,mac:02:00:6b:5b:00:03,dns1:172.16.17.2,dns2:,broadcastType:Vlan,type:Guest,broadcastUri:vlan://1209,isolationUri:vlan://1209,isSecurityGroupEnabled:false,name:cloudbr1},{deviceId:1,networkRateMbps:-1,defaultNic:false,nicUuid:cd17fc0c-164e-4fe8-acc0-36a13f37f5aa,uuid:0e669946-5f4d-4c51-9b2e-564edc1dc06a,ip:169.254.3.203,netmask:255.255.0.0,gateway:169.254.0.1,mac:0e:00:a9:fe:03:cb,broadcastType:LinkLocal,type:Control,isSecurityGroupEnabled:false},{deviceId:2,networkRateMbps:200,defaultNic:true,nicUuid:9bc37269-68d5-40b8-ac08-4b60ccab5d0f,uuid:80c92696-16cb-427e-855a-a2ac01c34ebc,i p:172.16.17.202,netmask:255.255.255.0,gateway:172.16.17.2,mac:06:13:ca:00:00:36,dns1:172.16.17.2,dns2:,broadcastType:Vlan,type:Public,broadcastUri:vlan://untagged,isolationUri:vlan://untagged,isSecurityGroupEnabled:false,name:cloudbr0}]},executeInSequence:false,wait:0}}] } 2015-05-08 09:58:13,943 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) Processing command: com.cloud.agent.api.MigrateCommand 2015-05-08 09:58:13,975 INFO [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Live migration of instance r-93-VM initiated 2015-05-08 09:58:14,277 INFO [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Migration thread for r-93-VM is done 2015-05-08 09:58:14,278 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Failed to execute while migrating domain: org.libvirt.LibvirtException: Cannot get interface MTU on 'brbond0-1209': No such device 2015-05-08 09:58:14,290 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) Seq 1-5821465468329787407: { Ans: , MgmtId: 114374076129940, via: 1, Ver: v1, Flags: 10, [{com.cloud.agent.api.MigrateAnswer:{result:false,details:org.libvirt.LibvirtException: Cannot get interface MTU on 'brbond0-1209': No such device,wait:0}}] } = === Destination Agent = 2015-05-08 09:58:13,766 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) Request:Seq 18-630503947831869460: { Cmd , MgmtId: 114374076129940, via: 18, Ver: v1, Flags: 100111, [{com.cloud.agent.api.PrepareForMigrationCommand:{vm:{id:93,name:r-93-VM,type:DomainRouter,cpus:1,minSpeed:500,maxSpeed:500,minRam:268435456,maxRam:268435456,arch:x86_64,os:Debian GNU/Linux
Re: Foreman Cloudstack provider
Thanks David, I found that, but thought it was for deploying/managing hypervisors. Anyway, it does not help me as I do not use Adv zone. Good job, though! Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: David Nalley da...@gnsa.us To: d...@cloudstack.apache.org Cc: Cloudstack Users List users@cloudstack.apache.org Sent: Friday, 8 May, 2015 15:12:54 Subject: Re: Foreman Cloudstack provider https://github.com/citrix/foreman-cloudstack --David On Fri, May 8, 2015 at 8:00 AM, Nux! n...@li.nux.ro wrote: Hello, I'm playing with The Foreman these days and promises a lot. Ideally I'd like to use ACS as a Foreman provider (ie Foreman should be able to provision ACS instances), but I have found nothing about this in my searches. Is anyone doing anything with Foreman and Cloudstack? Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Haproxy and MGMT server port 8250 problem
tcp mode for backend was missing... sorry for spamming... On 8 May 2015 at 17:36, Andrija Panic andrija.pa...@gmail.com wrote: Hi, we are trying to setup ACS to loadbalance ACS MGMT ports - all fine except 8250: basic settings: frontend front_ACS_8250 10.xx.10.100:8250 option tcplog mode tcp default_backend back_8250 backend back_8250 balance source server acs1_8250 10.XXX.10.7:8250 check port 8250 inter 2000 rise 3 fall 3 server acs2_8250 10.XXX.10.8:8250 check port 8250 inter 2000 rise 3 fall 3 Front end is alive (443--8080), and all fine Then we try to change agent.properties to point to 10.XXX.10.100 -VIP. And restart agent. Then we get error in agent.log: 2015-05-08 17:09:21,691 INFO [utils.nio.NioClient] (Agent-Selector:null) Connecting to 10.XXX.10.100:8250 2015-05-08 17:09:21,702 ERROR [utils.nio.NioConnection] (Agent-Selector:null) Unable to initialize the threads. java.io.IOException: SSL: Fail to init SSL! javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at com.cloud.utils.nio.NioClient.init(NioClient.java:90) at com.cloud.utils.nio.NioConnection.run(NioConnection.java:113) at java.lang.Thread.run(Thread.java:745) I dont know what the problem would be, haproxy is set in TCP MODE, and it's done per guides on ACS docs, and other tutorials on google. Any help appreciated. -- Andrija Panić -- Andrija Panić
Re: libvirt exception
H Mike, good to hear. I will have a look at it later this week end On Fri, 8 May 2015 16:02 Mike C mcrosson_cloudst...@nusku.net wrote: On 2015-05-07 16:41, Daan Hoogland wrote: But if your patient I'll get there. I'm here to see it through to the end ;) The good news is Remi's note worked. I've included output below. On 2015-05-07 16:42, Remi Bergsma wrote: Hi Mike, Can you check if the agent has debug logging enabled in log4j.xml? If not, this enables it: sed -i 's/INFO/DEBUG/g' /etc/cloudstack/agent/log4j-cloud.xml Restart agent, then try again and we should see more logs. I've included logs on both the source agent which is currently running the VM and the destination agent which is the target of the migrate. = == Source Agent = 2015-05-08 09:58:13,943 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) Request:Seq 1-5821465468329787407: { Cmd , MgmtId: 114374076129940, via: 1, Ver: v1, Flags: 100011, [{com.cloud.agent.api.MigrateCommand:{vmName:r-93-VM,destIp:172.16.16.31,hostGuid:9a421209-fb8b-30ad-8304-95a4e33f3286-LibvirtComputingResource,isWindows:false,vmTO:{id:93,name:r-93-VM,type:DomainRouter,cpus:1,minSpeed:500,maxSpeed:500,minRam:268435456,maxRam:268435456,arch:x86_64,os:Debian GNU/Linux 7(64-bit),platformEmulator:Other,bootArgs:,rebootOnCrash:false,enableHA:true,limitCpuUse:false,enableDynamicallyScaleVm:false,vncPassword:2b74e551cba07566,params:{},uuid:5269e919-564a-4986-92c1-07464e99e3ce,disks:[{data:{org.apache.cloudstack.storage.to.VolumeObjectTO:{uuid:c1b45654-5e74-420e-bf91-5beb745546f8,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:d5174632-721e-39ed-b93b-462539f63c77,id:1,poolType:NetworkFilesystem,host:172.16.16.25,path:/srv/cloudstack/primary/0001,port:2049,url:NetworkFilesystem:// 172.16.16.25/srv/cloudstack/primary/0001/?ROLE=PrimarySTOREUUID=d5174632-721e-39ed-b93b-462539f63c77 }},name:ROOT-93,size:262144,path:c1b45654-5e74-420e-bf91-5beb745546f8,volumeId:132,vmName:r-93-VM,accountId:2,format:QCOW2,id:132,deviceId:0,cacheMode:NONE,hypervisorType:KVM}},diskSeq:0,path:c1b45654-5e74-420e-bf91-5beb745546f8,ty pe:ROOT,_details:{managed:false,storagePort:2049,storageHost:172.16.16.25,volumeSize:262144}}],nics:[{deviceId:0,networkRateMbps:200,defaultNic:false,nicUuid:3ae999b5-9d59-431a-a41b-7dbeb90c5509,uuid:a011df28-a322-4d94-bf31-1f4fbb7a869b,ip:172.16.18.1,netmask:255.255.255.0,mac:02:00:6b:5b:00:03,dns1:172.16.17.2,dns2:,broadcastType:Vlan,type:Guest,broadcastUri:vlan://1209,isolationUri:vlan://1209,isSecurityGroupEnabled:false,name:cloudbr1},{deviceId:1,networkRateMbps:-1,defaultNic:false,nicUuid:cd17fc0c-164e-4fe8-acc0-36a13f37f5aa,uuid:0e669946-5f4d-4c51-9b2e-564edc1dc06a,ip:169.254.3.203,netmask:255.255.0.0,gateway:169.254.0.1,mac:0e:00:a9:fe:03:cb,broadcastType:LinkLocal,type:Control,isSecurityGroupEnabled:false},{deviceId:2,networkRateMbps:200,defaultNic:true,nicUuid:9bc37269-68d5-40b8-ac08-4b60ccab5d0f,uuid:80c92696-16cb-427e-855a-a2ac01c34ebc,i p:172.16.17.202,netmask:255.255.255.0,gateway:172.16.17.2,mac:06:13:ca:00:00:36,dns1:172.16.17.2,dns2:,broadcastType:Vlan,type:Public,broadcastUri:vlan://untagged,isolationUri:vlan://untagged,isSecurityGroupEnabled:false,name:cloudbr0}]},executeInSequence:false,wait:0}}] } 2015-05-08 09:58:13,943 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) Processing command: com.cloud.agent.api.MigrateCommand 2015-05-08 09:58:13,975 INFO [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Live migration of instance r-93-VM initiated 2015-05-08 09:58:14,277 INFO [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Migration thread for r-93-VM is done 2015-05-08 09:58:14,278 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Failed to execute while migrating domain: org.libvirt.LibvirtException: Cannot get interface MTU on 'brbond0-1209': No such device 2015-05-08 09:58:14,290 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) Seq 1-5821465468329787407: { Ans: , MgmtId: 114374076129940, via: 1, Ver: v1, Flags: 10, [{com.cloud.agent.api.MigrateAnswer:{result:false,details:org.libvirt.LibvirtException: Cannot get interface MTU on 'brbond0-1209': No such device,wait:0}}] } = === Destination Agent = 2015-05-08 09:58:13,766 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) Request:Seq 18-630503947831869460: { Cmd , MgmtId: 114374076129940, via: 18, Ver: v1, Flags: 100111, [{com.cloud.agent.api.PrepareForMigrationCommand:{vm:{id:93,name:r-93-VM,type:DomainRouter,cpus:1,minSpeed:500,maxSpeed:500,minRam:268435456,maxRam:268435456,arch:x86_64,os:Debian GNU/Linux
Re: Unable to mount Secondary Storage on SSVM
What user are you trying to mount with? If using root, try to add no_root_squash to the exports file on the NFS server, or just mount as a different user. Check SELinux, depending on the mountpoint's location, this may be an issue (check the audit log for avc's or just set to permissive/disabled to retest). Stop iptables/firewalld and retest (to make sure it's not an issue connecting to portmapper or something like that) If you're still unable to work it out, please paste a copy of the server's exports and the client mounting options (from fstab or command line) And also, the output of the mount command with a -v :) On Fri, May 8, 2015 at 3:03 PM, srinivas niddapu sr...@axiomio.com wrote: Appreciated info Rohit. As we verified our NFS storage there is no permission restrictions (* FULL ACCESS). Validated the same NFS share on the Cloud Stack Hypervisors, already mounted and data visible. We try to mount the NFS volume in the SSVM manually but its throwing error. Unable to mount. mount.nfs: access denied by server while mounting While restoring snapshot in the CloudStack UI getting below error. Status Failed to create templatecom.cloud.utils.exception.CloudRuntimeException: GetRootDir for nfs://172.30.36.51/vS02304090GCSP_NAS07 failed due to com.cloud.utils.exception.CloudRuntimeException: Unable to mount 172.30.36.51:/vS02304090GCSP_NAS07 at /mnt/SecStorage/1c7f122c-e72e-3daa-a54a-3693b89d4015 due to mount.nfs: access denied by server while mounting 172.30.36.51:/vS02304090GCSP_NAS07 at org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.getRootDir(NfsSecondaryStorageResource.java:1956) at org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.copySnapshotToTemplateFromNfsToNfsXenserver(NfsSecondaryStorageResource.java:377) at org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.copySnapshotToTemplateFromNfsToNfs(NfsSecondaryStorageResource.java:444) at org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.createTemplateFromSnapshot(NfsSecondaryStorageResource.java:553) at org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.execute(NfsSecondaryStorageResource.java:632) at org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.executeRequest(NfsSecondaryStorageResource.java:236) at com.cloud.storage.resource.PremiumSecondaryStorageResource.defaultAction(PremiumSecondaryStorageResource.java:63) at com.cloud.storage.resource.PremiumSecondaryStorageResource.executeRequest(PremiumSecondaryStorageResource.java:59) at com.cloud.agent.Agent.processRequest(Agent.java:498) at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:806) at com.cloud.utils.nio.Task.run(Task.java:83) 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) Any suggestions. Thanks, Srini. -Original Message- From: Rohit Yadav [mailto:rohit.ya...@shapeblue.com] Sent: Friday, May 08, 2015 5:57 PM To: d...@cloudstack.apache.org Cc: users@cloudstack.apache.org; srinivas niddapu Subject: Re: Unable to mount Secondary Storage on SSVM On 08-May-2015, at 2:05 pm, anil lakineni anilkumar459.lakin...@gmail.com wrote: and this Secondary Storage path is mounting and working with all other servers except with SSVM.. Getting error mount.nfs: access denied by server while mounting xx.xx.xx.xx:/ Check your nfs exports file and do a chmod 777 on the mount points, such as /export/secondary or /export/primary. Regards, Rohit Yadav Software Architect, ShapeBlue M. +91 88 262 30892 | rohit.ya...@shapeblue.com Blog: bhaisaab.org | Twitter: @_bhaisaab Find out more about ShapeBlue and our range of CloudStack related services IaaS Cloud Design Build http://shapeblue.com/iaas-cloud-design-and-build// CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/ CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/ CloudStack Software Engineering http://shapeblue.com/cloudstack-software-engineering/ CloudStack Infrastructure Support http://shapeblue.com/cloudstack-infrastructure-support/ CloudStack Bootcamp Training Courses http://shapeblue.com/cloudstack-training/ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England Wales. ShapeBlue Services India LLP is a company incorporated in India and is
VPC: DefaultIsolatedNetworkOfferingForVpcNetworksNoLB
Hello all, I have created VPC and added such network type (at subj) to it. The only difference with DefaultIsolatedNetworkOfferingForVpcNetworks? offering is that it is not listed in VPC networks when I create VM using wizard. I can only add it using VPC - tier - add VM. And the address has to be assigned by hand. Why is it so complicated? What is the purpose of this netwok type? Thank you, Vadim.
Support for /31 Networks
Hello, We had no problems building and using /31 networks on 4.2.0, but after our upgrade to 4.4.1 we are no longer able to add new ones. We have a lot of them already in place. As an example I pasted some output from cloudmonkey on a link that is already established and working. Does anyone have a workaround, or can point me in the right direction for a patch? (local) list networks id=e044c442-48f7-4bae-8c5d-530423a249f7 count = 1 network: id = e044c442-48f7-4bae-8c5d-530423a249f7 name = VLAN180 acltype = Domain broadcastdomaintype = Vlan broadcasturi = vlan://180 canusefordeploy = False cidr = 202.90.43.0/31 displaynetwork = True displaytext = VM-UTILITY-2 dns1 = 4.2.2.1 domain = ROOT domainid = 8acf0368-e5b1-11e2-b5cf-2ef4cf18a6ae gateway = 202.90.43.0 ispersistent = False issystem = False netmask = 255.255.255.254 networkofferingavailability = Optional networkofferingconservemode = False networkofferingdisplaytext = private-guest1_switch networkofferingid = 0b63d457-5f5e-426f-a81e-8797e522eb8c networkofferingname = private-guest1_switch physicalnetworkid = cf4c2846-2418-4ba4-b307-6a6405860799 related = e044c442-48f7-4bae-8c5d-530423a249f7 restartrequired = False service: specifyipranges = True state = Setup strechedl2subnet = False subdomainaccess = True tags: traffictype = Guest type = Shared vlan = 180 zoneid = 88066cb4-64ab-4c54-83a9-3279a1e030cb zonename = UTILITY-ZONE-1 (local) list nics nicid=e062922f-c0ea-4f8a-beca-b86146dee622 virtualmachineid=842054e6-c379-49fe-92f9-e2fdefa6779f count = 1 nic: id = e062922f-c0ea-4f8a-beca-b86146dee622 deviceid = 0 gateway = 202.90.43.0 ipaddress = 202.90.43.1 isdefault = True macaddress = 06:ca:b4:00:00:20 netmask = 255.255.255.254 networkid = e044c442-48f7-4bae-8c5d-530423a249f7 virtualmachineid = 842054e6-c379-49fe-92f9-e2fdefa6779f (local) David Fitzjarrell Senior ESC Engineer NTT Communications powered by Virtela Desk +1-720-475-4108 Cell +1-303-910-5956 www.ntt.comhttp://www.ntt.com/ www.virtela.nethttp://www.virtela.net/
RE: Unable to mount Secondary Storage on SSVM
Appreciated info Rohit. As we verified our NFS storage there is no permission restrictions (* FULL ACCESS). Validated the same NFS share on the Cloud Stack Hypervisors, already mounted and data visible. We try to mount the NFS volume in the SSVM manually but its throwing error. Unable to mount. mount.nfs: access denied by server while mounting While restoring snapshot in the CloudStack UI getting below error. Status Failed to create templatecom.cloud.utils.exception.CloudRuntimeException: GetRootDir for nfs://172.30.36.51/vS02304090GCSP_NAS07 failed due to com.cloud.utils.exception.CloudRuntimeException: Unable to mount 172.30.36.51:/vS02304090GCSP_NAS07 at /mnt/SecStorage/1c7f122c-e72e-3daa-a54a-3693b89d4015 due to mount.nfs: access denied by server while mounting 172.30.36.51:/vS02304090GCSP_NAS07 at org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.getRootDir(NfsSecondaryStorageResource.java:1956) at org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.copySnapshotToTemplateFromNfsToNfsXenserver(NfsSecondaryStorageResource.java:377) at org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.copySnapshotToTemplateFromNfsToNfs(NfsSecondaryStorageResource.java:444) at org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.createTemplateFromSnapshot(NfsSecondaryStorageResource.java:553) at org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.execute(NfsSecondaryStorageResource.java:632) at org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.executeRequest(NfsSecondaryStorageResource.java:236) at com.cloud.storage.resource.PremiumSecondaryStorageResource.defaultAction(PremiumSecondaryStorageResource.java:63) at com.cloud.storage.resource.PremiumSecondaryStorageResource.executeRequest(PremiumSecondaryStorageResource.java:59) at com.cloud.agent.Agent.processRequest(Agent.java:498) at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:806) at com.cloud.utils.nio.Task.run(Task.java:83) 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) Any suggestions. Thanks, Srini. -Original Message- From: Rohit Yadav [mailto:rohit.ya...@shapeblue.com] Sent: Friday, May 08, 2015 5:57 PM To: d...@cloudstack.apache.org Cc: users@cloudstack.apache.org; srinivas niddapu Subject: Re: Unable to mount Secondary Storage on SSVM On 08-May-2015, at 2:05 pm, anil lakineni anilkumar459.lakin...@gmail.com wrote: and this Secondary Storage path is mounting and working with all other servers except with SSVM.. Getting error mount.nfs: access denied by server while mounting xx.xx.xx.xx:/ Check your nfs exports file and do a chmod 777 on the mount points, such as /export/secondary or /export/primary. Regards, Rohit Yadav Software Architect, ShapeBlue M. +91 88 262 30892 | rohit.ya...@shapeblue.com Blog: bhaisaab.org | Twitter: @_bhaisaab Find out more about ShapeBlue and our range of CloudStack related services IaaS Cloud Design Buildhttp://shapeblue.com/iaas-cloud-design-and-build// CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/ CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/ CloudStack Software Engineeringhttp://shapeblue.com/cloudstack-software-engineering/ CloudStack Infrastructure Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
Re: Foreman Cloudstack provider
Yes it deploys instances, not hypervisors. And yes, it doesn't work on basic zones, but the basic framework is there, so it's probably extensible to make Basic zones work; just no one has scratched that itch yet. There were some folks talking about doing work in that area, but not sure if they have made any progress or not. --David On Fri, May 8, 2015 at 12:20 PM, Nux! n...@li.nux.ro wrote: Thanks David, I found that, but thought it was for deploying/managing hypervisors. Anyway, it does not help me as I do not use Adv zone. Good job, though! Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: David Nalley da...@gnsa.us To: d...@cloudstack.apache.org Cc: Cloudstack Users List users@cloudstack.apache.org Sent: Friday, 8 May, 2015 15:12:54 Subject: Re: Foreman Cloudstack provider https://github.com/citrix/foreman-cloudstack --David On Fri, May 8, 2015 at 8:00 AM, Nux! n...@li.nux.ro wrote: Hello, I'm playing with The Foreman these days and promises a lot. Ideally I'd like to use ACS as a Foreman provider (ie Foreman should be able to provision ACS instances), but I have found nothing about this in my searches. Is anyone doing anything with Foreman and Cloudstack? Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Foreman Cloudstack provider
Hello, I'm playing with The Foreman these days and promises a lot. Ideally I'd like to use ACS as a Foreman provider (ie Foreman should be able to provision ACS instances), but I have found nothing about this in my searches. Is anyone doing anything with Foreman and Cloudstack? Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Unable to mount Secondary Storage on SSVM
Hi All, I have a strange issue that our secondary storage (NFS) is not mounting with SSVM while before it was worked with SSVM. Cloud-Stack version is 4.3.1 Xen Server version is 6.2.0 and this Secondary Storage path is mounting and working with all other servers except with SSVM.. Getting error mount.nfs: access denied by server while mounting xx.xx.xx.xx:/ Please Help with this.. Looking forward for your replays. Thank You, Anil.
RE: VPC usage scenario
Hello Sanjeev, I have sent this message during 4.5.1 release voiting and got reply that such configuration brakes down VPC tiers isolation and thus - not supported. So I have either to create interfaces in non-VPC networks (private or shared) or to route all traffic from one interface through VR inside VPC. Regards, Vadim. -Original Message- From: Sanjeev N [mailto:sanj...@apache.org] Sent: Friday, May 08, 2015 2:18 PM To: users@cloudstack.apache.org Subject: Re: VPC usage scenario Vadim, Whatever you have tried is a valid scenario. Please report a bug if things are not as expected. -Sanjeev On Wed, May 6, 2015 at 1:09 AM, Vadim Kimlaychuk vadim.kimlayc...@elion.ee wrote: Hello all, 1. I have created VPC and 2 network tiers. 2. Added VM to the 1-st one (default). Got IP by DHCP, everything works so far. 3. Added 2-nd network tier to the same VM at run-time. VIF initialised and I run dhclient for 2nd interface and got IP from 2nd tier. Everything works ... until 4. Reboot 5. After reboot VM console shows : * ???that 1-st network (default) was neglected by DHCP server -- I got NACK for DHCP offer from VM * 2-nd network got ACK from DHCP server and IP, but since it is not default NIC - route is not provided * VM is waiting for default route from VR for 30 seconds and after timeout I have non-working configuration. 1-st interface has no IP, there is no default route. Am I doing something wrong? Can VM have 2 NICs in different tiers or this kind of scenario is prohibited? As far as VM has only 1 NIC everything works fine. Thank you for explaination, Vadim.