Hi Wilder, I use this ansible based tool to setup my one node DevCloud KVM setup locally on a VM or baremetal: https://github.com/bhaisaab/peppercorn (may need suitable changes as per your environment).
Every time I build stuff, I copy jars from local build dir to KVM host's /usr/share/cloudstack-agent and cloudstack-common. In fact, I use this using CloudStack. So a VM running in basic zone no SG can be used as a KVM host using peppercorn. On Wednesday 18 February 2015 10:50 PM, Wilder Rodrigues wrote:
It works! But I won’t celebrate that much because in the past 2 ours I have changed a ton of things. [ekho@devcloud-kvm-ekho-vm devcloud-kvm]$ ssh root@192.168.100.10<mailto:root@192.168.100.10> root@192.168.100.10<mailto:root@192.168.100.10>'s password: Last login: Tue Apr 1 09:15:00 2014 from 192.168.100.1 [root@devcloud-kvm ~]# [root@devcloud-kvm ~]# [root@devcloud-kvm ~]# ls Desktop Documents Downloads Music Pictures Public Templates Videos anaconda-ks.cfg install.log install.log.syslog [root@devcloud-kvm ~]# I will go on for now but will recreate the environment, really from scratch! Thanks for the support, guys! Cheers, Wilder On 18 Feb 2015, at 18:16, Wilder Rodrigues <wrodrig...@schubergphilis.com<mailto:wrodrig...@schubergphilis.com>> wrote: Hi there guys, @Nux: thanks a lot… went through and and some other links I found and am now connected to the machine @Marcus: really weird! I found some presentations (form you) around April last year and they also mention “password” as being the passed. I think my environment is not properly done yet. I’m using the CentOS one and the host OS is also CentOS, but the 6.4 version. I had to update the kernel in order to get KVM nested stuff enable. Been through a lot today, but I think it’s moving towards the right direction now. current situation here: https://twitter.com/wilderrodrigues/status/568096520161140736 :) I will take care of children’s dinner and will be back to you tomorrow. Cheers, Wilder On 18 Feb 2015, at 17:01, Marcus <shadow...@gmail.com<mailto:shadow...@gmail.com>> wrote: Are you using the Ubuntu or CentOS version? The Ubuntu one may not allow root by default (standard for Ubuntu), but might be user 'ubuntu' and password 'password', from which you can sudo. On Wed, Feb 18, 2015 at 7:56 AM, Marcus <shadow...@gmail.com<mailto:shadow...@gmail.com>> wrote: It should be 'password', I've redeployed one just recently. On Wed, Feb 18, 2015 at 6:57 AM, Nux! <n...@li.nux.ro<mailto:n...@li.nux.ro>> wrote: You can use virt-manager for that, similar to the virtualbox interface. http://virt-manager.org/ On the server: yum install virt-manager xorg-x11-xauth dejavu-lgc-sans-fonts Logout from the ssh session, start X11 on your OSX and re-login to the server with "ssh -X", then type "virt-manager", this GUI will run over SSH. This will allow you to stop/start/VNC etc. HTH Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro ----- Original Message ----- From: "Wilder Rodrigues" <wrodrig...@schubergphilis.com> To: "Nux!" <n...@li.nux.ro> Cc: dev@cloudstack.apache.org, "Wido den Hollander" <w...@widodh.nl>, "ilya mailing lists" <ilya.mailing.li...@gmail.com>, "Marcus Schaefer - KLM - External" <mschae...@akamai.com>, "Funs Kessen" <fkes...@schubergphilis.com>, "Hugo Trippaers" <htrippa...@schubergphilis.com>, "int-cloud" <int-cl...@schubergphilis.com>, "int-toolkit" <int-tool...@schubergphilis.com>, "Daan Hoogland" <dhoogl...@schubergphilis.com> Sent: Wednesday, 18 February, 2015 14:43:10 Subject: Re: [devcloud-kvm] what is the password for root? That bit I know… But have to get to the guest VM console. I have a CentOS 6.4 with qemu-kvm and libvirt. Everything is running fine. I’m trying this here: http://askubuntu.com/questions/569418/how-to-start-a-kvm-guest-as-single-user-mode Will let you know if it works. Thanks for the quick replies. :) Cheers, Wilder On 18 Feb 2015, at 15:35, Nux! <n...@li.nux.ro<mailto:n...@li.nux.ro>> wrote: Well, What OS is that? Never used devcloud. BUT a few pointers: http://askubuntu.com/questions/24006/how-do-i-reset-a-lost-administrative-password http://wiki.centos.org/TipsAndTricks/ResetRootPassword -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro ----- Original Message ----- From: "Wilder Rodrigues" <wrodrig...@schubergphilis.com> To: "Nux!" <n...@li.nux.ro> Cc: dev@cloudstack.apache.org, "Wido den Hollander" <w...@widodh.nl>, "ilya mailing lists" <ilya.mailing.li...@gmail.com>, "Marcus Schaefer - KLM - External" <mschae...@akamai.com>, "Funs Kessen" <fkes...@schubergphilis.com>, "Hugo Trippaers" <htrippa...@schubergphilis.com>, "int-cloud" <int-cl...@schubergphilis.com>, "int-toolkit" <int-tool...@schubergphilis.com>, "Daan Hoogland" <dhoogl...@schubergphilis.com> Sent: Wednesday, 18 February, 2015 14:32:40 Subject: Re: [devcloud-kvm] what is the password for root? Hi Nux, Thanks for the reply… :) Thats my first time setting this up. So, to be really honest, I do not know how to do what you just mentioned. :( Will google it.. or perhaps you can give tips. :) Cheers, Wilder On 18 Feb 2015, at 15:14, Nux! <n...@li.nux.ro<mailto:n...@li.nux.ro>> wrote: Can't you boot that in single user mode and reset the password? -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro<http://www.nux.ro/> ----- Original Message ----- From: "Wilder Rodrigues" <wrodrig...@schubergphilis.com<mailto:wrodrig...@schubergphilis.com>> To: dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>, "Wido den Hollander" <w...@widodh.nl<mailto:w...@widodh.nl>>, "ilya mailing lists" <ilya.mailing.li...@gmail.com<mailto:ilya.mailing.li...@gmail.com>>, "Marcus Schaefer - KLM - External" <mschae...@akamai.com<mailto:mschae...@akamai.com>> Cc: "Funs Kessen" <fkes...@schubergphilis.com<mailto:fkes...@schubergphilis.com>>, "Hugo Trippaers" <htrippa...@schubergphilis.com<mailto:htrippa...@schubergphilis.com>>, "int-cloud" <int-cl...@schubergphilis.com<mailto:int-cl...@schubergphilis.com>>, "int-toolkit" <int-tool...@schubergphilis.com<mailto:int-tool...@schubergphilis.com>>, "Daan Hoogland" <dhoogl...@schubergphilis.com<mailto:dhoogl...@schubergphilis.com>> Sent: Wednesday, 18 February, 2015 14:11:16 Subject: Re: [devcloud-kvm] what is the password for root? Hi Wido, Ilya and Marcus, Daan said that you might now the password. Do you know it? :) The apache wiki page says the password for the root account on the devcloud-kvm is “password”. But I tried it and it doesn't work. In order to deploy a datacenter, I need the host root password. :( Any idea? Thanks in advance. Cheers, Wilder On 18 Feb 2015, at 11:31, Wilder Rodrigues <wrodrig...@schubergphilis.com<mailto:wrodrig...@schubergphilis.com><mailto:wrodrig...@schubergphilis.com>> wrote: Hi all, I’m preparing a devcloud-kvm test environment based on the wiki https://cwiki.apache.org/confluence/display/CLOUDSTACK/devcloud-kvm Already got network sorted and also got my devcloud-kvm profile running (see details below signature), but when trying to ssh into 192.168.10.1 or 172.17.10.1, the password given on the wiki page doesn’t ork. Would any of you, by any chance, know which password does the root user have? :) Thanks in advance. Cheers, Wilder [ekho@devcloud-kvm-ekho-vm ~]$ ifconfig br0 Link encap:Ethernet HWaddr 02:00:05:45:00:01 inet addr:10.1.1.14 Bcast:10.1.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:5670 errors:0 dropped:0 overruns:0 frame:0 TX packets:3832 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:601443 (587.3 KiB) TX bytes:576714 (563.1 KiB) devcloud-kvm-0 Link encap:Ethernet HWaddr 52:54:00:72:11:15 inet addr:172.17.10.1 Bcast:172.17.10.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) devcloud-kvm-1 Link encap:Ethernet HWaddr 52:54:00:2A:24:B4 inet addr:192.168.100.1 Bcast:192.168.100.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:3 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:126 (126.0 b) eth0 Link encap:Ethernet HWaddr 02:00:05:45:00:01 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:5670 errors:0 dropped:0 overruns:0 frame:0 TX packets:3851 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:680823 (664.8 KiB) TX bytes:577968 (564.4 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:243 errors:0 dropped:0 overruns:0 frame:0 TX packets:243 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:35734 (34.8 KiB) TX bytes:35734 (34.8 KiB) vnet0 Link encap:Ethernet HWaddr FE:54:00:4E:FF:4F UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:30 errors:0 dropped:0 overruns:0 frame:0 TX packets:466 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:500 RX bytes:4441 (4.3 KiB) TX bytes:24232 (23.6 KiB) vnet1 Link encap:Ethernet HWaddr FE:54:00:52:B1:5E UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:30 errors:0 dropped:0 overruns:0 frame:0 TX packets:467 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:500 RX bytes:4453 (4.3 KiB) TX bytes:24284 (23.7 KiB) [ekho@devcloud-kvm-ekho-vm ~]$ sudo virsh list --all setlocale: No such file or directory Id Name State ---------------------------------------------------- 1 devcloud-kvm running
-- Regards, Rohit Yadav Software Architect, ShapeBlue M. +91 8826230892 | rohit.ya...@shapeblue.com Blog: bhaisaab.org | Twitter: @_bhaisaab PS. If you see any footer below, I did not add it :) Find out more about ShapeBlue and our range of CloudStack related services IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> CloudStack 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 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.