locked
VM Role list is empty in my Windows Azure Pack Tenant Portal RRS feed

All replies

  • Do you mean that when creating a VM Role in the tenant portal, it is not listing any gallery items?

    Make sure the plan has been updated. Depending of the amount of resources, subscribers etc, this can take some time. Check in VMM for jobs that is telling you "shared resources...". That is WAP communicating with VMM through SPF, to share gallery resources with the subscribers. 

    Also, check for errors in the OManagementData log on the SPF server.

    -kn


    Kristian (Virtualization and some coffee: http://kristiannese.blogspot.com )

    Saturday, February 8, 2014 5:57 PM
  • Hello Kristian,

    Yes, when i want to create a VM Role in the tenant portal, there is not gallery items.

    I've refresh the plan several times, update and save and it sync well.

    I found "ManagementOdataService" and there is no error...

    Saturday, February 8, 2014 9:03 PM
  • Just to be sure. On the gallery part in your VM Cloud in service administrator portal, make sure your gallery item is made public, and not listed as private. Default after an import, the item is private and wont be available for tenants, no matter if it's added to a plan.

    -kn


    Kristian (Virtualization and some coffee: http://kristiannese.blogspot.com )

    Tuesday, March 25, 2014 6:03 PM
  • I've got the same issue here. Here's the specifics:

      • Domain Controller Role from Web Platform installer
      • Installed SC-VMM resource extension (and confirmed presence via PowerShell).
      • Installed the view-def objects into the WAP Admin Portal
      • Made public
      • Assigned to plan
      • Restarted W3SVC on all servers

    In my VMM library that is shared to the tenants, theres VHD tagged with WindowsServer2012 (also, set the OS Family/Release attributes) - This doesn't matter though, since you don't get to the pick-VHD screen because the list of VM roles is blank.

    I can see the role being shared under VMM jobs when I assign it to a plan and the subscriptions get resync'd. I'm on the verge of pulling it apart with Reflector and seeing what it thinks it's doing - but I was hoping there'd be some sensible explanation as to why it's not showing up?


    Sunday, April 6, 2014 9:33 AM
  • It won't show unless it is set to public on the VM Cloud.

    Can you verify if this is true or not?


    Kristian (Virtualization and some coffee: http://kristiannese.blogspot.com )

    Friday, April 11, 2014 5:26 AM
  • It's public on the VM Cloud gallery in the admin portal (Point #3 in my original post). This one has me very confused - I've taken the step of rebooting everything in the farm as well, just to make sure there's not some cached list of gallery items that's to blame. Is there any other places I can check / logs etc?

    -Steve

    Friday, April 11, 2014 10:21 PM
  • Hi everyone,

    i've got the same issue too.

    Any updates? Does anyone solved the problem? 

    Wednesday, July 30, 2014 10:29 AM
  • I have had a few cases on this issue lately, and everything has been related to tags between the resource definition and the vhds's. 

    The way we detected this, was to use GRIT 1.1 that is able to download the right resource definition with its extension, and tag the disks. 

    I suggest that you try this tool as an attempt to solve this issue.

    It can be downloaded by following this link: http://gallery.technet.microsoft.com/Gallery-Resource-Import-2273ce71

    the tool requires both powershell modules for spf and vmm, so I recommend running it directly on your spf server.

    -kn


    Kristian (Virtualization and some coffee: http://kristiannese.blogspot.com )

    Wednesday, July 30, 2014 6:00 PM
  • Hi Kristian,

    Unfortunately the same problem.

    I'm trying to add "Domain Controller - Windows Server 2012 Resource"

    I downloaded GRIT 1.2, configured it and run it from my SPF. I've checked VHDXs in a library and got  "OS Disk Match" on a disk prepared previously.

    After import it's all the same. I can see CloudResourceExtension in VMM and i can see galery item at the admin's website, but it's still empty at tenant's website.

    Is there any way to troubleshoot this?

    Thank tou in advance.

    Monday, August 4, 2014 1:45 PM
  • Did you also import the resource definition using this tool or did you do it manually?

    my experience is that you have to do this step manually, and also set the item to public and add it to a plan.

    Can you ensure this is done correctly?


    Kristian (Virtualization and some coffee: http://kristiannese.blogspot.com )

    Sunday, September 28, 2014 11:42 AM
  • I've received an answer from Microsoft Consulting Services. The problem exists if different service accounts are used for IIS Application pool. In order to resolve this issue the following script should be used.

     

    use [SCSPFDB]
    GO
    Grant Select on [scspf].[GalleryItemsLocalizedMetadata] to [domain\spf_service_account]
    GO
    Grant Select on [scspf].[GalleryItems] to [domain\spf_service_account]
    GO
    Grant Select on [scspf].[MediaResources] to [domain\spf_service_account]
    GO
    Grant Select on [scspf].[GalleryPackages] to [domain\spf_service_account]
    GO
    Grant Select on [scspf].[TenantGalleryItems] to [domain\spf_service_account]
    GO
    Grant Select on [scspf].[LanguagePacks] to [domain\spf_service_account]
    GO
    Grant Select on [scspf].[GalleryItemResourceExtensions] to [domain\spf_service_account]
    GO
    Grant Select on [scspf].[ViewDefinitions] to [domain\spf_service_account]
    GO
    Grant Select on [scspf].[ResourceDefinitions] to [domain\spf_service_account]
    GO

    • Proposed as answer by Oleg.Novikov Friday, July 3, 2015 3:57 PM
    Friday, July 3, 2015 3:56 PM
  • Thanks Oleg for the solution

    this works

    regards

    Dean

    Monday, January 4, 2016 7:08 PM