Incorrect rackspace detection #87

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@Pticed

My OVH server is detected as a server from rackspace.
As rackspace servers have 2 network interfaces. It seems a good fix to check wether eth1 exists.

@Pticed Pticed Fixed false identification of rackspace. An OVH server is identified …
…as rackspace but it doesn't have an eth1 network interface.
0c62bba
@btm
Chef Software, Inc. member

Could you please file a bug at http://tickets.opscode.com and answer these questions?

What is OVH?
What is the MAC address of eth0?
What is the MAC address of the gateway?

For the later, check your ARP tables.

Thanks.

@Pticed

OVH is a hosting/server provider like rackspace (www.ovh.com)
The MAC address of eth0 is 00:1c:c0:ec:d7:f0.
The MAC address of the gateway is 00:00:0c:07:ac:01 (that's why it is detected as Rackspace).
But as my server does not have the network interface eth1, the rackspace plugin fails in get_ip_address(:private_ip, :eth1) and the rackspace object is empty. This makes mysql::server recipe fail as it uses the attribute cloud["local_ipv4"] that is nil.

@Pticed

The JIRA is OHAI-387.

@btm
Chef Software, Inc. member
btm commented May 6, 2014

This was fixed by #152

@btm btm closed this May 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment