[xen-tools] Re: Multiple role scripts ..
Jeff Forcier
jeff at bitprophet.org
Sun Sep 23 01:45:18 CEST 2007
Thanks a lot for putting that in, Steve :)
In trying to test it out, I found myself having to upgrade from the
latest Debian (Ubuntu 'gutsy' actually) package which I'd been using
(3.7-1). For reasons I won't go into unless you're interested, I ended
up doing a CVS checkout and then used dpkg-buildpackage + dpkg -i on
the checkout so it would play nice with apt (long story short, the
Ubuntu xen metapackage depends on xen-tools). I only mention this in
case it's relevant to the below.
For one thing, after installing and trying to run xen-create-image, it
turned out I was missing the Perl Moose library (libmoose-perl) - not
sure if it needs to be added as a package dependency or if it is and
messed up somewhere.
More importantly, once that's taken care of I get a traceback
(xen-create-image again, with ip/hostname/role arguments given):
Attribute (log_fh) does not pass the type constraint (FileHandle) with
'1' at (eval 19) line 1
Xen::Tools::Log::log_fh('Xen::Tools::Log=HASH(0x86b76f0)')
called at /usr/share/perl5/Xen/Tools/Log.pm line 71
Xen::Tools::Log::print_log('Xen::Tools::Log=HASH(0x86b76f0)',
'\x{a}General Information\x{a}') called at
/usr/share/perl5/Xen/Tools/Log.pm line 47
Xen::Tools::Log::print('Xen::Tools::Log=HASH(0x86b76f0)',
'\x{a}General Information\x{a}') called at
/usr/share/perl5/Xen/Tools.pm line 65
Xen::Tools::log('Xen::Tools=HASH(0x86b169c)', '\x{a}General
Information\x{a}') called at /usr/bin/xen-create-image line 2137
main::showSummary() called at /usr/bin/xen-create-image line 772
Unfortunately, my Perl is nonexistent, so my attempts to debug on my
own didn't go very far (i.e. the mentioned line 71 in Log.pm didn't
appear obviously broken).
Not sure if the above file is more in C.J's or Steve's domain, but
hopefully one of you will know what's up.
Thanks,
Jeff
On 9/22/07, Steve Kemp <steve at steve.org.uk> wrote:
>
> As of last night it is now possible to specify
> multiple role scripts, via something like this:
More information about the xen-tools-discuss
mailing list