Hello Community, After setting up everything on the front end I wanted to go ahead and try to checkout an image. However, when I select my image (the one that is on the IBM Cloud) it prompts me with the message "Selection not currently available". I have checked to make sure that the computer on which the images are mapped to is available, but I cant seem to figure it out, can anyone help?
Best Regards, Milen Paskov WSTI Intern mppas...@us.ibm.com |------------> | From: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |Milen P Paskov/Durham/i...@ibmus | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | To: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |vcl-dev@incubator.apache.org | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | Date: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |08/12/2010 04:50 PM | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | Subject: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |Re: Adding a new provisioning module - minor problems | >--------------------------------------------------------------------------------------------------------------------------------------------------| Josh, Thank you for the fast response. No I did not think of that, however I have now added it. INSERT INTO `resource` (`id`, `resourcetypeid`, `subid`) VALUES (18, 13, 12); I have now added this new image to the group. I believe everything is set as it should be and will go ahead and try to provision this image. I will let you know how it works out. Best Regards, Milen Paskov WSTI Intern mppas...@us.ibm.com Inactive hide details for Josh Thompson ---08/12/2010 01:05:11 PM--------BEGIN PGP SIGNED MESSAGE----- Hash: SHA1Josh Thompson ---08/12/2010 01:05:11 PM--------BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 From: Josh Thompson <josh_thomp...@ncsu.edu> To: vcl-dev@incubator.apache.org Date: 08/12/2010 01:05 PM Subject: Re: Adding a new provisioning module - minor problems -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Milen, Did you create an entry in the resource table for the image? Josh On Thursday August 12, 2010, Milen P Paskov wrote: > Hello community, > > I have been working on a new provisioning module for VCL. With this module > the VCL will be able to provision instances on the IBM Developer Could. I > have written a alpha version of it and currently I am working on > integrating it with VCL, so i can test it out. > However I have some problems with this. I have followed the instruction > from the helloworld.pm (which is an example provisioning module). > > I added the new module to the database. > INSERT INTO `module` (`id`, `name`, `prettyname`, `description`, > `perlpackage`) VALUES > (17, 'ccmp', 'CCMP', 'IBM Cloud', 'VCL::Module::Provisioning::ccmp'); > > I added the new provisioning module to the database. > INSERT INTO `provisioning` (`id`, `name`, `prettyname`, `moduleid`) > VALUES > (6, 'ccmp', 'CCMP', 17); > > From the web interface I added a new computer to use this provisioning > module. > Hostname: ibm1 > IP: 1.1.1.1 (we are not going to connect to a computer but call the IBM > Cloud API) > State: available > Owner: Admin > Platform: i386 > Schedule: VCL 24x7 > Current Images: no images > RAM: 2000 > No. Processors: 1 > Processor Speed: 2000 > Network Speed: 100 > Computer ID: 4 > Type: virtualmachine > Provisioning Engine: CCMP (outrnew module) > > Insert into the database a new image. > INSERT INTO `image` (`id`, `name`, `prettyname`, `ownerid`, > `platformid`, `OSid`, `imagemetaid`, `minram`, `minprocnumber`, > `minprocspeed`, `minnetwork`, `maxconcurrent`, `reloadtime`, `deleted`, > `test`, `lastupdate`, `forcheckout`, `maxinitialtime`, `project`, > `size`) VALUES > (12, 'rhl5-v0-id20001151', 'Red Hat Linux on IBM CLoud', 1, 1, 13, NULL, > 1024, 1, 2000, 10, NULL, 60, 0, 0, '2008-03-24 14:23:54', 1, 0, 'vcl', > 2000); > The only thing that is really needed for the provisioning module is > the imageid which is part of the imagename > > Add a revision to the image, in the imagerevision table. > INSERT INTO `imagerevision` (`id`, `imageid`, `revision`, `userid`, > `datecreated`, `deleted`, `production`, `comments`, `imagename`) VALUES > (14, 12, 0, 1, '2008-03-24 14:23:54', 0, 1, NULL, 'rhl5-v0-id20001151'); > > I have also created some groups on web interface. > IBM Cloud - a computer group in which our computer is placed > IBM Images - a group for the images which can be accessed on the cloud > (so far only above mentioned one) > I have mapped the "IBM Images" to "IBM Cloud", through the image mapping > setup > > Now my problem is that I currently can not add my newly created image to > the "IBM Images" group ("Image Grouping" -> Checkbox grid) when i mark the > checkbox and submit the changes it does not seem to save them. > Furthermore I can not see my image in the Image Profile section. > > I will greatly appreciate any help that I can get on these problems. > > Best Regards, > Milen Paskov > WSTI Intern > mppas...@us.ibm.com > - -- - ------------------------------- Josh Thompson Systems Programmer Advanced Computing | VCL Developer North Carolina State University josh_thomp...@ncsu.edu 919-515-5323 my GPG/PGP key can be found at pgp.mit.edu -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAkxkKlwACgkQV/LQcNdtPQNy/gCeIpp48QgE6Fw10ykaZC5EoMSj ALAAnidXImgfgNxLWi1Lcp7N6gFaOCSp =NKTQ -----END PGP SIGNATURE-----