Libvirt with XenServer 6.2 Opensource

Hello,

Good night,

I need help to successfully integrate the foreman with citrix xenserver 6.2
with libvirt. Is there any documentation on the subject?

I try to connect to my xen server with:

xen :confused: / ip
xen + tcp :confused: / ip
xen + ssh :confused: / ip

Unsuccessfully.

Hi,

Did you ever manage to get this solved? I also have a XenServer. Haven't
really gotten to try to make it work with foreman yet.
Does foreman and XenServer 6.2 play nice togeather?

··· 2013/9/23 Eduardo Terzella

Hello,

Good night,

I need help to successfully integrate the foreman with citrix xenserver
6.2 with libvirt. Is there any documentation on the subject?

I try to connect to my xen server with:

xen :confused: / ip
xen + tcp :confused: / ip
xen + ssh :confused: / ip

Unsuccessfully.


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.

Hello. I want to help test this module too.
But i cant find foreman_xen (or foreman-xen) gem in repository.
If you asked me: yes i already upgrade my foreman to 1.5RC2 version.
How i can install this plugin?

··· понедельник, 23 сентября 2013 г., 6:36:05 UTC+3 пользователь Eduardo Terzella написал: > > Hello, > > Good night, > > I need help to successfully integrate the foreman with citrix xenserver > 6.2 with libvirt. Is there any documentation on the subject? > > I try to connect to my xen server with: > > xen :/ / ip > xen + tcp :/ / ip > xen + ssh :/ / ip > > Unsuccessfully. >

Hi,

The nice guys at ooVoo submitted a plugin [1] for managing XenServer.

this currently works only with 1.5 (nightly or RC).

Ohad

[1] https://github.com/ohadlevy/foreman-xen

··· On Thu, Dec 5, 2013 at 2:08 AM, Elias Abacioglu wrote: > Hi, > > Did you ever manage to get this solved? I also have a XenServer. Haven't > really gotten to try to make it work with foreman yet. > Does foreman and XenServer 6.2 play nice togeather? > > > 2013/9/23 Eduardo Terzella >> >> Hello, >> >> Good night, >> >> I need help to successfully integrate the foreman with citrix xenserver >> 6.2 with libvirt. Is there any documentation on the subject? >> >> I try to connect to my xen server with: >> >> xen :/ / ip >> xen + tcp :/ / ip >> xen + ssh :/ / ip >> >> Unsuccessfully. >> >> -- >> 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.

Hi,
I successfully installed the gem but I don't know how to make it visible to
foreman: i don't see the plugin installed on the web interface, how can I
activate the plugin?

Il giorno mercoledì 7 maggio 2014 17:22:09 UTC+2, Алексей Ямщиков ha
scritto:

··· > > Hello. I want to help test this module too. > But i cant find foreman_xen (or foreman-xen) gem in repository. > If you asked me: yes i already upgrade my foreman to 1.5RC2 version. > How i can install this plugin? > > понедельник, 23 сентября 2013 г., 6:36:05 UTC+3 пользователь Eduardo > Terzella написал: >> >> Hello, >> >> Good night, >> >> I need help to successfully integrate the foreman with citrix xenserver >> 6.2 with libvirt. Is there any documentation on the subject? >> >> I try to connect to my xen server with: >> >> xen :/ / ip >> xen + tcp :/ / ip >> xen + ssh :/ / ip >> >> Unsuccessfully. >> >

foreman-xen is packaged in our yum plugins repository, but we don't have
a Debian package at the moment.

More information at
http://theforeman.org/manuals/1.5/index.html#6.1InstallaPlugin

··· -- Dominic Cleal Red Hat Engineering

On 07/05/14 16:22, Алексей Ямщиков wrote:

Hello. I want to help test this module too.
But i cant find foreman_xen (or foreman-xen) gem in repository.
If you asked me: yes i already upgrade my foreman to 1.5RC2 version.
How i can install this plugin?

понедельник, 23 сентября 2013 г., 6:36:05 UTC+3 пользователь Eduardo > Terzella написал:

Hello, 

Good night,

I need help to successfully integrate the foreman with citrix
xenserver 6.2 with libvirt. Is there any documentation on the subject?

I try to connect to my xen server with:

xen :/ / ip
xen + tcp :/ / ip
xen + ssh :/ / ip

Unsuccessfully.


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
mailto:foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com
mailto:foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Hi,

Thanks guys for all work done to get out this plugin! It's greatly
appreciated! :slight_smile:
I've installed the plugin, however, after supplying the correct login
information I receive "Connection refused - connect(2)"
Any ideas on what I'm missing? Is there some setup work that needs to be
done within.

Best,
Paul

··· On Sunday, April 27, 2014 11:58:47 PM UTC-7, ohad wrote: > > Hi, > > The nice guys at ooVoo submitted a plugin [1] for managing XenServer. > > this currently works only with 1.5 (nightly or RC). > > Ohad > > [1] https://github.com/ohadlevy/foreman-xen > > On Thu, Dec 5, 2013 at 2:08 AM, Elias Abacioglu <elias...@gmail.com> > wrote: > > Hi, > > > > Did you ever manage to get this solved? I also have a XenServer. Haven't > > really gotten to try to make it work with foreman yet. > > Does foreman and XenServer 6.2 play nice togeather? > > > > > > 2013/9/23 Eduardo Terzella <eter...@gmail.com > > >> > >> Hello, > >> > >> Good night, > >> > >> I need help to successfully integrate the foreman with citrix xenserver > >> 6.2 with libvirt. Is there any documentation on the subject? > >> > >> I try to connect to my xen server with: > >> > >> xen :/ / ip > >> xen + tcp :/ / ip > >> xen + ssh :/ / ip > >> > >> Unsuccessfully. > >> > >> -- > >> 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-user...@googlegroups.com . > >> To post to this group, send email to forema...@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-user...@googlegroups.com . > > To post to this group, send email to forema...@googlegroups.com. > > > Visit this group at http://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/groups/opt_out. >

What OS are you using, how did you install it?

It's likely you need to create and add it to
/usr/share/foreman/bundler.d/Gemfile.local.rb
(Foreman :: Manual).

··· -- Dominic Cleal Red Hat Engineering

On 29/05/14 08:27, LoreLLo wrote:

Hi,
I successfully installed the gem but I don’t know how to make it visible
to foreman: i don’t see the plugin installed on the web interface, how
can I activate the plugin?

Il giorno mercoledì 7 maggio 2014 17:22:09 UTC+2, Алексей Ямщиков ha
scritto:

Hello. I want to help test this module too.
But i cant find foreman_xen (or foreman-xen) gem in repository.
If you asked me: yes i already upgrade my foreman to 1.5RC2 version. 
How i can install this plugin?

понедельник, 23 сентября 2013 г., 6:36:05 UTC+3 пользователь Eduardo >     Terzella написал:

    Hello, 

    Good night,

    I need help to successfully integrate the foreman with citrix
    xenserver 6.2 with libvirt. Is there any documentation on the
    subject?

    I try to connect to my xen server with:

    xen :/ / ip
    xen + tcp :/ / ip
    xen + ssh :/ / ip

    Unsuccessfully.


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
mailto:foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com
mailto:foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Hi Ohad,

I installed the plugin in foreman and when i try to connect it is below
error

@client = ::fog::Compute.new({ :provider => 'XenServer', :xenserver_url =>
"xxx.xxx.xxx.xxx", :xenserver_username => "root", :xenserver_password =>
"********" })
Errno::ECONNREFUSED: Connection refused - connect(2)
from /opt/rh/ruby193/root/usr/share/ruby/net/http.rb:763:in initialize&#39; from /opt/rh/ruby193/root/usr/share/ruby/net/http.rb:763:inopen'
from /opt/rh/ruby193/root/usr/share/ruby/net/http.rb:763:in block in connect&#39; from /opt/rh/ruby193/root/usr/share/ruby/timeout.rb:69:intimeout'
from /opt/rh/ruby193/root/usr/share/ruby/timeout.rb:100:in timeout&#39; from /opt/rh/ruby193/root/usr/share/ruby/net/http.rb:763:inconnect'
from /opt/rh/ruby193/root/usr/share/ruby/net/http.rb:756:in do_start&#39; from /opt/rh/ruby193/root/usr/share/ruby/net/http.rb:751:instart'
from /opt/rh/ruby193/root/usr/share/ruby/xmlrpc/client.rb:535:in do_rpc&#39; from /opt/rh/ruby193/root/usr/share/ruby/xmlrpc/client.rb:420:incall2'
from /opt/rh/ruby193/root/usr/share/ruby/xmlrpc/client.rb:410:in call&#39; from /opt/rh/ruby193/root/usr/share/gems/gems/fog-1.21.0/lib/fog/xenserver/core.rb:25:inauthenticate'
from
/opt/rh/ruby193/root/usr/share/gems/gems/fog-1.21.0/lib/fog/xenserver/compute.rb:125:in
initialize&#39; from /opt/rh/ruby193/root/usr/share/gems/gems/fog-core-1.21.1/lib/fog/core/service.rb:68:innew'
from
/opt/rh/ruby193/root/usr/share/gems/gems/fog-core-1.21.1/lib/fog/core/service.rb:68:in
new&#39; from /opt/rh/ruby193/root/usr/share/gems/gems/fog-core-1.21.1/lib/fog/compute.rb:58:innew'
from (irb):1
from
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/commands/console.rb:47:in
start&#39; from /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/commands/console.rb:8:instart'
from
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/commands.rb:41:in
&lt;top (required)&gt;&#39; from /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:60:inrequire'
from
/opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:60:in
rescue in require&#39; from /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:35:inrequire'
from script/rails:6:in `<main>'irb(main):002:0>

Do we need add any other settings to make it work?

Thanks in advance
Nagarjuna

··· On Monday, 28 April 2014 12:28:47 UTC+5:30, ohad wrote: > > Hi, > > The nice guys at ooVoo submitted a plugin [1] for managing XenServer. > > this currently works only with 1.5 (nightly or RC). > > Ohad > > [1] https://github.com/ohadlevy/foreman-xen > > On Thu, Dec 5, 2013 at 2:08 AM, Elias Abacioglu > wrote: > > Hi, > > > > Did you ever manage to get this solved? I also have a XenServer. Haven't > > really gotten to try to make it work with foreman yet. > > Does foreman and XenServer 6.2 play nice togeather? > > > > > > 2013/9/23 Eduardo Terzella <eter...@gmail.com > > >> > >> Hello, > >> > >> Good night, > >> > >> I need help to successfully integrate the foreman with citrix xenserver > >> 6.2 with libvirt. Is there any documentation on the subject? > >> > >> I try to connect to my xen server with: > >> > >> xen :/ / ip > >> xen + tcp :/ / ip > >> xen + ssh :/ / ip > >> > >> Unsuccessfully. > >> > >> -- > >> 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-user...@googlegroups.com . > >> To post to this group, send email to forema...@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-user...@googlegroups.com . > > To post to this group, send email to forema...@googlegroups.com > . > > Visit this group at http://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/groups/opt_out. >

> Hi,
>
> Thanks guys for all work done to get out this plugin! It's greatly
> appreciated! :slight_smile:
> I've installed the plugin, however, after supplying the correct login
> information I receive "Connection refused - connect(2)"
> Any ideas on what I'm missing? Is there some setup work that needs to be
> done within.
>

is this with 1.5?

we need the full trace / logs etc, but it sounds like you didnt put the
name/ip of your xen server?
Ohad

··· On Sun, May 4, 2014 at 11:26 AM, Paul Calabro wrote:

Best,
Paul

On Sunday, April 27, 2014 11:58:47 PM UTC-7, ohad wrote:

Hi,

The nice guys at ooVoo submitted a plugin [1] for managing XenServer.

this currently works only with 1.5 (nightly or RC).

Ohad

[1] https://github.com/ohadlevy/foreman-xen

On Thu, Dec 5, 2013 at 2:08 AM, Elias Abacioglu elias...@gmail.com >> wrote:

Hi,

Did you ever manage to get this solved? I also have a XenServer.
Haven’t
really gotten to try to make it work with foreman yet.
Does foreman and XenServer 6.2 play nice togeather?

2013/9/23 Eduardo Terzella eter...@gmail.com

Hello,

Good night,

I need help to successfully integrate the foreman with citrix
xenserver

6.2 with libvirt. Is there any documentation on the subject?

I try to connect to my xen server with:

xen :confused: / ip
xen + tcp :confused: / ip
xen + ssh :confused: / ip

Unsuccessfully.


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-user...@googlegroups.com.
To post to this group, send email to forema...@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-user...@googlegroups.com.
To post to this group, send email to forema...@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/d/optout.

Thank you Dominic

>
> What OS are you using, how did you install it?
>
>
I'm using an Ubuntu Precise vagrant box, where I installed the gem using
gem install foreman_xen

> It's likely you need to create and add it to
> /usr/share/foreman/bundler.d/Gemfile.local.rb
> (Foreman :: Manual<http://www.google.com/url?q=http%3A%2F%2Ftheforeman.org%2Fmanuals%2F1.5%2Findex.html%236.1InstallaPlugin&sa=D&sntz=1&usg=AFQjCNFKjM5Ha9eYow64sCSyoVyA51AKdg>).
>
>

Sorry, I was missing that part: i've followed the steps suggested and the
plugin result now installled.

Thanks!
L

··· Il giorno giovedì 29 maggio 2014 09:42:46 UTC+2, Dominic Cleal ha scritto:

Ohad,

I'm trying to use the module but I'm having issues installing it (something
probably due to the separation of 'ruby' and 'ruby193' - gem is confused).
Would it be possible to get it in RPM format like the other plugins?
Else I wouldn't mind some help figuring it out - I'm still a noob with
Ruby/Gems.

··· On Sunday, May 4, 2014 1:36:45 AM UTC-7, ohad wrote: > > > > > On Sun, May 4, 2014 at 11:26 AM, Paul Calabro <pcal...@gmail.com > > wrote: > >> Hi, >> >> Thanks guys for all work done to get out this plugin! It's greatly >> appreciated! :) >> I've installed the plugin, however, after supplying the correct login >> information I receive "Connection refused - connect(2)" >> Any ideas on what I'm missing? Is there some setup work that needs to be >> done within. >> > > is this with 1.5? > > we need the full trace / logs etc, but it sounds like you didnt put the > name/ip of your xen server? > Ohad > >> >> Best, >> Paul >> >> On Sunday, April 27, 2014 11:58:47 PM UTC-7, ohad wrote: >> >>> Hi, >>> >>> The nice guys at ooVoo submitted a plugin [1] for managing XenServer. >>> >>> this currently works only with 1.5 (nightly or RC). >>> >>> Ohad >>> >>> [1] https://github.com/ohadlevy/foreman-xen >>> >>> On Thu, Dec 5, 2013 at 2:08 AM, Elias Abacioglu >>> wrote: >>> > Hi, >>> > >>> > Did you ever manage to get this solved? I also have a XenServer. >>> Haven't >>> > really gotten to try to make it work with foreman yet. >>> > Does foreman and XenServer 6.2 play nice togeather? >>> > >>> > >>> > 2013/9/23 Eduardo Terzella >>> >> >>> >> Hello, >>> >> >>> >> Good night, >>> >> >>> >> I need help to successfully integrate the foreman with citrix >>> xenserver >>> >> 6.2 with libvirt. Is there any documentation on the subject? >>> >> >>> >> I try to connect to my xen server with: >>> >> >>> >> xen :/ / ip >>> >> xen + tcp :/ / ip >>> >> xen + ssh :/ / ip >>> >> >>> >> Unsuccessfully. >>> >> >>> >> -- >>> >> 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-user...@googlegroups.com. >>> >> To post to this group, send email to forema...@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-user...@googlegroups.com. >>> > To post to this group, send email to forema...@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-user...@googlegroups.com . >> To post to this group, send email to forema...@googlegroups.com >> . >> Visit this group at http://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/d/optout. >> > >

I've just published foreman-xen as an RPM to our main plugin
repositories, I hope that helps.

You should be able to either "yum install foreman-xen" or "yum install
ruby193-rubygem-foreman_xen" on EL6.

A project on redmine has also been set up so you have somewhere to file
bug reports: Issues - Xen - Foreman

There are some fixes that the ooVoo team have made over at
https://github.com/oovoo/foreman-xen, so hopefully we can get those
merged into the main repo and released soon too.

Cheers,

··· -- Dominic Cleal Red Hat Engineering

On 20/05/14 22:42, adavis wrote:

Ohad,

I’m trying to use the module but I’m having issues installing it
(something probably due to the separation of ‘ruby’ and ‘ruby193’ - gem
is confused). Would it be possible to get it in RPM format like the
other plugins?
Else I wouldn’t mind some help figuring it out - I’m still a noob with
Ruby/Gems.

On Sunday, May 4, 2014 1:36:45 AM UTC-7, ohad wrote:

On Sun, May 4, 2014 at 11:26 AM, Paul Calabro <pcal...@gmail.com >     <javascript:>> wrote:

    Hi,

    Thanks guys for all work done to get out this plugin! It's
    greatly appreciated! :)
    I've installed the plugin, however, after supplying the correct
    login information I receive "Connection refused - connect(2)"
    Any ideas on what I'm missing? Is there some setup work that
    needs to be done within. 


is this with 1.5?

we need the full trace / logs etc, but it sounds like you didnt put
the name/ip of your xen server?
Ohad 


    Best,
    Paul

    On Sunday, April 27, 2014 11:58:47 PM UTC-7, ohad wrote:

        Hi,

        The nice guys at ooVoo submitted a plugin [1] for managing
        XenServer.

        this currently works only with 1.5 (nightly or RC).

        Ohad

        [1] https://github.com/ohadlevy/__foreman-xen
        <https://github.com/ohadlevy/foreman-xen>

        On Thu, Dec 5, 2013 at 2:08 AM, Elias Abacioglu >             <elias...@gmail.com> wrote:
        > Hi,
        >
        > Did you ever manage to get this solved? I also have a
        XenServer. Haven't
        > really gotten to try to make it work with foreman yet.
        > Does foreman and XenServer 6.2 play nice togeather?
        >
        >
        > 2013/9/23 Eduardo Terzella <eter...@gmail.com>
        >>
        >> Hello,
        >>
        >> Good night,
        >>
        >> I need help to successfully integrate the foreman with
        citrix xenserver
        >> 6.2 with libvirt. Is there any documentation on the subject?
        >>
        >> I try to connect to my xen server with:
        >>
        >> xen :/ / ip
        >> xen + tcp :/ / ip
        >> xen + ssh :/ / ip
        >>
        >> Unsuccessfully.
        >>
        >> --
        >> 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-user...@__googlegroups.com.
        >> To post to this group, send email to
        forema...@googlegroups.com__.
        >> Visit this group at
        http://groups.google.com/__group/foreman-users
        <http://groups.google.com/group/foreman-users>.
        >> For more options, visit
        https://groups.google.com/__groups/opt_out
        <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-user...@__googlegroups.com.
        > To post to this group, send email to
        forema...@googlegroups.com__.
        > Visit this group at
        http://groups.google.com/__group/foreman-users
        <http://groups.google.com/group/foreman-users>.
        > For more options, visit
        https://groups.google.com/__groups/opt_out
        <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-user...@googlegroups.com <javascript:>.
    To post to this group, send email to forema...@googlegroups.com
    <javascript:>.
    Visit this group at http://groups.google.com/group/foreman-users
    <http://groups.google.com/group/foreman-users>.
    For more options, visit https://groups.google.com/d/optout
    <https://groups.google.com/d/optout>.


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
mailto:foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com
mailto:foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

​That's awesome news! Thanks Dominic!​

··· On Wed, May 21, 2014 at 8:23 AM, Dominic Cleal wrote:

yum install foreman-xen

Dominic,

I'm having issues with what seems to be unprovisioned settings between
Foreman and XenServer - for one, I can't save compute profiles. They error
out with :
undefined method `vm_description' for
#<Fog::Compute::XenServer::Server:0x0000000a26de00>

Second, here is what is successful after I create a new host:

  1. create VM with proper virtual hardware
  2. Start VM
  3. gPXE image from foreman

But once the gPXE image is loaded, it claims that I'm using a 64-bit image
for a 32-bit processor, indicating to me that it's trying to use a 32-bit
template rather than the 64-bit template I specified in the new host
dialog. I suspect this directive might not be properly passed along. Is
there a way I can help you confirm and troubleshoot this?

··· On Wednesday, May 21, 2014 8:23:32 AM UTC-7, Dominic Cleal wrote: > > I've just published foreman-xen as an RPM to our main plugin > repositories, I hope that helps. > > You should be able to either "yum install foreman-xen" or "yum install > ruby193-rubygem-foreman_xen" on EL6. > > A project on redmine has also been set up so you have somewhere to file > bug reports: http://projects.theforeman.org/projects/xen/issues > > There are some fixes that the ooVoo team have made over at > https://github.com/oovoo/foreman-xen, so hopefully we can get those > merged into the main repo and released soon too. > > Cheers, > > -- > Dominic Cleal > Red Hat Engineering > > On 20/05/14 22:42, adavis wrote: > > Ohad, > > > > I'm trying to use the module but I'm having issues installing it > > (something probably due to the separation of 'ruby' and 'ruby193' - gem > > is confused). Would it be possible to get it in RPM format like the > > other plugins? > > Else I wouldn't mind some help figuring it out - I'm still a noob with > > Ruby/Gems. > > > > On Sunday, May 4, 2014 1:36:45 AM UTC-7, ohad wrote: > > > > > > > > > > On Sun, May 4, 2014 at 11:26 AM, Paul Calabro > > wrote: > > > > Hi, > > > > Thanks guys for all work done to get out this plugin! It's > > greatly appreciated! :) > > I've installed the plugin, however, after supplying the correct > > login information I receive "Connection refused - connect(2)" > > Any ideas on what I'm missing? Is there some setup work that > > needs to be done within. > > > > > > is this with 1.5? > > > > we need the full trace / logs etc, but it sounds like you didnt put > > the name/ip of your xen server? > > Ohad > > > > > > Best, > > Paul > > > > On Sunday, April 27, 2014 11:58:47 PM UTC-7, ohad wrote: > > > > Hi, > > > > The nice guys at ooVoo submitted a plugin [1] for managing > > XenServer. > > > > this currently works only with 1.5 (nightly or RC). > > > > Ohad > > > > [1] https://github.com/ohadlevy/__foreman-xen > > > > > > On Thu, Dec 5, 2013 at 2:08 AM, Elias Abacioglu > > wrote: > > > Hi, > > > > > > Did you ever manage to get this solved? I also have a > > XenServer. Haven't > > > really gotten to try to make it work with foreman yet. > > > Does foreman and XenServer 6.2 play nice togeather? > > > > > > > > > 2013/9/23 Eduardo Terzella > > >> > > >> Hello, > > >> > > >> Good night, > > >> > > >> I need help to successfully integrate the foreman with > > citrix xenserver > > >> 6.2 with libvirt. Is there any documentation on the > subject? > > >> > > >> I try to connect to my xen server with: > > >> > > >> xen :/ / ip > > >> xen + tcp :/ / ip > > >> xen + ssh :/ / ip > > >> > > >> Unsuccessfully. > > >> > > >> -- > > >> 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-user...@__googlegroups.com. > > >> To post to this group, send email to > > forema...@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-user...@__googlegroups.com. > > > To post to this group, send email to > > forema...@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-user...@googlegroups.com. > > To post to this group, send email to forema...@googlegroups.com > > . > > Visit this group at http://groups.google.com/group/foreman-users > > . > > For more options, visit https://groups.google.com/d/optout > > . > > > > > > -- > > 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-user...@googlegroups.com > > <mailto:foreman-users+unsubscribe@googlegroups.com >. > > To post to this group, send email to forema...@googlegroups.com > > <mailto:forema...@googlegroups.com >. > > Visit this group at http://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/d/optout. > >

> Dominic,
>
> I'm having issues with what seems to be unprovisioned settings between
> Foreman and XenServer - for one, I can't save compute profiles. They
> error out with :
> undefined method `vm_description' for
> #<Fog::Compute::XenServer::Server:0x0000000a26de00>

This needs a new "vm_description" method adding to
app/models/concerns/fog_extensions/xenserver/server.rb for it to create
a friendly one-line description of what's in the profile. e.g. for a
libvirt profile it lists the number of CPUs and memory.

It looks like this might work:

def vm_description
_("%{cpus} CPUs and %{memory} memory") % {:cpus => vcpus_max,
:memory => number_to_human_size(memory)}
end

If it does, please do send a pull request to
https://github.com/theforeman/foreman-xen, thanks.

> Second, here is what is successful after I create a new host:
> 1) create VM with proper virtual hardware
> 2) Start VM
> 3) gPXE image from foreman
>
> But once the gPXE image is loaded, it claims that I'm using a 64-bit
> image for a 32-bit processor, indicating to me that it's trying to use a
> 32-bit template rather than the 64-bit template I specified in the new
> host dialog. I suspect this directive might not be properly passed
> along. Is there a way I can help you confirm and troubleshoot this?

I'm afraid I don't know anything about XenServer, so you'll need to dig
into it a bit. Looking at app/models/foreman_xen/xenserver.rb it seems
to have both "built in" and "custom" templates and will use one or the
other, so I'd start by adding debug in here. They have different ways
of creating the server, so it probably depends on which one you're using.

Adding calls like this will print messages to Foreman's production.log:

Rails.logger.info("custom template name: #{custom_template_name}")

··· On 27/05/14 23:15, adavis wrote:


Dominic Cleal
Red Hat Engineering