CodeDeploy is not starting up correctly after CIS hardening
@obscurerichard ci sta già lavorando.
Dal 8/11/2019.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
If an AMI has been prepared using Packer and Ansible with the MindPointGroup.RHEL7-CIS role applied, CodeDeploy fails to start up and no deployments happen.
Because of this, the code in #18 destined for master has that role commented out in ansible/bakery.yml:
- name: Harden Server
hosts: 127.0.0.1
connection: local
become: yes
roles:
- extra-cis-remediation
#- MindPointGroup.RHEL7-CIS
- scan-openscap
@obscurerichard took a first crack at fixing this by forking https://github.com/ModusCreateOrg/ansible-aws-codedeploy-agent from https://github.com/cbdr/ansible-aws-codedeploy-agent and fixing up script download locations so that it was not running a script from /tmp which is marked with noexec with the CIS remediations. That did not seem to do the trick on its own though.
Troubleshooting this might involve looking at boot logs, adjusting timeouts, ssh'ing into an instance as it boots up, and figuring out why the CodeDeploy agent is not working as expected when the CIS baseline lockdown is in effect.
- Lingua principale
- Shell
- Stelle
- 34
- Fork
- 19
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ModusCreateOrg/devops-infra-demo
-
enhancement help wanted
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
-
Add Client VPN supportApertaenhancement help wanted
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
-
Add AWS Client VPN supportApertaenhancement help wanted
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
Tutte le issue di ModusCreateOrg/devops-infra-demo
Issue simili
-
area:lint-tooling bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
InauguralSystems/EigenScript#1340 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
Update vtm to 2026.9.26Apertapackage-update
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
oSoWoSo/vOid_Community_repOsitory#195 · 1 commento ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
obra/superpowers#2385 ·
I maintainer di solito rispondono entro 2 giorni
-
follow-up
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
yschimke/homeassistant-remotecompose#680 ·
I maintainer di solito rispondono entro 1 giorno