Commit Graph

15904 Commits

Author SHA1 Message Date
Hugo Trippaers
f82849d249 This database file does not exist anymore
(cherry picked from commit 798c7c2c18)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:13:59 +01:00
Hugo Trippaers
0c890b1da5 Summary: packaging updates
Renamed a whole bunch of stuff from cloud to cloudstack

Fix startup of cloudstack-agent
(cherry picked from commit 5bf6771e60)

Conflicts:
	packaging/centos63/cloud.spec
2013-02-05 21:13:22 +01:00
Hugo Trippaers
862fc0d55b NiciraNvp Provider should not be marked as external as this will prevent
creation of networks when there is no default CIDR in the zone.(cherry picked from commit 27e5d1fc04)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:12:22 +01:00
Hugo Trippaers
cb4d498da1 NiciraNvpElement is loaded twice, but no idea where. This makes it work
however(cherry picked from commit 43dc31bcf2)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:12:11 +01:00
Hugo Trippaers
6dabb5b14c Fix the situation where only a gateway and a netmask is passed with the
createNetwork command.(cherry picked from commit f8a22d7520)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:12:02 +01:00
Hugo Trippaers
8c7f663402 Regression, this file should not be in the tree
(cherry picked from commit 6a601ba068)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:11:52 +01:00
Hugo Trippaers
5b8ecdad0b Summary: Fixup usage server for packaging
Make the start method work again with jsvc

Move the usageApplicationContext to resources and add resources to the pom.xml

Remove the old components file

Add mysql-connector as a runtime dependency

Rename the usage package and the files to cloudstack

Change paths to the new proposed locations
(cherry picked from commit 7ce03b4f8e)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:11:42 +01:00
Hugo Trippaers
e72fc821b6 Change the package name to cloudstack and configure empty skeletons for the missing packages
(cherry picked from commit 5476391b9f)

Conflicts:
	packaging/centos63/cloud.spec
2013-02-05 21:11:01 +01:00
Hugo Trippaers
f91978fee7 Remove the last remnants of the old build system
(cherry picked from commit e138596aa7)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:09:09 +01:00
Hugo Trippaers
5bc9785bf3 Keep naming more or less consistent
(cherry picked from commit 9755d9b4a2)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:08:23 +01:00
Hugo Trippaers
3b8b02c50c Use align phases between the various packages. Not very handy to use a tgz file in the generate-resources phase when it is created in the package phase
(cherry picked from commit 6c034673a8)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:05:42 +01:00
Hugo Trippaers
3f064ace39 Remove yet another test where the database was not properly mocked. FIXME
(cherry picked from commit 0495f5309e)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:05:31 +01:00
Hugo Trippaers
ed4dbb4104 We don't need logs in out source tree
(cherry picked from commit e04d8f3fcf)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:05:20 +01:00
Marcus Sorensen
77d65b3e08 Summary: Disallow shrinking volume type QCOW2 to fail with better message
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360093176 -0700
2013-02-05 12:41:20 -07:00
Marcus Sorensen
35f7ac307a Summary: resizeVolume needs to be available in UI
Detail: Adds UI element for resizing a volume

BUG-ID: CLOUDSTACK-644
Reported-by: hongtu_zang@tcloudcomputing.com
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360091087 -0700
2013-02-05 12:08:18 -07:00
Marcus Sorensen
7ceea3aa3b Summary: Fix improper variable assignment in resizevolume.sh (remove $)
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360089640 -0700
2013-02-05 11:41:52 -07:00
Prasanna Santhanam
90da9abacb CLOUDSTACK-1160: remove refs to invalid ACS release
@since tag in API cmd /responses has been given an invalid ACS release
version. This fix removes these references.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-02-05 20:57:17 +05:30
Jessica Tomechak
dbd9d080ec Docs. Remove redundant inclusion of add-security-group.xml, which was breaking the docs build. 2013-02-05 05:41:01 -08:00
Jessica Tomechak
e6e09eb230 Docs. Fix broken hyperlink to Creating Network Offerings. Add the section to the book, and add conditional cross-references so it will build in either book (admin or install). This section was already in the repo, but was not previously included in any book. Also removes stray reference to obsolete software version number 3.0.3 in the Creating Network Offerings section. 2013-02-05 05:40:59 -08:00
Jessica Tomechak
aca52b1a9f Docs. Fix broken hyperlink. 2013-02-05 05:40:57 -08:00
Jessica Tomechak
ff43afc226 Docs. Change software version number in book title pages to 4.1. 2013-02-05 05:40:56 -08:00
Jessica Tomechak
dc9c4d919d Docs. CLOUDSTACK-1152. Restore second half of paragraph which was deleted in error. 2013-02-05 05:40:54 -08:00
Kishan Kavala
cffa45f710 CLOUDSTACK-1154: Added @Component annotation to RegionServiceImpl and RegionManagerImpl 2013-02-05 17:17:13 +05:30
Kishan Kavala
7970384f6e CLOUDSTACK-786, CLOUDSTACK-1014: Moved usage APIs to cloud-api. Removed ManagementServerExt. Usage API related implementation is added to UsageServiceImpl 2013-02-05 16:43:40 +05:30
Rohit Yadav
2fd8b15d64 Transaction: Fix better debug message
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 9cf5f9d780)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-05 12:44:21 +05:30
Rohit Yadav
482e939456 Transaction: Fix NPE while reading db.properties file
Handle NPE while setting up data source in Transaction

- This occured as Transaction is called it would run the following which
  assumed db.properties file, which may not be in one's classpath;

        // Initialize with assumed db.properties file
        initDataSource("db.properties");
- So, while this would be logged in logs, this is ignored for DatabaseCreator's
  case. In DatabaseCreator we call initDataSource with full path anyway.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 7795cfd759)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-05 12:44:11 +05:30
Brian Federle
3d8e582d38 CLOUDSTACK-1138:Providing invalid values for gateway, netmask etc in the zoneWizard blocks the VLAN container to load , throwing an error 2013-02-05 11:55:17 +05:30
Rohit Yadav
07fa69cac5 CLOUDSTACK-1142: Refactor handleRequest definition, clean redundant code
- Get rid of boolean decode arg
- Method assumes that OTW params have been already decoded
- Remove redundant code that tries to decode again based on boolean arg

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 2b267c1ceb)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-05 10:39:20 +05:30
Mice Xia
dcb2e5a8ed CLOUDSTACK-1142 Testing LDAP Auth Failed - due to % being illegal character in queryfilter 2013-02-05 11:30:55 +08:00
Logan McNaughton
5cc282c466 Fix for CLOUDSTACK-1112 2013-02-04 14:57:22 -05:00
Koushik Das
cce80832a7 CLOUDSTACK-435: Vmware network labels are ignored when creating a Zone using basic networking
Due to incorrect logic the private network traffic label specified was not getting used, instead some default was getting used (vSwitch0 or privateEthernetPortProfile). The fix passes the correct label in the format vSwitchX or vSwitchX,<vlan_id> and based on that the correct switch is used.
2013-02-04 23:56:01 +05:30
Kishan Kavala
ed60745734 CLOUDSTACK-1083: Include removed projects while listing usage records 2013-02-04 19:30:37 +05:30
Rohit Yadav
5840a4b1ed cli: Use metaprogramming to generate code during runtime when new apis sync
- Fixes metaprogramming to inject methods during shell class object's runtime
- This enable new apis that are synced to come up with new verbs, docs etc.
- Fixes printing issue
- Fixes null bitfield parsing issue

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit a2e89c4200)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-04 17:58:03 +05:30
Rohit Yadav
78453d9d91 ucs: Fix ucs plugin's pom, removes xml marktag
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit fec9934656)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-02 09:16:59 -08:00
Rohit Yadav
7da991638f rat: Fix license headers on ucs plugin etc.
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit c9e764818b)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-02 08:58:34 -08:00
Rohit Yadav
0b31e28901 CLOUDSTACK-1037: Fix cloudmonkey's caching, autocompletion and printing
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit b5a2e99809)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-02 08:44:08 -08:00
David Nalley
bb3a1ce42e updating the version to 4.1.0 for API Docs 2013-02-02 05:40:09 -05:00
Kelven Yang
8f70ee08e0 Fix the unsolved conflicts for doc build 2013-02-01 17:22:51 -08:00
Kelven Yang
e74f72be34 Fix the merge conflicts 2013-02-01 15:22:58 -08:00
Kelven Yang
296c20332d Merge javelin into master 2013-02-01 14:40:45 -08:00
Rohit Yadav
631b6fd46a CLOUDSTACK-1037: Make cloudmonkey awesome-er
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-01 14:34:49 -08:00
Kelven Yang
7b75f0d990 Sync master to javelin one more time 2013-02-01 11:37:33 -08:00
Koushik Das
77e3aade03 CS-CLOUDSTACK-606:
The issue happens randomly when hosts in a cluster gets distributed across multiple MS. Host can get split in following scenarios:
    a. Add host – MS on which add host is executed takes ownership of the host. So if 2 hosts belonging to same cluster are added from 2 different MS then cluster gets split
    b. scanDirectAgentToLoad – This runs every 90 secs. and check if there are any hosts that needs to be reconnected. The current logic of host scan can also lead to a split

    The idea is to fix (b) to ensure that hosts in a cluster are managed by same MS. For (a) only the entry in the database is going to be created except in case if the host getting added is first in the cluster (in this case agent creation happens at the same time) and then (b) will take care of connection and agent creation part. Since currently addHost only creates an entry in the db there is a small window where the host state will be shown as 'Alert' till the time (b) is scheduled and picks up the host to make a connection. The MS doing add host will immediately schedule a scan task and also send notification to peers to start the scan task.
2013-02-01 16:58:29 +05:30
Pranav Saxena
bd825109d8 Persistent Networks support - UI functionality 2013-02-01 16:41:29 +05:30
Koushik Das
777147ce8a CS-CLOUDSTACK-606:
The issue happens randomly when hosts in a cluster gets distributed across multiple MS. Host can get split in following scenarios:
    a. Add host – MS on which add host is executed takes ownership of the host. So if 2 hosts belonging to same cluster are added from 2 different MS then cluster gets split
    b. scanDirectAgentToLoad – This runs every 90 secs. and check if there are any hosts that needs to be reconnected. The current logic of host scan can also lead to a split

    The idea is to fix (b) to ensure that hosts in a cluster are managed by same MS. For (a) only the entry in the database is going to be created except in case if the host getting added is first in the cluster (in this case agent creation happens at the same time) and then (b) will take care of connection and agent creation part. Since currently addHost only creates an entry in the db there is a small window where the host state will be shown as 'Alert' till the time (b) is scheduled and picks up the host to make a connection. The MS doing add host will immediately schedule a scan task and also send notification to peers to start the scan task.
2013-02-01 15:34:41 +05:30
Devdeep Singh
e162876605 CS-16544: Create Snapshot (2nd time - reccuring) is failing on XenServer 6.1. The issue is that while backing up a snapshot when cloudstack tries to update the parent (of the backed up vhd), vhd-util isn't present at the desired location and setParent function in vmopsSnapshot fails. This issue is observed only on Xenserver 6.1. The reason for this is, when CloudStack connects to a Xenserver and executes the SetupCommand, it copies vhd-util tool to /opt/xensource/bin directory on the host. However, in vmopsSnapshot python file 'VHD_UTIL' is initialized to /usr/sbin/. The issue is not observed on 6.0.2 (and I guess previous versions) because vhd-util is present in /usr/sbin/ directory by default (after a clean install). Whereas, in Xenserver 6.1, vhd-util is present in '/usr/bin'. Fixed the issue by updating VHD_UTIL to point to /opt/xensource/bin/vhd-util in vmopsSnapshot file. 2013-02-01 15:25:26 +05:30
Likitha Shetty
13ee8d1865 Persistent Networks support
Signed-off-by: Murali Reddy <murali.reddy@citrix.com>
2013-02-01 15:10:06 +05:30
Saksham Srivastava
482ea4a71e CLOUDSTACK-822: system.vm.password is not encrypted
Signed-off-by: Kishan Kavala <kishan@cloud.com>
2013-02-01 14:18:59 +05:30
Jayapal Uradi
6f89a843a8 CLOUDSTACK-1114: fixed listegressfirewallrule issue with networkid 2013-02-01 14:07:05 +05:30
Kishan Kavala
fc925022bd Upgrade changes for Region schema. Made region_id not null 2013-02-01 13:49:57 +05:30