Project

General

Profile

Actions

Bug #17199

closed

Unable to create a new host deployed on XenServer

Added by Zbynek Nemas about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hello,

I have problem with creates a new host deployed on xenserver. When I look to Virtual Machine bookmark I see error (doesn´t matter which Compute profile is choose):

Failure: undefined method `memory_options' for #<#:0x00000003eca920>

Same issue is in the Compute profiles if I click to any xenserver.

Foreman log:
2016-11-03 11:14:09 fc30251d [app] [W] Action failed | NoMethodError: undefined method `memory_options' for #<#<Class:0x0000000788ef58>:0x007fe52fa974c0> | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_xen-0.4.0/app/views/compute_resources_vms/form/xenserver/_base.html.erb:29:in `__opt_theforeman_tfm_root_usr_share_gems_gems_foreman_xen_______app_views_compute_resources_vms_form_xenserver__base_html_erb___3975886372376049017_70311260347420'

Thanks,
Zbynek


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #2314: Smaller grains for VM memory/RAM choice neededClosedMarek Hulán03/13/2013Actions
Actions #1

Updated by Anonymous about 8 years ago

  • Status changed from New to Assigned
  • Priority changed from Normal to High
  • Assignee set to Anonymous
Actions #2

Updated by Anonymous about 8 years ago

  • Related to Bug #2314: Smaller grains for VM memory/RAM choice needed added
Actions #3

Updated by Marek Hulán about 8 years ago

Sorry, I haven't realized this method could be used by plugins. I suppose the fix should be quite simple, you should be able apply similar patch like this https://github.com/theforeman/foreman/pull/3774/files#diff-51e61c2454ccdab23f8b20efd5a657d7 to start using new field. Let me know if you need help.

Actions #4

Updated by Anonymous about 8 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-xen/pull/47 added
Actions #5

Updated by Anonymous about 8 years ago

Zbyněk, could you test the patch in the pull request?

Actions #6

Updated by Zbynek Nemas about 8 years ago

Michael, now I am able edit Compute profiles. However I still cannot create virtual host correctly, but it´s not related with this bug. I will create new task later.

Thanks

Actions #7

Updated by Anonymous about 8 years ago

Yes, please open a new issue for the other bug. As I'm not using XenServer myself the only way to know new bugs are user reports.

Actions #8

Updated by Anonymous about 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF