[Bug 705395] Re: $domain is not available in libvirtxml.tmpl

2013-02-08 Thread Serge Hallyn
** Changed in: vm-builder (Ubuntu)
 Assignee: Serge Hallyn (serge-hallyn) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in Ubuntu.
https://bugs.launchpad.net/bugs/705395

Title:
  $domain is not available in libvirtxml.tmpl

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/705395/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 705395] Re: $domain is not available in libvirtxml.tmpl

2011-06-08 Thread Sergey Svishchev
Indeed, $domain works in /etc/vmbuilder/ubuntu/etc_hosts.tmpl, but it
still doesn't in libvirt/libvirtxml.tmpl

2011-06-08 14:40:50,519 INFO: Calling hook: deploy
Traceback (most recent call last):
  File "/usr/bin/vmbuilder", line 24, in 
cli.main()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/contrib/cli.py", line 121, 
in main
hypervisor.finalise(destdir)
  File "/usr/lib/python2.6/dist-packages/VMBuilder/hypervisor.py", line 78, in 
finalise
self.call_hooks('deploy', destdir)
  File "/usr/lib/python2.6/dist-packages/VMBuilder/distro.py", line 66, in 
call_hooks
call_hooks(self, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/VMBuilder/util.py", line 158, in 
call_hooks
getattr(plugin, func, log_no_such_method)(*args, **kwargs)
  File 
"/usr/lib/python2.6/dist-packages/VMBuilder/plugins/libvirt/__init__.py", line 
78, in deploy
vmxml = VMBuilder.util.render_template('libvirt', self.context, 
'libvirtxml', tmpl_ctxt)
  File "/usr/lib/python2.6/dist-packages/VMBuilder/util.py", line 147, in 
render_template
output = t.respond()
  File "_tmp_tmp_uasGWMW6K5_705395_tmpl_libvirt_libvirtxml_tmpl.py", line 94, 
in respond
NameMapper.NotFound: cannot find 'domain'


** Changed in: vm-builder (Ubuntu)
   Status: Invalid => New

** Attachment added: "705395.tar"
   
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/705395/+attachment/2160397/+files/705395.tar

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in Ubuntu.
https://bugs.launchpad.net/bugs/705395

Title:
  $domain is not available in libvirtxml.tmpl

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 705395] Re: $domain is not available in libvirtxml.tmpl

2011-04-04 Thread Serge Hallyn
I don't believe this bug is valid.  I tested it by exploiting the fact
that '$domain' is used in /etc/vmbuilder/ubuntu/etc_hosts.tmpl.  So, I
ran:

vmbuilder kvm ubuntu --suite=lucid
--mirror=http://localhost:3142/us.archive.ubuntu.com/ubuntu/
--config=my.cfg

where my.cfg contained:


[ubuntu]

domain = fakehallyn.com
hostname = myvm
=

The /etc/hosts on the resulting machine contained my entries.

In your example .cfg file, you have 'domain' under

[kvm/ubuntu].  Since you didn't show me your templates I can't be sure,
but I suspect you needed to use [kvm] or [ubuntu].

I'm marking this Invalid.  If you feel I'm wrong about that, please re-
mark it 'New' and upload all your templates in a tarfile (so that I can
also see their hierarchy).


** Changed in: vm-builder (Ubuntu)
   Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in Ubuntu.
https://bugs.launchpad.net/bugs/705395

Title:
  $domain is not available in libvirtxml.tmpl

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 705395] Re: $domain is not available in libvirtxml.tmpl

2011-03-30 Thread Serge Hallyn
Thanks for the info, but please attach the complete files (replacing any
passwords with XXX) and give the full command line.  Your vm.cfg has
'templates = ../vmbuilder' - what is in that directory?

** Changed in: vm-builder (Ubuntu)
   Status: In Progress => Incomplete

** Changed in: vm-builder (Ubuntu)
   Importance: Medium => Low

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in Ubuntu.
https://bugs.launchpad.net/bugs/705395

Title:
  $domain is not available in libvirtxml.tmpl

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 705395] Re: $domain is not available in libvirtxml.tmpl

2011-03-30 Thread Serge Hallyn
** Changed in: vm-builder (Ubuntu)
   Importance: Undecided => Medium

** Changed in: vm-builder (Ubuntu)
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in Ubuntu.
https://bugs.launchpad.net/bugs/705395

Title:
  $domain is not available in libvirtxml.tmpl

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 705395] Re: $domain is not available in libvirtxml.tmpl

2011-03-30 Thread Sergey Svishchev
** Changed in: vm-builder (Ubuntu)
   Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in Ubuntu.
https://bugs.launchpad.net/bugs/705395

Title:
  $domain is not available in libvirtxml.tmpl

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 705395] Re: $domain is not available in libvirtxml.tmpl

2011-01-26 Thread Sergey Svishchev
Command line looks like this:

sudo vmbuilder kvm ubuntu --config .../vm.cfg ...

vm.cfg looks like this:

[kvm]
<...>
domain = example.com

[kvm/ubuntu]

suite = karmic
flavour = virtual
components = main,restricted,universe,multiverse
templates = .../vmbuilder
<...>

** Attachment added: "libvirtxml.tmpl"
   
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/705395/+attachment/1807958/+files/libvirtxml.tmpl

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.
https://bugs.launchpad.net/bugs/705395

Title:
  $domain is not available in libvirtxml.tmpl

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 705395] Re: $domain is not available in libvirtxml.tmpl

2011-01-25 Thread Serge Hallyn
Thanks for reporting this bug.  Could you attach the template you are
using, and the command which you use in karmic to make use of it?

** Changed in: vm-builder (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.
https://bugs.launchpad.net/bugs/705395

Title:
  $domain is not available in libvirtxml.tmpl

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 705395] Re: $domain is not available in libvirtxml.tmpl

2011-01-25 Thread Dave Walker
Tentatively assigning to Serge Hallyn for comment if this is a
regression, or a feature change.  Are you aware of the cause of this?

Thanks.

** Changed in: vm-builder (Ubuntu)
 Assignee: (unassigned) => Serge Hallyn (serge-hallyn)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.
https://bugs.launchpad.net/bugs/705395

Title:
  $domain is not available in libvirtxml.tmpl

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs