GitXplorerGitXplorer
a

cloudcat

public
5 stars
2 forks
0 issues

Commits

List of commits on branch master.
Unverified
d5ccfa00e228ed08148d2f2fd21ceb78fb677ee8

Fix sorting on filtered instance list

aabayer committed 12 years ago
Unverified
05d28fad16a207f7e2b6ef632dfd08dcf05f67a6

Don't show incomplete report runs in list, and make sure sorting report columns passes selected report run ID.

aabayer committed 12 years ago
Unverified
a36e8e79b44a771bfcaac21cef526e8b57085a2f

Fix filtering on provisioned instance/group status

aabayer committed 12 years ago
Unverified
4947b5b4b37b38aa8fa0ba99844b2afe1f259584

Don't show defunct instances in provisioned instance status

aabayer committed 12 years ago
Unverified
15d2e908d5a713c2e3255360692b84f88fbcd262

Reset error message on provision to make sure we wipe out-of-date errors

aabayer committed 12 years ago
Unverified
c7030cc90fcd6d42deb9b51796e108440642fe1a

Update src/groovy/cloudstack/reporting/JCloudsConnection.groovy

committed 12 years ago

README

The README file for this repository.

CloudCat

Running CloudCat locally

First, make sure you've got mysql running, with the user/password root/cloudcat (or make changes to cloudcat.git/grails-app/conf/DataSource.groovy in your local repo, but don't commit/push 'em). Then clone github.com/abayer/cloudcat.

You'll need to modify cloudcat.git/grails-app/conf/BootStrap.groovy with your endpoint, creds, email, etc.

To run grails, go to the cloudcat directory and run "./grailsw". That'll do its own version of downloading the world. To run it, from within the grails session, do "run-app". You can also do "./grailsw run-app" from your normal shell. Now it'll start up at localhost:8080/cloudcat. Tada! It still won't be able to do anything with CloudStack - I've only used the CloudStack admin API key/secret key so far, so I can't guarantee how configuring it with your own key will work, but that's what I'd suggest.

So now you should be able to login, at the very least, and probably provision instances (though the reporting stuff may not work right - let me know if you end up with blank dropdowns for template and service offering, because that probably means permissions issues for your API key). The DB that gets used in mysql is cloudcat_dev (when you run via "run-app"). We're using the DB Migrations plugin for database changes, so I'd recommend doing the following first time you clone the repo, and again whenever you pull changes:

./grailsw prod dbm-update

That'll update the cloudcat database in mysql to the latest migration. If you're making changes to domain classes, you'll need to do "./grailsw prod dbm-gorm-diff (filename).groovy -add", and then add grails-app/migrations/changelog.groovy and .../(filename).groovy to your commit, and run "./grailsw prod dbm-update" locally as well. Probably a good idea to run "./grailsw prod dbm-validate" after the diff, actually.

Demo

A demo instance is up at http://cloudcat.andrewbayer.com, though you can't login at this point.