Home · About · Download · Documentation · Getting Help · Google+

Ticket #20 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

Error when attempting to export vnfs.

Reported by: ajdecon Owned by: gmk
Priority: major Milestone: Beta release
Component: general Version:
Keywords: vnfs Cc: adeconinck@…


Currently running warewulf rev 428. Attempted to export a vnfs using "vnfs export --name=centos-new.vnfs /tmp/centos-again.vnfs", and several different variations thereof. In all cases, received the following error:

Can't call method "get" on an undefined value at /usr/lib/perl5/vendor_perl/5.8.8/Warewulf/Module/Cli/Vnfs.pm line 262, <FIN> line 2.

That line in Vnfs.pm is

my $dirname = dirname($opt_export);

This line is in the last "else" clause of an if statement which tests against $opt_export. I threw a print statement in above just before the whole if statement and tried again with several statements, and $opt_export was empty. Not quite sure where $opt_export is supposed to be coming from here.

Change History

comment:1 Changed 7 years ago by gmk

Please see my email to the list Subject: VNFS export syntax.


comment:2 follow-up: ↓ 3 Changed 7 years ago by gmk

  • Status changed from new to accepted

Please test commit [436].

Thank you!

comment:3 in reply to: ↑ 2 Changed 7 years ago by ajdecon

Lost a couple days. On commit 447:

Warewulf> vnfs export centos-new.vnfs /root/centos-new.vnfs
Insecure dependency in open while running with -T switch at /usr/lib/perl5/vendor_perl/5.8.8/Warewulf/Module/Cli/Vnfs.pm line 301, <FIN> line 1.

Should I downgrade to 436 and test again?

comment:4 Changed 7 years ago by gmk

Can you test commit [448] please?


comment:5 Changed 7 years ago by ajdecon

  • Status changed from accepted to closed
  • Resolution set to fixed

Thanks, commit 448 allowed export. Successfully exported vnfs, re-imported with a different name and provisioned.

Note: See TracTickets for help on using tickets.