Project

General

Profile

Actions

Bug #10694

closed

Interfaces tab is empty while creating new host

Added by Daniils Kostornijs over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

While creating new machine using Xenserver compute resource, interfaces tab is empty. Pushing "Add Interface" button do nothing. Tried with same result against XenServer 6.2, 6.5, 6.5 SP1, XCP 1.6.
- foreman-xen plugin version 0.1.1 installed from Github
- Foreman version 1.8.1
- I'm able to see virtual machines through Infrastructure > Compute resources -> Server -> Virtual Machines
However, there is interface defined in interfaces tab, if creating bare metal machine

production.log with enabled debug is attached.


Files

production.log production.log 12.7 KB Daniils Kostornijs, 06/03/2015 01:21 PM
Screen Shot 2015-06-03 at 20.22.20 .jpg View Screen Shot 2015-06-03 at 20.22.20 .jpg 137 KB Daniils Kostornijs, 06/03/2015 01:22 PM
Actions #1

Updated by Daniils Kostornijs over 9 years ago

Update:
While clicking on the "New host" window I was able to find how to get Interfaces tab populated with the interface:
1. Leave "Name" empty
2. Select "Host group"
3. Select "Deploy on"
4. Get back to "host" and enter host name

I was able to reproduce issue using Libvirt (KVM) Compute Resource. Probably issue is not related to Xen, so feel free to transfer to approprotae project then.

Actions #2

Updated by Daniils Kostornijs over 9 years ago

Sorry, there is typo above. Should be:
4. Get back to "Name" and enter host name

Actions #3

Updated by Anonymous over 9 years ago

as this is an rvm install and production: did you precompile the assets?

Actions #4

Updated by Daniils Kostornijs over 9 years ago

I have precompiled assets and migrated DB on Foreman version upgrade using the following commands:

RAILS_ENV=production bundle exec rake db:migrate
RAILS_ENV=production bundle exec rake db:seed assets:precompile locale:pack

Repated once again now without success.

Actions #5

Updated by Operations ooVoo over 9 years ago

  • Status changed from New to Pending

Daniils can u please advise in which browser and under which OS you experienced this issue?

Actions #6

Updated by Daniils Kostornijs over 9 years ago

I'm using MacOS X 10.10.3. Tried both on Firefox 38.0.5 and Chrome Version 42.0.2311.152 (64-bit).
As I wrote earlier, this issue os not Xen specific. I got same result with Libvirt Compute Resource as well.

Actions #7

Updated by Operations ooVoo over 9 years ago

I understand:
can you give us this info as well?

I don't see in your log any call related to "HostsController#interfaces", can u please share full debug log which is starts from initial Foreman launch, thx

Actions #8

Updated by Operations ooVoo over 9 years ago

  • Assignee set to Dominic Cleal

Dominic can u please take a look?

Actions #9

Updated by Daniils Kostornijs over 9 years ago

Hi!

Sorry for late reply, but this issue is not applicable anymore.
The only thing changed was passenger upgrade, so may be that caused the problem.
Anyway, you can close the issue now.

Thanks for you help so far!

Actions #10

Updated by Anonymous over 9 years ago

  • Status changed from Pending to Closed

Thanks for the update, closing.

Actions

Also available in: Atom PDF