12307 Commits

Author SHA1 Message Date
Edison Su
b7d4e54317 Using the CloudApi didn't work as parms and self were passed on as part
of the request. Making parms a copy of the locals() dict will prevent it
from being changed later on.
RB: https://reviews.apache.org/r/5828/
Send-by: htrippaers@schubergphilis.com
2012-07-24 14:07:07 -07:00
Edison Su
576d093e9c fix CS-15432 Failed to detach VMware tools ISO after VMware tools
installation
RB: https://reviews.apache.org/r/5738/
Send-by: mice_xia@tcloudcomputing.com
2012-07-24 13:44:55 -07:00
David Nalley
71050bb37f Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2012-07-24 15:50:52 -04:00
Hugo Trippaers
766a17b3ef Typo in components.xml.in 2012-07-24 15:47:40 -04:00
Alena Prokharchyk
7d0338bd82 listPublicIpAddresses: when do join with nics table, count only non-removed nics
Conflicts:

	server/src/com/cloud/server/ManagementServerImpl.java
2012-07-24 12:42:46 -07:00
Brian Federle
a924eb196f Fix tag notification messages 2012-07-24 12:24:25 -07:00
Brian Federle
06101ea27e Add tags to edit PF dialog 2012-07-24 12:24:25 -07:00
Brian Federle
17ac3a7e3e Add tag edit to LB rule 2012-07-24 12:24:24 -07:00
Brian Federle
53cc0a953d multiEdit: Pass context to tagger widget 2012-07-24 12:24:11 -07:00
Brian Federle
874536a768 Always make tags editable 2012-07-24 12:24:05 -07:00
Brian Federle
7a2be05c24 Pass projectId to listTags, when viewing a project resource 2012-07-24 12:23:57 -07:00
bfederle
8e1b8d1f56 Implement tags for project detail view 2012-07-24 12:23:45 -07:00
Brian Federle
e13a7a8387 Revert "CS-15572 : StartIndex handled incorrectly when switching between the various Filter by options while listing ISOs in the UI"
This was reverted, as another commit fixed the issue already:

commit 2b2e491f27a1485338557a775e5c21179a19b32b
Author: bfederle <bfederle@gmail.com>
Date:   Tue Jul 17 11:38:56 2012 -0700

    CS-15572: Fix page index for list view filters

This reverts commit 374be31b63f6ea0f835495933730358380745a56.
2012-07-24 11:56:11 -07:00
Pranav Saxena
5ba20b328d Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2012-07-25 00:06:39 +05:30
Wido den Hollander
a1d53f288b libvirt: Replace the libvirt bindings with upstream 0.4.8
Although these bindings have to be removed for the first Apache release
we place the upstream JAR here.

The 0.4.5 bindings were homebrew and contained own code which wasn't sent upstream.

These changes were sent upstream and got into 0.4.8.

For now we keep  the 0.4.8 bindings in the repo until we have a new build system in place
which handles this.

This is still however a release blocker since we can't distribute these bindings from the Apache servers!
2012-07-24 20:11:18 +02:00
Wido den Hollander
eab3e4783e Remove cloud-daemonize and use JSVC
We now use JSVC for daemonizing our agent and usage server.
2012-07-24 19:32:39 +02:00
Alena Prokharchyk
c99b1d104a Fixed broken unittest 2012-07-24 10:30:39 -07:00
David Nalley
4421cd9dee fixing a few more license headers 2012-07-24 10:47:03 -04:00
Likitha Shetty
11f5bd25f8 CS-15145: Summary: ec2-register: need better error handling for negative cases.
The negative cases for which the error handling is improved,
1. run ec2-register with incorrect field separator for architecture parameter.
2. run ec2-register without providing required parameters.
2012-07-23 15:46:03 -07:00
prachi
b80c3dc9c6 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2012-07-23 15:34:41 -07:00
Likitha Shetty
59462cd825 Modifying filter support in 3 EC2 Describe* API's(DescribeInstances, DescribeVolumes and DescribeSnapshots) to include tags. Component: AWSAPI.
Tags support has been added to 3 EC2Describe* API's(DescribeInstances, DescribeVolumes and DescribeSnapshots). Hence for the same 3 EC2Describe* API's filter support has been modified to included 3 tag related filters: tag-key,
tag-value and tag:key.
2012-07-23 15:24:41 -07:00
Likitha Shetty
aef09e1b20 Adding tags support to the 4 EC2 Describe* API's (DescribeImages, DescribeInstances, DescribeVolumes, DescribeSnapshots) in AWSAPI
- List* APIs in CloudStack have tags support. Adding the corresponding support to EC2Decsribe* APIs in the AWSAPI component.
2012-07-23 15:22:38 -07:00
Brian Federle
642c667a75 Add tagger JS link 2012-07-23 15:18:36 -07:00
bfederle
64605e7703 UI: Add tag API call generator
Adds a helper to return an object to pass to the 'tagger' widget,
including all required data and action functions.

Syntax is as follows, just include anywhere were the tags widget is
supported:

tags: cloudStack.api.tags({
  resourceType: 'Project',
  contextId: 'projects'
})
2012-07-23 15:18:36 -07:00
bfederle
1c2780f233 Tag UI: Make sure data is passed to remove action 2012-07-23 15:18:36 -07:00
bfederle
39e1936c87 Fix tags widget overlap with long detail views 2012-07-23 15:18:36 -07:00
bfederle
5e94b0d12e Implement tag UI widget
Create UI for handling new tag API. This currently supports the detail view and multi-edit

To enable tags UI, add a 'tags' object to each detailView/multiEdit configuration:

tabs: {
...
details: {
...

tags: {
  actions: {
    add: function(args) {
      setTimeout(function() {
        args.response.success({
          notification: {
            desc: 'Add tags for instance',
            poll: testData.notifications.testPoll
          }
        });
      }, 500);
    },

    remove: function(args) {
      args.response.success({
        notification: {
          desc: 'Remove tags for instance',
          poll: testData.notifications.testPoll
        }
      });
    }
  },
  dataProvider: function(args) {
    args.response.success({
      data: [
        {
          id: '1',
          key: 'user',
          value: 'brian'
        },
        {
          id: '2',
          key: 'region',
          value: 'usa'
        }
      ]
    });
  }
}

...

Conflicts:
	ui/css/cloudstack3.css
	ui/scripts/ui/widgets/tagger.js
2012-07-23 15:18:36 -07:00
Koushik Das
88f7872b81 CS-15279
Issue happens when ROOT volume gets created and there is subsequent failure in starting the VM. During retry if allocator assigns a different storage pool the scenario was not handled. Now in case of local storage the volume get recreated on the newly assigned pool and old one gets cleaned up. In case of shared storage the existing volume is migrated to new storage pool.
2012-07-23 14:49:04 -07:00
Pranav Saxena
dade14aab1 CS-15540: Shared Networks IPs in Advanced Zone appear as 'Direct IP' in System-Wide-Capacity Dashboard 2012-07-24 01:25:05 +05:30
Pranav Saxena
018a243ca1 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2012-07-24 00:52:22 +05:30
Likitha Shetty
c60e4b4a9e Adding support in AWSAPI for CloudStack API's that implement the tags feature.
Verified the output of,
1. ec2-create-tags for all 4 supported ec2 resources(image, instance, volume and snapshot) with and without tag-value.
2. ec2-delete-tags for all types of created tags.
3. ec2-describe-tags with and without all supported filter.
2012-07-23 11:31:17 -07:00
Alena Prokharchyk
9e5fb17e3d CS-15077: fixed listPublicIpAddresses in basic zone
Conflicts:

	server/src/com/cloud/api/ApiResponseHelper.java
	server/src/com/cloud/server/ManagementServerImpl.java
2012-07-23 11:21:28 -07:00
Alena Prokharchyk
7bef9a961d Resource tags: CS-15661 - don't accept NULL or empty key value when create resource tag 2012-07-23 10:51:20 -07:00
Alena Prokharchyk
65551cff82 Resource tags: CS-15647 - delete resource tags when SG is expunged 2012-07-23 10:33:59 -07:00
Edison Su
4c6e547e70 create devcloud base image from veewee 2012-07-20 18:20:31 -07:00
Alena Prokharchyk
9b4c578e0d More logging on nic release 2012-07-20 16:44:24 -07:00
Brian Federle
152b17b7f3 Remove dummy VPC UI from networks section 2012-07-20 14:05:44 -07:00
David Nalley
67bc9c819a fixing some more license headers 2012-07-20 15:59:31 -04:00
David Nalley
2f6cef6402 fixing license statement in debian 2012-07-20 14:09:16 -04:00
David Nalley
7c62865090 additional copy of license not needed 2012-07-20 14:07:32 -04:00
David Nalley
385f2e7923 cleaning up a few last license headers in client 2012-07-20 14:02:24 -04:00
David Nalley
bacb50d1ba cleaning up last license headers in build 2012-07-20 13:58:48 -04:00
David Nalley
50da77c63f cleaning up one remaining license header issue in api 2012-07-20 13:51:56 -04:00
David Nalley
3631e7a1d2 cleaning up some last license header files in agent-simulator 2012-07-20 13:49:56 -04:00
Chiradeep Vittal
308cb36066 Unnecessary INFO log cluttering up the logs. Also make logs more informative 2012-07-19 16:35:45 -07:00
Wido den Hollander
44f289e0a6 debian: Do not depend on the cloud-daemonize package
We are in the process of removing this from all packages and files
2012-07-19 13:35:27 +02:00
Alena Prokharchyk
8e648e4a98 Fixed update endpointe.url global config var 2012-07-18 15:47:37 -07:00
kishan
f2bbf62d9d Added getUser API to get user details using API key. Services like S3 can user this API to authenticate. API is admin only. 2012-07-18 14:20:04 -07:00
bfederle
2b2e491f27 CS-15572: Fix page index for list view filters
This fixes an issue where the page index is not reset back 1 when
activating the search or filter functionality, causing truncation when
trying to scroll down to later pages.
2012-07-17 11:41:53 -07:00
Edison Su
dfb0eed5a4 fix ubuntu 12.04 build 2012-07-16 18:00:05 -07:00