Commit Graph

53 Commits

Author SHA1 Message Date
Rohit Yadav 6c6d036447 CLOUDSTACK-196: cloud-set-guest-password enhancement to support Debian
(and derivatives)

Synced fix on setup/bindir/cloud-set-guest-password.in too.
Note: we've duplicate files, one in tools

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-10-28 15:39:42 +05:30
Rohit Yadav 3663af1434 cloud-setup-databases: modify try-except-finally for < python 2.4
Make cloud-setup-databases compatible to python 2.4 and before.

Add code Prasanna Santhanam <tsp@apache.org>
Partially revert a6dcd7af49 which removed
the fix for CLOUDSTACK-199: Fix how cloud-setup-databases parses
  Patch splits by right most @ in supplied argument to get
  user:password and host substrings.

Less than python <2.4 the following is unsupported and produces a
SyntaxError.
    try:
        ...code ...
    except ValueError:
        ...code ...
    finally:
        ...code ...

Workaround is the following
    try:
        try:
            ...code ...
        except ValueError:
            ...code ...
    finally:

Credits to Prasanna Santhanam <tsp@apache.org>

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-10-26 14:20:37 +05:30
Rohit Yadav 947d8cc6de CLOUDSTACK-374: Allow users to choose mgmt server host
Users can now explicitly specify cluster management server node IP.
Example:

cloud-setup-database user:passwd@dbhost -i 192.168.1.10, or
cloud-setup-database user:passwd@dbhost --mshost 192.168.1.10

Also, strips off trailing whitespaces.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-10-22 16:56:50 +05:30
Ilya Musayev, CloudSand.com 77ba46e322 CLOUDSTACK-321: Fixed a bug in cloud-set-guest-*.in
Fixed a bug in cloud-set-guest-sshkey.in to properly check the
SSHKEY_SERVER_IP variable
2012-10-12 01:20:15 +05:30
Alex Huang 13d771e57e it's 1.9.0 not 1.9....duh 2012-10-08 01:52:02 -07:00
Alex Huang 135f5dcfe9 Fixed more problems with aws
Conflicts:

	setup/bindir/cloud-setup-encryption.in
2012-10-08 00:59:47 -07:00
Alex Huang 0ec3422122 Changed the jar file to 1.9 2012-10-08 00:07:19 -07:00
Alex Huang 0827fb7029 Checked in the license 2012-10-08 00:07:10 -07:00
frank a6dcd7af49 CloudStack CLOUDSTACK-257
AWS Api is not correctly deployed

fix cloud-setup-databases for awsapi
2012-10-08 00:06:04 -07:00
Hugo Trippaers f6ab8b4344 [CLOUDSTACK-268] Add quotes to input 2012-10-06 00:00:59 +02:00
Rohit Yadav f2e0fa230d CLOUDSTACK-199: Fix how cloud-setup-databases parses user:password@host
Patch splits by right most @ in supplied argument to get user:password
and host substrings.

Signed-off-by: Rohit Yadav <rohit.yadav@citrix.com>
2012-09-26 15:40:21 +05:30
Edison Su caebc0ce74 fix rpm installation 2012-09-04 22:30:24 -07:00
David Nalley fc3ac862dc applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
Alena Prokharchyk 4b67937556 CS-15089: cloud-sysvmadm - fixed broken parsing in queryAsyncJobResult part of the code
reviewed-by: Frank Zhang
2012-05-25 10:15:51 -07:00
frank 2f634c0913 Switch to Apache license 2012-04-03 04:50:05 -07:00
Alena Prokharchyk ca981e209a bug 14169: show error on the console in addition to logging it when restart operation fails for ssvm/consoleProxy/domR
status 14169: resolved fixed
2012-03-28 16:17:24 -07:00
frank 2b9fe25fcd Bug 13529 - Multiple Management Servers: cloud-setup-databases script fails to execute
status 13529: resolved fixed
2012-02-08 16:58:17 -08:00
frank 20f0e1f86a Bug 13034 - Error when executing cloud-setup-databases
fix typo
2012-01-11 21:02:05 -08:00
frank 676ac955cb Bug 13034 - Error when executing cloud-setup-databases
status 13034: resolved fixed
2012-01-11 20:41:48 -08:00
kishan 151bbf286d Bug 11823: Added cloud-setup-encryption script for encryption upgrade
Status 11823: resolved fixed
2012-01-05 17:11:35 +05:30
frank 436af31a01 Bug 12565 - no check for correctness of the options given during cloud-setup-database steps
fix a typo
2011-12-15 10:59:54 -08:00
frank 5dbe84e2ee Bug 12565 - no check for correctness of the options given during cloud-setup-database steps
status 12565: resolved fixed
2011-12-15 10:34:06 -08:00
frank f4010f2215 better error message when checking hostname failed in cloud-setup-database 2011-12-01 10:40:38 -08:00
frank 5800a88757 Bug 12220 - Unable to start management server due to "org.jasypt.exceptions.EncryptionOperationNotPossibleException"
don't encrypt empty password

status 12220: resolved fixed
2011-11-29 10:33:53 -08:00
frank c50250ca43 make encryption default while running cloud-setup-database 2011-11-28 13:26:35 -08:00
frank 7402ff0b8c Bug 11990 - Add encryption properties to db.properties during install
better help message
2011-11-23 17:32:55 -08:00
frank a23e8af810 Bug 11990 - Add encryption properties to db.properties during install
status 11990: resolved fixed
2011-11-23 16:54:45 -08:00
frank 0f0729d2a0 Refine cloud-setup-database script 2011-11-22 18:23:03 -08:00
alena 6dfd2f280b 1) More logging to cloud-sysvmadm script - to give the user better details on which domR is being restarted at the moment
2) When domR is executed in parallel thread, make sure that the thread "exit 0" after the restart is done
2011-09-06 16:11:17 -07:00
alena fb01f58bcb bug 11329: changed default number of parallel threads to be 10 in cloud-sysvmadm
status 11329: resolved fixed
2011-09-06 11:31:50 -07:00
kishan db6c0e810b Added sql queries and script to update new template and restart networks 2011-08-16 19:42:51 +05:30
alena dc3e02ab3c bug 10475: cloud-sysvmadm - stop routers in multiple threads. Default number of threads is 5.
status 10475: resolved fixed

Also added support for logging. By default the logs go to cloud.log file under current dir; you can specify another log location using -l option
2011-06-28 11:14:14 -07:00
alena f40d21a80f No need to tream "return" char twice 2011-06-13 10:54:44 -07:00
keshav e22d99f70d Removed carriage return when a password is obtained. Changed mkpasswd encryption method to use SHA-512. 2011-05-23 12:18:46 -07:00
alena c7380b29e1 bug 9868: display help just once if wrong option is specified
status 9868: resolved fixed
2011-05-13 14:14:44 -07:00
alena eed58597f2 Small fix to script that stop/starts system vms: added -m option (the host we send stop* api requests to); defaulted to localhost if not specified. 2011-05-12 09:54:30 -07:00
alena 2a32377098 Added helper script for stopping/starting all system vms 2011-05-11 11:13:09 -07:00
Chandan Krishna Reddy Purushothama 3b2d4c3fb5 Additions made to the script inorder to avoid VM login using "saved_password" string 2011-03-09 15:54:18 -08:00
Edison Su 163af9a3b6 do not detect ip when you just deploy database 2011-03-09 15:28:55 -05:00
Kevin Kluge 69c4a59696 resolved fixed: 8853
update to handle multiple NICs and non-virtual-networking cases.
2011-03-07 13:26:01 -08:00
alena 7cf4c375c2 cloud-set-guest-sshkey script (used by sshKey pair feature, has to be installed on the vm template) is a part of our code base now 2011-03-04 11:31:18 -08:00
keshav 1be21effc9 Changed password script to work even if multiple password servers are listening for requests 2011-03-03 11:52:53 -08:00
keshav 25cd4a5768 Changed password script to work with multiple NICs. 2011-03-02 18:30:19 -08:00
alena b4ee5fa1ea Renamed get_password_from_domr to cloud-set-guest-password 2011-02-08 17:31:54 -08:00
Frank c38aff60f4 Bug 8275 - SELinux error message provides incorrect directions
status 8275: resloved fixed
2011-02-07 13:39:35 -08:00
alena 54236677f3 bug 8419: changed domR password reset script to work with 2.1.x and 2.2 password scripts on userVm side
status 8419: resolved fixed
2011-02-07 11:04:55 -08:00
alena ff281af035 bug 8253: get_password_from_domr is a part of source code now. It should be located under /usr/bin/ directory on the Management server once cloudstack software is installed
status 8253: resolved fixed
2011-02-01 17:40:00 -08:00
Frank Zhang 032f321363 catch exception if mysqld has not been started when
perform 'cloud-setup-database'
2010-12-16 15:29:06 -08:00
edison d3404cfec1 cloud-setup-databases don't need to specify hypervisor type, just remove the confusing help 2010-11-01 15:40:43 -07:00
edison 9e0f57bc0e change code for new UI 2010-09-29 18:40:52 -07:00