"CentOS mirror does not belong to OracleLinux 6.4 operating system"

I've defined a new OS called 'OracleLinux' (For OEL) and gave it version
6.4.
When I try to define a host with that operating system, it complains in two
locations:
Media - CentOS mirror does not belong to OracleLinux 6.4 operating system
Partition table - RedHat default does not belong to OracleLinux 6.4
operating system

Note that I have NOT selected either in my operating system definition.
I have left both empty in the OS definition. Perhaps there's some kind of
fixed default?

I defer to more expert users, but I think I have run into this as our
standard OS is OEL…

Does your OS Definition have the CentOS Install Media checked? I created
an Oracle Linux install media definition, then associate it with Oracle
Linux versions that appear under Operating Systems.

I'm just guessing on this, one but within the OS definition there is an OS
Family pulldown. I believe this is related to the osfamily fact for
systems that check-in with an undefined OS. If you created the OS
definition before any Oracle Linux systems reported to Foreman you may not
have selected the RedHat Family. This family is linked to the RedHat
related templates.

In order to do unattended provisioning of an OS you create, you must start
by setting up the Media, then the OS, then link the OS to the Media, then
link the Provisioning Templates to the OS. I actually prefer to copy the
default templates to new templates in-case there is some customization
required - like for the kickstart, but I am a rookie with Foreman, it may
not be necessary.

I hope this helps, kind regards!

··· -- Sean M. Alderman Senior Engineer, UDit Systems Integration and Engineering University of Dayton

On Thu, Jul 18, 2013 at 10:11 AM, Yaniv Kaul mykaul@gmail.com wrote:

I’ve defined a new OS called ‘OracleLinux’ (For OEL) and gave it version
6.4.
When I try to define a host with that operating system, it complains in
two locations:
Media - CentOS mirror does not belong to OracleLinux 6.4 operating system
Partition table - RedHat default does not belong to OracleLinux 6.4
operating system

Note that I have NOT selected either in my operating system definition.
I have left both empty in the OS definition. Perhaps there’s some kind of
fixed default?


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.

> I defer to more expert users, but I think I have run into this as our
> standard OS is OEL…
>
> Does your OS Definition have the CentOS Install Media checked? I created
> an Oracle Linux install media definition, then associate it with Oracle
> Linux versions that appear under Operating Systems.
>

No, it does not have the media or partition table checked.

>
> I'm just guessing on this, one but within the OS definition there is an OS
> Family pulldown. I believe this is related to the osfamily fact for
> systems that check-in with an undefined OS. If you created the OS
> definition before any Oracle Linux systems reported to Foreman you may not
> have selected the RedHat Family. This family is linked to the RedHat
> related templates.
>

It had the RedHat family selected. That didn't work.
I removed that (and thus not selected anything). That doesn't work either.

I suspect I need to define a new 'medium', and new 'partition table' and so
forth.
But I'm not even using a template nor provisioning anything (yet)!

Y.

··· On Thursday, July 18, 2013 5:20:34 PM UTC+3, Sean Alderman wrote:

In order to do unattended provisioning of an OS you create, you must start
by setting up the Media, then the OS, then link the OS to the Media, then
link the Provisioning Templates to the OS. I actually prefer to copy the
default templates to new templates in-case there is some customization
required - like for the kickstart, but I am a rookie with Foreman, it may
not be necessary.

I hope this helps, kind regards!


Sean M. Alderman
Senior Engineer, UDit Systems Integration and Engineering
University of Dayton

On Thu, Jul 18, 2013 at 10:11 AM, Yaniv Kaul <myk...@gmail.com<javascript:> > > wrote:

I’ve defined a new OS called ‘OracleLinux’ (For OEL) and gave it version
6.4.
When I try to define a host with that operating system, it complains in
two locations:
Media - CentOS mirror does not belong to OracleLinux 6.4 operating system
Partition table - RedHat default does not belong to OracleLinux 6.4
operating system

Note that I have NOT selected either in my operating system definition.
I have left both empty in the OS definition. Perhaps there’s some kind of
fixed default?


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.
For more options, visit https://groups.google.com/groups/opt_out.

I've published what my Oracle Linux Media and OS pages look like on Google+
[1].

I'm guessing you're missing some association that's connecting the pieces
together.

[1] https://plus.google.com/u/0/105327828729026800537/posts/FbvQeZfhjPt

··· -- Sean M. Alderman Senior Engineer, UDit Systems Integration and Engineering University of Dayton

On Thu, Jul 18, 2013 at 12:02 PM, Yaniv Kaul mykaul@gmail.com wrote:

On Thursday, July 18, 2013 5:20:34 PM UTC+3, Sean Alderman wrote:

I defer to more expert users, but I think I have run into this as our
standard OS is OEL…

Does your OS Definition have the CentOS Install Media checked? I created
an Oracle Linux install media definition, then associate it with Oracle
Linux versions that appear under Operating Systems.

No, it does not have the media or partition table checked.

I’m just guessing on this, one but within the OS definition there is an
OS Family pulldown. I believe this is related to the osfamily fact for
systems that check-in with an undefined OS. If you created the OS
definition before any Oracle Linux systems reported to Foreman you may not
have selected the RedHat Family. This family is linked to the RedHat
related templates.

It had the RedHat family selected. That didn’t work.
I removed that (and thus not selected anything). That doesn’t work either.

I suspect I need to define a new ‘medium’, and new ‘partition table’ and
so forth.
But I’m not even using a template nor provisioning anything (yet)!

Y.

In order to do unattended provisioning of an OS you create, you must
start by setting up the Media, then the OS, then link the OS to the Media,
then link the Provisioning Templates to the OS. I actually prefer to copy
the default templates to new templates in-case there is some customization
required - like for the kickstart, but I am a rookie with Foreman, it may
not be necessary.

I hope this helps, kind regards!


Sean M. Alderman
Senior Engineer, UDit Systems Integration and Engineering
University of Dayton

On Thu, Jul 18, 2013 at 10:11 AM, Yaniv Kaul myk...@gmail.com wrote:

I’ve defined a new OS called ‘OracleLinux’ (For OEL) and gave it version
6.4.
When I try to define a host with that operating system, it complains in
two locations:
Media - CentOS mirror does not belong to OracleLinux 6.4 operating system
Partition table - RedHat default does not belong to OracleLinux 6.4
operating system

Note that I have NOT selected either in my operating system definition.
I have left both empty in the OS definition. Perhaps there’s some kind
of fixed default?


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-usershttp://groups.google.com/group/foreman-users
.
For more options, visit https://groups.google.com/**groups/opt_outhttps://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.

> I've published what my Oracle Linux Media and OS pages look like on
> Google+ [1].
>
> I'm guessing you're missing some association that's connecting the pieces
> together.
>
>
> [1] https://plus.google.com/u/0/105327828729026800537/posts/FbvQeZfhjPt
>

"This post could not be found.
Your URL may be incorrect, the post may have been deleted, or this account
may not have access to the post."

Might be the evil corporate firewall, though.

In any case, I don't do provisioning (yet), so I have not configured
anything wrt media and such.
Y.

··· On Thursday, July 18, 2013 8:45:24 PM UTC+3, Sean Alderman wrote:


Sean M. Alderman
Senior Engineer, UDit Systems Integration and Engineering
University of Dayton

On Thu, Jul 18, 2013 at 12:02 PM, Yaniv Kaul <myk...@gmail.com<javascript:> > > wrote:

On Thursday, July 18, 2013 5:20:34 PM UTC+3, Sean Alderman wrote:

I defer to more expert users, but I think I have run into this as our
standard OS is OEL…

Does your OS Definition have the CentOS Install Media checked? I
created an Oracle Linux install media definition, then associate it with
Oracle Linux versions that appear under Operating Systems.

No, it does not have the media or partition table checked.

I’m just guessing on this, one but within the OS definition there is an
OS Family pulldown. I believe this is related to the osfamily fact for
systems that check-in with an undefined OS. If you created the OS
definition before any Oracle Linux systems reported to Foreman you may not
have selected the RedHat Family. This family is linked to the RedHat
related templates.

It had the RedHat family selected. That didn’t work.
I removed that (and thus not selected anything). That doesn’t work either.

I suspect I need to define a new ‘medium’, and new ‘partition table’ and
so forth.
But I’m not even using a template nor provisioning anything (yet)!

Y.

In order to do unattended provisioning of an OS you create, you must
start by setting up the Media, then the OS, then link the OS to the Media,
then link the Provisioning Templates to the OS. I actually prefer to copy
the default templates to new templates in-case there is some customization
required - like for the kickstart, but I am a rookie with Foreman, it may
not be necessary.

I hope this helps, kind regards!


Sean M. Alderman
Senior Engineer, UDit Systems Integration and Engineering
University of Dayton

On Thu, Jul 18, 2013 at 10:11 AM, Yaniv Kaul myk...@gmail.com wrote:

I’ve defined a new OS called ‘OracleLinux’ (For OEL) and gave it
version 6.4.
When I try to define a host with that operating system, it complains in
two locations:
Media - CentOS mirror does not belong to OracleLinux 6.4 operating
system
Partition table - RedHat default does not belong to OracleLinux 6.4
operating system

Note that I have NOT selected either in my operating system definition.
I have left both empty in the OS definition. Perhaps there’s some kind
of fixed default?


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-usershttp://groups.google.com/group/foreman-users
.
For more options, visit https://groups.google.com/**groups/opt_outhttps://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.
For more options, visit https://groups.google.com/groups/opt_out.

Yaniv,
I sent you the images from the link off-list. I might suggest if you're
struggling with getting the provisioning to work properly, that you work
through it using CentOS before trying to add a custom OS. I realize that
your company might not allow you to reach the CentOS mirror. It seems that
Foreman 1.2 doesn't not come out of the box with the complete linkage
between Media, OS, Partition Templates and Provisioning Templates. The
components are all defined, but as you begin to provision, you'll be met
with a few steps to connect the dots before it works.

··· -- Sean M. Alderman Senior Engineer, UDit Systems Integration and Engineering University of Dayton

On Sun, Jul 21, 2013 at 3:02 AM, Yaniv Kaul mykaul@gmail.com wrote:

On Thursday, July 18, 2013 8:45:24 PM UTC+3, Sean Alderman wrote:

I’ve published what my Oracle Linux Media and OS pages look like on
Google+ [1].

I’m guessing you’re missing some association that’s connecting the pieces
together.

[1] https://plus.google.com/u/0/105327828729026800537/posts/
FbvQeZfhjPthttps://plus.google.com/u/0/105327828729026800537/posts/FbvQeZfhjPt

“This post could not be found.
Your URL may be incorrect, the post may have been deleted, or this account
may not have access to the post.”

Might be the evil corporate firewall, though.

In any case, I don’t do provisioning (yet), so I have not configured
anything wrt media and such.
Y.


Sean M. Alderman
Senior Engineer, UDit Systems Integration and Engineering
University of Dayton

On Thu, Jul 18, 2013 at 12:02 PM, Yaniv Kaul myk...@gmail.com wrote:

On Thursday, July 18, 2013 5:20:34 PM UTC+3, Sean Alderman wrote:

I defer to more expert users, but I think I have run into this as our
standard OS is OEL…

Does your OS Definition have the CentOS Install Media checked? I
created an Oracle Linux install media definition, then associate it with
Oracle Linux versions that appear under Operating Systems.

No, it does not have the media or partition table checked.

I’m just guessing on this, one but within the OS definition there is an
OS Family pulldown. I believe this is related to the osfamily fact for
systems that check-in with an undefined OS. If you created the OS
definition before any Oracle Linux systems reported to Foreman you may not
have selected the RedHat Family. This family is linked to the RedHat
related templates.

It had the RedHat family selected. That didn’t work.
I removed that (and thus not selected anything). That doesn’t work
either.

I suspect I need to define a new ‘medium’, and new ‘partition table’ and
so forth.
But I’m not even using a template nor provisioning anything (yet)!

Y.

In order to do unattended provisioning of an OS you create, you must
start by setting up the Media, then the OS, then link the OS to the Media,
then link the Provisioning Templates to the OS. I actually prefer to copy
the default templates to new templates in-case there is some customization
required - like for the kickstart, but I am a rookie with Foreman, it may
not be necessary.

I hope this helps, kind regards!


Sean M. Alderman
Senior Engineer, UDit Systems Integration and Engineering
University of Dayton

On Thu, Jul 18, 2013 at 10:11 AM, Yaniv Kaul myk...@gmail.com wrote:

I’ve defined a new OS called ‘OracleLinux’ (For OEL) and gave it
version 6.4.
When I try to define a host with that operating system, it complains
in two locations:
Media - CentOS mirror does not belong to OracleLinux 6.4 operating
system
Partition table - RedHat default does not belong to OracleLinux 6.4
operating system

Note that I have NOT selected either in my operating system definition.
I have left both empty in the OS definition. Perhaps there’s some kind
of fixed default?


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-usershttp://groups.google.com/group/foreman-users
.
For more options, visit https://groups.google.com/groups/opt_outhttps://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-usershttp://groups.google.com/group/foreman-users
.
For more options, visit https://groups.google.com/**groups/opt_outhttps://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.