Re: cloudstack4.2源码搭建agent环境?
上面写了啊,用dpkg-buildpackage -uc -us (如果是maven3,有可能还要加上-d) 运行之前最好先清理一下目录 mvn -P developer,systemvm clean rm -rf dist/ debian/cloudstack-agent debian/cloudstack-awsapi debian/cloudstack-cli debian/cloudstack-common debian/cloudstack-docs debian/cloudstack-management debian/cloudstack-usage debian/tmp 然后在上一级目录会出现一些deb 文件,也就是cloudstack在ubuntu下的安装文件了。用dpkg -i 安装 在 2013年9月6日上午7:56,王耀锋 wilc...@hotmail.com写道: 我是使用kvm+ubuntu环境,这能说的详细点吗? 还有就是一定要打成deb包吗, 能不能直接想maven启动管理平台一样,启动? Date: Thu, 5 Sep 2013 09:46:51 +0200 Subject: Re: cloudstack4.2源码搭建agent环境? From: ustcweiz...@gmail.com To: users-cn@cloudstack.apache.org 如果是xenserver/vmware,不需要安装agent。可以参考4.1的installation guide来配置。 如果是kvm,可以使用进入packaging/centos63/运行package.sh来建rpm(centos/rhel),或者使用dpkg-buildpackage -uc -us创建deb (ubuntu) 在 2013年9月5日上午7:56,王耀锋 wilc...@hotmail.com写道: 我使用cloudstack4.2源码搭建了management的 环境,可以登录到界面上,现在我想添加一个主机,不知道怎么在服务器上运行4.2的cloud-agent?
Re: cloudstack4.2源码搭建agent环境?
systemvm.iso里面是systemvm的脚本和配置文件,不是template 你要下载一个systemvm template 在 2013年9月6日上午10:24,王耀锋 wilc...@hotmail.com写道: thanks, 我安装你的方法编译出cloud-agent的deb并安装成功,现在我创建一个区域,发现目录下面的系统虚拟机只有一个systemvm.iso文件,我们使用的qcow2格式的系统虚拟机需要我们自己创建吗? Date: Fri, 6 Sep 2013 08:03:03 +0200 Subject: Re: cloudstack4.2源码搭建agent环境? From: ustcweiz...@gmail.com To: users-cn@cloudstack.apache.org 上面写了啊,用dpkg-buildpackage -uc -us (如果是maven3,有可能还要加上-d) 运行之前最好先清理一下目录 mvn -P developer,systemvm clean rm -rf dist/ debian/cloudstack-agent debian/cloudstack-awsapi debian/cloudstack-cli debian/cloudstack-common debian/cloudstack-docs debian/cloudstack-management debian/cloudstack-usage debian/tmp 然后在上一级目录会出现一些deb 文件,也就是cloudstack在ubuntu下的安装文件了。用dpkg -i 安装 在 2013年9月6日上午7:56,王耀锋 wilc...@hotmail.com写道: 我是使用kvm+ubuntu环境,这能说的详细点吗? 还有就是一定要打成deb包吗, 能不能直接想maven启动管理平台一样,启动? Date: Thu, 5 Sep 2013 09:46:51 +0200 Subject: Re: cloudstack4.2源码搭建agent环境? From: ustcweiz...@gmail.com To: users-cn@cloudstack.apache.org 如果是xenserver/vmware,不需要安装agent。可以参考4.1的installation guide来配置。 如果是kvm,可以使用进入packaging/centos63/运行package.sh来建rpm(centos/rhel),或者使用dpkg-buildpackage -uc -us创建deb (ubuntu) 在 2013年9月5日上午7:56,王耀锋 wilc...@hotmail.com写道: 我使用cloudstack4.2源码搭建了management的 环境,可以登录到界面上,现在我想添加一个主机,不知道怎么在服务器上运行4.2的cloud-agent?
Console stopped working recently
Hi all, i just noticed that the console function stopped working in my cloudstack 4.1.0 environment. Attached is my error screen. Anyone have an idea? Thanks!
RE: Help with host network config KVM + Centos
Hi, You need to configure two bridges say cloudbr0 and cloudbr1 using the two interfaces present on the KVM host. Use these bridge names as traffic labels in the Physical Network you create during zone creation in CloudStack. Eg. If cloudbr0 is on eth0 and cloudbr1 is on eth1 then use cloudbr0 as traffic lable for guest and public traffic and cloudbr1 for management traffic. Following configuration might help you in configuring bridges: Configure network interfaces: /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=none IPV6INIT=no NM_CONTROLLED=no ONBOOT=yes TYPE=OVSPort DEVICETYPE=ovs OVS_BRIDGE=cloudbr0 /etc/sysconfig/network-scripts/ifcfg-eth1 DEVICE=eth1 BOOTPROTO=none IPV6INIT=no NM_CONTROLLED=no ONBOOT=yes TYPE=OVSPort DEVICETYPE=ovs OVS_BRIDGE=cloudbr1 /etc/sysconfig/network-scripts/ifcfg-cloudbr0 DEVICE=cloudbr0 ONBOOT=yes DEVICETYPE=ovs TYPE=OVSBridge BOOTPROTO=static IPADDR=172.16.10.10 GATEWAY=172.16.10.1 NETMASK=255.255.255.0 HOTPLUG=no /etc/sysconfig/network-scripts/ifcfg-cloudbr1 DEVICE=cloudbr1 ONBOOT=yes DEVICETYPE=ovs TYPE=OVSBridge BOOTPROTO=none HOTPLUG=no Thanks, Sanjeev -Original Message- From: Jake G. [mailto:dj_dark_jungl...@yahoo.com] Sent: Friday, September 06, 2013 10:05 AM To: users@cloudstack.apache.org Subject: Help with host network config KVM + Centos Hi all, I have a single centOS 6.4 KVM host with two NICs eth0: 192.168.100.131/24 GW 192.168.100.254 is for public access (internet access) eth1: 10.3.9.50/8 no GW is for management access Could someone please help me with the initial configuration to work with KVM and Cloudstack? This setup is different than the documentation. Thank you for your help in advance!
Re: Some network offerings missing after creating them
Hi Geoff, Mission successful! Thanks for all the help! On Thu, Sep 5, 2013 at 10:10 AM, Geoff Higginbottom geoff.higginbot...@shapeblue.com wrote: Yes, just use CloudMonkey to create the networks, and then use it to deploy the VMs. CloudMonkey is a really cool tool, and once you master it, you will find you rarely use the GUI. We do large scale deployments and we only look at the GUI at the end, we do it all from Scripts. Regards Geoff Higginbottom D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 geoff.higginbot...@shapeblue.com -Original Message- From: Nick Burke [mailto:n...@nickburke.com] Sent: 05 September 2013 12:35 To: users@cloudstack.apache.org Subject: Re: Some network offerings missing after creating them Whoa. You mean it's not entirely my fault? :-) I should be able to use cloudmonkey to get around this bug, right? Thanks again for all your help! On Thu, Sep 5, 2013 at 4:27 AM, Geoff Higginbottom geoff.higginbot...@shapeblue.com wrote: Sorry just looked at screen shot and you do appear to running an advanced zone. There have been a few GUI bugs creep in with 4.1.1 in relation to networking, this looks like another I have not seen reported so please raise it as an issue. CloudMonkey provides an easier way to use the API so yes you can just use CloudMonkey 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.higginbottom@shapeblue.c om | www.shapeblue.com ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS On 5 Sep 2013, at 07:24, Geoff Higginbottom geoff.higginbot...@shapeblue.commailto:geoff.higginbottom@shapeblue.c om wrote: Nick, Are you using an Advanced or Basic Zone? 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.higginbottom@shapeblue.c om mailto:geoff.higginbot...@shapeblue.com | www.shapeblue.com http://www.shapeblue.com ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS On 5 Sep 2013, at 01:57, Nick Burke n...@nickburke.commailto: n...@nickburke.commailto:n...@nickburke.com wrote: Hi Geoff, Thanks again for your reply and patience. I'm relieved to hear it's possible with a little elbow grease! I have no problem starting again what-so-ever with anything. This is preproduction. I've been doing regular 'drop database cloud's so anything dangerous can easily be done. I think a large part of my problem is there is no add guest network in Infrastructure / Zones / your-zone-name / Physical Network Tab / your-network-name (the one with Guest Traffic) / Guest-Configure / Network Tab. (See screen shot: http://i.imgur.com/fOtttgD.png ). There are no right click options either. I'm running version 4.1.1, if there is some kind of version thing happening here. Regarding API, can I use cloudmonkey or do I have to start doing research into the API calls? On Wed, Sep 4, 2013 at 6:18 PM, Geoff Higginbottom geoff.higginbot...@shapeblue.commailto:geoff.higginbottom@shapeblue.c om mailto:geoff.higginbot...@shapeblue.com wrote: Hi Nick What you are trying to do is achievable, but you need to start again, as once you have created a network which has taken its VLAN from the Default Guest VLAN range you cannot change the network Offering to one which has the 'Specify VLAN' option set. Fortunately you can create the new networks you need using the correct Network Offerings, then use the 'addNicToVirtualMachine' and 'removeNicFromVirtualMachine' API commands to add the new Networks to the VM, and remove the old ones. I would create two network offerings, I'll call them 'External' and 'Internal' 'External' should not have any 'Services' as it does not need them, that way no VR will be created for this Network. Assign a 'Name' 'Description', and check the 'Specify VLAN' option as you want to manually set the VLAN ID so it can connect to your external physical Router. You do not need the 'Persistent' feature as there will be no VR. 'Internal' should have 'Specify VLAN' checked and 'DHCP' and 'DNS' services enabled, all set to 'Virtual Router' You don't need the 'Persistent' option as this simply keeps the VR running when you have no VMs, and as you want to run a 'Intrusion Detection' VM you will always have one running, and the VLAN is persistent even if do shut all VMs down, as you used the 'Specify VLAN' option. To actually create the networks you cannot use the main 'Network' tab, you must navigate to: Infrastructure / Zones / your-zone-name / Physical Network Tab /
Re: Help with host network config KVM + Centos
Thank you very much for this. Are you using openvswitch for this config? From: Sanjeev Neelarapu sanjeev.neelar...@citrix.com To: users@cloudstack.apache.org users@cloudstack.apache.org; Jake G. dj_dark_jungl...@yahoo.com Sent: Friday, September 6, 2013 3:44 PM Subject: RE: Help with host network config KVM + Centos Hi, You need to configure two bridges say cloudbr0 and cloudbr1 using the two interfaces present on the KVM host. Use these bridge names as traffic labels in the Physical Network you create during zone creation in CloudStack. Eg. If cloudbr0 is on eth0 and cloudbr1 is on eth1 then use cloudbr0 as traffic lable for guest and public traffic and cloudbr1 for management traffic. Following configuration might help you in configuring bridges: Configure network interfaces: /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=none IPV6INIT=no NM_CONTROLLED=no ONBOOT=yes TYPE=OVSPort DEVICETYPE=ovs OVS_BRIDGE=cloudbr0 /etc/sysconfig/network-scripts/ifcfg-eth1 DEVICE=eth1 BOOTPROTO=none IPV6INIT=no NM_CONTROLLED=no ONBOOT=yes TYPE=OVSPort DEVICETYPE=ovs OVS_BRIDGE=cloudbr1 /etc/sysconfig/network-scripts/ifcfg-cloudbr0 DEVICE=cloudbr0 ONBOOT=yes DEVICETYPE=ovs TYPE=OVSBridge BOOTPROTO=static IPADDR=172.16.10.10 GATEWAY=172.16.10.1 NETMASK=255.255.255.0 HOTPLUG=no /etc/sysconfig/network-scripts/ifcfg-cloudbr1 DEVICE=cloudbr1 ONBOOT=yes DEVICETYPE=ovs TYPE=OVSBridge BOOTPROTO=none HOTPLUG=no Thanks, Sanjeev -Original Message- From: Jake G. [mailto:dj_dark_jungl...@yahoo.com] Sent: Friday, September 06, 2013 10:05 AM To: users@cloudstack.apache.org Subject: Help with host network config KVM + Centos Hi all, I have a single centOS 6.4 KVM host with two NICs eth0: 192.168.100.131/24 GW 192.168.100.254 is for public access (internet access) eth1: 10.3.9.50/8 no GW is for management access Could someone please help me with the initial configuration to work with KVM and Cloudstack? This setup is different than the documentation. Thank you for your help in advance!
Re: VMware DomainRouter
Right, since on KVM and XS hosts we can run scripts directly on the host to communicate with system VMs, whereas on ESXi this is discouraged and not even possible by default. Best regards, Kirk On 09/05/2013 10:07 PM, Jayapal Reddy Uradi wrote: This is expected in vmware. In Xen and KVM we have link local IP address. Thanks, Jayapal On 06-Sep-2013, at 3:46 AM, John Skinner john.skin...@appcore.com wrote: Hello list, I just setup a CloudStack 4.1 environment with vSphere 5.1. Everything seems to be working ok for the most part. However, I have noticed that my domain routers are getting created with a management IP address for the control network instead of a control network IP address (the link local IP addresses). Is this expected behavior?
RE: Help with host network config KVM + Centos
Yes From: Jake G. [mailto:dj_dark_jungl...@yahoo.com] Sent: Friday, September 06, 2013 12:20 PM To: Sanjeev Neelarapu; users@cloudstack.apache.org Subject: Re: Help with host network config KVM + Centos Thank you very much for this. Are you using openvswitch for this config? From: Sanjeev Neelarapu sanjeev.neelar...@citrix.commailto:sanjeev.neelar...@citrix.com To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org users@cloudstack.apache.orgmailto:users@cloudstack.apache.org; Jake G. dj_dark_jungl...@yahoo.commailto:dj_dark_jungl...@yahoo.com Sent: Friday, September 6, 2013 3:44 PM Subject: RE: Help with host network config KVM + Centos Hi, You need to configure two bridges say cloudbr0 and cloudbr1 using the two interfaces present on the KVM host. Use these bridge names as traffic labels in the Physical Network you create during zone creation in CloudStack. Eg. If cloudbr0 is on eth0 and cloudbr1 is on eth1 then use cloudbr0 as traffic lable for guest and public traffic and cloudbr1 for management traffic. Following configuration might help you in configuring bridges: Configure network interfaces: /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=none IPV6INIT=no NM_CONTROLLED=no ONBOOT=yes TYPE=OVSPort DEVICETYPE=ovs OVS_BRIDGE=cloudbr0 /etc/sysconfig/network-scripts/ifcfg-eth1 DEVICE=eth1 BOOTPROTO=none IPV6INIT=no NM_CONTROLLED=no ONBOOT=yes TYPE=OVSPort DEVICETYPE=ovs OVS_BRIDGE=cloudbr1 /etc/sysconfig/network-scripts/ifcfg-cloudbr0 DEVICE=cloudbr0 ONBOOT=yes DEVICETYPE=ovs TYPE=OVSBridge BOOTPROTO=static IPADDR=172.16.10.10 GATEWAY=172.16.10.1 NETMASK=255.255.255.0 HOTPLUG=no /etc/sysconfig/network-scripts/ifcfg-cloudbr1 DEVICE=cloudbr1 ONBOOT=yes DEVICETYPE=ovs TYPE=OVSBridge BOOTPROTO=none HOTPLUG=no Thanks, Sanjeev -Original Message- From: Jake G. [mailto:dj_dark_jungl...@yahoo.commailto:dj_dark_jungl...@yahoo.com] Sent: Friday, September 06, 2013 10:05 AM To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org Subject: Help with host network config KVM + Centos Hi all, I have a single centOS 6.4 KVM host with two NICs eth0: 192.168.100.131/24 GW 192.168.100.254 is for public access (internet access) eth1: 10.3.9.50/8 no GW is for management access Could someone please help me with the initial configuration to work with KVM and Cloudstack? This setup is different than the documentation. Thank you for your help in advance!
Re: Console stopped working recently
Looks like my other test environment does not work either. I havent changed anything on both servers so im am thinking... Is there something wrong with realhostip.com ? From: Jake G. dj_dark_jungl...@yahoo.com To: users@cloudstack.apache.org users@cloudstack.apache.org Sent: Friday, September 6, 2013 3:41 PM Subject: Console stopped working recently Hi all, i just noticed that the console function stopped working in my cloudstack 4.1.0 environment. Attached is my error screen. Anyone have an idea? Thanks!
Re: Console stopped working recently
I tried restarting the CPVM as well as recreating it. No joy Where are these logs located? From: France mailingli...@isg.si To: users@cloudstack.apache.org Cc: Kirk Kosinski kirkkosin...@gmail.com; Jake G. dj_dark_jungl...@yahoo.com Sent: Friday, September 6, 2013 6:29 PM Subject: Re: Console stopped working recently From time to time my console proxy dies too. Restarting fixes it. Have you tried rebooting your console proxy yet? If it still doesn't work, copy paste relevant logs from catalina.out from CS master server to your next mail. Regards, F. On 6/9/13 11:16 AM, Kirk Kosinski wrote: What is the error? Your attachment was lost since you the mailing list doesn't allow them. The realhostip.com name servers look fine. kirk@asdf ~ $ dig @184.72.55.159 A +short 192-168-100-100.realhostip.com 192.168.100.100 kirk@asdf ~ $ dig @184.72.250.40 A +short 192-168-100-100.realhostip.com 192.168.100.100 Can you ping your CPVM, or reach it via HTTPS? Did you try to stop and start it? Best regards, Kirk On 09/06/2013 01:44 AM, Jake G. wrote: Looks like my other test environment does not work either. I havent changed anything on both servers so im am thinking... Is there something wrong with realhostip.com ? From: Jake G. dj_dark_jungl...@yahoo.com To: users@cloudstack.apache.org users@cloudstack.apache.org Sent: Friday, September 6, 2013 3:41 PM Subject: Console stopped working recently Hi all, i just noticed that the console function stopped working in my cloudstack 4.1.0 environment. Attached is my error screen. Anyone have an idea? Thanks!
Re: Console stopped working recently - Resolved
Ok guys dont laugh at me on this one. Turns out our internal DNS cache server marked CS proxy traffic as poisonous and was blocking. Had our networking guy fix it and now the console works. Thank you very much for your help! From: Jake G. dj_dark_jungl...@yahoo.com To: users@cloudstack.apache.org users@cloudstack.apache.org Sent: Friday, September 6, 2013 6:41 PM Subject: Re: Console stopped working recently I tried restarting the CPVM as well as recreating it. No joy Where are these logs located? From: France mailingli...@isg.si To: users@cloudstack.apache.org Cc: Kirk Kosinski kirkkosin...@gmail.com; Jake G. dj_dark_jungl...@yahoo.com Sent: Friday, September 6, 2013 6:29 PM Subject: Re: Console stopped working recently From time to time my console proxy dies too. Restarting fixes it. Have you tried rebooting your console proxy yet? If it still doesn't work, copy paste relevant logs from catalina.out from CS master server to your next mail. Regards, F. On 6/9/13 11:16 AM, Kirk Kosinski wrote: What is the error? Your attachment was lost since you the mailing list doesn't allow them. The realhostip.com name servers look fine. kirk@asdf ~ $ dig @184.72.55.159 A +short 192-168-100-100.realhostip.com 192.168.100.100 kirk@asdf ~ $ dig @184.72.250.40 A +short 192-168-100-100.realhostip.com 192.168.100.100 Can you ping your CPVM, or reach it via HTTPS? Did you try to stop and start it? Best regards, Kirk On 09/06/2013 01:44 AM, Jake G. wrote: Looks like my other test environment does not work either. I havent changed anything on both servers so im am thinking... Is there something wrong with realhostip.com ? From: Jake G. dj_dark_jungl...@yahoo.com To: users@cloudstack.apache.org users@cloudstack.apache.org Sent: Friday, September 6, 2013 3:41 PM Subject: Console stopped working recently Hi all, i just noticed that the console function stopped working in my cloudstack 4.1.0 environment. Attached is my error screen. Anyone have an idea? Thanks!
Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?
Have you managed to publish it? If so, please provide URL to it, if not, please send it to my email address. Tnx. F. On 5/9/13 7:42 PM, Carlos Reategui wrote: As others have mentioned you will need to select one of the Other options if you want to run 12.04. I have not tried to boot from iso and seem to remember someone saying it will not work in PV mode so you will probably need to try with Other (64 bit) or Other Linux (64 bit). Once you have it up and running you can convert it to PV and use Other PV (64 bit) Better yet :) I have been working on a script that converts the ubuntu 12.04 cloud image from http://cloud-images.ubuntu.com/releases/precise/release/ into a CloudStack image that works with Other PV (64 bit). It also fixes the cloud-init from 12.04 to work with the CloudStack metadata server and adds the Cloudstack password set service. I'll try to get it up on github later today (I'm a github noob)... Cheers, Carlos On Thu, Sep 5, 2013 at 3:40 AM, France mailingli...@isg.si wrote: Related error from catalina.out, when user wanted to boot form ISO. I haven't tried myself yet, but i don't think it would be any different. [xen.resource.CitrixHelper] (DirectAgent-92:) XenServer 6.0.2 DOES NOT support Guest OS type Ubuntu 12.04 (64-bit) On 5/9/13 12:13 PM, France wrote: Hi all. has anyone successfully installed Ubuntu 12.04 LTS or 14.04 LTS on XenServer 6.0.2 with CS 4.1.1? If so, how was it done? Maybe you shoud share the template with us? :-) Officially only 10.* is supported: https://support.citrix.com/** servlet/KbServlet/download/**30196-102-673808/guest_**support_6.0.2.pdfhttps://support.citrix.com/servlet/KbServlet/download/30196-102-673808/guest_support_6.0.2.pdf On a related notes, is there a site with XenServer templates where one cloud find such a template? Thanks. F.
Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?
Tnx for suggestion/answer Kirk. I'll go and create Ubuntu 12.04 LTS PV VHD using VirtualBox on my desktop machine. So when i have a working Ubuntu 12.04 LTS PV image/VHD for XS 6.0.2 i have to import it into CS 4.1.1 with XS 6.0.2. Which option should i select then for OS Type when registering template. Other PV 64bit? If I choose Ubuntu 12.04 i'm sure i'll get the same error as before: [xen.resource.CitrixHelper] (DirectAgent-92:) XenServer 6.0.2 DOES NOT support Guest OS type Ubuntu 12.04 (64-bit) Regards, F. On 6/9/13 1:08 AM, Kirk Kosinski wrote: The problem is that installing Ubuntu (any version) from ISO is not supported by XenServer. Using the Other (not Other PV) OS Type will allow it, but the result is an HVM mode VM which has disadvantages (poor performance, no XS Tools, no live migration). The supported way to install Ubuntu on XenServer is a network-based installation, but this is not possible to do through CloudStack. My usual recommendation is to do a supported installation of Ubuntu on a standalone XenServer to get a PV mode VM, export the VHD, and import it as a template to CloudStack. If no XenServer host is unavailable, install one in VirtualBox on a laptop and setup a PV mode Ubuntu VM there. It is possible to convert an HVM mode VM to PV mode, but it is an error prone and time consuming process, so it is usually better to build the in PV mode to begin with. Best regards, Kirk
Multiple guest IP on a VM?
Dear all, We are implementing shared network type instead of isolated network type, which means that we are assigning public IP address as guest IP for all our VMs. This means that our VMs are using public IP instead of private IP configured on the NIC interfaces, without any network address translation done by the virtual router. My question: is it possible to assign multiple guest/public IP addresses into one VM? I can't find this option on the current setting. Is multiple public IP addresses only supported on isolated network and is not supported on shared network? I found this article while Googling, but I'm not too sure whether this can been implemented? https://cwiki.apache.org/CLOUDSTACK/multiple-ip-address-per-nic.html I am using CloudStack 4.1.1 and KVM hypervisor, and running advanced network type (instead of basic). Looking forward to your reply, thank you. Cheers.
Old snapshots not deleted
Hi, I was wondering if somebody is experiencing the same issue. Yesterday we found out that the disks of our secondary storage was almost full because none of the snapshots that have been deleted (because of rotation for example). The issue seems quite clear (?), cause the commando executed on the SSVM doesn't work and the SSVMs tells the manager the command was executed successful which it was not. From /var/log/cloud/systemvm.log on the SSVM: Executing: /bin/bash -c rm -f /mnt/SecStorage/0bab1727-6381-3daa-980e-8a51fdcbb7cd:snapshots:5:1032:*/snapshots/1/5/1032/lnx-lennert-eu_ROOT-844_20130901160036* It looks like the path is incorrect, see the :. And is specified twice. If you would remove :snapshots:5:1032:* the path is correct. Also the manpages of rm for the -f flag states: deletes read-only files immediately, without asking for confirmation. When you specify this option and a file does not exist, rm does not display a warning message and does not modify the exit status. If you specify both -f and -i, rm uses the option that appears last on the command line. Maybe this could be the reason why the SSVM returns success. I did search for a bug report, but could not find one. Maybe i didn't look good enough or this issue isn't known. We are using CS 4.11 with KVM on Ubuntu. Maybe somebody can dig up the logs on their system and see if they also see these (wrong) rm commands show up in the log? -- Met vriendelijke groet / Kind regards, Lennert den Teuling
Re: Old snapshots not deleted
Hi Lennert, I recall having seen such an issue. Is it similar to https://issues.apache.org/jira/browse/CLOUDSTACK-643 ? Thanks, -Nitin On 06/09/13 5:35 PM, Lennert den Teuling lenn...@pcextreme.nl wrote: Hi, I was wondering if somebody is experiencing the same issue. Yesterday we found out that the disks of our secondary storage was almost full because none of the snapshots that have been deleted (because of rotation for example). The issue seems quite clear (?), cause the commando executed on the SSVM doesn't work and the SSVMs tells the manager the command was executed successful which it was not. From /var/log/cloud/systemvm.log on the SSVM: Executing: /bin/bash -c rm -f /mnt/SecStorage/0bab1727-6381-3daa-980e-8a51fdcbb7cd:snapshots:5:1032:*/sn apshots/1/5/1032/lnx-lennert-eu_ROOT-844_20130901160036* It looks like the path is incorrect, see the :. And is specified twice. If you would remove :snapshots:5:1032:* the path is correct. Also the manpages of rm for the -f flag states: deletes read-only files immediately, without asking for confirmation. When you specify this option and a file does not exist, rm does not display a warning message and does not modify the exit status. If you specify both -f and -i, rm uses the option that appears last on the command line. Maybe this could be the reason why the SSVM returns success. I did search for a bug report, but could not find one. Maybe i didn't look good enough or this issue isn't known. We are using CS 4.11 with KVM on Ubuntu. Maybe somebody can dig up the logs on their system and see if they also see these (wrong) rm commands show up in the log? -- Met vriendelijke groet / Kind regards, Lennert den Teuling
Re: Old snapshots not deleted
Op 06-09-13 14:18, Nitin Mehta schreef: Hi Lennert, I recall having seen such an issue. Is it similar to https://issues.apache.org/jira/browse/CLOUDSTACK-643 ? Hi Nitin, Yes, this is the issue. Thanks! Strangely enough i did not find this myself, i probably should look better next time ;-) Unfortunately i see there is not fix for 4.1, it seems fixed in 4.2. I'm going to have a look in the 4.2 code, and see if it helps me temporally fix the issue. Thanks, -Nitin On 06/09/13 5:35 PM, Lennert den Teuling lenn...@pcextreme.nl wrote: Hi, I was wondering if somebody is experiencing the same issue. Yesterday we found out that the disks of our secondary storage was almost full because none of the snapshots that have been deleted (because of rotation for example). The issue seems quite clear (?), cause the commando executed on the SSVM doesn't work and the SSVMs tells the manager the command was executed successful which it was not. From /var/log/cloud/systemvm.log on the SSVM: Executing: /bin/bash -c rm -f /mnt/SecStorage/0bab1727-6381-3daa-980e-8a51fdcbb7cd:snapshots:5:1032:*/sn apshots/1/5/1032/lnx-lennert-eu_ROOT-844_20130901160036* It looks like the path is incorrect, see the :. And is specified twice. If you would remove :snapshots:5:1032:* the path is correct. Also the manpages of rm for the -f flag states: deletes read-only files immediately, without asking for confirmation. When you specify this option and a file does not exist, rm does not display a warning message and does not modify the exit status. If you specify both -f and -i, rm uses the option that appears last on the command line. Maybe this could be the reason why the SSVM returns success. I did search for a bug report, but could not find one. Maybe i didn't look good enough or this issue isn't known. We are using CS 4.11 with KVM on Ubuntu. Maybe somebody can dig up the logs on their system and see if they also see these (wrong) rm commands show up in the log? -- Met vriendelijke groet / Kind regards, Lennert den Teuling -- Met vriendelijke groet / Kind regards, Lennert den Teuling PCextreme B.V. http://www.pcextreme.nl/contact Tel direct: +31 (0)118 700 210
Re: VMware DomainRouter
So it's expected that it uses an IP address from the management network on the domain router? I typically only set aside 10 or so IP addresses from the management network for CloudStack usage for things like SSVM and console proxy. Am I going to have to allocate a lot more of my management IP addresses now? Also, I believe I did use the 5.1 SDK. Thanks for the replies guys! - Original Message - From: Kirk Kosinski kirkkosin...@gmail.com To: users@cloudstack.apache.org Cc: Jayapal Reddy Uradi jayapalreddy.ur...@citrix.com Sent: Friday, September 6, 2013 2:37:37 AM Subject: Re: VMware DomainRouter Right, since on KVM and XS hosts we can run scripts directly on the host to communicate with system VMs, whereas on ESXi this is discouraged and not even possible by default. Best regards, Kirk On 09/05/2013 10:07 PM, Jayapal Reddy Uradi wrote: This is expected in vmware. In Xen and KVM we have link local IP address. Thanks, Jayapal On 06-Sep-2013, at 3:46 AM, John Skinner john.skin...@appcore.com wrote: Hello list, I just setup a CloudStack 4.1 environment with vSphere 5.1. Everything seems to be working ok for the most part. However, I have noticed that my domain routers are getting created with a management IP address for the control network instead of a control network IP address (the link local IP addresses). Is this expected behavior?
RE: VPC virtual router fails to start up - no route to CS Management Server.
What stops you from adding a route as test on RVM? -Original Message- From: COCHE Sébastien [mailto:sco...@sigma.fr] Sent: Friday, September 06, 2013 12:49 PM To: users@cloudstack.apache.org Cc: d...@cloudstack.apache.org Subject: RE: VPC virtual router fails to start up - no route to CS Management Server. Hi Enrique, I had the same issue on 4.0, 4.0.1 and 4.1 CloudStack's releases. I followed the documentation for complex deployment (CloudStack Manager and hypervisor (ESX) on a different networks) After some research it seems that the VPC's vRouter do not have a route to communicate with CloudStack server. On a VPC vRouter, the default route is set on the public network. I already post on this issue, and I did not have any feedback (my question could be not clear). I hope you will be luckiest. Best regards -Message d'origine- De : Enrique Ladrón de Guevara Hernández [mailto:enrique...@hotmail.com] Envoyé : mercredi 4 septembre 2013 00:23 À : users@cloudstack.apache.org Cc : d...@cloudstack.apache.org Objet : RE: VPC virtual router fails to start up - no route to CS Management Server. Hi, I don't know why but don't achive to insert the tar file ... You can download it in this link: http://we.tl/kHJtO3BK3f Regards. From: enrique...@hotmail.com To: users@cloudstack.apache.org CC: d...@cloudstack.apache.org Subject: RE: VPC virtual router fails to start up - no route to CS Management Server. Date: Wed, 4 Sep 2013 00:15:10 +0200 Hi, Logs and screenshots attached in a tar file. In my case, the type of the first interface is Control, as you can see in the screenshots. @developers, if you need more info let me know. Thanks to everyone, Regards. Date: Tue, 3 Sep 2013 08:05:10 +0100 Subject: Re: VPC virtual router fails to start up - no route to CS Management Server. From: msweet@gmail.com To: users@cloudstack.apache.org CC: d...@cloudstack.apache.org Hi, I couldn't find any screenshots in the string of messages. Looking at the logs it almost seems as like the VPC is stopping unexpectedly. Looking at my VPC, the first interface is a Link Local for Control type traffic, which is running on KVM. I will CC this into the dev mailinglist in search for a developer who knows more about VMWare and VPCs. In the meantime, please could you attach (in a tar), the screenshots of the VPC interfaces from the cloudstack interfaces. Thanks, Marty On Mon, Sep 2, 2013 at 6:28 PM, Enrique Ladrón de Guevara Hernández enrique...@hotmail.com wrote: Hi Marty, Sorry, could you look at the logs and screenshots?? Do you need more info to debug the issue?? Do you know if there is a bug related to this scenario?? I try to find any information on Internet and check my config but I don't know how to continue go ahead ... Do you recommend re-installing CS software with other version or the same version ?? Thanks in advanced for your help. Regards. From: enrique...@hotmail.com To: users@cloudstack.apache.org Subject: RE: VPC virtual router fails to start up - no route to CS Management Server. Date: Wed, 28 Aug 2013 20:16:26 +0200 Now better! Regards. From: enrique...@hotmail.com To: users@cloudstack.apache.org Subject: RE: VPC virtual router fails to start up - no route to CS Management Server. Date: Wed, 28 Aug 2013 20:09:39 +0200 Hi Marty, I have used a new test to capture screenshots and logs: VPC Name: VPC-Test Job: job-69 vrsm: r-59-VM you can find files attached. Thanks, Regards. - Date: Wed, 28 Aug 2013 10:16:23 +0100 Subject: Re: VPC virtual router fails to start up - no route to CS Management Server. From: msweet@gmail.com To: users@cloudstack.apache.org Hi, Could you let me know the IP addresses listed in the cloudstack interface under Infrastructure Virtual Routers VPC Marty On Tue, Aug 27, 2013 at 11:11 PM, Enrique Ladrón de Guevara Hernández enrique...@hotmail.com wrote: Hi Marty, Yes, I have still got this issue ... :S I'm very lost ... Guest Networks are working fine, but in VPC nop ... If you need more info, please let me know. Thanks a lot for your time, Regards. Date: Tue, 27 Aug 2013 22:54:11 +0100 Subject: Re: VPC virtual router fails to start up - no route to CS Management Server. From: msweet@gmail.com To: users@cloudstack.apache.org Hi Enrique, Sorry I haven't got back to you, is this still an issue? If so, I will take a look at it and get back to you in the morning. Thanks, Marty On Monday, August 26, 2013, Enrique Ladrón de Guevara
Re: VMware DomainRouter
Also, is it possible to put the management network on a tagged VLAN? It doesn't look like it is through the UI, but could I make some database changes to get cloud to create the nics on the host with a vlan similar to guest networks? John Skinner Senior Systems Administrator | Appcore - the business of cloud computing® Office +1.800.735.7104 Direct +1.515.612.7783 | Mobile +1.515.745.0248 john.skin...@appcore.com | www.appcore.com -- The information in this message is intended for the named recipients only. It may contain information that is privileged, confidential or otherwise protected from disclosure. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or the taking of any action in reliance on the contents of this message is strictly prohibited. If you have received this e-mail in error, do not print it or disseminate it or its contents. In such event, please notify the sender by return e-mail and delete the e-mail file immediately thereafter. Thank you. - Original Message - From: John Skinner john.skin...@appcore.com To: users@cloudstack.apache.org Cc: Jayapal Reddy Uradi jayapalreddy.ur...@citrix.com Sent: Friday, September 6, 2013 8:23:40 AM Subject: Re: VMware DomainRouter So it's expected that it uses an IP address from the management network on the domain router? I typically only set aside 10 or so IP addresses from the management network for CloudStack usage for things like SSVM and console proxy. Am I going to have to allocate a lot more of my management IP addresses now? Also, I believe I did use the 5.1 SDK. Thanks for the replies guys! - Original Message - From: Kirk Kosinski kirkkosin...@gmail.com To: users@cloudstack.apache.org Cc: Jayapal Reddy Uradi jayapalreddy.ur...@citrix.com Sent: Friday, September 6, 2013 2:37:37 AM Subject: Re: VMware DomainRouter Right, since on KVM and XS hosts we can run scripts directly on the host to communicate with system VMs, whereas on ESXi this is discouraged and not even possible by default. Best regards, Kirk On 09/05/2013 10:07 PM, Jayapal Reddy Uradi wrote: This is expected in vmware. In Xen and KVM we have link local IP address. Thanks, Jayapal On 06-Sep-2013, at 3:46 AM, John Skinner john.skin...@appcore.com wrote: Hello list, I just setup a CloudStack 4.1 environment with vSphere 5.1. Everything seems to be working ok for the most part. However, I have noticed that my domain routers are getting created with a management IP address for the control network instead of a control network IP address (the link local IP addresses). Is this expected behavior?
RE: VPC virtual router fails to start up - no route to CS Management Server.
Both eth0 and eth1 must be up. In your case only eth0 is up (guest network) and eth1 is down (link local). Inspect the contents on /var/cache/cloud/cmdline Attempt to setup IP manually to see if it helps for eth1. Default GW must be on eth0/guest network. Check vSphere to confirm both eth0 and eth1 are on proper vswitches. -Original Message- From: Musayev, Ilya [mailto:imusa...@webmd.net] Sent: Friday, September 06, 2013 2:19 PM To: users@cloudstack.apache.org Cc: d...@cloudstack.apache.org Subject: RE: VPC virtual router fails to start up - no route to CS Management Server. What stops you from adding a route as test on RVM? -Original Message- From: COCHE Sébastien [mailto:sco...@sigma.fr] Sent: Friday, September 06, 2013 12:49 PM To: users@cloudstack.apache.org Cc: d...@cloudstack.apache.org Subject: RE: VPC virtual router fails to start up - no route to CS Management Server. Hi Enrique, I had the same issue on 4.0, 4.0.1 and 4.1 CloudStack's releases. I followed the documentation for complex deployment (CloudStack Manager and hypervisor (ESX) on a different networks) After some research it seems that the VPC's vRouter do not have a route to communicate with CloudStack server. On a VPC vRouter, the default route is set on the public network. I already post on this issue, and I did not have any feedback (my question could be not clear). I hope you will be luckiest. Best regards -Message d'origine- De : Enrique Ladrón de Guevara Hernández [mailto:enrique...@hotmail.com] Envoyé : mercredi 4 septembre 2013 00:23 À : users@cloudstack.apache.org Cc : d...@cloudstack.apache.org Objet : RE: VPC virtual router fails to start up - no route to CS Management Server. Hi, I don't know why but don't achive to insert the tar file ... You can download it in this link: http://we.tl/kHJtO3BK3f Regards. From: enrique...@hotmail.com To: users@cloudstack.apache.org CC: d...@cloudstack.apache.org Subject: RE: VPC virtual router fails to start up - no route to CS Management Server. Date: Wed, 4 Sep 2013 00:15:10 +0200 Hi, Logs and screenshots attached in a tar file. In my case, the type of the first interface is Control, as you can see in the screenshots. @developers, if you need more info let me know. Thanks to everyone, Regards. Date: Tue, 3 Sep 2013 08:05:10 +0100 Subject: Re: VPC virtual router fails to start up - no route to CS Management Server. From: msweet@gmail.com To: users@cloudstack.apache.org CC: d...@cloudstack.apache.org Hi, I couldn't find any screenshots in the string of messages. Looking at the logs it almost seems as like the VPC is stopping unexpectedly. Looking at my VPC, the first interface is a Link Local for Control type traffic, which is running on KVM. I will CC this into the dev mailinglist in search for a developer who knows more about VMWare and VPCs. In the meantime, please could you attach (in a tar), the screenshots of the VPC interfaces from the cloudstack interfaces. Thanks, Marty On Mon, Sep 2, 2013 at 6:28 PM, Enrique Ladrón de Guevara Hernández enrique...@hotmail.com wrote: Hi Marty, Sorry, could you look at the logs and screenshots?? Do you need more info to debug the issue?? Do you know if there is a bug related to this scenario?? I try to find any information on Internet and check my config but I don't know how to continue go ahead ... Do you recommend re-installing CS software with other version or the same version ?? Thanks in advanced for your help. Regards. From: enrique...@hotmail.com To: users@cloudstack.apache.org Subject: RE: VPC virtual router fails to start up - no route to CS Management Server. Date: Wed, 28 Aug 2013 20:16:26 +0200 Now better! Regards. From: enrique...@hotmail.com To: users@cloudstack.apache.org Subject: RE: VPC virtual router fails to start up - no route to CS Management Server. Date: Wed, 28 Aug 2013 20:09:39 +0200 Hi Marty, I have used a new test to capture screenshots and logs: VPC Name: VPC-Test Job: job-69 vrsm: r-59-VM you can find files attached. Thanks, Regards. - Date: Wed, 28 Aug 2013 10:16:23 +0100 Subject: Re: VPC virtual router fails to start up - no route to CS Management Server. From: msweet@gmail.com To: users@cloudstack.apache.org Hi, Could you let me know the IP addresses listed in the cloudstack interface under Infrastructure Virtual Routers VPC Marty On Tue, Aug 27, 2013 at 11:11 PM, Enrique
XCP and PV virtual machines
Hi guys, this might not be the right place to ask this but I bet someone here has the answer. When I use the command on XCP to create a new VM: vm-install new-name-label=Ubuntu 12.04.03 default template=Ubuntu Precise Pangolin 12.04 (64-bit) sr-name-label=local sr And use the network O.S. installation method will the VM that is being created be HVM or PV? And also, how can I check if a VM that is already created and running is PV or HVM? -- Rafael Weingartner
RE: VPC virtual router fails to start up - no route to CS Management Server.
Hi Enrique, I had the same issue on 4.0, 4.0.1 and 4.1 CloudStack's releases. I followed the documentation for complex deployment (CloudStack Manager and hypervisor (ESX) on a different networks) After some research it seems that the VPC's vRouter do not have a route to communicate with CloudStack server. On a VPC vRouter, the default route is set on the public network. I already post on this issue, and I did not have any feedback (my question could be not clear). I hope you will be luckiest. Best regards -Message d'origine- De : Enrique Ladrón de Guevara Hernández [mailto:enrique...@hotmail.com] Envoyé : mercredi 4 septembre 2013 00:23 À : users@cloudstack.apache.org Cc : d...@cloudstack.apache.org Objet : RE: VPC virtual router fails to start up - no route to CS Management Server. Hi, I don't know why but don't achive to insert the tar file ... You can download it in this link: http://we.tl/kHJtO3BK3f Regards. From: enrique...@hotmail.com To: users@cloudstack.apache.org CC: d...@cloudstack.apache.org Subject: RE: VPC virtual router fails to start up - no route to CS Management Server. Date: Wed, 4 Sep 2013 00:15:10 +0200 Hi, Logs and screenshots attached in a tar file. In my case, the type of the first interface is Control, as you can see in the screenshots. @developers, if you need more info let me know. Thanks to everyone, Regards. Date: Tue, 3 Sep 2013 08:05:10 +0100 Subject: Re: VPC virtual router fails to start up - no route to CS Management Server. From: msweet@gmail.com To: users@cloudstack.apache.org CC: d...@cloudstack.apache.org Hi, I couldn't find any screenshots in the string of messages. Looking at the logs it almost seems as like the VPC is stopping unexpectedly. Looking at my VPC, the first interface is a Link Local for Control type traffic, which is running on KVM. I will CC this into the dev mailinglist in search for a developer who knows more about VMWare and VPCs. In the meantime, please could you attach (in a tar), the screenshots of the VPC interfaces from the cloudstack interfaces. Thanks, Marty On Mon, Sep 2, 2013 at 6:28 PM, Enrique Ladrón de Guevara Hernández enrique...@hotmail.com wrote: Hi Marty, Sorry, could you look at the logs and screenshots?? Do you need more info to debug the issue?? Do you know if there is a bug related to this scenario?? I try to find any information on Internet and check my config but I don't know how to continue go ahead ... Do you recommend re-installing CS software with other version or the same version ?? Thanks in advanced for your help. Regards. From: enrique...@hotmail.com To: users@cloudstack.apache.org Subject: RE: VPC virtual router fails to start up - no route to CS Management Server. Date: Wed, 28 Aug 2013 20:16:26 +0200 Now better! Regards. From: enrique...@hotmail.com To: users@cloudstack.apache.org Subject: RE: VPC virtual router fails to start up - no route to CS Management Server. Date: Wed, 28 Aug 2013 20:09:39 +0200 Hi Marty, I have used a new test to capture screenshots and logs: VPC Name: VPC-Test Job: job-69 vrsm: r-59-VM you can find files attached. Thanks, Regards. - Date: Wed, 28 Aug 2013 10:16:23 +0100 Subject: Re: VPC virtual router fails to start up - no route to CS Management Server. From: msweet@gmail.com To: users@cloudstack.apache.org Hi, Could you let me know the IP addresses listed in the cloudstack interface under Infrastructure Virtual Routers VPC Marty On Tue, Aug 27, 2013 at 11:11 PM, Enrique Ladrón de Guevara Hernández enrique...@hotmail.com wrote: Hi Marty, Yes, I have still got this issue ... :S I'm very lost ... Guest Networks are working fine, but in VPC nop ... If you need more info, please let me know. Thanks a lot for your time, Regards. Date: Tue, 27 Aug 2013 22:54:11 +0100 Subject: Re: VPC virtual router fails to start up - no route to CS Management Server. From: msweet@gmail.com To: users@cloudstack.apache.org Hi Enrique, Sorry I haven't got back to you, is this still an issue? If so, I will take a look at it and get back to you in the morning. Thanks, Marty On Monday, August 26, 2013, Enrique Ladrón de Guevara Hernández wrote: Hi Marty, My apologies for the format. I hope this time the email format will be better. You can find the logs attached. In this log you can see several VPC deployment tests. One of them is: - VPC name: VPC-Prueba-1 - job: job-11 - ssvm: r-53-VM. I use GUI to create VPC. The system VM (virutal router) is created and I can log in by console (VNC or VMWARE console), but after 40 min (aprox) this SSVM are destroyed because the MS is not able to
Re: about os templates
On 05.09.2013 20:45, Steven Liang wrote: Thank you very much. I've tested. The CentOS 6 works, but FreeBSD doesn't work. Have you added it as Other PV as the README file instructs? -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Help with host network config KVM + Centos
2013/9/6 Sanjeev Neelarapu sanjeev.neelar...@citrix.com /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=none IPV6INIT=no NM_CONTROLLED=no ONBOOT=yes TYPE=OVSPort DEVICETYPE=ovs OVS_BRIDGE=cloudbr0 /etc/sysconfig/network-scripts/ifcfg-eth1 DEVICE=eth1 BOOTPROTO=none IPV6INIT=no NM_CONTROLLED=no ONBOOT=yes TYPE=OVSPort DEVICETYPE=ovs OVS_BRIDGE=cloudbr1 /etc/sysconfig/network-scripts/ifcfg-cloudbr0 DEVICE=cloudbr0 ONBOOT=yes DEVICETYPE=ovs TYPE=OVSBridge BOOTPROTO=static IPADDR=172.16.10.10 GATEWAY=172.16.10.1 NETMASK=255.255.255.0 HOTPLUG=no /etc/sysconfig/network-scripts/ifcfg-cloudbr1 DEVICE=cloudbr1 ONBOOT=yes DEVICETYPE=ovs TYPE=OVSBridge BOOTPROTO=none HOTPLUG=no Hi Sanjeev, I followed this configuration on my CS + KVM + Openvswitch. Host was added correctly, System VMs started but can't be ping or ssh. Does this configuration work on your setup? -- N.g.U.y.e.N.A.n.H.t.U
Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?
Hi, try putting /boot on a separate ext3-formatted partition. Also, be careful what options you select when installing Ubuntu. I recall that the Ubuntu Cloud Image option in some Ubuntu versions breaks compatibility with XenServer. Lastly, it's not clear from your email how you created the Ubuntu VM, but my suggestion was to create it on a standalone XenServer, which can be virtualized on VirtualBox if necessary. If you are creating a Ubuntu VM directly in VirtualBox, there will probably be issues getting the VM to work in XenServer. Best regards, Kirk On 09/06/2013 07:22 AM, France wrote: After creating VHD using VirtualBox and registering the template with CS 4.1.1 (Other PV), creating the VM from that template fails. To me it seems that pygroup doesn't find the root. Any help would be greatly appreciated. In return i can provide a link to VHD 12.04 LTS image i created. Here is the error from CS: -- errorInfo: [Using class 'grub.GrubConf.Grub2ConfigFile' to parse /grub/grub.cfg, WARNING:root:Unknown directive load_video, WARNING:root:Unknown directive terminal_output, WARNING:root:Unknown directive else, WARNING:root:Unknown directive export, WARNING:root:Unknown image directive recordfail, WARNING:root:Unknown image directive gfxmode, WARNING:root:Unknown directive submenu, Traceback (most recent call last):, File /usr/bin/pygrub, line 850, in ?, raise RuntimeError, Unable to find partition containing kernel, RuntimeError: Unable to find partition containing kernel, ] -- Here is the actual grub config if i mount that VHD and take a look at it: -- # # DO NOT EDIT THIS FILE # # It is automatically generated by grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; then set have_grubenv=true load_env fi set default=0 if [ ${prev_saved_entry} ]; then set saved_entry=${prev_saved_entry} save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z ${boot_once} ]; then saved_entry=${chosen} save_env saved_entry fi } function recordfail { set recordfail=1 if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi } function load_video { insmod vbe insmod vga insmod video_bochs insmod video_cirrus } insmod lvm insmod part_msdos insmod ext2 set root='(ubuntu-vg-root)' search --no-floppy --fs-uuid --set=root b57488e9-5f29-407c-b3c1-767d37331494 if loadfont /usr/share/grub/unicode.pf2 ; then set gfxmode=auto load_video insmod gfxterm insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root 770a59b2-6d31-413f-862d-c172a6a042d1 set locale_dir=($root)/grub/locale set lang=en_US insmod gettext fi terminal_output gfxterm if [ ${recordfail} = 1 ]; then set timeout=-1 else set timeout=2 fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/05_debian_theme ### set menu_color_normal=white/black set menu_color_highlight=black/light-gray ### END /etc/grub.d/05_debian_theme ### ### BEGIN /etc/grub.d/10_linux ### function gfxmode { set gfxpayload=${1} if [ ${1} = keep ]; then set vt_handoff=vt.handoff=7 else set vt_handoff= fi } if [ ${recordfail} != 1 ]; then if [ -e ${prefix}/gfxblacklist.txt ]; then if hwmatch ${prefix}/gfxblacklist.txt 3; then if [ ${match} = 0 ]; then set linux_gfx_mode=keep else set linux_gfx_mode=text fi else set linux_gfx_mode=text fi else set linux_gfx_mode=keep fi else set linux_gfx_mode=text fi export linux_gfx_mode if [ ${linux_gfx_mode} != text ]; then load_video; fi menuentry 'Ubuntu, with Linux 3.8.0-30-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail gfxmode $linux_gfx_mode insmod gzio insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root 770a59b2-6d31-413f-862d-c172a6a042d1 linux/vmlinuz-3.8.0-30-generic root=/dev/mapper/ubuntu--vg-root ro initrd/initrd.img-3.8.0-30-generic } menuentry 'Ubuntu, with Linux 3.8.0-30-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod gzio insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root 770a59b2-6d31-413f-862d-c172a6a042d1 echo'Loading Linux 3.8.0-30-generic ...' linux/vmlinuz-3.8.0-30-generic root=/dev/mapper/ubuntu--vg-root ro recovery nomodeset echo'Loading initial ramdisk ...' initrd/initrd.img-3.8.0-30-generic } submenu Previous Linux versions { menuentry 'Ubuntu, with Linux 3.8.0-29-generic' --class ubuntu --class gnu-linux --class gnu
Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?
Hi France I made some last minute adjustments so the script may have some issues but hopefully should be straight forward enough. If not let me know. You will need to include the xe-guest-utilities_6.0.2-766_amd64.deb in the directory from the XenServer tools install iso. I could not find a place to download it from. You should run the createUbuntuCSimageXen.sh script on an ubuntu 12.04 machine for best results and make sure the directory it runs in has plenty of room 10+G. Once it creates the ubuntu-12.04.3-server-cloudimg-amd64.fs file you will need to move that file to a XenServer host to run the createVDH.sh script. Let me know how it goes. https://github.com/creategui/CloudStackImageScripts Actually I am having trouble pushing my files... I'll email them to you later tonight. I have to leave the office now... Cheers, Carlos On Fri, Sep 6, 2013 at 4:00 AM, France mailingli...@isg.si wrote: Have you managed to publish it? If so, please provide URL to it, if not, please send it to my email address. Tnx. F. On 5/9/13 7:42 PM, Carlos Reategui wrote: As others have mentioned you will need to select one of the Other options if you want to run 12.04. I have not tried to boot from iso and seem to remember someone saying it will not work in PV mode so you will probably need to try with Other (64 bit) or Other Linux (64 bit). Once you have it up and running you can convert it to PV and use Other PV (64 bit) Better yet :) I have been working on a script that converts the ubuntu 12.04 cloud image from http://cloud-images.ubuntu.**com/releases/precise/release/http://cloud-images.ubuntu.com/releases/precise/release/into a CloudStack image that works with Other PV (64 bit). It also fixes the cloud-init from 12.04 to work with the CloudStack metadata server and adds the Cloudstack password set service. I'll try to get it up on github later today (I'm a github noob)... Cheers, Carlos On Thu, Sep 5, 2013 at 3:40 AM, France mailingli...@isg.si wrote: Related error from catalina.out, when user wanted to boot form ISO. I haven't tried myself yet, but i don't think it would be any different. [xen.resource.CitrixHelper] (DirectAgent-92:) XenServer 6.0.2 DOES NOT support Guest OS type Ubuntu 12.04 (64-bit) On 5/9/13 12:13 PM, France wrote: Hi all. has anyone successfully installed Ubuntu 12.04 LTS or 14.04 LTS on XenServer 6.0.2 with CS 4.1.1? If so, how was it done? Maybe you shoud share the template with us? :-) Officially only 10.* is supported: https://support.citrix.com/** servlet/KbServlet/download/30196-102-673808/guest_ support_6.0.2.pdfhttps://**support.citrix.com/servlet/** KbServlet/download/30196-102-**673808/guest_support_6.0.2.pdfhttps://support.citrix.com/servlet/KbServlet/download/30196-102-673808/guest_support_6.0.2.pdf ** On a related notes, is there a site with XenServer templates where one cloud find such a template? Thanks. F.
Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?
Hi France, Ok I think I got the scripts up on github now. Let me know if they work for you. On Fri, Sep 6, 2013 at 7:17 PM, Carlos Reategui car...@reategui.com wrote: Hi France I made some last minute adjustments so the script may have some issues but hopefully should be straight forward enough. If not let me know. You will need to include the xe-guest-utilities_6.0.2-766_amd64.deb in the directory from the XenServer tools install iso. I could not find a place to download it from. You should run the createUbuntuCSimageXen.sh script on an ubuntu 12.04 machine for best results and make sure the directory it runs in has plenty of room 10+G. Once it creates the ubuntu-12.04.3-server-cloudimg-amd64.fs file you will need to move that file to a XenServer host to run the createVDH.sh script. Let me know how it goes. https://github.com/creategui/CloudStackImageScripts Actually I am having trouble pushing my files... I'll email them to you later tonight. I have to leave the office now... Cheers, Carlos On Fri, Sep 6, 2013 at 4:00 AM, France mailingli...@isg.si wrote: Have you managed to publish it? If so, please provide URL to it, if not, please send it to my email address. Tnx. F. On 5/9/13 7:42 PM, Carlos Reategui wrote: As others have mentioned you will need to select one of the Other options if you want to run 12.04. I have not tried to boot from iso and seem to remember someone saying it will not work in PV mode so you will probably need to try with Other (64 bit) or Other Linux (64 bit). Once you have it up and running you can convert it to PV and use Other PV (64 bit) Better yet :) I have been working on a script that converts the ubuntu 12.04 cloud image from http://cloud-images.ubuntu.**com/releases/precise/release/http://cloud-images.ubuntu.com/releases/precise/release/into a CloudStack image that works with Other PV (64 bit). It also fixes the cloud-init from 12.04 to work with the CloudStack metadata server and adds the Cloudstack password set service. I'll try to get it up on github later today (I'm a github noob)... Cheers, Carlos On Thu, Sep 5, 2013 at 3:40 AM, France mailingli...@isg.si wrote: Related error from catalina.out, when user wanted to boot form ISO. I haven't tried myself yet, but i don't think it would be any different. [xen.resource.CitrixHelper] (DirectAgent-92:) XenServer 6.0.2 DOES NOT support Guest OS type Ubuntu 12.04 (64-bit) On 5/9/13 12:13 PM, France wrote: Hi all. has anyone successfully installed Ubuntu 12.04 LTS or 14.04 LTS on XenServer 6.0.2 with CS 4.1.1? If so, how was it done? Maybe you shoud share the template with us? :-) Officially only 10.* is supported: https://support.citrix.com/** servlet/KbServlet/download/30196-102-673808/guest_ support_6.0.2.pdfhttps://**support.citrix.com/servlet/** KbServlet/download/30196-102-**673808/guest_support_6.0.2.pdfhttps://support.citrix.com/servlet/KbServlet/download/30196-102-673808/guest_support_6.0.2.pdf ** On a related notes, is there a site with XenServer templates where one cloud find such a template? Thanks. F.
Re: XCP and PV virtual machines
You may want to look at the script I just put on https://github.com/creategui/CloudStackImageScripts to create an Ubuntu image from the Ubuntu cloud image repository ( http://cloud-images.ubuntu.com/releases/precise/release/) On Fri, Sep 6, 2013 at 12:06 PM, Rafael Weingartner rafaelweingart...@gmail.com wrote: Hi guys, this might not be the right place to ask this but I bet someone here has the answer. When I use the command on XCP to create a new VM: vm-install new-name-label=Ubuntu 12.04.03 default template=Ubuntu Precise Pangolin 12.04 (64-bit) sr-name-label=local sr And use the network O.S. installation method will the VM that is being created be HVM or PV? And also, how can I check if a VM that is already created and running is PV or HVM? -- Rafael Weingartner