Comments (5)
At a minimum I think we need to make it clean up the resources if it experiences an error during initial creation. Probably also worth looking into if we can do a one-time per run check that the instance profile contains the role as with how it's currently laid out I think we'd end up checking once per cluster if not once per machine.
from mantle.
After I added passrole to my user and deleted the existing kola
role I got a successful test:
$ kola -p aws --aws-ami ami-0e884738127697eb9 --aws-region us-east-1 -b fcos run coreos.ignition.resource.s3
=== RUN coreos.ignition.resource.s3
--- PASS: coreos.ignition.resource.s3 (85.21s)
PASS, output in _kola_temp/aws-2019-08-21-1937-351
from mantle.
This is "kola prep isn't idempotent" right?
from mantle.
I think it tries to be but is missing a step. It checks for the role but I don't think it checks the instance profile to make sure it contains the role.
from mantle.
@cgwalters the code currently checks if the InstanceProfile exists, if it does it immediately exits without checking the underlying roles, if it doesn't it attempts to create said underlying roles. This ended up leading to this failure case where the creation of the underlying roles failed but the Instance Profile existed.
from mantle.
Related Issues (20)
- `plume release --distro fcos` failing with NoCredentialProviders HOT 6
- plume: FCOS: specify content-type of releases JSON
- `ore aws initialize` logging
- aws: Add retry detection to tag creation HOT 1
- go mod tidy breaks the build
- `ore aws upload` does not override existing AMIs/snapshots HOT 5
- Kola run failed on s390x because of netlink error HOT 2
- s390x (IBM Z) support to pass ignition file to CoreOS guest HOT 5
- Mask tcsd.service on CL on Packet
- `kola run` should allow for exiting zero even if tests failed HOT 6
- [rhcos 4.2][s390x] kola run errors out with " Cluster failed starting machines: didn't find an address" HOT 3
- [rhcos-4.2][s390x] Kola not fetching the correct kolet binary on non x86 arches for unpriv-qemu HOT 1
- ore: aws: unable to find just uploaded AMI HOT 1
- Make download-image work for FCOS HOT 4
- `ore aliyun create-image` missing `--delete-object` switch
- Fix `ore aws copy-image` to copy snapshot permissions too HOT 1
- Add ore command to remove Azure image
- Support arch exclusion for Kolet tests HOT 3
- `kola list` should filter results according to `--platform` and `--distro` HOT 2
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 mantle.