You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Abhinav Roy <ab...@citrix.com> on 2013/02/01 10:32:16 UTC

[ACS42][QA] Test plan for SNMP Alerts support in CloudStack

Hi,

I've uploaded test cases for feature:  "SNMP Alerts support in CloudStack " and is open for review. Please find the test cases here: https://cwiki.apache.org/confluence/display/CLOUDSTACK/SNMP+Alerts+Support+in+CloudStack



Reference FS:  https://cwiki.apache.org/confluence/display/CLOUDSTACK/FS+for+Integrating+CS+alerts+via+SNMP+to+external+management+system



Thanks and regards,

Abhinav


RE: [QA] Test plan for Password Encryption - Make SHA1 Salted as default authenticator and encoder.

Posted by Parth Jagirdar <Pa...@citrix.com>.
Great!!

Thanks.

Thanks,
.. Parth

-----Original Message-----
From: Vijayendra Bhamidipati 
Sent: Thursday, March 28, 2013 2:40 PM
To: Parth Jagirdar; cloudstack-dev@incubator.apache.org
Subject: Re: [QA] Test plan for Password Encryption - Make SHA1 Salted as default authenticator and encoder.

Hi Parth,

The test plan looks good. You can also add a test to remove an authenticator that was used for a particular user (say MD5) after creating that user, rebuild/restart the mgmt server and see that that user authentication fails. All other tests look good.

Regards,
Vijay

On 3/25/13 12:38 PM, "Parth Jagirdar" <Pa...@citrix.com> wrote:

>
>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Password+Encrypt
>ion
>+
>-+Make+SHA1+Salted+as+default+authenticator+and+encoder.
>
>
>ŠParth
>


Re: [QA] Test plan for Password Encryption - Make SHA1 Salted as default authenticator and encoder.

Posted by Vijayendra Bhamidipati <vi...@citrix.com>.
Hi Parth,

The test plan looks good. You can also add a test to remove an
authenticator that was used for a particular user (say MD5) after creating
that user, rebuild/restart the mgmt server and see that that user
authentication fails. All other tests look good.

Regards,
Vijay

On 3/25/13 12:38 PM, "Parth Jagirdar" <Pa...@citrix.com> wrote:

>
>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Password+Encryption
>+
>-+Make+SHA1+Salted+as+default+authenticator+and+encoder.
>
>
>ŠParth
>


[QA] Test plan for Password Encryption - Make SHA1 Salted as default authenticator and encoder.

Posted by Parth Jagirdar <Pa...@citrix.com>.
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Password+Encryption+
-+Make+SHA1+Salted+as+default+authenticator+and+encoder.


ŠParth


RE: [ACS42][QA] Test plan for SNMP Alerts support in CloudStack

Posted by Abhinav Roy <ab...@citrix.com>.
Thanks for your comments Anshul, I have updated the test plan and posted it at https://cwiki.apache.org/confluence/download/attachments/30751773/SNMP_Alerts_Support_In_CloudStack_Testcases_v2.xlsx?version=1&modificationDate=1363244839373 

Thanks and regards,
Abhinav

-----Original Message-----
From: Anshul Gangwar [mailto:anshul.gangwar@citrix.com] 
Sent: Monday, March 04, 2013 5:28 PM
To: cloudstack-dev@incubator.apache.org
Subject: Re: [ACS42][QA] Test plan for SNMP Alerts support in CloudStack

Hi,

I have reviewed the test cases and looks good.

Since UI has been removed from this feature now, We have to make change in the test cases accordingly. Now the UI part will be done through log4j-cloud.xml file. For that we have to modify following portion in log4j-cloud.xml
    <appender name="SNMP" 
class="org.apache.cloudstack.alert.snmp.SnmpTrapAppender">
       <param name="Threshold" value="WARN"/>
       <param name="SnmpManagerIpAddresses" value=""/>
       <param name="SnmpManagerPorts" value=""/>
       <param name="SnmpManagerCommunities" value=""/>
       <layout
class="org.apache.cloudstack.alert.snmp.SnmpEnhancedPatternLayout">
          <param name="PairDelimeter" value="//"/>
          <param name="KeyValueDelimeter" value="::"/>
       </layout>
    </appender>

To specify multiple  SnmpManagerIpAddresses one has to give as follows with each SNMP Manager separated by ,

    <appender name="SNMP" 
class="org.apache.cloudstack.alert.snmp.SnmpTrapAppender">
       <param name="Threshold" value="WARN"/>
       <param name="SnmpManagerIpAddresses" value="10.1.1.1,10.1.1.2"/>
       <param name="SnmpManagerPorts" value="162,162"/>
       <param name="SnmpManagerCommunities" value="public,public"/>
       <layout
class="org.apache.cloudstack.alert.snmp.SnmpEnhancedPatternLayout">
          <param name="PairDelimeter" value="//"/>
          <param name="KeyValueDelimeter" value="::"/>
       </layout>
    </appender>.

Alerts can be generated in multiple ways, so take care to cover all the scenarios. For example ALERT_TYPE_HOST can be generated in some of the following ways
1)   Add host failed due to ModifyStoragePoolCommand failed
2)   Host Disconnected due to Agent problem on host
3)   Incorrect network setup on agent

Thanks,
Anshul

On 01/02/13 15:02, Abhinav Roy wrote:
> Hi,
>
> I've uploaded test cases for feature:  "SNMP Alerts support in 
> CloudStack " and is open for review. Please find the test cases here: 
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/SNMP+Alerts+Sup
> port+in+CloudStack
>
>
>
> Reference FS:  
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/FS+for+Integrat
> ing+CS+alerts+via+SNMP+to+external+management+system
>
>
>
> Thanks and regards,
>
> Abhinav
>

Re: [ACS42][QA] Test plan for SNMP Alerts support in CloudStack

Posted by Anshul Gangwar <an...@citrix.com>.
Hi,

I have reviewed the test cases and looks good.

Since UI has been removed from this feature now, We have to make change 
in the test cases accordingly. Now the UI part will be done through 
log4j-cloud.xml file. For that we have to modify following portion in 
log4j-cloud.xml
    <appender name="SNMP" 
class="org.apache.cloudstack.alert.snmp.SnmpTrapAppender">
       <param name="Threshold" value="WARN"/>
       <param name="SnmpManagerIpAddresses" value=""/>
       <param name="SnmpManagerPorts" value=""/>
       <param name="SnmpManagerCommunities" value=""/>
       <layout 
class="org.apache.cloudstack.alert.snmp.SnmpEnhancedPatternLayout">
          <param name="PairDelimeter" value="//"/>
          <param name="KeyValueDelimeter" value="::"/>
       </layout>
    </appender>

To specify multiple  SnmpManagerIpAddresses one has to give as follows 
with each SNMP Manager separated by ,

    <appender name="SNMP" 
class="org.apache.cloudstack.alert.snmp.SnmpTrapAppender">
       <param name="Threshold" value="WARN"/>
       <param name="SnmpManagerIpAddresses" value="10.1.1.1,10.1.1.2"/>
       <param name="SnmpManagerPorts" value="162,162"/>
       <param name="SnmpManagerCommunities" value="public,public"/>
       <layout 
class="org.apache.cloudstack.alert.snmp.SnmpEnhancedPatternLayout">
          <param name="PairDelimeter" value="//"/>
          <param name="KeyValueDelimeter" value="::"/>
       </layout>
    </appender>.

Alerts can be generated in multiple ways, so take care to cover all the 
scenarios. For example ALERT_TYPE_HOST can be generated in some of the 
following ways
1)   Add host failed due to ModifyStoragePoolCommand failed
2)   Host Disconnected due to Agent problem on host
3)   Incorrect network setup on agent

Thanks,
Anshul

On 01/02/13 15:02, Abhinav Roy wrote:
> Hi,
>
> I've uploaded test cases for feature:  "SNMP Alerts support in CloudStack " and is open for review. Please find the test cases here: https://cwiki.apache.org/confluence/display/CLOUDSTACK/SNMP+Alerts+Support+in+CloudStack
>
>
>
> Reference FS:  https://cwiki.apache.org/confluence/display/CLOUDSTACK/FS+for+Integrating+CS+alerts+via+SNMP+to+external+management+system
>
>
>
> Thanks and regards,
>
> Abhinav
>

Re: [ACS42][QA] Test plan for SNMP Alerts support in CloudStack

Posted by Derek Lai <de...@gmail.com>.
Hi

I've changed the two timezone settings (usage.aggregation.timezone,
usage.execution.timezone) in the Cloudstack Management server under Global
Settings to Asia/Taipei as specified in Appendix A and restarted but the
time seems to continue to be reported in GMT? Is there any other timezone
settings?

Any help/pointer appreciated.



Derek


On Fri, Feb 1, 2013 at 5:32 PM, Abhinav Roy <ab...@citrix.com> wrote:

> Hi,
>
> I've uploaded test cases for feature:  "SNMP Alerts support in CloudStack
> " and is open for review. Please find the test cases here:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/SNMP+Alerts+Support+in+CloudStack
>
>
>
> Reference FS:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/FS+for+Integrating+CS+alerts+via+SNMP+to+external+management+system
>
>
>
> Thanks and regards,
>
> Abhinav
>
>