Commit Graph

13938 Commits

Author SHA1 Message Date
Alena Prokharchyk cfd2091337 Fixed CLOUDSTACK-287
1) Always fail to authenticate system user.
2) DB - always create system user with RANDOM not null password
3) Don't allow modifying (setting api/secretKeys, etc) system user via API

Conflicts:

	server/src/com/cloud/user/AccountManagerImpl.java
	setup/db/db/schema-305to306.sql
2012-10-08 10:51:41 -07:00
Hugo Trippaers 098a78a171 [CLOUDSTACK-283] Add Nicira NVP calls to the api docs 2012-10-08 16:20:45 +02:00
Sebastien Goasguen c0d4dcf697 New devcloud.cfg to be used with marvin deployDataCenter.py to configure devcloud infra
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2012-10-08 10:16:00 -04:00
Rohit Yadav 4448042037 CLOUDSTACK-257: Add jasypt and axiom
Define rule for ant to copy jasypt and axiom to deploy-rpm target.
2012-10-08 18:56:55 +05:30
Rohit Yadav a286f68723 CLOUDSTACK-257: Copy jars to awsapi/WEB-INF/lib
Uncomment rule in build/build-aws-api.xml to copy libs to:
/usr/share/cloud/bridge/webapps/awsapi/WEB-INF/lib
2012-10-08 17:31:42 +05:30
Rohit Yadav 21bea9c8e2 Revert: "Restore the lib directory"
This reverts commit 3b78d6980a.

Conflicts:
	cloud.spec
2012-10-08 17:22:08 +05:30
Rohit Yadav e241925057 CLOUDSTACK-221: Force symlink if any existing symlink
Force symlink, in case there is an existing symlink but the file it
links to does not exist.
2012-10-08 16:39:58 +05:30
Alex Huang 3b78d6980a Restore the lib directory 2012-10-08 04:07:28 -07:00
Rohit Yadav 98eef5c949 CLOUDSTACK-221: Add user/group before installing aws-api
Since cloud-client requires aws-api package, and is installed
before aws-api, the patch sets up user/group first.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-10-08 15:40:35 +05:30
Alex Huang 8ec7cf2b42 More changes 2012-10-08 02:56:32 -07:00
Alex Huang ef43dc7fea it's 1.9.0 not 1.9....duh 2012-10-08 01:51:30 -07:00
Alex Huang fbdaa45276 Fixed more problems with aws 2012-10-08 00:57:12 -07:00
Alex Huang 52e70e60cd Changed the jar file to 1.9 2012-10-08 00:02:49 -07:00
Alex Huang f260dae815 Checked in the license 2012-10-07 23:54:25 -07:00
frank 4de2b0f02d CloudStack CLOUDSTACK-257
AWS Api is not correctly deployed

fix cloud-setup-databases for awsapi
2012-10-07 23:14:10 -07:00
root ef828127c2 fix build 2012-10-07 16:22:44 -07:00
John Kinsella ef5db9d623 Ensuring system user has password set. 2012-10-07 13:40:19 -07:00
frank e4b88a707e CloudStack CLOUDSTACK-257
AWS Api is not correctly deployed

resolved fixed
2012-10-07 12:35:44 -07:00
Alex Huang 608c8c450d Changed the hardcoded vmware path to point to cloud/common 2012-10-06 23:08:59 -07:00
frank fb88d2e9de port fix for CS-16214 2012-10-05 19:40:46 -07:00
Edison Su 6daf9a94f2 CLOUDSTACK-273: backport fixes from 3.0.x branch: 70d41f103b 2012-10-05 19:20:48 -07:00
Marcus Sorensen 521b0f6401 KVM: removes check for 'snapshot' text in qemu-img --help output
Signed-off-by: Edison Su <sudison@gmail.com>
2012-10-05 17:59:13 -07:00
David Nalley 384c03e425 Removing symlinks for CloudStack-248 and CloudStack-209
The problem that is described in both of those bugs is the deletion of files
installed by cloud-scripts.

What is happening is that instead of fixing the paths to scripts in places
where they are called, we tried to create a symlink in a %post section in
the RPM so that there was a symlink to the new directory for the scripts.
That does work (in new installs) but the problem that arises is that when
RPM is setting up the transation it doesn't know about the symlink (it's
in a %post, the symlinked directory is unowned from RPMs perspective, or
rather it is only owned by the cloud-agent-scripts package, which will
be removed.

So what happens is that cloud-agent-scripts puts things in /foo - we
come along to upgrade to 4.0 and that means we use cloud-scripts -
which puts things in /bar - so we install things into /bar (/foo still
exists at this point) then in a %post (and for the record, RPM doesn't
know what happens in a %pre, %post, %preun, or %postun - they are outside
the transation) we delete /foo and then create a symlink from /foo to /bar.
Then we get to the transaction part where we are ready to remove
cloud-agent-scripts - so it's time to delete /foo - except /foo is now a
symlink to /bar and thus we wipe out the contents of /foo and /bar in one
fell swoop.

To quote Bill Notting from Red Hat who pointed this out:
15:43 < notting> rpm decides what to do with all the files (update, remove,
or write new file) before the transaction. if the directory layout changes
*during* the transaction, weird shit happens.
2012-10-05 16:56:07 -07:00
Marcus Sorensen c8afd81696 KVM: Don't delete systemvm patch disks on StopCommand
Signed-off-by: Edison Su <sudison@gmail.com>
2012-10-05 16:26:37 -07:00
Alena Prokharchyk ef1ba9bf38 Fixed unittest 2012-10-05 15:37:28 -07:00
Jessica Tomechak 520363ba8a Docs. Fix typo in xref link destination. 2012-10-05 15:23:34 -07:00
Alex Huang c6a1f03aeb Trying out Jessica's new fix.
Revert "Revert "Docs. Add xrefs to Installation Steps Overview. Minor fixes to headings.""

This reverts commit 77ae14aa65.
2012-10-05 15:23:07 -07:00
Hugo Trippaers 5629e22b71 [CLOUDSTACK-264] There are several alternatives for the library, list them all on the classpath to make sure at least one is there 2012-10-06 00:15:01 +02:00
Alex Huang 77ae14aa65 Revert "Docs. Add xrefs to Installation Steps Overview. Minor fixes to headings."
I cherry-picked this prematurely it seems.

This reverts commit baec0bd0a9.
2012-10-05 15:11:16 -07:00
Hugo Trippaers f78aa41341 [CLOUDSTACK-268] Add quotes to input 2012-10-06 00:02:59 +02:00
Alena Prokharchyk d5b86d8149 CLOUDSTACK-84: fixed NPE that used to happen on API layer when list resource of the project was called when project was going through removal process. 2012-10-05 14:23:48 -07:00
Chip Childers 735def2c5c Fixed debian/changelog format error 2012-10-05 16:11:36 -04:00
Chip Childers 455f6264db Switching debian/changelog version to 4.0.0 2012-10-05 15:50:46 -04:00
Edison Su bf1295e797 CLOUDSTACK-248: install cloud-scripts twice during upgrade 2012-10-05 12:01:15 -07:00
Rohit Yadav f7ebb76f57 CLOUDSTACK-121: Fixed "Incorrect username/domainId login causes NullPointerException " 2012-10-05 11:33:21 -07:00
Rohit Yadav 8ba6c8b171 CLOUDSTACK-248: Fix rpm build for cloud-scripts
Make rpm correctly handle new installs, upgrades and uninstalls.

Signed-off-by: Rohit Yadav <rohit.yadav@citrix.com>
2012-10-05 11:11:22 -07:00
Wido den Hollander cd28aa34be debian: Bump the version to 4.0 beta 6 2012-10-05 11:11:21 -07:00
David Nalley 34ecb25b0c adding an option to the build script to permit setting a pgp key with which to sign 2012-10-05 11:11:21 -07:00
Jessica Tomechak baec0bd0a9 Docs. Add xrefs to Installation Steps Overview. Minor fixes to headings. 2012-10-05 11:10:16 -07:00
frank 198f55f21f port to master
commit 318d2aedbd
Author: frank <frank.zhang@citrix.com>
Date:   Thu Jun 28 16:10:20 2012 -0700

    CS-15376
    Need to change rpm spec to deploy awsapi in its own webapps folder
2012-10-05 11:08:43 -07:00
Rohit Yadav 33ae7ef3af CLOUDSTACK-254: Fix exec path for netusage.sh
Fixes the hard coded path in the vmware plugin.
The systemvm.iso file would copy the script only to /opt/cloud/bin.
Same is the path used for vpc_netusage.sh

Signed-off-by: Rohit Yadav <rohit.yadav@citrix.com>
2012-10-05 05:02:58 -07:00
Jessica Tomechak 716c9eb6e3 docs: bullet character missing from layout template 2012-10-04 21:47:01 -07:00
Alex Huang feb669a857 vpc documentation 2012-10-04 21:04:04 -07:00
Alex Huang 916e77a448 Checked in missing license header 2012-10-04 20:36:11 -07:00
Jessica Tomechak 10993aa24f Doc : Installation Guide. Adds missing files and images, fixes a few issues. CLOUDSTACK-253 2012-10-04 19:51:29 -07:00
Chip Childers 28e2f540be Added INSTALL.md to the RAT exclusion list 2012-10-04 20:36:59 -04:00
David Nalley 3efbf868f5 fixing a broken ubuntu build 2012-10-04 20:29:05 -04:00
Jessica Tomechak 1c64ebc364 checkin doc changes 2012-10-04 16:54:33 -07:00
Alex Huang bd384829da Merged over docs from master 2012-10-04 16:15:51 -07:00
Alex Huang 4763997ee9 Propagated INSTALL.md 2012-10-04 16:02:36 -07:00