bug 13461: Usage server restart required after some configuration changes.

This commit is contained in:
Sanjay Tripathi 2012-05-02 12:10:20 +05:30
parent 89ee1b4814
commit 3c4a27d4c6
3 changed files with 6 additions and 1 deletions

View File

@ -1355,6 +1355,7 @@ message.number.storage=<h2><span> # of </span> Primary Storage Volumes</h2>
message.number.zones=<h2><span> # of </span> Zones</h2>
message.remove.vpn.access=Please confirm that you want to remove VPN access from the following user.
message.restart.mgmt.server=Please restart your management server(s) for your new settings to take effect.
message.restart.mgmt.usage.server=Please restart your management server(s) and usage server(s) for your new settings to take effect.
message.security.group.usage=(Use <strong>Ctrl-click</strong> to select all applicable security groups)
message.snapshot.schedule=You can setup recurring snapshot schedules by selecting from the available options below and applying your policy preference
message.step.1.continue=Please select a template or ISO to continue

View File

@ -2781,6 +2781,7 @@ dictionary = {
'message.number.zones': '<fmt:message key="message.number.zones" />',
'message.remove.vpn.access': '<fmt:message key="message.remove.vpn.access" />',
'message.restart.mgmt.server': '<fmt:message key="message.restart.mgmt.server" />',
'message.restart.mgmt.usage.server': '<fmt:message key="message.restart.mgmt.usage.server" />',
'message.security.group.usage': '<fmt:message key="message.security.group.usage" />',
'message.snapshot.schedule': '<fmt:message key="message.snapshot.schedule" />',
'message.step.1.continue': '<fmt:message key="message.step.1.continue" />',

View File

@ -38,7 +38,10 @@
async: true,
success: function(json) {
var item = json.updateconfigurationresponse.configuration;
cloudStack.dialog.notice({ message: _l('message.restart.mgmt.server') });
if(item.category == "Usage")
cloudStack.dialog.notice({ message: _l('message.restart.mgmt.usage.server') });
else
cloudStack.dialog.notice({ message: _l('message.restart.mgmt.server') });
args.response.success({data: item});
},
error: function(json) {