Ask Your Question
0

How to disable the terminate instances button?

asked 2014-05-21 22:37:24 -0600

tahder gravatar image

I am now running Icehouse - dashboard.

How can we disable the terminate instances click button? maybe the admin can only do it. It was too confusing for users as they thought it will shutdown when actually deleting the VM instance.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2014-05-27 08:30:40 -0600

jpichon gravatar image

You should look into the customisation module at http://docs.openstack.org/developer/h... for tips on how to modify existing panels / tables.

What you want to do is override the Instances table to remove "TerminateInstance" from the table_actions:

https://github.com/openstack/horizon/...

Once that's done, you might want to consider putting your script in a "plug-in" to make it upgrade-safe (as in, updating Horizon won't overwrite your modification). See http://docs.openstack.org/developer/h... for more information.

edit flag offensive delete link more
1

answered 2014-05-22 05:13:09 -0600

SGPJ gravatar image

I believe instances are tenant specific to start & terminate.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-05-21 22:37:24 -0600

Seen: 646 times

Last updated: May 27 '14