EGI-Federation / fedcloud-vm-monitoring

Monitors VMs running on fedcloud for a given project, killing them if not acknowledged
MIT License
2 stars 1 forks source link

Follow up discussions #3

Open sebastian-luna-valero opened 2 years ago

sebastian-luna-valero commented 2 years ago

Short Description of the issue

This work may continue in https://jira.egi.eu/browse/EGITCB-35

Summary of proposed changes

I wanted to share the command I found to identify VMs that have been running for a long time, in case it's helpful:

fedcloud openstack server list --site <SITE> --vo <VO> --changes-since 2021-12-31T23:59:59Z --status ACTIVE -c Name -c ID -c "User ID" --json-output 2> /dev/null

Nonetheless, this does not solve https://github.com/EGI-Federation/fedcloud-vm-monitoring/issues/2

fedcloud openstack user list --site <SITE> --vo <VO>
You are not authorized to perform the requested action: identity:list_users. (HTTP 403)
sebastian-luna-valero commented 9 months ago

xref: https://github.com/EGI-Federation/documentation/pull/628