Can't create VM from template

Hello,
I'm getting this error when creating VM from template:
failed: <Exception: Error updating the image.> StackTrace: File "/opt/ovs-agent-2.2/OVSSiteVM.py", line 471, in config_vm raise Exception("Error updating the image.")
The VM is actually created despite this message bot when I try to power it up I'm getting another error:
failed:<Exception: ['xm', 'list', '478_CITConnect_Internal_TEST']=>Error: Domain '478_CITConnect_Internal_TEST' does not exist. > StackTrace: File "/opt/ovs-agent-2.2/OVSXXenStore.py", line 192, in xen_get_vnc_port vm_id = xen_get_vm_id(vm_path) File "/opt/ovs-agent-2.2/OVSXXenStore.py", line 34, in xen_get_vm_id stdout = run_cmd(args = ["xm", "list", vm_name]) File "/opt/ovs-agent-2.2/OVSCommons.py", line 98, in run_cmd raise Exception('%s=>%s' % (cmdlist, p.childerr.read()))
The template was copied from another VM pool (where it works fine, version 2.1.1) to a newly configured VM Server (2.1.5).
The new server is configured for HA (shared storage) and I was able to create VM from ISO without any problem there.
The template was created from existing VM (Oracle EL4 PV) running on the "old" server.
Any ideas where I should look into?
Thanks
Jan
Edited by: Honza on Jul 9, 2009 10:48 AM

It's all sorted now.
What I've learnt: OVS/Xen hypervisor doesn't seem to handle 4kB iSCSI block sizes.
I had to change it to 512 bytes (configuration on the iSCSI storage - nothing on the Oracle VM side) and re-create all volumes.
Just in case you experience something similar...
Honza

Similar Messages

  • Can't create VM from template on iSCSI

    Hello,
    I'm trying to create new VM from original Oracle template "OVM_EL5U3_X86_64_PVM_4GB" on iSCSI device without a success.
    Steps to reproduce:
    1) /OVS is mounted as iSCSI block device
    2) Original Oracle template is copied into /OVS/seed_pool/OVM_EL5U3_X86_64_PVM_4GB
    3) Oracle VM Manager - Import template (no problem)
    4) Oracle VM Manager - Create VM from template
    Result: Files are copied into running_pool, vm.cfg is updated, new VM is visible in VM Manager but with this message:
    failed: <Exception: Error updating the image.> StackTrace: File "/opt/ovs-agent-2.2/OVSSiteVM.py", line 471, in config_vm raise Exception("Error updating the image.")
    5) Oracle VM Manager - Start new VM
    Result:
    Status in VM is Running
    I can connect using VNC console
    But the VM is constantly rebooting with these messages on the console:
    Registering block device major 202
    xvda: xvda1 xvda2 xvda3
    xvda: p2 exceeds device capacity
    xvda: p3 exceeds device capacity
    Waiting for driver initialization.
    xvda: rw=0, want=101530648, limit-12707414
    attemp to access beyond end of device
    switchroot: mount failed: No such file or directory
    Kernel panic - not syncing: Attempted to kill init!
    Looks like there is a problem with partition sizes within the VM image file (xvda: p2 exceeds device capacity)
    I've tried to mount iSCSI formated with ocsf2 and ext3 - I'm getting the same error.
    However there is no problem when I mount /OVS as NFS or local drive and repeat the steps above.
    Any suggestion would be highly appreciated,
    Honza

    It's all sorted now.
    What I've learnt: OVS/Xen hypervisor doesn't seem to handle 4kB iSCSI block sizes.
    I had to change it to 512 bytes (configuration on the iSCSI storage - nothing on the Oracle VM side) and re-create all volumes.
    Just in case you experience something similar.
    Honza
    Edited by: Honza on Jul 21, 2009 3:00 PM

  • Can't create "New from Template"

    I see my templates sitting in my Template Folder(s), nothing
    has changed there. I have lots of sites & templates, yet EVERY
    site and every template now seems to be gone upon doing a
    'file-new'. I need to be able to create child pages. This just
    started, very strange. All help is needed!!

    When you select a site, and use FILE | New, what happens?
    And, which DW are
    you using?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Bushido" <[email protected]> wrote in
    message
    news:ephacv$ecl$[email protected]..
    >I see my templates sitting in my Template Folder(s),
    nothing has changed
    >there.
    > I have lots of sites & templates, yet EVERY site and
    every template now
    > seems
    > to be gone upon doing a 'file-new'. I need to be able to
    create child
    > pages.
    > This just started, very strange. All help is needed!!
    >

  • Workflow - create document from template

    Hi,
    Could anyone tell me what could be the possible use of Create Document from Template step in workflow...

    Hi vijay,
    1)Open the PC application by choosing the entry Double-click to create in the Document templates tray by double-clicking or choose  in the step definition of the document generation.
    The PC application that you last used to create a template is opened in the Workflow Builder. The system fields and the container elements of the workflow container are offered for selection in the navigation area. They can be transferred into the template by double-clicking.
    You cannot use any multiline container elements in your template.
    All relationships created between container elements/system fields and the document template are displayed in the object area.
    It is not possible to insert system fields and container elements into all types of document template.
    2) If you want to create a document template of a different class, select  Change document class and choose the new type of document template.
    3) Select  to assign a name for the document template.
    4) Create the document template in the usual way in your PC application. You can use all the functions of the PC application.
    5) Insert container elements and/or system fields from the object area into your template by double-clicking. These fields are replaced with the content of the container elements/system fields at runtime.
    6) Select  to save your document template.
    Hope this helps u,
    Regards,
    Nagarajan.

  • BAPI/FM to Create Projects from Templates

    Is there any BAPI/FM that can create Operative Project Structures referring the Standard WBS including all objects i.e, WBS,N/W,Activities,Milestone of standard project?
    If not, what could be the work around?
    Regards
    Sreenivas

    Hi Robin !
            I have the same issue here, to create projects from a template, using a Function Module to do that, and I tryed to use the FM CJWB_PROJECT_COPY as you suggested, and I achieved to create project from template but, for any reason not known by me, the project is created without status object, so I can´t open it on any transaction(CJ02/CJ03/CJ20n...). I have tested it in SE37, using test sequences, so I call it and BAPI_TRANSACTION_COMMIT to save the data.
            To make the projects available to work, I needed to run a report named CNSTATUS as explained on SAP Note 170948.
            Do you know why using CJWB_PROJECT_COPY created the projects without status object assignment ? I could not find any documentation about this function, so maybe the problem can be caused by some wrong parameter that I was passed to it.
            Do you already used it ? If yes, can you send a sample code ?
            Thank you in advance, and best regards !
            Wilson

  • InDesign CS5- where is create new from template?

    Hi,
    I was looking for creating something new from one of the default templates of CS5, like I've done in the past with CS3 and CS4.  However I find that there doesn't seem to be an option to create new from template.
    Am I completely missing where it is?  Have they called it something else?  Have they removed the default ones completely from InDesign?

    I should perhaps amend that to don't waste time with a template for multiple labels on a sheet. If you see something that works for you as far as basic layout, make a one-up lable from it (cupy the elements from a single label into a new file sized for only one label). Get a sheet full of blank labels, place that file in the upper left position on your larger sheet layout, then use Edit >Step and Repeat... to make the grid. This is much more efficient as it allows you to edit the entire sheet at one time by editing the single label file.
    If you need to d a data merge, you can do nearly the same thing -- put a single blank label layout in the upper left position, add your merge field placeholders in that one label, and run the merge. DO NOT put anything beyond the single label layout on the sheet for a Data Merge job. Also, note that there is a bug in CS5/5.5 that will give you an incorrect multiple records merge if you try to preview. If you preview you must use Undo before the merge to go back to the pre-preview state.

  • ABAP class to create doc. from template

    Hi all,
    Does anybody know if is there any ABAP class which can call the "Create with template" functionality?
    The idea is to create an action associated with the Service Ticket, which will create a document from template (Content Management functionality) when the Service Ticket is closed.
    We could use SmartForms, but it seems to have some restrictions:
    . Template maintenance is not so user frindly (the content management templates can be created/mantained in MS Word)
    . The document is not stored within the Service Ticket context
    Kind regards,
    Dora

    Hi Lance,
    you are right. There's no "Create User from template" or "Copy User" Activity in the Integration pack for Active Directory in System Center SP1 or R2.
    Perhaps, you can use "Get User" to get some settings from the template and subscribe the results to "Create User" Activity.
    Regards,
    Stefan
    www.sc-orchestrator.eu ,
    Blog sc-orchestrator.eu

  • Integration pack to create user from template

    Does anybody know if the Orchestrator 2012 Sp1  active directory integration pack has a way to create user from a template?
    I believe there is a create user but not from a template.
    Thanks
    Lance
    Thanks Lance

    Hi Lance,
    you are right. There's no "Create User from template" or "Copy User" Activity in the Integration pack for Active Directory in System Center SP1 or R2.
    Perhaps, you can use "Get User" to get some settings from the template and subscribe the results to "Create User" Activity.
    Regards,
    Stefan
    www.sc-orchestrator.eu ,
    Blog sc-orchestrator.eu

  • Can't create PDFs from Word due to Cambria font. Help.

    I'm using win 7 32 bit office 2010 acrobat pro 9. I can't create pdfs from word because of problems with cambria. I've ttried all the fixes I can find but none worked. Any more ideas?
    [thread title updated by moderator]

    How are you trying to create the PDF? With AA9 you have to print to the Adobe PDF printer or use the MS plugin.
    When you say you cannot create PDFs because of Cambria, what error messages are you getting and copy them here? At this point we really do not know what you are having problems with or how you are trying to create PDFs.
    In the future, please provide a topic to help folks that are stepping through all of the posts. A blank topic almost led me to simply skip your post.

  • Java.sql.SQLException: can't create statement from closed connection

    java.sql.SQLException: can't create statement from closed connection.
    at com.caucho.sql.QPooledConnectionImpl.prepareStatement(QPooledConnecti onImpl.java:411)
    I am getting this error with my JSP's, i am running on Resin on Win2k, and MySql as backend.
    Has anyone else also faced this issue ?
    Looking for someone to help me to solve this issue.
    rc

    Looking for someone to help me to solve this issue.Maybe you are closing the connections. You might want to verify that you are not doing that. Or if you are that that is the correct way to return the connection to the pool.
    Or you could have stale connections. Some databases will time out connections if the connection is no used in a while. (This is a good thing.) But this means connection pools must do something with connections that are not used for a while. The pools usually have a configuration option(s) which allows you to set up a keep alive message which keeps the database from closing the connection.

  • Can't create PDFs from Acrobat or Word?

    Downloaded the 8.1.4 update and now I can't create PDFs from Acrobat or Word.  If I try to create a PDF from the print menu, I get a message indicating that there are no print drivers for this...any ideas?

    Thanks for responding.  Yep, I tried repairing it...no dice.  Then I realized that I'd re-installed AA Pro 8 (having completely given up on the AA Pro 9 upgrade that crashed my system) but not the updates.  So I went through and re-installed each update.  Still no dice. Then I did another repair. Nope.  When I try to create a PDF via the print menu, I get a "Windows cannot print due to a problem with the current printer setup."  This tells me that I have driver problem. But everything else prints fine, and I'm pretty sure Acrobat doesn't have drivers.  I'm stumped...

  • Remove Templates from Create Incident From Template Selection

    Originally all users had access to all of the templates created, however now that we have been using SCSM for a while the number of templates created has started to grow and make the Create Incident From Template Screen difficult to navigate.  I am
    trying to limit the number of templates each team sees based on security group, however when I uncheck the templates from the Form Templates section of the User Role, they continue to display for all users.  Is there somewhere else I have to go in and
    change this that I am missing?

    Hi,
    Take a look at this thread:
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/d0b64ab8-ea5a-4426-968e-77675193473f/hiding-templates-from-console-users-while-still-effectively-using-the-end-user-role?forum=administration
    (By default the End User role has access to all templates, and the members of that role is Authenticated Users)
    Regards
    //Anders
    Anders Asp | Lumagate | www.lumagate.com | Sweden | My blog: www.scsm.se

  • Can't create Project from the Template or access project template

    Dear Experts,
    We are facing a issue while trying to access the project template/create the project from project template.
    we have 4 project template in place and of these two are working perfectly fine but
    From remaining two we are not being able to create project and even templates are not accesible , whenever we are trying to access the project template system rotates a circle for some time and keeps us on the same page.
    Even when we are trying to create project from the same template, system does the same again rotates the circle for some time and keeps us on the same screen.
    And System is not throwing any error for the same (we have checked in the log as well) just not letting us in and not allowing us to create project.
    Any Help Will be Highly Appreciated.
    Regards,
    Rakesh Daiya

    Dear Experts,
    We were able to find out the issue,
    We added 3 groups to the template with "Reviewer" access with "Document Only" Type in the project template.
    When we changed the type to "Template and Document" from "Document Only" and  system started allowing us to create projects from the template.
    Can anyone please help me with one query,
    Can we add a group(which includes all the buyers) with reviewer access and with Document only type?
    Does this really be a reason behind projects are not getting created from template?
    Any help will be appreciated
    Regards,
    Rakesh Daiya

  • Problems when Creating Pages from Templates in Dreamweaver 8

    When creating new pages from templates in Dreamweaver 8(Ver
    8.0.2). The full path for images is not created
    i.e. in template the code is <img src="main_page_logo.png"
    width="814" height="172" longdesc="Main Page Logo" />
    In the new file the code should be :-
    <img src="../../Templates/main_page_logo.png" width="814"
    height="172" longdesc="Main Page Logo" />
    but only :-
    <img src="main_page_logo.png" width="814" height="172"
    longdesc="Main Page Logo" /> is in the code.
    but this does work in Version 8.0.
    Does anyone know of a setting or fix for this problem

    > Does anyone know of a setting or fix for this problem
    It was regarded as a bug in previous versions, and was fixed
    in the 8.0.2
    release. In normal circumstances, ALL links in a template
    file must be
    relative to the template document, not relative to where you
    intend to save
    the child pages. Thus, there would be no way to have a link
    in your
    template document like the first one you show, e.g.,
    <img src="whatever.png"....
    *unless* the file was actually in the Templates folder (a bad
    idea).
    In 8.0.2, you can set your PREFERENCES for the Templates
    category to NOT
    MANAGE relative links. Be aware that this may have unintended
    consequences
    for you - specifically regarding other relative links in your
    site.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "pgs_it" <[email protected]> wrote in
    message
    news:eivj88$361$[email protected]..
    > When creating new pages from templates in Dreamweaver
    8(Ver 8.0.2). The
    > full
    > path for images is not created
    > i.e. in template the code is <img
    src="main_page_logo.png" width="814"
    > height="172" longdesc="Main Page Logo" />
    > In the new file the code should be :-
    > <img src="../../Templates/main_page_logo.png"
    width="814" height="172"
    > longdesc="Main Page Logo" />
    > but only :-
    > <img src="main_page_logo.png" width="814"
    height="172" longdesc="Main Page
    > Logo" /> is in the code.
    > but this does work in Version 8.0.
    > Does anyone know of a setting or fix for this problem
    >
    >
    >

  • Can't create a Freehand Template

    I want to create a new default template. I've followed the
    Help instructions. Trouble is that although I choose 'Freehand
    Template' from the pop-up menu it only appears to save it as an
    ordinary Freehand Document. When I open the
    Macromedia/FreeHand/11/English/Settings folder, I can see all the
    earlier templates with their distinctive double layer symbol - but
    all new ones are ordinary Freehand Documents and consequently not
    visible in Preferences.
    Am I doing something stupid?
    I have Freehand MX 2004. Version 11.0.2 Build 92
    I have a Dual 1.8GHz PowerPC G5 Mac Running OSX 10.4.9

    Nick,
    Select the FH file(s) in question in the Finder and GetInfo
    (option-cmd-i for multiple files). In the Info box check the
    box for
    "Stationary Pad". That should do it.
    Rich
    Nick L W wrote:
    > I want to create a new default template. I've followed
    the Help instructions.
    > Trouble is that although I choose 'Freehand Template'
    from the pop-up menu it
    > only appears to save it as an ordinary Freehand
    Document. When I open the
    > Macromedia/FreeHand/11/English/Settings folder, I can
    see all the earlier
    > templates with their distinctive double layer symbol -
    but all new ones are
    > ordinary Freehand Documents and consequently not visible
    in Preferences.
    > Am I doing something stupid?
    >
    > I have Freehand MX 2004. Version 11.0.2 Build 92
    > I have a Dual 1.8GHz PowerPC G5 Mac Running OSX 10.4.9
    >

Maybe you are looking for

  • How to know or check the type of a field when processing a dynamic table?

    Dear all,     When processing a dynamic table i have a short dump because of a convert_of_type incorrect, so i would like to check the type of field-symbol <f> before moving the data (type char) to this field-symbol <f>. Could you please help me how

  • How do I manually move "iTunes" mp3 to iPhone?

    Ok here's the deal... I have a New iPhone 4s and a $24.99 iTunes Match Membership with 8,000 songs stored on iCloud. I have a 64kbps audio file that is 8 hours long, and is 95mb. It won't upload to the iCloud as it is only 64kbps, and must be greater

  • Read File From A Different Server

    Hello Friends, We have a file (.txt) sitting in a server (not the application server) and there is a requirement to read data from this file into R/3. Manually, one needs a username and password to access this file as the server in which it resides i

  • Installation stuck

    I'm trying to install Bridge CC on my MacBookPro and it's been stuck at 42% for quite some time.  I've restarted my laptop and tried to install it several times and it always stops at 42%.  Any solution? Thanks, Drew

  • Waveform chart time sometimes decreases

    I have a waveform chart with three plots vs time with update mode set to strip chart.  It is demonstrating strange behavior which I have never noticed before.  The time sample numbers at the extents of the axis sometimes decrease and the plots shift