Comments (5)
The problem occurs if you start an instance in a vpc. Funny enough everything is working fine using ec2metadata tool.
from ohai.
Does using the hinting system for ohai fix this? I seem to recall if you're using VPC that you have to use hints.
from ohai.
@btm isn't this problem with VPC nodes unable to determine if they're in EC2 which drove creating the hinting system in the first place? This has nothing specific to do with ap-southeast, and there's really nothing to fix here?
from ohai.
This should get closed out. EC2 detection is pretty basic and relies on a specific Xen like MAC address being seen. I'm fairly confident that will not work with modern VPC AWS setups. In order to reliably detect a node as being in EC2 you need the hint file to tip Ohai off that it should make a metadata call. It's not possible for Ohai to make metadata calls for every possible cloud provider with the hopes that one might return data.
from ohai.
Closing this out based on my previous comment. As much as we'd like to magically detect clouds we rely on the hints to limit the time it takes to detect all attributes.
from ohai.
Related Issues (20)
- Filesystem: collect btrfs allocation data
- Darwin Hardware: Imparity between Intel and ARM/M1 (Apple Silicon) Apple devices HOT 3
- Ohai simultaneously detects EC2 and Azure clouds
- fips plugin does not detect host fips mode properly HOT 4
- CPU total is 0 when threads-per-core is 0 HOT 1
- lscpu parser doesn't parse Raspberry Pi 4 (ARM Cortex-A72) output HOT 4
- Custom Ohai plugin not functioning properly after Chef 17 upgrade.
- Metadata tags with spaces cause ohai ec2 to return an empty response
- Network Plugin intermittently unable to detect ipaddress
- fetching metadata on VMs with pre-defined user-data of Alibaba Cloud causing a never-end recursion, maybe other Cloud Service Providers are affected too HOT 1
- node['cloud'] = nil in AWS environment where full tunnel VPN is enabled
- Installation of version 17.9.0 fails with unavailable dependency HOT 5
- [BUG] Ohai passwd - segmentation fault at 0x0000000000000000 HOT 1
- Darwin virtualization plugin: potential for false positive HOT 2
- cloud plugin fail on Oracle Cloud Infrastructure (OCI) HOT 1
- Another instance of possible incorrect class comparison
- Incorrect/truncated CPU flags returned with later Linux kernels
- [17.9.0] EC2 metadata missing `network-card` information
- Plugin Cloud threw exception #<SystemStackError: stack level too deep> HOT 1
- lscpu on Debian VM on ARM system crashes CPU plugin HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ohai.