-
Notifications
You must be signed in to change notification settings - Fork 449
Open
Labels
Status: UntriagedAn issue that has yet to be triaged.An issue that has yet to be triaged.Type: BugDoes not work as expected.Does not work as expected.
Description
Description
The EC2 metadata populated by Ohai is missing the network-card information, that is the info returned by the call to the IMDS endpoint: http://169.254.169.254/latest/meta-data/network/interfaces/macs/#{mac}/network-card
Ohai Version
17.9.0
Platform Version
EC2 instance of type c6in.metal with OS Amazon Linux 2
Ohai Output
node['ec2']['network_interfaces_macs']={"02:0f:3b:3a:20:13"=>{"device_number"=>"0", "interface_id"=>"eni-05ba4c04a0387e63c", "local_hostname"=>"REDACTED", "local_ipv4s"=>"3.5.133.26", "mac"=>"02:0f:3b:3a:20:13", "owner_id"=>"REDACTED", "security_group_ids"=>"sg-02f630ea819473b6d", "security_groups"=>"multinics-20230411-2-ComputeSecurityGroup-58F3243PFHZR", "subnet_id"=>"subnet-0b4cfba344624eb40", "subnet_ipv4_cidr_block"=>"3.5.128.0/19", "vpc_id"=>"vpc-05ec963dc8f4636dc", "vpc_ipv4_cidr_block"=>"REDACTED", "vpc_ipv4_cidr_blocks"=>"REDACTED"},
Metadata
Metadata
Assignees
Labels
Status: UntriagedAn issue that has yet to be triaged.An issue that has yet to be triaged.Type: BugDoes not work as expected.Does not work as expected.