Comments (8)
@john-dupuy That should work.
from manageiq-providers-amazon.
@john-dupuy Can you show me your settings for aws event handling? I just want to make sure there's nothing unusual there.
from manageiq-providers-amazon.
@djberg96 I haven't touched the defaults for the ems_amazon
config in the advanced settings yaml:
:ems_amazon:
:event_handling:
:event_groups:
:addition:
:critical:
- AWS_EC2_Instance_CREATE
- AWS_API_CALL_RunInstances
- AWS_API_CALL_CreateTags
:update:
:critical:
- AWS_EC2_Instance_UPDATE
:deletion:
:critical:
- AWS_EC2_Instance_DELETE
- AWS_API_CALL_TerminateInstances
:power:
:critical:
- AWS_EC2_Instance_running
- AWS_EC2_Instance_shutting-down
- AWS_EC2_Instance_stopped
- EC2_Instance_State_change_Notification_running
- EC2_Instance_State_change_Notification_shutting_down
- EC2_Instance_State_change_Notification_stopped
- EC2_Instance_State_change_Notification_stopping
- EC2_Instance_State_change_Notification_terminated
- EC2_Instance_State_change_Notification_pending
- AWS_API_CALL_StopInstances
- AWS_API_CALL_StartInstances
from manageiq-providers-amazon.
Not sure it's significant, but I think it was first added here: https://bugzilla.redhat.com/show_bug.cgi?id=1207865
from manageiq-providers-amazon.
@john-dupuy Can you test against master? I want to see if #633 made any difference. I'll do some testing on my end, too.
from manageiq-providers-amazon.
@djberg96 I don't have a way to test against master but I can pull the latest downstream appliance and apply the change that #633 brought in and test with that. Would that be enough?
from manageiq-providers-amazon.
As per our discussions offline, I am not able to replicate this. I tried termination via the console, the app, and a standalone script. In all cases I received two events per termination - AWS_API_CALL_TerminateInstances
(start of termination) followed a couple minutes later by AWS_EC2_Instance_DELETE
(termination complete).
At this point we're not sure if it's a 5.11 vs master issue or if it's something to do with the way the test case is setup. Still investigating...
from manageiq-providers-amazon.
After some more investigation it looks like this was a case of our EC2 instance being misconfigured. I (loosely) followed the steps outlined https://www.manageiq.org/docs/guides/providers/amazon_aws_config and got this working again.
EC2 has changed quite a bit since those docs were written, but the basic idea of them is still correct. After Step 3, I had to create a Rule
under the CloudWatch Events to send them to the SNS Topic.
from manageiq-providers-amazon.
Related Issues (20)
- Gather AWS instances details from AWS's Price List API HOT 20
- Raise exceptions if SSH commands failed in docker running image HOT 1
- Os on AWS not working HOT 4
- Allow AWS provider to be defined without secret/key in order to assume instance credentials HOT 4
- Upgrade AWS SDK library to version 3 HOT 11
- After switching to aws-sdk v3 paged results are not handled HOT 4
- ManagerMixin::ClassMethods::verify_credentials always returns true HOT 2
- The new `create_from_params` doesn't create an endpoint relation, just the authentication HOT 1
- Are relationships between cloud_networks and network_routers correct? HOT 3
- AWS Network(VPC) in CFME has no relationship with Network Router(Route Table) HOT 1
- AWS VPC Security Groups and Network Ports(Network Interfaces) don't use in CFME Name field for naming HOT 2
- EC2 Volume size change is not detected by targeted refresh HOT 2
- Amazon SSA not working HOT 4
- [RFE] Support Amazon EKS HOT 1
- Refresh fails normalizing OS name for image with no image_location
- Add a new region to regions.yml HOT 2
- Allow instance types to be pulled from github.com HOT 2
- Verify access to SQS before starting the EventCatcher HOT 2
- Dependency Dashboard
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 manageiq-providers-amazon.