I am trying to provision vms with multiple virtual hard drives and to no avail, I found some info online which lead me to believe it was possible, but it didn't seem to work. How might I go about doing this? (if I can...)
-Thomas S Hatch
On 07/06/2009 12:45 PM, Tom Brown wrote:
I am trying to provision vms with multiple virtual hard drives and to no avail, I found some info online which lead me to believe it was possible, but it didn't seem to work. How might I go about doing this? (if I can...)
what exactly are you trying to achieve? _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
--virt-file-size=20,20
This will indicate you want two hard drives with 20 GB size each. (Unlike sizes are also supported)
You can also list --virt-path seperated by commas, but is generally not needed as you'll likely want to put them in the same place.
On 07/06/2009 12:56 PM, Michael DeHaan wrote:
On 07/06/2009 12:45 PM, Tom Brown wrote:
I am trying to provision vms with multiple virtual hard drives and to no avail, I found some info online which lead me to believe it was possible, but it didn't seem to work. How might I go about doing this? (if I can...)
what exactly are you trying to achieve? _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
--virt-file-size=20,20
This will indicate you want two hard drives with 20 GB size each. (Unlike sizes are also supported)
You can also list --virt-path seperated by commas, but is generally not needed as you'll likely want to put them in the same place.
Correction:
--virt-file-size="20 20".
Cobbler has standardized on *not* using commas.
HA! Thats it, I was using commas! Thanks! is that documented anywhere? I will put documenting it on my list of contributions I have to make once I am done with this big job at work.
On Mon, Jul 6, 2009 at 10:57 AM, Michael DeHaan mdehaan@redhat.com wrote:
On 07/06/2009 12:56 PM, Michael DeHaan wrote:
On 07/06/2009 12:45 PM, Tom Brown wrote:
I am trying to provision vms with multiple virtual hard drives and to no avail, I found some info online which lead me to believe it was possible, but it didn't seem to work. How might I go about doing this? (if I can...)
what exactly are you trying to achieve? _______________________________________________ cobbler mailing listcobbler@lists.fedorahosted.orghttps://fedorahosted.org/mailman/listinfo/cobbler
--virt-file-size=20,20
This will indicate you want two hard drives with 20 GB size each. (Unlike sizes are also supported)
You can also list --virt-path seperated by commas, but is generally not needed as you'll likely want to put them in the same place.
Correction:
--virt-file-size="20 20".
Cobbler has standardized on *not* using commas.
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
So here is my command, but it dosen't work: cobbler system edit --virt-file-size="50 25" --name="docs"
Here is the error:
local variable 'inum' referenced before assignment File "/usr/lib/python2.5/site-packages/cobbler/cobbler.py", line 83, in main rc = BootCLI().run(sys.argv)
File "/usr/lib/python2.5/site-packages/cobbler/cobbler.py", line 61, in run return self.loader.run(args)
File "/usr/lib/python2.5/site-packages/cobbler/commands.py", line 122, in run return fn.run()
File "/usr/lib/python2.5/site-packages/cobbler/modules/cli_system.py", line 165, in run obj.set_virt_file_size(self.options.virt_file_size)
File "/usr/lib/python2.5/site-packages/cobbler/item_system.py", line 540, in set_virt_file_size return utils.set_virt_file_size(self,num)
File "/usr/lib/python2.5/site-packages/cobbler/utils.py", line 1164, in set_virt_file_size raise CX(_("invalid virt file size (%s)" % inum))
I am on cobbler 1.6.6 fedora 10 64bit
On Mon, Jul 6, 2009 at 10:57 AM, Thomas S Hatch thatch45@gmail.com wrote:
HA! Thats it, I was using commas! Thanks! is that documented anywhere? I will put documenting it on my list of contributions I have to make once I am done with this big job at work.
On Mon, Jul 6, 2009 at 10:57 AM, Michael DeHaan mdehaan@redhat.comwrote:
On 07/06/2009 12:56 PM, Michael DeHaan wrote:
On 07/06/2009 12:45 PM, Tom Brown wrote:
I am trying to provision vms with multiple virtual hard drives and to no avail, I found some info online which lead me to believe it was possible, but it didn't seem to work. How might I go about doing this? (if I can...)
what exactly are you trying to achieve? _______________________________________________ cobbler mailing listcobbler@lists.fedorahosted.orghttps://fedorahosted.org/mailman/listinfo/cobbler
--virt-file-size=20,20
This will indicate you want two hard drives with 20 GB size each. (Unlike sizes are also supported)
You can also list --virt-path seperated by commas, but is generally not needed as you'll likely want to put them in the same place.
Correction:
--virt-file-size="20 20".
Cobbler has standardized on *not* using commas.
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
----- "Thomas S Hatch" thatch45@gmail.com wrote:
So here is my command, but it dosen't work: cobbler system edit --virt-file-size="50 25" --name="docs"
Here is the error:
local variable 'inum' referenced before assignment File "/usr/lib/python2.5/site-packages/cobbler/cobbler.py", line 83, in main rc = BootCLI().run(sys.argv)
File "/usr/lib/python2.5/site-packages/cobbler/cobbler.py", line 61, in run return self.loader.run(args)
File "/usr/lib/python2.5/site-packages/cobbler/commands.py", line 122, in run return fn.run()
File "/usr/lib/python2.5/site-packages/cobbler/modules/cli_system.py", line 165, in run obj.set_virt_file_size(self.options.virt_file_size)
File "/usr/lib/python2.5/site-packages/cobbler/item_system.py", line 540, in set_virt_file_size return utils.set_virt_file_size(self,num)
File "/usr/lib/python2.5/site-packages/cobbler/utils.py", line 1164, in set_virt_file_size raise CX(_("invalid virt file size (%s)" % inum))
This error is an error while raising an exception, not the real error. It would most likely say something like "invalid virt file size (somenumber)". This patch fixes the error message (it was already good in the master branch, so only applied to release16): https://bender.newnewyork.nl/git/gitweb.cgi?p=cobbler/.git;a=commit;h=0043ea...
-Jasper
On 07/07/2009 03:33 AM, Jasper Capel wrote:
----- "Thomas S Hatch"thatch45@gmail.com wrote:
So here is my command, but it dosen't work: cobbler system edit --virt-file-size="50 25" --name="docs"
Here is the error:
local variable 'inum' referenced before assignment File "/usr/lib/python2.5/site-packages/cobbler/cobbler.py", line 83, in main rc = BootCLI().run(sys.argv)
File "/usr/lib/python2.5/site-packages/cobbler/cobbler.py", line 61, in run return self.loader.run(args)
File "/usr/lib/python2.5/site-packages/cobbler/commands.py", line 122, in run return fn.run()
File "/usr/lib/python2.5/site-packages/cobbler/modules/cli_system.py", line 165, in run obj.set_virt_file_size(self.options.virt_file_size)
File "/usr/lib/python2.5/site-packages/cobbler/item_system.py", line 540, in set_virt_file_size return utils.set_virt_file_size(self,num)
File "/usr/lib/python2.5/site-packages/cobbler/utils.py", line 1164, in set_virt_file_size raise CX(_("invalid virt file size (%s)" % inum))
This error is an error while raising an exception, not the real error. It would most likely say something like "invalid virt file size (somenumber)". This patch fixes the error message (it was already good in the master branch, so only applied to release16): https://bender.newnewyork.nl/git/gitweb.cgi?p=cobbler/.git;a=commit;h=0043ea...
-Jasper _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
This should be merged in with the other branch stuff, also also thanks!
--Michael
I feel not so smart :P The issue was the version of koan I had used on the client servers. It was version .5, the latest is 1.6. Once I installed the correct version, the cobbler server responded correctly.
[root@someserver ~]# koan --list=profiles -s cobblerserver - looking for Cobbler at http://cobbler0.targetsaver.com/cobbler_api centos-5.3-x86_64 centos-5.3-xen-x86_64 rescue-centos-5.3-x86_64
_Will ________________________________________ From: cobbler-bounces@lists.fedorahosted.org [mailto:cobbler-bounces@lists.fedorahosted.org] On Behalf Of Michael DeHaan Sent: Monday, July 13, 2009 7:57 AM To: cobbler mailing list Subject: Re: [PATCH] Re: Provision vm with many hard drives
On 07/07/2009 03:33 AM, Jasper Capel wrote: ----- "Thomas S Hatch" thatch45@gmail.com wrote:
So here is my command, but it dosen't work: cobbler system edit --virt-file-size="50 25" --name="docs"
Here is the error:
local variable 'inum' referenced before assignment File "/usr/lib/python2.5/site-packages/cobbler/cobbler.py", line 83, in main rc = BootCLI().run(sys.argv)
File "/usr/lib/python2.5/site-packages/cobbler/cobbler.py", line 61, in run return self.loader.run(args)
File "/usr/lib/python2.5/site-packages/cobbler/commands.py", line 122, in run return fn.run()
File "/usr/lib/python2.5/site-packages/cobbler/modules/cli_system.py", line 165, in run obj.set_virt_file_size(self.options.virt_file_size)
File "/usr/lib/python2.5/site-packages/cobbler/item_system.py", line 540, in set_virt_file_size return utils.set_virt_file_size(self,num)
File "/usr/lib/python2.5/site-packages/cobbler/utils.py", line 1164, in set_virt_file_size raise CX(_("invalid virt file size (%s)" % inum))
This error is an error while raising an exception, not the real error. It would most likely say something like "invalid virt file size (somenumber)". This patch fixes the error message (it was already good in the master branch, so only applied to release16): https://bender.newnewyork.nl/git/gitweb.cgi?p=cobbler/.git;a=commit;h=0043ea...
-Jasper _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
This should be merged in with the other branch stuff, also also thanks!
--Michael
Sorry, replied to the wrong thread.
William Sweat Senior Operations Manager
E-Mail: william@findology.com Direct: (310) 556-4440 x.29 Cell: (310) 556-4441
Findology Interactive Media, Inc. 1801 Avenue of the Stars, Suite 1240 Los Angeles, CA 90067 www.findology.com
Toll-Free: (888) 632-8640 Fax: (310) 556-4441
-----Original Message----- From: cobbler-bounces@lists.fedorahosted.org [mailto:cobbler-bounces@lists.fedorahosted.org] On Behalf Of William Sweat Sent: Monday, July 13, 2009 10:06 AM To: cobbler mailing list Subject: RE: [PATCH] Re: Provision vm with many hard drives
I feel not so smart :P The issue was the version of koan I had used on the client servers. It was version .5, the latest is 1.6. Once I installed the correct version, the cobbler server responded correctly.
[root@someserver ~]# koan --list=profiles -s cobblerserver - looking for Cobbler at http://cobbler0.targetsaver.com/cobbler_api centos-5.3-x86_64 centos-5.3-xen-x86_64 rescue-centos-5.3-x86_64
_Will ________________________________________ From: cobbler-bounces@lists.fedorahosted.org [mailto:cobbler-bounces@lists.fedorahosted.org] On Behalf Of Michael DeHaan Sent: Monday, July 13, 2009 7:57 AM To: cobbler mailing list Subject: Re: [PATCH] Re: Provision vm with many hard drives
On 07/07/2009 03:33 AM, Jasper Capel wrote: ----- "Thomas S Hatch" thatch45@gmail.com wrote:
So here is my command, but it dosen't work: cobbler system edit --virt-file-size="50 25" --name="docs"
Here is the error:
local variable 'inum' referenced before assignment File "/usr/lib/python2.5/site-packages/cobbler/cobbler.py", line 83, in main rc = BootCLI().run(sys.argv)
File "/usr/lib/python2.5/site-packages/cobbler/cobbler.py", line 61, in run return self.loader.run(args)
File "/usr/lib/python2.5/site-packages/cobbler/commands.py", line 122, in run return fn.run()
File "/usr/lib/python2.5/site-packages/cobbler/modules/cli_system.py", line 165, in run obj.set_virt_file_size(self.options.virt_file_size)
File "/usr/lib/python2.5/site-packages/cobbler/item_system.py", line 540, in set_virt_file_size return utils.set_virt_file_size(self,num)
File "/usr/lib/python2.5/site-packages/cobbler/utils.py", line 1164, in set_virt_file_size raise CX(_("invalid virt file size (%s)" % inum))
This error is an error while raising an exception, not the real error. It would most likely say something like "invalid virt file size (somenumber)". This patch fixes the error message (it was already good in the master branch, so only applied to release16): https://bender.newnewyork.nl/git/gitweb.cgi?p=cobbler/.git;a=commit;h=0043ea...
-Jasper _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
This should be merged in with the other branch stuff, also also thanks!
--Michael
_______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
On 07/06/2009 12:57 PM, Thomas S Hatch wrote:
HA! Thats it, I was using commas! Thanks! is that documented anywhere? I will put documenting it on my list of contributions I have to make once I am done with this big job at work.
might be on the Wiki, but yeah, patch to the manpage would be great.
On Mon, Jul 6, 2009 at 10:57 AM, Michael DeHaan <mdehaan@redhat.com mailto:mdehaan@redhat.com> wrote:
On 07/06/2009 12:56 PM, Michael DeHaan wrote:
On 07/06/2009 12:45 PM, Tom Brown wrote:
I am trying to provision vms with multiple virtual hard drives and to no avail, I found some info online which lead me to believe it was possible, but it didn't seem to work. How might I go about doing this? (if I can...)
what exactly are you trying to achieve? _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org <mailto:cobbler@lists.fedorahosted.org> https://fedorahosted.org/mailman/listinfo/cobbler
--virt-file-size=20,20 This will indicate you want two hard drives with 20 GB size each. (Unlike sizes are also supported) You can also list --virt-path seperated by commas, but is generally not needed as you'll likely want to put them in the same place.
Correction: --virt-file-size="20 20". Cobbler has standardized on *not* using commas. _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org <mailto:cobbler@lists.fedorahosted.org> https://fedorahosted.org/mailman/listinfo/cobbler
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
yep, when I apply it with the comma, it takes it into cobbler, but only one drive is created, but when delimit with a space cobbler coughs up blood and says no-go.
I will look at the code
On Mon, Jul 6, 2009 at 11:03 AM, Michael DeHaan mdehaan@redhat.com wrote:
On 07/06/2009 12:57 PM, Thomas S Hatch wrote:
HA! Thats it, I was using commas! Thanks! is that documented anywhere? I will put documenting it on my list of contributions I have to make once I am done with this big job at work.
might be on the Wiki, but yeah, patch to the manpage would be great.
On Mon, Jul 6, 2009 at 10:57 AM, Michael DeHaan mdehaan@redhat.comwrote:
On 07/06/2009 12:56 PM, Michael DeHaan wrote:
On 07/06/2009 12:45 PM, Tom Brown wrote:
I am trying to provision vms with multiple virtual hard drives and to no avail, I found some info online which lead me to believe it was possible, but it didn't seem to work. How might I go about doing this? (if I can...)
what exactly are you trying to achieve? _______________________________________________ cobbler mailing listcobbler@lists.fedorahosted.orghttps://fedorahosted.org/mailman/listinfo/cobbler
--virt-file-size=20,20
This will indicate you want two hard drives with 20 GB size each. (Unlike sizes are also supported)
You can also list --virt-path seperated by commas, but is generally not needed as you'll likely want to put them in the same place.
Correction:
--virt-file-size="20 20".
Cobbler has standardized on *not* using commas.
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
cobbler mailing listcobbler@lists.fedorahosted.orghttps://fedorahosted.org/mailman/listinfo/cobbler
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
On 07/06/2009 01:07 PM, Thomas S Hatch wrote:
yep, when I apply it with the comma, it takes it into cobbler, but only one drive is created, but when delimit with a space cobbler coughs up blood and says no-go.
Cobbler is a being of silicon and electricity, so that would be odd :)
I'll dig around in the code a bit after lunch.
I will look at the code
On Mon, Jul 6, 2009 at 11:03 AM, Michael DeHaan <mdehaan@redhat.com mailto:mdehaan@redhat.com> wrote:
On 07/06/2009 12:57 PM, Thomas S Hatch wrote:
HA! Thats it, I was using commas! Thanks! is that documented anywhere? I will put documenting it on my list of contributions I have to make once I am done with this big job at work.
might be on the Wiki, but yeah, patch to the manpage would be great.
On Mon, Jul 6, 2009 at 10:57 AM, Michael DeHaan <mdehaan@redhat.com <mailto:mdehaan@redhat.com>> wrote: On 07/06/2009 12:56 PM, Michael DeHaan wrote:
On 07/06/2009 12:45 PM, Tom Brown wrote:
I am trying to provision vms with multiple virtual hard drives and to no avail, I found some info online which lead me to believe it was possible, but it didn't seem to work. How might I go about doing this? (if I can...)
what exactly are you trying to achieve? _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org <mailto:cobbler@lists.fedorahosted.org> https://fedorahosted.org/mailman/listinfo/cobbler
--virt-file-size=20,20 This will indicate you want two hard drives with 20 GB size each. (Unlike sizes are also supported) You can also list --virt-path seperated by commas, but is generally not needed as you'll likely want to put them in the same place.
Correction: --virt-file-size="20 20". Cobbler has standardized on *not* using commas. _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org <mailto:cobbler@lists.fedorahosted.org> https://fedorahosted.org/mailman/listinfo/cobbler ------------------------------------------------------------------------ _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org <mailto:cobbler@lists.fedorahosted.org> https://fedorahosted.org/mailman/listinfo/cobbler
_______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org <mailto:cobbler@lists.fedorahosted.org> https://fedorahosted.org/mailman/listinfo/cobbler
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
Ok. i changed the utils.py set_virt_file_size() to accept spaces, it saves but then creates a 1 GB disk instead of the number specified. Where does koan get the instructions to make disk image(s)?
On Mon, Jul 6, 2009 at 11:07 AM, Thomas S Hatch thatch45@gmail.com wrote:
yep, when I apply it with the comma, it takes it into cobbler, but only one drive is created, but when delimit with a space cobbler coughs up blood and says no-go.
I will look at the code
On Mon, Jul 6, 2009 at 11:03 AM, Michael DeHaan mdehaan@redhat.comwrote:
On 07/06/2009 12:57 PM, Thomas S Hatch wrote:
HA! Thats it, I was using commas! Thanks! is that documented anywhere? I will put documenting it on my list of contributions I have to make once I am done with this big job at work.
might be on the Wiki, but yeah, patch to the manpage would be great.
On Mon, Jul 6, 2009 at 10:57 AM, Michael DeHaan mdehaan@redhat.comwrote:
On 07/06/2009 12:56 PM, Michael DeHaan wrote:
On 07/06/2009 12:45 PM, Tom Brown wrote:
I am trying to provision vms with multiple virtual hard drives and to no avail, I found some info online which lead me to believe it was possible, but it didn't seem to work. How might I go about doing this? (if I can...)
what exactly are you trying to achieve? _______________________________________________ cobbler mailing listcobbler@lists.fedorahosted.orghttps://fedorahosted.org/mailman/listinfo/cobbler
--virt-file-size=20,20
This will indicate you want two hard drives with 20 GB size each. (Unlike sizes are also supported)
You can also list --virt-path seperated by commas, but is generally not needed as you'll likely want to put them in the same place.
Correction:
--virt-file-size="20 20".
Cobbler has standardized on *not* using commas.
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
cobbler mailing listcobbler@lists.fedorahosted.orghttps://fedorahosted.org/mailman/listinfo/cobbler
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
cobbler@lists.fedorahosted.org