Commit Graph

5177 Commits

Author SHA1 Message Date
ramamurtis fc0ed447e5 CLOUDSTACK-9038 - Infrastructure tab is slow because of synchronous API calls
Making parallel asynchronous calls to speed up the page.
2015-11-05 16:54:05 +05:30
Remi Bergsma 8db10be093 Merge pull request #897 from nitin-maharana/CloudStack-Nitin10
CLOUDSTACK-8919: Slow UI response while loading the list of networks in network tab.Instead of searching for each network, now it is searching for each zone.
For basic zone, it will show the security group directly because by default securitygroupsenabled is true.
For advanced zone, check the securitygroupsenabled option in each zone. If any one has value true, then show.

* pr/897:
  CLOUDSTACK-8919: Slow UI response while loading the list of networks in network tab.

Signed-off-by: Remi Bergsma <github@remi.nl>
2015-11-02 20:04:51 +01:00
Nitin Kumar Maharana 834ab53d87 CLOUDSTACK-8928: While adding VMs to LB rule, default NIC IP is always displayed rather than the IP corresponding to the NIC where LB is being created
While calling the listNics API, instead of sending the default nic id as parameter, it should send the network id as a parameter.
So, replaced that nicid parameter as networkid parameter.
2015-10-30 15:12:36 +05:30
Nitin Kumar Maharana e8c4b2b44b CLOUDSTACK-8919: Slow UI response while loading the list of networks in network tab.
Instead of searching for each network, now it is searching for each zone.
For basic zone, it will show the security group directly because by default securitygroupsenabled is true.
For advanced zone, check the securitygroupsenabled option in each zone. If any one has value true, then show.
2015-10-30 15:11:02 +05:30
Remi Bergsma 73c6c6c96b Merge pull request #996 from karuturi/CLOUDSTACK-8984
[4.6] CLOUDSTACK-8984: VPC Network offerings tab missing from UIThis is a regression from commit af2f21894c

added vpcofferings to the select list

Before the change (from the bug):
![offerings_46](https://cloud.githubusercontent.com/assets/186833/10781847/34ae9bc4-7d71-11e5-8159-b90422ef34f6.png)

After the change:
![screen shot 2015-10-28 at 12 32 59 pm](https://cloud.githubusercontent.com/assets/186833/10781850/3ef96500-7d71-11e5-84c5-34589ec10bf9.png)

* pr/996:
  CLOUDSTACK-8984: VPC Network offerings tab missing from UI

Signed-off-by: Remi Bergsma <github@remi.nl>
2015-10-29 15:43:14 +01:00
Rajani Karuturi d9f614cea2 CLOUDSTACK-8984: VPC Network offerings tab missing from UI
This is a regression from commit af2f21894c

added vpcofferings to the select list
2015-10-29 09:21:16 +05:30
Wei Zhou 6cced18fd6 CLOUDSTACK-8990: start a stopped machine on a specific determinable host on UI 2015-10-26 14:29:29 +01:00
atrbgithub ff7a5bbd9b Sorting of security groups 2015-10-16 21:13:51 +01:00
Milamber e64025a2b8 PR 906 (CLOUDSTACK-8930) and PR 912 combined. Bugs on localization buttons in zone wizard final step and Advanced search popup 2015-10-07 07:50:04 +01:00
Nitin Kumar Maharana 2651956cf4 CLOUDSTACK-8930: Showing blank screen when click 'Next' link in final step of Add Zone wizard. 2015-10-07 07:47:00 +01:00
Daan Hoogland 6e2ac9974a Merge pull request #791 from nitin-maharana/CloudStack-Nitin3
CLOUDSTACK-8821: UI Change while configuring firewall rule.It provides appropriate message in the UI when configuring the firewall rules in Network page.
If the default egress policy is allow, then it says to block traffic. If the default egress policy is deny, then it says to allow traffic.

* pr/791:
  CLOUDSTACK-8821: Provide appropriate message in the UI when configuring the Firewall rules.

Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-09-11 13:52:19 +02:00
Nitin Kumar Maharana 93ed525c00 CLOUDSTACK-8821: Provide appropriate message in the UI when configuring the Firewall rules. 2015-09-09 12:42:15 +05:30
Rajani Karuturi 5881035e7b Merge pull request #755 from karuturi/CLOUDSTACK-8647-2
Cloudstack:8647 LDAP Trust AD and AutoimportToday, CloudStack can automatically import LDAP users based on the configuration to a domain or an account. However, any new users in LDAP aren't automatically reflected. The admin has to manually import them again.
This feature enables admin to map LDAP group/OU to a CloudStack domain and any changes are reflected in ACS as well.
FS: https://cwiki.apache.org/confluence/display/CLOUDSTACK/WIP%3A+LDAP%3A+Trust+AD+and+Auto+Import

testcases output:
```
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running groovy.org.apache.cloudstack.ldap.NoLdapUserMatchingQueryExceptionSpec
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.216 sec - in groovy.org.apache.cloudstack.ldap.NoLdapUserMatchingQueryExceptionSpec
Running groovy.org.apache.cloudstack.ldap.LdapManagerImplSpec
log4j:WARN No appenders could be found for logger (org.apache.cloudstack.ldap.LdapManagerImpl).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
using type:
using type: null
using type: TEST
using type: TEST TEST
using name:
using name: null
using accountType: -1
using accountType: 1
using accountType: 3
using accountType: 4
using accountType: 5
using accountType: 6
using accountType: 20000
using accountType: -500000
Tests run: 29, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.387 sec - in groovy.org.apache.cloudstack.ldap.LdapManagerImplSpec
Running groovy.org.apache.cloudstack.ldap.LdapListUsersCmdSpec
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 sec - in groovy.org.apache.cloudstack.ldap.LdapListUsersCmdSpec
Running groovy.org.apache.cloudstack.ldap.LdapAddConfigurationCmdSpec
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec - in groovy.org.apache.cloudstack.ldap.LdapAddConfigurationCmdSpec
Running groovy.org.apache.cloudstack.ldap.LdapUserSpec
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec - in groovy.org.apache.cloudstack.ldap.LdapUserSpec
Running groovy.org.apache.cloudstack.ldap.LdapAuthenticatorSpec
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.082 sec - in groovy.org.apache.cloudstack.ldap.LdapAuthenticatorSpec
Running groovy.org.apache.cloudstack.ldap.LdapConfigurationVOSpec
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in groovy.org.apache.cloudstack.ldap.LdapConfigurationVOSpec
Running groovy.org.apache.cloudstack.ldap.OpenLdapUserManagerSpec
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094 sec - in groovy.org.apache.cloudstack.ldap.OpenLdapUserManagerSpec
Running groovy.org.apache.cloudstack.ldap.LdapDeleteConfigurationCmdSpec
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec - in groovy.org.apache.cloudstack.ldap.LdapDeleteConfigurationCmdSpec
Running groovy.org.apache.cloudstack.ldap.LdapUserResponseSpec
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec - in groovy.org.apache.cloudstack.ldap.LdapUserResponseSpec
Running groovy.org.apache.cloudstack.ldap.LdapUserManagerFactorySpec
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec - in groovy.org.apache.cloudstack.ldap.LdapUserManagerFactorySpec
Running groovy.org.apache.cloudstack.ldap.ADLdapUserManagerImplSpec
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec - in groovy.org.apache.cloudstack.ldap.ADLdapUserManagerImplSpec
Running groovy.org.apache.cloudstack.ldap.LdapCreateAccountCmdSpec
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.168 sec - in groovy.org.apache.cloudstack.ldap.LdapCreateAccountCmdSpec
Running groovy.org.apache.cloudstack.ldap.LdapImportUsersCmdSpec
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec - in groovy.org.apache.cloudstack.ldap.LdapImportUsersCmdSpec
Running groovy.org.apache.cloudstack.ldap.LinkDomainToLdapCmdSpec
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec - in groovy.org.apache.cloudstack.ldap.LinkDomainToLdapCmdSpec
Running groovy.org.apache.cloudstack.ldap.LdapSearchUserCmdSpec
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec - in groovy.org.apache.cloudstack.ldap.LdapSearchUserCmdSpec
Running groovy.org.apache.cloudstack.ldap.LdapListConfigurationCmdSpec
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec - in groovy.org.apache.cloudstack.ldap.LdapListConfigurationCmdSpec
Running groovy.org.apache.cloudstack.ldap.NoSuchLdapUserExceptionSpec
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in groovy.org.apache.cloudstack.ldap.NoSuchLdapUserExceptionSpec
Running groovy.org.apache.cloudstack.ldap.LdapConfigurationResponseSpec
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in groovy.org.apache.cloudstack.ldap.LdapConfigurationResponseSpec
Running groovy.org.apache.cloudstack.ldap.LdapConfigurationSpec
asserting for provider configuration: openldap
asserting for provider configuration: microsoftad
asserting for provider configuration:
asserting for provider configuration:
asserting for provider configuration: xyz
asserting for provider configuration: MicrosoftAd
asserting for provider configuration: OpenLdap
asserting for provider configuration: MicrosoftAD
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec - in groovy.org.apache.cloudstack.ldap.LdapConfigurationSpec
Running groovy.org.apache.cloudstack.ldap.LdapContextFactorySpec
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.099 sec - in groovy.org.apache.cloudstack.ldap.LdapContextFactorySpec
Running groovy.org.apache.cloudstack.ldap.LdapConfigurationDaoImplSpec
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec - in groovy.org.apache.cloudstack.ldap.LdapConfigurationDaoImplSpec
Running groovy.org.apache.cloudstack.ldap.LdapUtilsSpec
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec - in groovy.org.apache.cloudstack.ldap.LdapUtilsSpec

Results :

Tests run: 156, Failures: 0, Errors: 0, Skipped: 0
```

* pr/755:
  CLOUDSTACK-8647: linkdomaintoldap shouldnt fail when createuseraccount fails
  CLOUDSTACK-8647 removed duplicate key in create sql of ldap_trust_map
  CLOUDSTACK-8647: string formatting
  CLOUDSTACK-8647: updated with review comments
  CLOUDSTACK-8647: unittests for LdapAuthenticatorSpec
  CLOUDSTACK-8647: formatted LdapAuthenticatorSpec
  CLOUDSTACK-8647: UI for trust AD feature
  CLOUDSTACK-8647 added unittests for new methods  in ldapmanager
  CLOUDSTACK-8647 unittests for LinkDomainToLdap api command
  CLOUDSTACK-8647: fixed unittests
  CLOUDSTACK-8647 support for assigning and admin to linked ldap domain
  CLOUDSTACK-8647 added nested group enabled config in ldap
  CLOUDSTACK-8647 added account_type to the linkDomainToLdap API
  CLOUDSTACK-8647 changed the authentication flow
  CLOUDSTACK-8647 added new api linkLdapToDomain
  CLOUDSTACK-8647: added cmd and response class for the new api

Signed-off-by: Rajani Karuturi <rajani.karuturi@citrix.com>
2015-09-05 09:30:17 +05:30
Wei Zhou c0a0aec0f9 Merge pull request #732 from ustcweizhou/revert-volume-snapshot-master
Guys, can you review it? things need to be discussed:
(1) this supports KVM/QCOW2 only. Anyone want to implement for other Hypervisor/format ?
(2) The original data volume (on primary storage) will be removed.
(3) The script uses the default timeout in libvirtComputingResource. Do we need to add one in global configuration (like copy.volume.wait or backup.snapshot.wait, create.volume.from.snapshot.wait)
(4) In scripts/storage/qcow2/managesnapshot.sh, I use "qemu-img convert -f qcow2 -O qcow2" to copy the snapshot from secondary to primary (hence there is no base image file), instead of "cp -f", this is because convert is faster than cp in my testing.

* pr/732:
  CLOUDSTACK-5863: revert volume snapshot for KVM/QCOW2

Signed-off-by: Wei Zhou <w.zhou@tech.leaseweb.com>
2015-09-01 16:18:40 +02:00
Rohit Yadav a6e8cfde3f CLOUDSTACK-8766: Fix infinite scrolling pagination for zonal iso/template listing
Due to aggregation of templates and isos on the UI/client side, it could result
that for each page we could end up having lesser templates/isos listed to have
the scroll shown that triggers infinite scrolling. In theory, there
is still a chance if there are several zones with the same template being listed
resulting in only one aggregated template which could cause the scroll to not
get shown; but in practice I believe this fix should work for most users.

Page size set based on experimental data:
https://github.com/apache/cloudstack/pull/751#issuecomment-135661968

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-08-28 13:07:47 +05:30
Rajani Karuturi 36340d97bd CLOUDSTACK-8647: UI for trust AD feature 2015-08-27 17:34:02 +05:30
Rohit Yadav 462bb0654d CLOUDSTACK-8766: Fix infinite scrolling pagination for zonal template listing
Uses listViewDataProvider to implement pagination for listing templates and ISOs
in the zones tab. Dedupes isos and templates in the list views.

This closes #740

(cherry picked from commit 26700fbe76)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-08-26 12:46:47 +05:30
Wei Zhou 92344c006d CLOUDSTACK-5863: revert volume snapshot for KVM/QCOW2 2015-08-24 11:01:50 +02:00
Milamber 267994fa0b CLOUDSTACK-8744 Add missing localization (l10n) for several parts in the UI
- l10n for the SSH Key Pairs behavior
- l10n for Autoscaling / LB sections
- l10n for Reset password
- l10n on some strings for the installation Wizard
- l10n on some strings in VPN/VPC section
- l10n on Service offerings sections
- improve some FR translations
2015-08-18 11:16:14 +01:00
Boris Schrijver f9e21da5dd Removed double encoding of Public Key from JS.
See Cloudstack issue CLOUDSTACK-8742 for information.
2015-08-17 22:56:17 +02:00
Remi Bergsma ca9d246876 Merge pull request #686 from milamberspace/MissingSomesL10N
[CLOUDSTACK-8427] Add missing localization for some labels in Web UI- on new functionnality: upload volume/template from Local
- on the zone configuration wizard for the "Next" button
- update French messages properties from transifex
- Improve some French translations ("Tlverser" for "Upload")

* pr/686:
  Add missing localization for some labels in Web UI - on new functionnality: upload volume/template from Local - on the zone configuration wizard for the "Next" button - update French messages properties from transifex - Improve some French translations ("Téléverser" for "Upload")

Signed-off-by: Remi Bergsma <github@remi.nl>
2015-08-14 22:11:28 +02:00
Remi Bergsma 0fcc7297e0 Merge pull request #680 from borisroman/CLOUDSTACK-8580
Interface changes related to CLOUDSTACK-8580See issue CLOUDSTACK-8580 and individual commits.

* pr/680:
  Made interface changes related to CLOUDSTACK-8580

Signed-off-by: Remi Bergsma <github@remi.nl>
2015-08-14 11:47:36 +02:00
Boris Schrijver 655fcc924f Made interface changes related to CLOUDSTACK-8580
Added responses to ListCapabilities to reflect CLOUDSTACK-8580 changes.

This to add these options to the gui. See issue CLOUDSTACK-8580.

3be14e978a

Removed comments as proposed by Daan Hoogland.
2015-08-14 11:13:21 +02:00
Rohit Yadav 1ec4d0155a CLOUDSTACK-8701: Allow SAML users to switch accounts
SAML authorized accounts might be across various domains, this allows for
switching of accounts only in case of SAML authenticated user accounts across
other accounts with the same SAML uid/username.

Moves the previous switch account logic to its own ui-custom module

(cherry picked from commit 1065661cd5)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	plugins/user-authenticators/saml2/src/org/apache/cloudstack/api/command/SAML2LoginAPIAuthenticatorCmd.java
	ui/index.jsp
2015-08-14 11:58:44 +05:30
Milamber 4be622e4ff Add missing localization for some labels in Web UI
- on new functionnality: upload volume/template from Local
- on the zone configuration wizard for the "Next" button
- update French messages properties from transifex
- Improve some French translations ("Téléverser" for "Upload")
2015-08-12 17:30:15 +01:00
Kevin Dierkx 43b9b8f0d5 Removed more commented code from zoneWizard.js 2015-08-07 15:04:57 +02:00
Kevin Dierkx 3acdd916b0 Removed large chunks of commented code 2015-08-07 14:55:59 +02:00
Kevin Dierkx 471a02d6a4 Removed leading tabs from ui/scripts/*.js 2015-08-07 11:58:13 +02:00
Kevin Dierkx 2bdbaf453e Removed trailing whitespace from ui/scripts/*.js 2015-08-07 11:25:15 +02:00
Boris Schrijver b1e5906923 CLOUDSTACK-8642: SSO Method not allowed bug fix. Due to CLOUDSTACK-8505 and commit 1c81b241e7
Signed-off-by: Daan Hoogland <daan@onecht.net>

This closes #598
2015-07-16 17:00:05 +02:00
Rohit Yadav 47d2d07eb9 CLOUDSTACK-8457: SAML UI Dialog fixes to use local $form
This uses local selector to access the DOM elements, the previous commit
would find a global element which is not in the context and fail changing the
element in the opened dialog.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #583
2015-07-15 18:36:46 +05:30
Rohit Yadav 76a10351a5 CLOUDSTACK-8457: SAML UI enhancements
Add option to authorize SAML SSO for user when adding user. Appends a domain to
user/account name if global setting is enabled, useful in case of multiple IDP
server. By default the setting is set to false (keep as it is).

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #575

(cherry picked from commit 7d11c7bc70)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-14 10:20:30 +05:30
Rohit Yadav 42940a8828 CLOUDSTACK-8622: Reinstate working sessions in browser
- Login is based on sessionkey HttpOnly Cookie
- ApiServlet does login verification using sessionKey from both the request cookies
  and the API parameters. In both cases, if either or both are passed they should
  match the sessionKey stored in the current session of the HttpRequest
- UI: it no longer needs to read or set sessionkey cookie
- UI: it no longer needs to return g_sessionKey value in the API requests, though
  to support a sso mechanism g_sessionKey is still passed in the API is not null
- Secure jsessionid cookie is set to be HttpOnly and Secure
- SAML login should also set HttpOnly cookie before redirecting to UI
- SAML: listIdps & getSPMetadata APIs are readonly now, won't log out a logged in user

Performed tests (login, saml login if applicable, page refreshes, opening
multiple tabs, logout) with following combinations:
- SAML disabled, normal auth as admin, domain-admin and user
- SAML enabled, normal auth as admin, domain-admin and user; and saml sso as
  admin, domain-admin and user

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #574
This closes #308
2015-07-10 17:25:07 +05:30
Rohit Yadav 7c206c30a5 CLOUDSTACK-8621: Allow UI plugins to be shown on navigation bar
Introduces a boolean option in UI plugins setting it to 'true' would display
the UI plugin on the left navigation bar.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #563
2015-07-09 15:25:13 +05:30
Rohit Yadav 107595a6a5 CLOUDSTACK-8457: SAML auth plugin improvements for production usage
* Move config options to SAML plugin
  This moves all configuration options from Config.java to SAML auth manager. This
  allows us to use the config framework.
* Make SAML2UserAuthenticator validate SAML token in httprequest
* Make logout API use ConfigKeys defined in saml auth manager
* Before doing SAML auth, cleanup local states and cookies
* Fix configurations in 4.5.1 to 4.5.2 upgrade path
* Fail if idp has no sso URL defined
* Add a default set of SAML SP cert for testing purposes
  Now to enable and use saml, one needs to do a deploydb-saml after doing a deploydb
* UI remembers login selections, IDP server

- CLOUDSTACK-8458:
    * On UI show dropdown list of discovered IdPs
    * Support SAML Federation, where there may be more than one IdP
        - New datastructure to hold metadata of SP or IdP
        - Recursive processing of IdP metadata
        - Fix login/logout APIs to get new interface and metadata data structure
        - Add org/contact information to metadata
        - Add new API: listIdps that returns list of all discovered IdPs
        - Refactor and cleanup code and tests

- CLOUDSTACK-8459:
    * Add HTTP-POST binding to SP metadata
    * Authn requests must use either HTTP POST/Artifact binding

- CLOUDSTACK-8461:
    * Use unspecified x509 cert as a fallback encryption/signing key
      In case a IDP's metadata does not clearly say if their certificates need to be
      used as signing or encryption and we don't find that, fallback to use the
      unspecified key itself.

- CLOUDSTACK-8462:
    * SAML Auth plugin should not do authorization
      This removes logic to create user if they don't exist. This strictly now
      assumes that users have been already created/imported/authorized by admins.
      As per SAML v2.0 spec section 4.1.2, the SP provider should create authn requests using
      either HTTP POST or HTTP Artifact binding to transfer the message through a
      user agent (browser in our case). The use of HTTP Redirect was one of the reasons
      why this plugin failed to work for some IdP servers that enforce this.
    * Add new User Source
      By reusing the source field, we can find if a user has been SAML enabled or not.
      The limitation is that, once say a user is imported by LDAP and then SAML
      enabled - they won't be able to use LDAP for authentication
    * UI should allow users to pass in domain they want to log into, though it is
      optional and needed only when a user has accounts across domains with same
      username and authorized IDP server
    * SAML users need to be authorized before they can authenticate
        - New column entity to track saml entity id for a user
        - Reusing source column to check if user is saml enabled or not
        - Add new source types, saml2 and saml2disabled
        - New table saml_token to solve the issue of multiple users across domains and
          to enforce security by tracking authn token and checking the samlresponse for
          the tokens
        - Implement API: authorizeSamlSso to enable/disable saml authentication for a
          user
        - Stubs to implement saml token flushing/expiry

- CLOUDSTACK-8463:
    * Use username attribute specified in global setting
      Use username attribute defined by admin from a global setting
      In case of encrypted assertion/attributes:
      - Decrypt them
      - Check signature if provided to check authenticity of message using IdP's
        public key and SP's private key
      - Loop through attributes to find the username

- CLOUDSTACK-8538:
    * Add new global config for SAML request sig algorithm

- CLOUDSTACK-8539:
    * Add metadata refresh timer task and token expiring
        - Fix domain path and save it to saml_tokens
        - Expire hour old saml tokens
        - Refresh metadata based on timer task
        - Fix unit tests

This closes #489

(cherry picked from commit 20ce346f3a)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	client/WEB-INF/classes/resources/messages_hu.properties
	plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/wrapper/xenbase/CitrixCheckHealthCommandWrapper.java
	plugins/user-authenticators/saml2/src/org/apache/cloudstack/api/command/SAML2LoginAPIAuthenticatorCmd.java
	ui/scripts/ui-custom/login.js
2015-06-29 12:31:51 +02:00
Erik Weber 5e96d13944 CLOUDSTACK-8455: Use the correct label to display extractable checkbox
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>

This closes #471
2015-06-17 13:14:54 +02:00
Vadim Kimlaychuk 94f1ebb60a CLOUDSTACK-8231: Fixed UI empty drop-down list for LB rules
This closes #302

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-29 21:18:49 +02:00
Koushik Das 1cd2e9bc44 Merge branch 'CLOUDSTACK-8301' of https://github.com/apache/cloudstack 2015-05-22 09:47:59 +05:30
Vadim Kimlaychuk bede3a87ad CLOUDSTACK-8231: Fixed UI empty drop-down list for LB rules
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #271
2015-05-20 21:28:15 +01:00
Rajani Karuturi 8571314406 Fixed blocker issues reported by sonarqube in js files
All of them are trailing comma in array or object

more details @
https://analysis.apache.org/component_issues?id=org.apache.cloudstack%3Acloudstack#resolved=false|severities=BLOCKER|languages=js
2015-05-20 17:19:20 +05:30
ramamurtis 2148dca24b CLOUDSTACK-8301: Enable configuring local storage use for system VMs at zone level. This commit contains the UI changes for the feature.
Signed-off-by: Koushik Das <koushik@apache.org>

This closes #259
2015-05-19 21:53:24 +05:30
Erik Weber ab1df169f2 CLOUDSTACK-1667: Make a better description of the extractable flag
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #245
2015-05-12 12:51:56 +02:00
ramamurtis 5646a07513 CLOUDSTACK-8427: Some messages are hard-coded in javascript after Volume upload branch merge(0b835592)
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>

This closes #208
2015-04-29 15:00:11 +05:30
Rajani Karuturi 0b8355920e Merge branch 'volume-upload' into master
This closes #206
2015-04-29 11:12:53 +05:30
Rajani Karuturi 5c152e5f3a volume upload: disabled all zones during template upload 2015-04-13 14:43:12 +05:30
Remi Bergsma a7f8059fd3 CLOUDSTACK-6543 Sort domain lists in UI
As recently discussed on the dev list:
This sorts the domain lists based on their path.
Especially handy when having a lot of domains,
like in a public cloud.
2015-04-12 23:21:43 -05:00
KC Wang 01864ef77c CLOUDSTACK-6697: bigswitch networking plugin update
1. provide compatibility with the Big Cloud Fabric (BCF) controller
   L2 Connectivity Service in both VPC and non-VPC modes
2. virtual network terminology updates: VNS --> BCF_SEGMENT
3. uses HTTPS with trust-always certificate handling
4. topology sync support with BCF controller
5. support multiple (two) BCF controllers with HA
6. support VM migration
7. support Firewall, Static NAT, and Source NAT with NAT enabled option
8. add VifDriver for Indigo Virtual Switch (IVS)

This closes #151

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-09 13:02:02 +05:30
Rohit Yadav 72430247ed CLOUDSTACK-8364: don't async poll for deleteVolume which is not an async API
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 1ef585f9e6)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-09 12:41:57 +05:30
Rohit Yadav 7144e9b35d CLOUDSTACK-8231: use hardcoded list of LB algorithms as backup
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 6f2facfa39)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-27 09:29:36 +05:30
Rohit Yadav 9763c9b84d CLOUDSTACK-7915: as a backup use hardcoded LB algorithms in UI
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 221e429b45)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-26 12:47:51 +05:30
Rohit Yadav 3c429ee6b5 Merge remote-tracking branch 'sbp/feature/persisten-systemvm-redundant-vpc-REBASE'
This closes #118

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-17 15:44:57 +05:30
Wei Zhou b6eace03e4 UI: Fix typo in ui/scripts/configuration.js
(cherry picked from commit 5a860fe0ae)
2015-03-16 12:58:50 +01:00
wilderrodrigues 05e4fe17e2 Show all routers of a VPC
- For redundant VPCs, we should see 2 routers
   - For single VPCs, we should see 1 router.
2015-03-16 11:39:59 +01:00
wilderrodrigues 4c9f4fcdd3 Make virtual router id unique per redundant group
Customise the messages showed during VPC restart based on redundancy
Do not show "Make Redundant" option if VPC is already redundant
Show on VPC details if a VPC is redundant
2015-03-16 11:39:58 +01:00
wilderrodrigues e350f1e76f Turn a single VPC into a redundant VPC
- when restarting a VPC, the user can check the option Make Redundant in order to change
    the VPC offering and make it redundant
2015-03-16 11:39:57 +01:00
wilderrodrigues 88129adac1 Implement the new VPC restart
- behaves just like network restart: if clean up is checked, all routers destroyed; if 1 router is gone and no
    clean up, only 1 new router created.
2015-03-16 11:39:52 +01:00
Antonio Fornie 09bd847040 Vpc redundancy enabled. Including Vpc & Vpc Offering creation. Marvin tests and UI. 2015-03-16 11:38:05 +01:00
Rohit Yadav 6c71d3bae1 ui: if session cookie exists, use it to set global session holder and invalidate it
The 19e3c0168e commit breaks SAML login and any
login where redirection is used.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit b79f13ccb5)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-13 15:02:27 +05:30
Jessica Wang a308f37232 CS-18149: UI - no longer store sessionKey in cookie. After
... this change, opening the 2nd browser window (of the same
domain) will show login screen (i.e. user has to enter
credentials again) and will cause the 1st browser window
session timeout.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 19e3c0168e)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-13 15:02:27 +05:30
Brian Federle 5608982c43 Fix encoding for user account label in header
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit bfcdbeca29)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-13 15:02:26 +05:30
Funs c27c69438b hypervisors: add OVM3 plugin that supports OVM 3.2.1/3.3.x
This is a plugin that puts in ovm3 support ranging from 3.3.1 to 3.3.2. Basic
functionality is in here, advanced networking etc..

Snapshots only work when a VM is stopped now due to the semantics of OVM's raw
image implementation (so snapshots should work on a storage level underneath the
hypervisor shrug)

This closes #113

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-12 11:33:42 +05:30
Rohit Yadav 40f343ff4c api: avoid sending sensitive data in api response
- UI: use post when updating user
- S3: don't send s3 key in the response
- VPN: don't send preshared key in remoteaccessvpn api response
- Snapshot response should set zone id not volume's device id

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 02cadc3fb3)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-11 16:34:56 +05:30
ramamurtis 8591383bcc CLOUDSTACK-8307: UI not showing all Domains, if there are more than 24 domains then the last domain gets cut off on firefox and IE. Added a flag in treeview widget and based on the flag adding css class which will make overflow as scroll instead of the default auto.
Fixes #101

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-09 14:26:29 +05:30
Pierre-Luc Dion e86c7a2a9a CLOUDSTACK-1359: add UI information about GB definition 2015-03-08 22:48:28 -04:00
Pierre-Luc Dion 002236e489 CLOUDSTACK-2100: vm snapshot tooltips 2015-03-07 23:59:27 -05:00
ramamurtis da1d8f9dce volume upload: fixed the UI after the change to move params to header.
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
2015-02-27 17:40:06 +05:30
Rohit Yadav e1827fc696 CLOUDSTACK-8285: check and update IP capacity states based on allocation state
- Backend should update if state was diabled and now has changed
- UI's fetch latest does not actually fetch latest

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 985a61652e)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-25 16:47:40 +05:30
Pierre-Luc Dion db9a4f3648 fix CLOUDSTACK-8187 and CLOUDSTACK-8232: missing UI labels 2015-02-19 22:39:56 -05:00
Pierre-Luc Dion 0c70d11bc3 CLOUDSTACK-8188: missing labe:label.password.reset.confirm 2015-02-19 22:37:12 -05:00
Rohit Yadav 39dce59562 CLOUDSTACK-6541: Fix monthly recurring snapshot UI limit, limit to 1-28 days
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 070813a106)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-19 15:42:53 +05:30
Rohit Yadav d82879e548 CLOUDSTACK-5824: poll for delete snapshot and volume events
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit a85aea74de)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-19 15:34:16 +05:30
Rajani Karuturi 41382f6f04 Volume upload: state goes to " UploadAbandoned " state when uploaded thru UI. 2015-02-17 11:52:35 +05:30
ramamurtis d363b2afce CLOUDSTACK-8246: Add Cluster - Guest traffic label displayed Incorrectly 2015-02-12 13:35:58 +05:30
ramamurtis 2e5c1614ed CLOUDSTACK-8245: Scrolling down the network service providers list from the UI never ends 2015-02-12 13:28:16 +05:30
Rohit Yadav 008911d4b1 CLOUDSTACK-8195: Don't break IdP, return metadata XML
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 1172867df0)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-03 17:05:29 +05:30
Rohit Yadav 552f2ae60c CLOUDSTACK-8191: SAML users should have their own accounts
(cherry picked from commit 876c78fe1b)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-02 19:58:10 +05:30
Rohit Yadav 2f6691c6b9 CLOUDSTACK-8190: Fix xenserver traffic label for backward compatiblity
(cherry picked from commit 48ec9ac11b)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	ui/scripts/system.js
2015-02-02 16:20:50 +05:30
Jessica Wang 31dea7de2e volume-upload: UI > dialog widget - args.form.fileUpload.postUpload - fix a bug that loading image (spinning wheel, freezing screen) does not disappear after action succeeds/fails. 2015-01-30 17:08:21 -08:00
Jessica Wang a696947eaf CLOUDSTACK-8182: UI > volumes > upload volume from URL > add Custom Disk Offering field which is optional. 2015-01-26 16:36:26 -08:00
Jessica Wang a25d77473d CLOUDSTACK-8182: UI > volumes > upload volume from URL > add Custom Disk Offering field which is optional. 2015-01-26 14:50:34 -08:00
Anthony Xu 7ef122dcc9 BUG-ID: CLOUDSTACK-8176
UI use xennetworklabel parameter name in zone create Wizards,
   in API, it uses xenservernetworklabel,
   the parameter name doesn't match, cause network name label not setup in CCP
2015-01-23 13:48:10 -08:00
Jessica Wang c16d5a8221 volume-upload: UI > dialog widget > display $frameForm(the hidden form to submit file with signature/expires/metadata) in console log. 2015-01-22 15:45:08 -08:00
Jessica Wang 26acdd7f6c volume-upload: volumes > (1) Shorten action label to make all items in header to fit into one line, otherwise search box will be pushed out of place. (2) Add dialog: move URL field to the top. 2015-01-22 13:23:08 -08:00
Jessica Wang 48a66ace6c volume-upload: templates > (1) Shorten action label to make all items in header to fit into one line, otherwise search box will be pushed out of place. (2) Register Template dialog: move URL field to the top. 2015-01-22 13:23:08 -08:00
Jessica Wang d79c3714d2 volume-upload: UI > storage > volumes > add new action "Upload Volume from Local" in header of listView. 2015-01-21 16:30:12 -08:00
Jessica Wang 818f9cfcc7 volume-upload: UI > dialog widget > write log in console indicating callback() is triggered. 2015-01-21 15:11:44 -08:00
Jessica Wang 9acfb2eec1 volume-upload: UI > upload template from local > after uploading file to postURL, pop up a message indicating where to check the template's newest status. 2015-01-21 14:51:53 -08:00
Jessica Wang 573a4b1e43 volume-upload: tempalates > upload template from local > format dropdown > include OVA, VMDK, BareMetal, TAR, VHDX option. 2015-01-21 13:44:22 -08:00
Jessica Wang eb180b131d UI > dialog widget > Allow passing custom data in POST request. 2015-01-21 12:33:16 -08:00
Jessica Wang 4e569f85eb volume-upload: UI > upload template from local > fix a bug that fields below OS Type field (isPublic, isFeatured, ~ ) are not created. 2015-01-20 16:58:04 -08:00
Jessica Wang 68789b76d3 volume-upload: tempalates > upload template from local > format dropdown > show different options upon selected hypervisor. 2015-01-20 14:36:06 -08:00
Jessica Wang 7a3c2304a0 volume-upload: UI > templates > upload template from local > pass ispublic, requireshvm, isfeatured, isrouting parameter to getUploadParamsForTemplate API if corresponding fields are not hidden. 2015-01-20 14:00:23 -08:00
Brian Federle e92e46aba5 Dialog uploader -> getURL(): Pass $form 2015-01-20 10:53:24 -08:00
Jessica Wang f0b60c742b volume-upload: UI > templates > add new action "Upload Template from Local". 2015-01-19 17:31:32 -08:00
Jessica Wang cef4447fd4 (1) Remove UploadFile button from Register Template dialog. (2) sync latest templates.js from master branch. 2015-01-19 16:13:57 -08:00
Jessica Wang aa9a7f50b7 Revert "Add to storage->upload volume dialog"
This reverts commit 8641de85d2.
2015-01-19 15:56:48 -08:00
Jessica Wang f10709c756 Revert "Allow passing custom data in POST request"
This reverts commit e4d1049096.
2015-01-19 15:56:13 -08:00
Brian Federle e4d1049096 Allow passing custom data in POST request 2015-01-19 11:35:42 -08:00
Brian Federle 8641de85d2 Add to storage->upload volume dialog 2015-01-19 11:35:42 -08:00
Brian Federle d9a3268db6 Close dialog after upload 2015-01-16 09:24:29 -08:00
Brian Federle f243ae135b Add front-end file uploader 2015-01-14 11:26:38 -08:00
René Moser 07d96aab84 CLOUDSTACK-8154: fix UI for API change
Signed-off-by: René Moser <mail@renemoser.net>
2015-01-13 16:34:04 +01:00
Brian Federle 82fa9184bf UI validation: Fix asterisk showing up on non-required fields 2015-01-07 08:49:27 -08:00
Jessica Wang 7fe1ed9dc8 CLOUDSTACK-7383: UI > Instances menu > detail view > TakeSnapshot action should be hidden when VM's hypervisor is LXC. 2015-01-02 14:12:15 -08:00
Jessica Wang b64fa34ce9 CLOUDSTACK-8141: UI > use Project view > Infrastructure > zone > physical network > Public traffic type > do not pass projectId to listNetworks API. 2015-01-02 11:35:31 -08:00
Jessica Wang 61154b92f7 CLOUDSTACK-8139: UI > create compute offering > server-side only supports one single host tag instead of multiple host tags. So, change UI to take in only one single host tag instead of multiple host tags in create compute dialog. 2015-01-02 11:17:35 -08:00
Jessica Wang 4cb9505548 CLOUDSTACK-8102: UI > Quick Install Wizard > update admin > should encode parameter value once instead of twice before sending it to API. 2014-12-19 15:43:12 -08:00
Jessica Wang 5fea96fdc2 CLOUDSTACK-6666: UI > network > VPC > Router > Public IP Addresses > IP Address detailView > Configuration tab > Load Balancing > Select VM screen > implement keyword search. 2014-12-19 14:28:45 -08:00
Jessica Wang 8bcde024a8 CLOUDSTACK-6666: UI > network > VPC > Router > Public IP Addresses > IP Address detailView > Configuration tab > Port Forwarding > Select VM screen > implement keyword search. 2014-12-19 14:28:15 -08:00
Wei Zhou 54db0d2a70 show Warning instead of Confirmation in confirm dialog if isWarning is set to true 2014-12-19 10:06:31 +01:00
Jessica Wang 923c65d7ce CLOUDSTACK-6744 > UI > zone wizard > baremetal hypervisor > support EIP ELB feature. 2014-12-18 18:15:06 -08:00
Jessica Wang ff62ccc13e CLOUDSTACK-8075: UI > Instances menu > Add Instance > Select template/ISO > "shared" tab > select a shared template, click Next button => fix error "unable to find matched template object". 2014-12-17 11:00:10 -08:00
Jessica Wang 1a8c85a7a8 CLOUDSTACK-8075: UI > Instances menu > Add Instance > Select template/ISO > add a new tab "shared" which will list shared templates/ISOs when being clicked. 2014-12-16 16:16:53 -08:00
Brian Federle 5f9e0fcd7e CLOUDSTACK-8075: Front-end support for shared templates/ISOs 2014-12-16 14:53:20 -08:00
Jessica Wang 20123d8c0a CLOUDSTACK-8076: UI > Templates menu > Template/ISO > "Filter by" dropdown > add a new option, "shared", which will list shared templates when being selected. 2014-12-16 14:40:51 -08:00
vetrivelc dd145a397a Removed duplicate label id entry from dictionary files and update the template.js file.
Signed-off-by: vetrivelc <vetrivel.chinnasamy@citrix.com>
2014-12-12 09:31:09 -08:00
Wei Zhou 19e99848c8 CLOUDSTACK-7882: SSH Keypair Creation/Selection in UI
Thanks Ilia Shakitko for the porting and testing.
2014-12-12 14:30:34 +01:00
Wei Zhou dcb7fcc6df CLOUDSTACK-8063: list secondary Ips information in VM response 2014-12-12 09:47:27 +01:00
Wei Zhou ed6333f3e4 [UI] bug fix: updateNetwork keep polling 2014-12-11 14:23:43 +01:00
Sanjay Tripathi 4d78703522 CLOUDSTACK-8056: EN: Miss SC and UK keyboard option for VMware hypervisor when register a template. 2014-12-10 14:26:35 +05:30
Jessica Wang f00a62879b CLOUDSTACK-8023: UI > VM wizard widget > when next button is clicked, trigger event handler of event "cloudStack.module.instanceWizard.clickNextButton". 2014-12-09 16:25:54 -08:00
Jean-Francois Vincent 068e508e3b Add the Userdata setting to the UI on VM creation step 2014-12-09 11:32:49 +01:00
Wei Zhou 0fc07e6ea8 [UI] bug fix: update vm info after add/remove nic 2014-12-09 09:55:40 +01:00
Wei Zhou bbca8cda94 [UI] list only non-existing networks when Add network to VM 2014-12-09 08:44:06 +01:00
Jessica Wang f2fe127901 CLOUDSTACK-8023: UI > VM wizard > network > trigger event handler of event "cloudStack.module.instanceWizard.network.dataProvider" to get networkObjsToPopulate if module is enabled. 2014-12-08 17:13:09 -08:00
Jessica Wang 417239e440 CLOUDSTACK-8047: UI > zone wizard > add primary storage step: (zone-wide-primary-storage) fix a bug that failed to get cluster's hypervisor value if previous step (e.g. add host step) has ever failed. 2014-12-08 15:19:32 -08:00
Wei Zhou dd700be263 [UI] bug fix: fix update Networks in sub-domain issue by adding listAll=true in listNetworks 2014-12-08 18:58:25 +01:00
Jessica Wang 7e0f1cf457 CLOUDSTACK-8040: UI: register template dialog, register ISO dialog - fix a bug that hidden fields fail to be generated before cloudStack.preFilter.createTemplate() is called. Thus, cloudStack.preFilter.createTemplate() is unable to change hidden fields's css display property from none to inline-block for admin users. 2014-12-05 16:49:13 -08:00
Jessica Wang 7d7df0245b CLOUDSTACK-8039: UI > Infrastructure > router, systemvm > detailView > hide ChangeServiceOffering action when vm's hypervisor is XenServer and vm's status is Running. 2014-12-05 14:41:55 -08:00
Wei Zhou 131dca84dd [UI] bug fix: vpn configuration does not show/update ipsec pre-shared key 2014-12-05 09:13:28 +01:00
Jessica Wang 774394792e CLOUDSTACK-8023: UI > VM wizard > service offering > trigger event handler of event "cloudStack.module.instanceWizard.serviceOffering.dataProvider" to get serviceOfferingObjs if module is enabled. 2014-12-04 16:26:41 -08:00
Brian Federle 8927975ca9 LB VM select: Fix issue with adding primary NIC IP 2014-12-04 13:44:57 -08:00
vetrivelc 9ce8a1cd00 Fixed label issue and externalized hardcoding issues
Signed-off-by: vetrivelc <vetrivel.chinnasamy@citrix.com>
2014-12-04 11:28:44 -08:00
Wei Zhou fc1a09ff49 Add snapshotName parameter in CreateSnapshotCmd 2014-12-04 15:29:39 +01:00
Wei Zhou 4608053ed7 [UI] bug fix: the host uuid is wrong if it is dedicated to a domain 2014-12-04 15:28:57 +01:00
Jessica Wang 6b4271b75c CLOUDSTACK-8005: UI > storage > volume > Resize Volume action > hide "Shrink OK" checkbox when selected disk offering's disksize is bigger than the volume's disksize. Show it otherwise. 2014-12-02 11:17:33 -08:00
Wei Zhou ce2b2a1fc7 Deploy vm to specified host through Infrastructure -> Hosts -> <Select one> -> View Instances -> Add Instance 2014-12-01 14:47:06 +01:00
Wei Zhou af2f21894c CLOUDSTACK-7983: Create Disk/Service Offering for Domain Admin 2014-12-01 13:03:37 +01:00
Wei Zhou 0d9c38e131 Add 'View Instances' in template/iso details view 2014-12-01 12:03:47 +01:00
Pierre-Luc Dion 463a1020ba CLOUDSTACK-7482: removed listAll from UI for API call not supporting it, still some left 2014-11-30 21:17:28 -05:00
Brian Federle 837a17b3da Revert "VM detail view: Disable 'change service offering' action per CLOUDSTACK-4200"
This reverts commit 73087bc3ff.
2014-11-26 14:18:01 -08:00
Brian Federle db9c97e7f4 UI cleanup 2014-11-26 11:48:27 -08:00
Daniel Vega 93f8213412 CLOUDSTACK-7915: Remove hard-coded values for Load Balancer algorithms in UI
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
(cherry picked from commit ba6dfd8470)
2014-11-25 15:55:44 +05:30
Brian Federle 73087bc3ff VM detail view: Disable 'change service offering' action per CLOUDSTACK-4200 2014-11-24 13:19:59 -08:00
Brian Federle fff3b9eda0 Disable quickview for template zone listing
-- Quickviews are not supported when rendering in a list within a detail panel,
   due to technical limitations.
2014-11-24 12:26:33 -08:00
Brian Federle ebd42a8435 Fix missing 'add LDAP account' label 2014-11-21 09:16:41 -08:00
vetrivelc 66e805cba9 Fixes: Hardcoded strings externalized from various JS files.
Signed-off-by: vetrivelc <vetrivel.chinnasamy@citrix.com>
2014-11-21 08:02:49 -08:00
Jessica Wang e32eec8b3e CLOUDSTACK-7613: UI > Infrastructure > CPU Sockets > add a new row for "XenServer 6.5.0". 2014-11-19 15:12:50 -08:00
Jessica Wang 7b6f49617d CLOUDSTACK-7943: UI > storage > volume > create template action > add "XenServer Tools Version 6.1+" checkbox. Default it as its VM's "XenServer Tools Version 6.1+" property. 2014-11-19 12:04:46 -08:00
Jessica Wang b11380eebe CLOUDSTACK-7943: UI > dialog widget > checkbox field > isChecked property > if isChecked property is a funciton, pass "args" along when calling isChecked() function. 2014-11-19 12:04:16 -08:00
vetrivelc 5327038c16 Missing label id and removed duplicate label.ids.
Signed-off-by: vetrivelc <vetrivel.chinnasamy@citrix.com>
2014-11-18 14:03:13 -08:00
Jessica Wang 880ab4392d CLOUDSTACK-6624: UI > create network offering > cloudStack does NOT support specifyIpRanges for isolated network - fix a bug that wrongly sends "specifyIpRanges=true" to createNetworkOffering API. 2014-11-18 13:52:01 -08:00
Jessica Wang 0e2299d933 CLOUDSTACK-7498: UI > ISO > Register ISO action > a javascript error "osTypeObjs is not defined" comes and goes. 2014-11-18 12:02:00 -08:00
Brian Federle bfe53d1b2b VM wizard: Add 'showStep' event
For UI plugin development, allow moving though VM wizard steps via
custom event hook, cloudStack.instanceWizard.showStep (attached to
wizard DOM object), passing the specified target step index

Example:

$wizard.trigger('cloudStack.instanceWizard.showStep', {
  index: 2 // Show step 2 of wizard
  refresh: true // (Optional) Force refresh of step if data loaded
});
2014-11-17 15:14:51 -08:00
Jessica Wang eba7cc78da CLOUDSTACK-7927: UI > Infrastructure > Primary Storage > detailView > add "View Volumes" link that will list all volumes under this primary storage when being clicked. 2014-11-17 13:06:43 -08:00
Jessica Wang 2d4e87973d CLOUDSTACK-7773: UI > Infrastructure > SystemVMs, Routers > Change Service Offering > service offerings dropdown > populate only service offerings that the VM is allowed to change to. i.e. exclude service offerings that the VM is not allowed to change to. 2014-11-14 13:58:35 -08:00
Mihaela Stoica a49e240958 CLOUDSTACK-7645: Use the localization function _l() instead of dictionary directly 2014-11-14 11:51:40 -08:00
Devdeep Singh cfe5a6fcbf While adding secondary storage / is not added to secondary storage cifs url.
This causes it to fail if that path doesn't begin with '/'. It works fine
while adding primary storage. Added a check to add '/' in begining if needed.
2014-11-14 11:20:25 +05:30
Jessica Wang e92f429463 CLOUDSTACK-7910: UI > Instance Wizard > declare serviceOfferingObjs before using it. 2014-11-13 16:26:09 -08:00
Jessica Wang 5d094e5cab CLOUDSTACK-7896: UI > network > Add Guest Network > when zone dropdown is empty, do not make API call to get physical networks. 2014-11-12 16:24:15 -08:00
Jessica Wang 60aab6bf17 CLOUDSTACK-7892: UI > instances > detailView > execute handlers attached to event 'cloudStack.module.sharedFunctions.addExtraProperties'. 2014-11-12 15:04:10 -08:00
Jessica Wang 30026ee175 CLOUDSTACK-7892: UI > stroage > volume > detailView > execute handlers attached to event 'cloudStack.module.sharedFunctions.addExtraProperties'. 2014-11-12 14:54:19 -08:00
Jessica Wang 7e7641f0e8 CLOUDSTACK-7892: UI > Infrastructure > zones > zone > detailView > execute handlers attached to event 'cloudStack.module.sharedFunctions.addExtraProperties'. 2014-11-12 14:42:13 -08:00
Jessica Wang 8cf1102b0a CLOUDSTACK-7892: UI > Infrastructure > zone > physical network > guest > details tab > network tab > detail view > execute handlers attached to event 'cloudStack.module.sharedFunctions.addExtraProperties'. 2014-11-12 13:47:53 -08:00
Jessica Wang aff3a261e0 CLOUDSTACK-7892: UI > network > detailView > execute handlers attached to event 'cloudStack.module.sharedFunctions.addExtraProperties'. 2014-11-12 13:32:59 -08:00
Brian Federle 68745ae9b1 CLOUDSTACK-7645: UI: Fix method for extending dictionary
Instead of mapping both dictionary JSP files to separate objects, extend
dictionary2's object onto single 'dictionary' object.

-- The previous approach was causing issues on certain dialogs, which were not
opening due to possible missing labels.
2014-11-12 09:57:42 -08:00
Gabor Apati-Nagy 46e0a25069 CLOUDSTACK-3528: [UI] Fix list calls on accounts page
Fix List calls in the processing state forever with invalid name
provided with Account name search filter -Added error handling for
Events, Instances, Network, Projects, Storage pages where an advanced
search by an invalid account name was making the UI to show in progress
state forever.
2014-11-11 11:31:21 -08:00
Mihaela Stoica 6ac082b9d0 CLOUDSTACK-7318: [UI] Add error handler for VM snapshot creation
Fixes the issue where processing wheel continue to spin even after error
message is displayed during VM snapshot creation
2014-11-11 11:28:10 -08:00
Mihaela Stoica 5bac24c087 CLOUDSTACK-7831: Fixed unlocalized string on Advanced Network -> Network tab 2014-11-11 11:25:35 -08:00
Mihaela Stoica 901c243ed1 CLOUDSTACK-7645: [UI] Fixed incorrect label issues caused the dictionary split
In some cases the UI does not display the correct text, displaying 'label.xyz' instead of the localized string.
This appears to be due to the dictionary split: entries in dictionary2.jsp are not found because the dictionary has not been extended with dictionary2 as expected.

In this fix:
- Instead of extending the dictionary, we leave it as it is and change the localization function to look in the dictionary first and, if the item is not found there, then look in dictionary2.
- This way we are not depending on the extent() function to be called at the 'right' time; In turn, the localization function will be aware of both dictionaries.
- In the future, when we add another dictionary, we will have to modify this function only.
2014-11-11 11:22:35 -08:00
Gabor Apati-Nagy 0d7fa25f1d CLOUDSTACK-7875: [UI] - VPC - Fix validation
Wrong format check is being made on Create VPC box - DNS domain
Information Removing IPv4 validation from the DNS field, the original
behavior is restored. (The API validates this field.)
2014-11-11 11:16:56 -08:00
Rajani Karuturi 57ad602574 Merge branch '4.5' 2014-11-06 10:21:30 +05:30
Daniel Vega e03a7e6fea Sorting projects alphabetically in drop down menu
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
2014-11-06 10:16:15 +05:30
Jessica Wang dd326af83d CLOUDSTACK-7850: UI > Instances > detailView > Attach ISO option > ISO dropdown > should list only ISOs belonging to the same zone. 2014-11-05 13:29:12 -08:00
Jessica Wang 11808ae7fb CLOUDSTACK-7850: UI > Instances > detailView > Attach ISO option > ISO dropdown > should list only ISOs belonging to the same zone. 2014-11-05 13:26:42 -08:00
Jessica Wang 6839652109 CLOUDSTACK-7383: UI > Instances > detailView > snapshot option > hide this option when hypervisor is LXC. 2014-11-04 14:44:12 -08:00
Jessica Wang a43fba64da CLOUDSTACK-7383: UI > Instances > detailView > snapshot option > hide this option when hypervisor is LXC. 2014-11-04 14:42:29 -08:00
Mihaela Stoica 4e80253b36 CLOUDSTACK-7645
[UI] Fix incorrect strings 'label.no' and 'label.added.network.offering'
2014-11-04 13:05:15 -08:00
Gabor Apati-Nagy 1f21f399ab CLOUDSTACK-7840: UI control tip for 'Add Primary Storage' -> 'Provider' seems wrong
-Removed the invalid help text.
2014-11-04 12:37:09 -08:00
Gabor Apati-Nagy fad6c7514f CLOUDSTACK-7838: UI - Update category names on Resources tab of a Zone -Changed wording: "Storage" -> "Primary Storage Used", "CPU" -> "CPU allocated", Memory -> "Memory Allocated" 2014-11-04 12:31:24 -08:00
Gabor Apati-Nagy 2a1793283a CLOUDSTACK-7720: No IP Address Validation for Acquire new secondary IP
-Removed required constraint from the IP address field (this is an optional field)
2014-11-04 12:28:24 -08:00
Jessica Wang 4d62dbb8ba CLOUDSTACK-7384: UI > Instances > detailView > change service offering option > hide it when VM state is Running and hyperviror is LXC. 2014-11-04 11:35:43 -08:00
Jessica Wang 25e514a28e CLOUDSTACK-7384: UI > Instances > detailView > change service offering option > hide it when VM state is Running and hyperviror is LXC. 2014-11-04 11:33:15 -08:00
Jessica Wang 6a28035e73 CLOUDSTACK-3212: ui > infrastructure > zones > zone > physical network > guest > network > guest ip range - listview: add gateway, netmask field. 2014-11-03 15:56:46 -08:00
Jessica Wang 207ec2574c CLOUDSTACK-3212: ui > infrastructure > zones > zone > physical network > guest > network > guest ip range - listview: add gateway, netmask field. 2014-11-03 15:55:06 -08:00
Jessica Wang 21f39577e4 CLOUDSTACK-7826: UI - dialog widget - dependent dropdown field (dependsOn property specified) - fix a bug that default opton in dependent dropdown field didn't trigger change event handler until another option in dependent dropdown field was selected. 2014-10-31 15:33:07 -07:00
Jessica Wang 3760fdeeb4 CLOUDSTACK-7826: UI - dialog widget - dependent dropdown field (dependsOn property specified) - fix a bug that default opton in dependent dropdown field didn't trigger change event handler until another option in dependent dropdown field was selected. 2014-10-31 15:31:24 -07:00
Jessica Wang 0761d2dda8 CLOUDSTACK-7816: UI > Global Settings > add "Baremetal Rack Configuration" section. 2014-10-30 11:54:29 -07:00
Jessica Wang b70106158c CLOUDSTACK-7816: UI > Global Settings > add "Baremetal Rack Configuration" section. 2014-10-30 11:27:38 -07:00
Jessica Wang 8d3a9b760d CLOUDSTACK-7809: UI > remove usage of g_mySession which is unnecessary. 2014-10-29 11:17:18 -07:00
Jessica Wang 58455c08c4 CLOUDSTACK-7809: UI > remove usage of g_mySession which is unnecessary. 2014-10-29 11:14:58 -07:00
Brian Federle 160fc13713 Project dashboard: Fix user label overflow
Adds text-overflow for long user names on project dashboard
2014-10-29 11:07:48 -07:00
Gabor Apati-Nagy 94b16b3bd5 CLOUDSTACK-7766: Field Validations Missing for Ingress and Egress Rules 2014-10-29 10:19:22 -07:00
Gabor Apati-Nagy 1033990e91 CLOUDSTACK-7765: Field Validations Missing for VPC IP Address Fields 2014-10-29 10:15:08 -07:00
Jessica Wang bde0c3cfc1 CLOUDSTACK-7809: UI > remove unnecessary cookie 'timezoneoffset'. 2014-10-28 16:37:46 -07:00
Jessica Wang 0d6a277a00 CLOUDSTACK-7809: UI > remove unnecessary cookie 'timezoneoffset'. 2014-10-28 16:35:36 -07:00
Jessica Wang 4d06eef3b5 CLOUDSTACK-7809: UI > remove unnecessary cookie 'networktype'. 2014-10-28 15:30:57 -07:00
Jessica Wang 492962520e CLOUDSTACK-7809: UI > remove unnecessary cookie 'networktype'. 2014-10-28 15:29:39 -07:00
Brian Federle 41fd7b2a5f Fix missing localization label 2014-10-28 15:06:38 -07:00
Jessica Wang 6e8a08308b CLOUDSTACK-7809: UI > remove unnecessary cookie 'capabilities', 'supportELB', 'kvmsnapshotenabled', 'regionsecondaryenabled', 'userpublictemplateenabled', 'userProjectsEnabled'. 2014-10-28 15:03:44 -07:00
Jessica Wang 1ea6f7dd58 CLOUDSTACK-7809: UI > remove unnecessary cookie 'capabilities', 'supportELB', 'kvmsnapshotenabled', 'regionsecondaryenabled', 'userpublictemplateenabled', 'userProjectsEnabled'. 2014-10-28 15:02:05 -07:00
Gabor Apati-Nagy efb3287fdc CLOUDSTACK-7764: No IP Address Validations when Adding Networks Added validations for Add Network form on IPv4 Gateway, IPv4 Netmask, IPv4 Start IP, IPv4 End IP, IPv6 Gateway, IPv6 CIDR, IPv6 Start IP, IPv6 End IP fields. 2014-10-28 14:23:57 -07:00
Gabor Apati-Nagy 985168ab4b CLOUDSTACK-7718: No Field Validations on Zone Form 2014-10-28 14:22:51 -07:00
Gabor Apati-Nagy 7489572529 CLOUDSTACK-7720: No IP Address Validation for Acquire new secondary IP 2014-10-28 14:22:14 -07:00
Gabor Apati-Nagy 70c09ed92a CLOUDSTACK-7659: UI: Upgrade jquery-validate lib to the latest 1.13.0 version with the additional-methods included. 2014-10-28 14:20:56 -07:00
Jessica Wang 0aaa53d819 CLOUDSTACK-7796: UI > Infrastructure > zones > zone > details tab > dataProvider > remove unnecessary module check. 2014-10-28 11:31:23 -07:00
Jessica Wang 6a587646ae CLOUDSTACK-7796: UI > Infrastructure > zone > physical network > guest > details tab > network tab > detail view > dataProvider > remove unnecessary module check. 2014-10-28 11:30:46 -07:00
Jessica Wang 41fb3e8579 CLOUDSTACK-7796: UI > network > detail view > data provider > remove unnecessary module check. 2014-10-28 11:30:14 -07:00
Jessica Wang 429ea8bc95 CLOUDSTACK-7796: UI > Infrastructure > zones > zone > details tab > dataProvider > remove unnecessary module check. 2014-10-28 11:28:30 -07:00
Jessica Wang 11c53f0447 CLOUDSTACK-7796: UI > Infrastructure > zone > physical network > guest > details tab > network tab > detail view > dataProvider > remove unnecessary module check. 2014-10-28 11:27:19 -07:00
Jessica Wang 26cf97e2de CLOUDSTACK-7796: UI > network > detail view > data provider > remove unnecessary module check. 2014-10-28 11:25:56 -07:00
Jessica Wang 20fdc93a52 CLOUDSTACK-7796: UI > instances > detail view > data provider > remove unnecessary module check. 2014-10-27 16:59:13 -07:00
Jessica Wang 2423f2c79a CLOUDSTACK-7796: UI > instances > detail view > data provider > remove unnecessary module check. 2014-10-27 16:56:35 -07:00
Jessica Wang 1cb218ad63 CLOUDSTACK-7780: UI > storage > volume > detail view > data provider > remove unnecessary module check. 2014-10-23 17:00:31 -07:00
Jessica Wang 94d00d6945 CLOUDSTACK-7780: UI > storage > volume > detail view > data provider > remove unnecessary module check. 2014-10-23 16:59:41 -07:00
Jessica Wang 3ccca78734 CLOUDSTACK-7779: UI > system action filter > extend scope from local to global. 2014-10-23 16:22:57 -07:00
Jessica Wang 22b0e0a2fd CLOUDSTACK-7779: UI > affinity group action filter > extend scope from local to global. 2014-10-23 16:22:30 -07:00
Jessica Wang 5daa179a57 CLOUDSTACK-7779: UI > volume action filter, snapshot action filter > extend scope from local to global.. 2014-10-23 16:21:57 -07:00
Jessica Wang 1f7ae13e44 CLOUDSTACK-7779: UI > volume action filter, snapshot action filter > extend scope from local to global. 2014-10-23 16:20:54 -07:00
Jessica Wang bb01cb8d32 CLOUDSTACK-7779: UI > system action filter > extend scope from local to global. 2014-10-23 16:19:31 -07:00
Jessica Wang 793a007e12 CLOUDSTACK-7779: UI > affinity group action filter > extend scope from local to global. 2014-10-23 16:19:04 -07:00
Jessica Wang 974adb39c5 CLOUDSTACK-7779: UI > volume action filter, snapshot action filter > extend scope from local to global.. 2014-10-23 16:18:38 -07:00
Jessica Wang 325dcd906f CLOUDSTACK-7779: UI > volume action filter, snapshot action filter > extend scope from local to global. 2014-10-23 16:18:00 -07:00
Jessica Wang fed5422c10 CLOUDSTACK-7777: UI > storage > volume > attach disk > virtual machine dropdown > remove unnecessary module check. 2014-10-23 14:16:13 -07:00
Jessica Wang 000f8b1639 CLOUDSTACK-7777: UI > storage > volume > attach disk > virtual machine dropdown > remove unnecessary module check. 2014-10-23 14:15:01 -07:00
vetrivelc 4e1284147e Fixed incorrect label issue.
Signed-off-by: vetrivelc <vetrivel.chinnasamy@citrix.com>
2014-10-23 13:25:20 -07:00
Jessica Wang 3db112f75c CLOUDSTACK-5576: UI > IP Address > EnableVPN, DisableVPN: change label. 2014-10-17 14:58:51 -07:00
Jessica Wang e796d418b4 CLOUDSTACK-5576: UI > IP Address > EnableVPN, DisableVPN: change label. 2014-10-17 14:57:51 -07:00
Jessica Wang c10f8a10ef CLOUDSTACK-7744: UI > Instances > detailView > Change Service Offering > show generic notification. 2014-10-16 14:50:04 -07:00
Jessica Wang 13decd4c85 CLOUDSTACK-7744: UI > Instances > detailView > Change Service Offering > show generic notification. 2014-10-16 14:49:04 -07:00
Jessica Wang 6239447f05 CLOUDSTACK-7731: UI > Infrastructure > Virtual Routers > group by XXXXXXX view > listView > detailView > add View All link > show read-only text "group by zone/pod/cluster/account" in select view area. 2014-10-16 12:35:25 -07:00
Jessica Wang 7004deb528 CLOUDSTACK-7731: UI > Infrastructure > Virtual Routers > group by XXXXXXX view > listView > detailView > add View All link > not show "group by XXXXXXX" in select view dropdown. 2014-10-16 12:34:55 -07:00
Jessica Wang a3eaff8bb6 CLOUDSTACK-7736: UI - listView widget - select view dropdown on top of listView - prefilter() - include original args.context when passing it to prefilter(). 2014-10-16 12:34:26 -07:00
Jessica Wang 8fb7cfae0c CLOUDSTACK-7731: UI > Infrastructure > Virtual Routers > group by account view > listView > detailView > add View All link (i.e. "View all Virtual Routers"). 2014-10-16 12:33:49 -07:00
Jessica Wang 314a7fe62b CLOUDSTACK-7731: UI > Infrastructure > Virtual Routers > group by zone/pod/cluster view > listView > detailView > add View All link (i.e. "View all Virtual Routers"). 2014-10-16 12:33:08 -07:00
Jessica Wang be60e46e1e CLOUDSTACK-7731: UI > Infrastructure > Virtual Routers > group by XXXXXXX view > listView > detailView > add View All link > show read-only text "group by zone/pod/cluster/account" in select view area. 2014-10-16 12:11:06 -07:00
Jessica Wang 5e165d499e CLOUDSTACK-7731: UI > Infrastructure > Virtual Routers > group by XXXXXXX view > listView > detailView > add View All link > not show "group by XXXXXXX" in select view dropdown. 2014-10-16 12:10:34 -07:00
Jessica Wang f8cbd6ad46 CLOUDSTACK-7736: UI - listView widget - select view dropdown on top of listView - prefilter() - include original args.context when passing it to prefilter(). 2014-10-16 12:09:48 -07:00
Jessica Wang c49a09fad0 CLOUDSTACK-7731: UI > Infrastructure > Virtual Routers > group by account view > listView > detailView > add View All link (i.e. "View all Virtual Routers"). 2014-10-16 12:08:58 -07:00
Jessica Wang e225065ec2 CLOUDSTACK-7731: UI > Infrastructure > Virtual Routers > group by zone/pod/cluster view > listView > detailView > add View All link (i.e. "View all Virtual Routers"). 2014-10-16 12:06:59 -07:00
Sanjay Tripathi 1f8cf0bee4 CLOUDSTACK-7739: Add new vGPU types K160Q, K180Q, K280Q to the CloudStack UI. 2014-10-16 14:38:33 +05:30
Sanjay Tripathi 420d4e0da0 CLOUDSTACK-7739: Add new vGPU types K160Q, K180Q, K280Q to the CloudStack UI. 2014-10-16 14:25:30 +05:30
Jessica Wang 26f3e8499a CLOUDSTACK-7723: UI > Storage > detail view > add Disk Offering field. 2014-10-14 14:17:39 -07:00
Jessica Wang 340bcc60c0 CLOUDSTACK-7723: UI > Storage > detail view > add Disk Offering field. 2014-10-14 14:02:29 -07:00
Jessica Wang 51d274b9ad CLOUDSTACK-5719: UI > Network > Add Guest Network > when Physical Network dropdown is changed, refresh Network Offering dropdown (because each physical network has its own tags which maps to different network offerings)
(cherry picked from commit 0af0c041e9)
2014-10-13 00:37:16 -04:00
Jessica Wang dd335aa424 CLOUDSTACK-5359: UI > Infrastructure > Clusters > Add Cluster > Public Traffic vSwitch Type field, Guest Traffic vSwitch Type field > do not pass the value of the form field to API call when the the form field is not displaying.
(cherry picked from commit 59e1e9bbd5)
2014-10-13 00:36:00 -04:00
Jessica Wang 70f74eeb2a CLOUDSTACK-7661: UI > VM Wizard > Keyboard Language > send new parameter keyboard to deployVirtualMachine API call.
(cherry picked from commit d3af2de730)
2014-10-13 00:35:45 -04:00
Sanjay Tripathi eb447f14e2 CLOUDSTACK:7323: [vGPU] Creation of VM snapshot with "memory" is failing.
VM snapshot with memory is not supported for VGPU VMs, so putting checks
for same.

(cherry picked from commit 123ec8b3d3)
2014-10-13 00:35:13 -04:00
Jessica Wang 1916bd25d1 CLOUDSTACK-3195: UI > IP Address > detailView > Configuration tab > Port Forwarding > for regular-user, if underlying VM has been destroyed (i.e. listVirtualMachines API returns nothing), compose vm object from limited vm data in port forwarding rule object. So, a vm object (required in widget code) can be passed to widget code.
(cherry picked from commit 925f30a41b)
2014-10-13 00:34:38 -04:00
Jessica Wang 9714ecbde8 CLOUDSTACK-4987: UI > Instances > detailView > NICs tab > Add network to VM > Network dropdown => (1) For root-admin, populate networks of all accounts. (2) For regular-user/domain-admin, populate only networks belonging to this VM owner.
(cherry picked from commit 794ee6929d)
2014-10-13 00:34:22 -04:00