Documente Academic
Documente Profesional
Documente Cultură
Ask!
Dev eloper
Design
Hardw are
Shop
More
Ubuntu
sign up log in
Questions
Tags
Tour
search
Users
Ask Question
Tell me more
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.
How to PXE boot a virtual machine from another virtual machine which are in same
virtual network?
I am doing following tutorial:
SecurityTeam/TestingMAAS
But I cannot get out from 'Commissioning' state of my virtual MaaS nodes to 'Ready' state. Following
image shows my current architecture:
tagged
boot 3729
kvm 166
maas 158
pxe 64
pdfcrowd.com
pxe 64
Related
Now, I would like to pxe boot MaaS nodes via MaaS Server! I added <dev root='network' /> to VM's
XMLs but when I start them, they just say not bootable device . They even do not try to find any
DHCP server for pxe boot! I also try to forward UDP packets (tftpd=69, mdnc=68, dhcp=67) from KVM's
host to MaaS Server via ip tables but nothing changed!
How I can troubleshoot TFTPD and BOOTP servers at MaaS Server? I could not find any log for them on
the system!
Does this architecture allow this booting scenario? If not so, how I should reach the 'Ready' state for my
MaaS's nodes!
Thanks in advance!
boot
kvm
maas
pxe
Node remains in
commissioning status
pdfcrowd.com
3 Answers
ACTIVE
OLDEST
VOTES
Tons of thanks to gPXE, if the node boot up via a gPXE iso as it's cdrom (rather than a network boot),
then it can successfully take interaction with MaaS Server and change it's state from Commissioning
to Ready !
share improve this answer
I do NOT have /etc/maas/dhcpd.conf on MaaS Server's file system! However, USING SAME
CONFIGURATIONS, after some more research I could boot up the node from MaaS Server using gPxe (rom-omatic.net/gpxe/gpxe-1.0.1/contrib/rom-o-matic). It successfully booted up but always connects to MaaS's
apache server to download packages rather than archive.ubuntu.com!!! I'll continue after my new year holidays
and let you know ;) thanks Yasser Zamani Mar 17 at 18:54
Hi again; I successfully booted up using gPxe (rom-o-matic.net/gpxe/gpxe-1.0.1/contrib/rom-o-matic). It
started booting from MaaS Server's TFTP, downloaded and installed some staff and finally shutdowned itself.
I happily gone to MaaS Server WEB UI but still they're in commissioning state :(( Yasser Zamani Mar 18 at
14:13
OK, previuos comment was a temprory unknown problem; I started an amazing new year because finally I
pdfcrowd.com
OK, previuos comment was a temprory unknown problem; I started an amazing new year because finally I
bootstrapped juju using gPXE utility as I described in my answer :) thank you @smoser for developing
ubuntu ;) Yasser Zamani Mar 18 at 16:05
If I were you i would consider connecting to your server with virt-manager gui and set it up that way. It
gives a better overview - to me it seems you have misconfigured the networking and therefore the
nodes can not fetch the IP address...
share improve this answer
but when I boot up another VM in same network via a Live CD (DSL), it can get a new IP from MaaS Server; I
verified this by seeing /var/log/syslog . Yasser Zamani Mar 13 at 20:41
Yasser, right. Its only an issue with the tftp, and my experience was that it was only on the attempt to load
the tftp config. If you're able, just make the tftp server listen on the virbr0 interface address. smoser Mar
14 at 18:14
@dhojgaard, the KVM and VMs are on a server machine which cannot have X Windows installed; Can
virt-manager display a remore VM via opening itself via Xming Server ? Yasser Zamani Mar 17
at 19:00
@YasserZamani With virt-manager you can connect to the server running the virtual machines. Try to install
it on your laptop or a computer running ubuntu desktop and connect to the network with the server and
then connect to that server via virt-manager dhojgaard Mar 18 at 13:05
Your Answer
pdfcrowd.com
Sign up or log in
Post as a guest
Name
Not the answer you're looking for? Browse other questions tagged
pxe or ask your own question.
boot
kvm
maas
question feed
pdfcrowd.com
about
chat
TECHNOLOGY
LIFE / ARTS
CULTURE / RECREATION
SCIENCE
OTHER
MathOverflow
Stack Apps
Mathematics
Area 51
Stack Overflow Careers
Stack Overflow
Programmers
Database Administrators
Photography
Server Fault
Drupal Answers
Super User
Web Applications
Ask Ubuntu
Webmasters
Game Development
TeX - LaTeX
SharePoint
Seasoned Advice
(cooking)
Skeptics
Mi Yodeya (Judaism)
Home Improvement
Travel
Theoretical Computer
Science
more (13)
Christianity
Physics
Electrical Engineering
Arqade (gaming)
more (7)
Android Enthusiasts
Bicycles
IT Security
Role-playing Games
Geographic Information
Systems
User Experience
contact us feedback
Mathematica
more (13)
more (21)
site design / logo 2013 stack exchange inc; user contributions licensed under cc-wiki with attribution required
rev 2013.6.26.778
pdfcrowd.com