RFE: Add a role for deploying through OpenShift deployment #11884
Labels
No labels
announcement
anubis
authentication
aws
backlog
blocked
bodhi
ci
cloud
communishift
copr
database
day-to-day
dc-move
deprecated
dev
discourse
dns
downloads
easyfix
epel
firmitas
forgejo_migration
Gain
High
Gain
Low
Gain
Medium
gitlab
greenwave
hardware
help wanted
high-trouble
koji
koschei
lists
low-trouble
medium-trouble
mirrorlists
monitoring
Needs investigation
odcs
OpenShift
ops
outage
packager_workflow_blocker
pagure
permissions
Priority
Needs Review
Priority
Next Meeting
Priority
🔥 URGENT 🔥
Priority
Waiting on Assignee
Priority
Waiting on External
Priority
Waiting on Reporter
rabbitmq
release-monitoring
releng
request-for-resources
s390x
security
SMTP
sprint-0
sprint-1
src.fp.o
staging
unfreeze
waiverdb
websites-general
wiki
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
5 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
infra/tickets#11884
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe what you would like us to do:
OpenScanHub project on OpenShift currently does not use imagestreams. So only way to trigger a production deployment is to request an admin to delete and recreate pods. This is a manual step and should be automated through a role.
When do you need this to be done by? (YYYY/MM/DD)
asap
Just to clarify: The request is to add role that will allow app owners to trigger a new deployment in case they want to just restart some specific pod.
Metadata Update from @zlopez:
Metadata Update from @zlopez:
Maybe create a dedicated playbook to restart deployment? For example Koschei project has manual playbooks
playbooks/manual/upgrade/koschei-rolling.ymlandplaybooks/manual/upgrade/koschei-full.ymlthat can be used by appowners to trigger rolling or full updates as needed.@mizdebsk That is not a bad idea, but doing that for each OpenShift project is not great. I assume it will be better to allow appowners to have ability to delete/create pods in their own project.
[backlog refinement]
This is still something that would be nice to have. Ideally in a way that will allow us to have something general that could be run for multiple different OpenShift projects. Allowing authorized users to rebuild, rollout project if that is needed.
[backlog refinement]
Situation is still the same. We would like to have this, but we need to find few cycles to spare.
So, thinking about this more... I think we can just use the pattern some of our apps already use. Have ansible tags that also have 'never' associated, so they don't normally get run, but when the specific tag is passed they do run.
So, look at the bodhi app, you can see it has a 'build' and 'rollout' tags that build and rollout a new deployment. Those only run when '-t that tag' is passed to the playbook.
We can make a 'restart deployment' tag for this too.
i opened infra/ansible#3429 which adds this
Merged it. ;)
Hopefully we are done here. Thanks Vit!