485 Commits

Author SHA1 Message Date
Chiradeep Vittal
091682cf67 CLOUDSTACK-1066: remove useless config.dat 2013-02-19 23:36:08 -08:00
Chip Childers
9333f979db Adding legal docs for esapi-2.0.1.jar to the package LICENSE
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-02-19 13:50:09 -05:00
Chip Childers
58bcd0eefb Adding springsource artifacts to package legal docs.
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-02-19 13:22:42 -05:00
Chip Childers
e4baff2281 Adding legal docs for java-ipv6.jar
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-02-19 13:00:11 -05:00
Chip Childers
018554ce29 Fixed strange duplication of content within the tools/whisker/LICENSE
file.
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-02-19 12:57:25 -05:00
Gavin Lee
07102fc8ab CLOUDSTACK-1318:Fix build devcloud issue 2013-02-19 23:22:16 +08:00
Rohit Yadav
e85b1cbe8f CLOUDSTACK-1066: Fix README for building systemvm appliance
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-19 14:01:50 +05:30
Rohit Yadav
e24e6d747c CLOUDSTACK-1066: Make appliance export verbose, put archived images in dist/
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-19 13:25:23 +05:30
Rohit Yadav
a5f77d348d CLOUDSTACK-1066: RVM needs a login shell, fix build.sh to start with a login shell
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-19 12:31:32 +05:30
Rohit Yadav
a6f5052958 CLOUDSTACK-1066: Wait for appliance to shutdown before exporting to various fmts
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-19 11:42:34 +05:30
Rohit Yadav
c97653b42e systemvmtemplate: Clean any old vm before building appliance
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-18 21:33:15 +05:30
Rohit Yadav
a4ed061dbf systemvmtemplate: Fix build.sh to export ova, vhd, qcow2 and vhd-hyperv
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-18 18:52:03 +05:30
Rohit Yadav
ab63a433ec systemvmtemplate: Fix definitions and partition map
- Fix definitions, create vhd (virtual disk) format (reusable for hyperv)
- Fix partition maps in preseed, create /boot, /home, /var, /usr, /opt etc.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-18 18:52:02 +05:30
Prasanna Santhanam
a4510efc24 maven: parent pom of tools/* projects is tools/pom.xml
Fixes broken builds for tools

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-02-18 10:26:49 +05:30
Chip Childers
6279433f45 CLOUDSTACK-625: Correcting legal documentation for the require.js file
that was added for the UI plugin feature.
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-02-15 10:24:16 -05:00
Prasanna Santhanam
05437d0e97 maven pom: put apache cloudstack tools together in umbrella pom
minor pom refactor to put all the tools under one placeholder pom.
Also adds a profile for marvin to run deployDataCenter via mvn options.

$mvn -Pdeveloper,marvin -pl :cloud-marvin -Dmarvin.config=<path/to/config>

OR
$cd tools/marvin
$mvn -Pmarvin -pl :cloud-marvin -Dmarvin.config=path/to/config

will deploy the datacenter using the marvin.config property's value

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-02-15 20:53:41 +05:30
Rohit Yadav
825c1c17a1 CLOUDSTACK-1066: Add building script to build appliance
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-15 19:51:26 +05:30
Rohit Yadav
98c0a4fb9d CLOUDSTACK-1066: Fix FIXMEs, rename script to postinstall.sh
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-12 18:28:55 +05:30
Rohit Yadav
4b268c4ae6 CLOUDSTACK-1066: Add random password for cloud, fix trailing whitespaces, cleanup isos
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-12 17:58:17 +05:30
Rohit Yadav
733ec50d46 maven: don't use process-test-resources lifecycles, target are skipped if test are
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-12 12:17:25 +05:30
Chip Childers
ebe738ee20 CLOUDSTACK-1233: Fixed veewee config file legal documentation
The veewee configuration files used for the devcloud base-box build, as
well as the newly introduced files used to create a system vm, were
inappropriately identified as ASLv2 licensed and copyrighted by the ASF.

The fixes:
- The ASF headers stripped to match the source.
- The files are now excluded from RAT checks in the root pom.
- The tools/whisker/descriptor.xml file updated
- The root LICENSE and NOTICE were re-generated

Changes in the Apache Whisker templates for LICENSE and NOTICE files
caused a good bit of whitespace oddness in this commit for those 2
files.

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-02-11 21:40:06 -05:00
Chiradeep Vittal
9e13533e21 CLOUDSTACK-1066: fetch cloudstack init files for systemvm from git.
Currently fetching from HEAD, for a particular branch it should be fetched from the respective branch
2013-02-11 10:25:10 -08:00
Chiradeep Vittal
78b00f51a9 CLOUDSTACK-1066: fixes
cloudstack-packages: fixes install_packages (diff -> diffutils),
                     use debconf-set-selections for iptables-persistent
preseed.cfg : change root password, use separate partitions for /usr /var /home
definition.rb: reset timeout to sane value
cleanup.sh, zerodisk.sh: move wipe of root directory to zerodisk
2013-02-08 17:44:56 -08:00
Chiradeep Vittal
606fa9df70 Add ASL to scripts as a temporary workaround for RAT breakage. This will get changed to MIT license later 2013-02-08 13:05:24 -08:00
Chiradeep Vittal
82dc16e58a CLOUDSTACK-1066: no need for build helpers. Also reduces attack surface of system vm
CLOUDSTACK-1066: no need for busybox and dictionaries

CLOUDSTACK-1066: fix bug in generating signature

CLOUDSTACK-1066: don't confuse veewee about root password
Clean up stuff copied in to vm by veewee
2013-02-08 12:52:41 -08:00
Chiradeep Vittal
31791e241d CLOUDSTACK-1066: fix openswan install to not require interactive input 2013-02-08 12:52:19 -08:00
Chiradeep Vittal
eaaf880dcf CLOUDSTACK-1066: add license and attribution 2013-02-07 19:06:47 -08:00
Chiradeep Vittal
97833c9f93 CLOUDSTACK-1066: bug fixes to cloudstack package script 2013-02-07 19:02:22 -08:00
Chiradeep Vittal
ee9baefe3f CLOUDSTACK-1066: restore modularity in config files by splitting postinstall tasks
Add config.dat to ensure that openswan install does not hang asking for user input
2013-02-07 19:02:22 -08:00
Chiradeep Vittal
990d20b67b CLOUDSTACK-1066 slim down the package by not choosing 'standard'.
Allow root user to login (FIXME) otherwise veewee is unable to login
2013-02-07 19:02:21 -08:00
Chiradeep Vittal
3dea9a7be5 Summary: Remove superfluous chroot and change to use standard jre
Detail: Since the script executes inside the running vm, the chroot is not necessary. Also the standard jre is used instead of sun jre.

BUG-ID: CLOUDSTACK-1066
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org> 1360277071 -0800
2013-02-07 14:48:18 -08:00
Rohit Yadav
04d51c9e4d CLOUDSTACK-1066: Fix only one postinstall script, install packages etc.
- Remove different scripts, just use postinstall.sh that runs after basic appliance
  is built using veewee
- Port package installation method from old script
- Time the installation/build process

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-07 17:42:35 +05:30
Rohit Yadav
1fd0563137 CLOUDSTACK-1037: Implement fuzzy parameter completion
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-07 16:01:05 +05:30
Marcus Sorensen
7330deeb2f Summary: Add default newline after summary in prepare-commit-msg
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360171397 -0700
2013-02-06 10:23:17 -07:00
Marcus Sorensen
dc7578c72c Summary: Make prepare-commit-msg hook more compatible with operating systems
Detail: Was using sed -i, which breaks on Mac

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360170672 -0700
2013-02-06 10:11:12 -07:00
Rohit Yadav
d99f836d5d cli: Fix attribute error and fix helpdoc
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-06 16:54:46 +05:30
Rohit Yadav
f97e2a6297 CLOUDSTACK-1066: Add definitions for building systemvm template appliance
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-05 18:02:52 +05:30
Rohit Yadav
a2e89c4200 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>
2013-02-04 17:57:08 +05:30
Rohit Yadav
b5a2e99809 CLOUDSTACK-1037: Fix cloudmonkey's caching, autocompletion and printing
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-02 08:39:45 -08:00
David Nalley
9c87970d1f setting the version for apidocs to 4.2.0 2013-02-02 05:56:19 -05: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
Kanzhe Jiang
736b236eaf bigswitch controller support
Reviewed-by: Chiradeep Vittal <chiradeepv@gmail.com>

Signed-off-by: Murali Reddy <murali.reddy@citrix.com>
2013-02-01 12:42:04 +05:30
Kishan Kavala
2491ff1cff apidoc: Added Region category 2013-02-01 12:34:56 +05:30
Murali Reddy
e7a554fc6a Merging events framework branch into master. This commit will bring
following changes

   - introduced notion of event bus with publish, subscribe, unsubscribe
     semantics

   - a plug-in can implement the EventBus abstraction to provide event
     bug to CloudStack

   - A rabbitMQ based plug-in that can interact with AMQP servers to
     provide message broker based event-bug

   - stream lines, action events, usage events, alerts publishing in to
     convineance classed which are also used to publish corresponding
     event on to event bus

   - introduced notion of state change event. On a state change, in the
     state machine corrsponding to the resource, a state change event is
     published on the event bug

   - associated a state machined with Snapshot and Network objects

   - Virtual Machine, Volume, Snaphost, Network object state changes wil
     result in a state change event
2013-02-01 01:37:24 +05:30
Kelven Yang
1b2b369ecb Merge latest master into javelin 2013-01-31 11:34:49 -08:00
Prasanna Santhanam
e06a8569a2 propagate storagetype fix from commit e49b3b to diskOffering
Author: Prasanna Santhanam <tsp@apache.org>
Date:   Sun Dec 9 23:13:24 2012 -0800

    marvin: storagetype reference only when attr present

    reference the storagetype only when present. storagetype is reqd
    only for devcloud style tests

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-01-31 16:03:43 +05:30
Marcus Sorensen
15906c03ca Summary: add/remove/update default nics feature
Description: Adds API calls updateDefaultNicForVirtualMachine,
addNicToVirtualMachine, and removeNicFromVirtualMachine. These are
intended to allow a user to modify a VM's configuration post
deployment, to adjust the networks to which the VM belongs.

BUG-ID: CLOUDSTACK-645
Submitted-by: Brian Angus <blangus@betterservers.com>
Submitted-by: Ryan Dietrich <ryan@betterservers.com>
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1359494800 -0700
2013-01-30 17:43:21 -07:00