Comments (5)
UPDATE:
I have found that the service is called "awslogs" rather than "awslogsd" so I have updated the service name on "vpc-ssh-bastion.yaml"
2021-02-20 09:57:31,546 [INFO] enabled service awslogs
2021-02-20 09:57:31,546 [DEBUG] Restarting awslogs due to change detected in dependency
2021-02-20 09:57:31,547 [DEBUG] Using service runner: /sbin/service
2021-02-20 09:57:33,585 [INFO] Restarted awslogs successfully
Now it is erroring on "mariadb"
2021-02-20 09:57:36,374 [ERROR] mariadb is not available to be installed
2021-02-20 09:57:36,374 [ERROR] Error encountered during build of config: Yum does not have mariadb available for installation
Why is this happening?
from aws-cf-templates.
Hi @ian-tait
Do you use the latest version of the templates without modifications? As far as I remember, the service name was renamed from awslogs to awslogsd in Amazon Linux 2 a while ago.
mariadb is 100% not part of our template.
from aws-cf-templates.
Hi Michael,
I am using the latest version with some slight changes around tags and naming.
Currently using the latest EC2 "ami-047a51fa27710816e" in us-east-1
Mariadb is part of the bastion build, as see here:
https://github.com/widdix/aws-cf-templates/blob/master/vpc/vpc-ssh-bastion.yaml
Line 432, as it installs packages using cfn-init yum.
from aws-cf-templates.
Oh, know I remember. It installs the mysql client to connect to RDS instances :)
I just created a bastion ssh stack in us-east-1 and it worked. it also worked 3 days ago when the test suite ran. can you try to spin up an unmodified template to reproduce your issue? Can you share the parameters of the stack?
from aws-cf-templates.
Hi Michael,
After picking through my code, it would seem I found the issue with the AMI; somehow, I was using an older image of an Amazon Linux 1(AL1) machine. Hence the reason for "awslogs" and not "awslogsd". I still haven't figured out how that came about.
I ended up double-checking after my last update, and it was at that point I found I was using the wrong one.
By using the right AMI, this too fixed the issue with the MariaDB. It would appear that this was not available in the repos for AL1 machines.
Not too sure how I got myself in such a mess with my testing but thank you for helping me out.
Thank you
Ian
from aws-cf-templates.
Related Issues (20)
- Wordpress Features Request HOT 2
- Jenkins Agents always install the latest docker instead of pinned version HOT 4
- ECS AutoScalingGroup - CREATE_FAILED HOT 1
- Jenkins plugin dependencies not installed HOT 5
- Jenkins2-ha deployment failing: Unable to satisfy 100% MinSuccessfulInstancesPercent requirement HOT 4
- Monitoring ElastiCache redis is broken
- ElastiCache-Redis cannot UPDATE Template to use more than 1 Shard (clustermode:off -> on) HOT 2
- Updating Jenkins template HOT 2
- Jenkins fails to boot due to wrong ruby version HOT 4
- Static Website - Use new CloudFront Functions for URL redirects instead of Lambda@Edge HOT 1
- jenkins agents fail to start due to missing nodejs requirement HOT 3
- CloudTrail LogsStream Details HOT 3
- ECS Cluster - AutoScaling errors HOT 1
- Incorrect test and typo in test for `h_download_jenkins_plugin_manager` step HOT 1
- How to use Fargate Spot instances? HOT 2
- Add link to documentation for private ECR access from private subnet with no NAT gateway HOT 1
- jenkins2-ha-agents does not scale down if there is at least one job running HOT 1
- Documentation on UserData field EC2 template HOT 7
- Jenkins template broke because mirror is down 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 aws-cf-templates.