Repository navigation
CLOUDSTACK-8453: Fix DB result check in test_VirtualRouter_alerts.py - #239
Closed
gauravaradhye wants to merge 1 commit into
Closed
gauravaradhye wants to merge 1 commit into
gauravaradhye wants to merge 1 commit into
Conversation
|
cloudstack-pull-requests #123 FAILURE |
karuturi
pushed a commit
to karuturi/cloudstack
that referenced
this pull request
Oct 6, 2016
…erts.py Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com> This closes apache#239 Reviewed-by: Gaurav
yadvr
pushed a commit
that referenced
this pull request
Jan 20, 2021
Fixes #237 Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
yadvr
pushed a commit
to shapeblue/cloudstack
that referenced
this pull request
Sep 27, 2023
* Move PassphraseVO to use String instead of byte[] to support Encrypt annotation * Check for unencrypted passphrases before migrating passphrase table --------- Co-authored-by: Marcus Sorensen <mls@apple.com> Fixes apache#239 This PR moves PassphraseVO passphrase to String type. Since the GenericDaoBase manipulates encrypted fields as Strings we don't improve anything by handling as byte arrays. We still use byte arrays to pass these values down to the agents and we can get some security gains there. This PR also handles cases where the passphrase field may be previously unencrypted, and upgrades them to encrypted fields using the old encryption during cloudstack-migrate-databases. Then the process can upgrade to new encryption normally.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
After stopping the apache service, the alerts in database is matched currently with the string "Monitoring Service on VR RouterName".
The database contains the subject as "Monitoring Service on VR RouterName. 2015-05-07 10:36:07,207 [INFO] [The process apache2 is not running trying recover ] apache2"
The string matching should be made less strict and should be made to use like % operator.
Tested on Xenserver:
test_01_VRServiceFailureAlerting (test_VirtualRouter_alerts.TestVRServiceFailureAlerting) ... === TestName: test_01_VRServiceFailureAlerting | Status : SUCCESS ===
ok
Ran 1 test in 1920.846s
OK