Sunteți pe pagina 1din 6

Community

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

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

pxe 64

asked 3 months ago


viewed 401 times
active 3 months ago
Community Bulletin
blog

The War of the Closes

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

share improve this question

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

How to PXE-boot from


Ubuntu 10.04 Desktop
edition?

How do I boot Ubuntu from


the network without
installing?

Why can't I decommission


MaaS nodes?

What do I use for the pxe


boot file for MAAS nodes?

What do the various MaaS


node statuses mean?

Node remains in
commissioning status

Maas doesn't install node

Booting from network

MAAS PXE Boot fail. IP-Config


: no response

How to configure MAAS to be


able to boot virtual machines

asked Mar 13 at 17:12


Yasser Zamani
180
5

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

answered Mar 18 at 15:57


Yasser Zamani
180
5

I suspect you're seeing bug 1051626.

I had to change the next-server in /etc/maas/dhcpd.conf to be the IP of the virbr0 interface.


sudo sed -i.dist "s/next-server .*/next-server $MAAS_NEXT_SERVER;/" \
/etc/maas/dhcpd.conf
sudo service maas-dhcp-server restart
share improve this answer

answered Mar 13 at 19:43


smoser
666
2
7

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

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

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

answered Mar 13 at 20:30


dhojgaard
406
5
16

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

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

Sign up or log in

Post as a guest

Sign up using Google

Name

Sign up using Facebook

Email

Sign up using Stack Exchange

Post Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged
pxe or ask your own question.

boot

kvm

maas

question feed

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

about

help badges blog

chat

data legal privacy policy

jobs advertising info mobile

TECHNOLOGY

LIFE / ARTS

CULTURE / RECREATION

SCIENCE

OTHER

English Language &


Usage

MathOverflow

Stack Apps

Mathematics

Meta Stack Overflow

Cross Validated (stats)

Area 51
Stack Overflow Careers

Stack Overflow

Programmers

Database Administrators

Photography

Server Fault

Unix & Linux

Drupal Answers

Science Fiction & Fantasy

Super User
Web Applications
Ask Ubuntu
Webmasters
Game Development
TeX - LaTeX

Ask Different (Apple)


WordPress Answers

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

Ubuntu and Canonical are registered trademarks of Canonical Ltd.

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

S-ar putea să vă placă și