Firefox, Spice and Libvirt (Compute Resources)

Hi All,

I am trying to get the Console page working, but yet no success. I am still
presented with a white box. I am running The Foreman 1.3.0.

I have installed the necessary packages on the three tiers. (VM,
Hypervisor, Client). I can actually get remote-viewer working.
I have installed the spice-xpi package on my laptopt (I run Fedora 18 and
Firefox 24), when I type spice://192.168.142.1:5900/, I get a remote-viewer
window to open.

But as I started with, I can't get the Console page to present me the
actual Console. Logs (/var/log/foreman/production.log) says nothing.

Started GET
> "/compute_resources/1-yanisguenane-fr/vms/314ffdb0-fefb-6cf4-f928-794d85f1795b/console"
> for 192.168.142.1 at 2013-10-26 05:05:51 +0200
> Processing by ComputeResourcesVmsController#console as HTML
> Parameters: {"compute_resource_id"=>"1-yanisguenane-fr",
> "id"=>"314ffdb0-fefb-6cf4-f928-794d85f1795b"}
> Rendered hosts/console/spice.html.erb within layouts/application (2.0ms)
> Rendered home/_user_dropdown.html.erb (1.3ms)
> Read fragment views/tabs_and_title_records-1 (0.1ms)
> Rendered home/_topbar.html.erb (1.7ms)
> Completed 200 OK in 229ms (Views: 9.0ms | ActiveRecord: 1.7ms)
>

Could someone point me to what am I missing ?

Thank you,

··· -- Yanis Guenane

> Hi All,
>
> I am trying to get the Console page working, but yet no success. I am
> still presented with a white box. I am running The Foreman 1.3.0.
>
> I have installed the necessary packages on the three tiers. (VM,
> Hypervisor, Client). I can actually get remote-viewer working.
> I have installed the spice-xpi package on my laptopt (I run Fedora 18 and
> Firefox 24), when I type spice://192.168.142.1:5900/, I get a
> remote-viewer window to open.
>
> But as I started with, I can't get the Console page to present me the
> actual Console. Logs (/var/log/foreman/production.log) says nothing.
>
> Started GET
>> "/compute_resources/1-yanisguenane-fr/vms/314ffdb0-fefb-6cf4-f928-794d85f1795b/console"
>> for 192.168.142.1 at 2013-10-26 05:05:51 +0200
>> Processing by ComputeResourcesVmsController#console as HTML
>> Parameters: {"compute_resource_id"=>"1-yanisguenane-fr",
>> "id"=>"314ffdb0-fefb-6cf4-f928-794d85f1795b"}
>> Rendered hosts/console/spice.html.erb within layouts/application (2.0ms)
>> Rendered home/_user_dropdown.html.erb (1.3ms)
>> Read fragment views/tabs_and_title_records-1 (0.1ms)
>> Rendered home/_topbar.html.erb (1.7ms)
>> Completed 200 OK in 229ms (Views: 9.0ms | ActiveRecord: 1.7ms)
>>
>
> Could someone point me to what am I missing ?
>

My guess is that you are using spice with a mix ssl non ssl content, see
Known Issues at NoVNC - Foreman

Ohad

··· On Sat, Oct 26, 2013 at 6:16 AM, Yanis Guenane wrote:

Thank you,


Yanis Guenane


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/groups/opt_out.

It did work. Thanks a lot, it was driving me crazy.

Have a nice week end,

··· -- Yanis Guenane

On Sat, Oct 26, 2013 at 7:52 AM, Ohad Levy ohadlevy@gmail.com wrote:

On Sat, Oct 26, 2013 at 6:16 AM, Yanis Guenane yguenane@gmail.com wrote:

Hi All,

I am trying to get the Console page working, but yet no success. I am
still presented with a white box. I am running The Foreman 1.3.0.

I have installed the necessary packages on the three tiers. (VM,
Hypervisor, Client). I can actually get remote-viewer working.
I have installed the spice-xpi package on my laptopt (I run Fedora 18 and
Firefox 24), when I type spice://192.168.142.1:5900/, I get a
remote-viewer window to open.

But as I started with, I can’t get the Console page to present me the
actual Console. Logs (/var/log/foreman/production.log) says nothing.

Started GET

"/compute_resources/1-yanisguenane-fr/vms/314ffdb0-fefb-6cf4-f928-794d85f1795b/console"
for 192.168.142.1 at 2013-10-26 05:05:51 +0200
Processing by ComputeResourcesVmsController#console as HTML
Parameters: {“compute_resource_id”=>“1-yanisguenane-fr”,
“id”=>“314ffdb0-fefb-6cf4-f928-794d85f1795b”}
Rendered hosts/console/spice.html.erb within layouts/application
(2.0ms)
Rendered home/_user_dropdown.html.erb (1.3ms)
Read fragment views/tabs_and_title_records-1 (0.1ms)
Rendered home/_topbar.html.erb (1.7ms)
Completed 200 OK in 229ms (Views: 9.0ms | ActiveRecord: 1.7ms)

Could someone point me to what am I missing ?

My guess is that you are using spice with a mix ssl non ssl content, see
Known Issues at NoVNC - Foreman

Ohad

Thank you,


Yanis Guenane


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/groups/opt_out.


Yanis Guenane