CloudPortal Business Manager 1.x

 
 
 
Pankaj Paliwal
cloudPlatform: User signature is not equaled to computed signature test
Hi,

I'm trying to setup CPBM 1.4.7-1 to run against CP 3.0.6-1, but for some reason the "user signature" is lowercase version of the "computed signature", and hence they are not equal to each other, and the authentication fails. I have already followed the troubleshooting tips at: http://support.citrix.com/proddocs/topic/cloudportalbusiness-14/ccpb-troubleshoot.html with no luck. Any ideas why the case difference between the signatures might be occuring?

 INFO  [cloud.user.AccountManagerImpl] (catalina-exec-8:) User signature: ebuyjx6/sc9m5j4fxk7uubie3qs= is not equaled to computed signature: EBuYjx6/SC9m5J4fxK7UubIe3qs= 

WARN  [cloud.api.ApiServer] (catalina-exec-19:) The given command:listzones does not exist

 INFO  [cloud.user.AccountManagerImpl] (catalina-exec-1:) User signature: x0ogmbeq3cn9jwvdhydt/ogjjpm= is not equaled to computed signature: x0OgMBEq3Cn9JWVdHYdT/OGJjpM= 

5 0
Pankaj Paliwal
CPBM 1.4.7: problems sending email
Avatar

CPBM 1.4.7: problems sending email

Hi All.

 

I have recently installed CPBM 1.4.7.  I can login as root fine and create some accounts/users, but the users show up as "disabled" and do not appear to receive a verification email.  When I go to the user detail screen and select "Re-Send Verification", it says "Re-send email verification succeeded" but no email is received and log indicates an error:

 

WARN  27 Nov 2013 06:45:39,913:[QueueListener-1:DefaultMessageListenerContainer][] Execution of JMS message listener failed, and no ErrorHandler has been set.
org.springframework.jms.support.converter.MessageConversionException: Could not unmarshal message: ActiveMQTextMessage {commandId = 5, responseRequired = true, messageId = ID:phillip2.its.unimelb.edu.au-53859-1385534738513-0:1:1:1:1, originalDestination = null, originalTransactionId = null, producerId = ID:phillip2.its.unimelb.edu.au-53859-1385534738513-0:1:1:1, destination = queue://vmops.notification.queue, transactionId = null, expiration = 0, timestamp = 1385534739669, arrival = 0, brokerInTime = 1385534739672, brokerOutTime = 1385534739742, correlationId = null, replyTo = null, persistent = true, type = null, priority = 4, groupID = null, groupSequence = 0, targetConsumerId = null, compressed = false, userID = null, content = null, marshalledProperties = null, dataStructure = null, redeliveryCounter = 0, size = 0, properties = null, readOnlyProperties = true, readOnlyBody = true, droppable = false, text = <com.vmops.event.VerifyEmailRequest><username...mailRequest>}; nested exception is org.springframework.oxm.UnmarshallingFailureException: XStream unmarshalling exception; nested exception is com.thoughtworks.xstream.converters.ConversionException: Cannot construct com.vmops.event.VerifyEmailRequest as it does not have a no-args constructor : Cannot construct com.vmops.event.VerifyEmailRequest as it does not have a no-args constructor
---- Debugging information ----
message             : Cannot construct com.vmops.event.VerifyEmailRequest as it does not have a no-args constructor
cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
cause-message       : Cannot construct com.vmops.event.VerifyEmailRequest as it does not have a no-args constructor
class               : com.vmops.event.VerifyEmailRequest
required-type       : com.vmops.event.VerifyEmailRequest
path                : /com.vmops.event.VerifyEmailRequest
line number         : 1
-------------------------------
        at org.springframework.jms.support.converter.MarshallingMessageConverter.fromMessage(MarshallingMessageConverter.java:188)
        at org.springframework.jms.listener.adapter.MessageListenerAdapter.extractMessage(MessageListenerAdapter.java:407)
        at org.springframework.jms.listener.adapter.MessageListenerAdapter.onMessage(MessageListenerAdapter.java:345)
        at org.springframework.jms.listener.adapter.MessageListenerAdapter.onMessage(MessageListenerAdapter.java:330)
        at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:535)
        at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:495)
        at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467)
        at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)
        at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)
        at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1058)
        at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1050)
        at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:947)
        at java.lang.Thread.run(Thread.java:744)
Caused by: org.springframework.oxm.UnmarshallingFailureException: XStream unmarshalling exception; nested exception is com.thoughtworks.xstream.converters.ConversionException: Cannot construct com.vmops.event.VerifyEmailRequest as it does not have a no-args constructor : Cannot construct com.vmops.event.VerifyEmailRequest as it does not have a no-args constructor

 

 

My configuration in /etc/cloud/portal/cloud.properties is:

 

# Mail sender (SMTP/SMTPS) configuration                                       #
vmops.mail.protocol=smtp
vmops.mail.host=smtp.our.domain
vmops.mail.port=25
vmops.mail.username=
vmops.mail.password=

 

I can telnet to port 25 on smp.our.domain from the CPBM host successfully.

 

Any ideas what the issue might be here?

 

Regards,

 

Robert.


Robert Sturrock MEMBERS
1 0
Pankaj Paliwal
Error: "User signature is not equaled (sic) to computed signature"
Avatar

Error: "User signature is not equaled (sic) to computed signature"

HI All.

 

I'm trying to setup CPBM 1.4.7 to run against CP 3.0.6.  CPBM starts up, I can login as root, but the dashboard fails to render.  The catalina.out log on CP shows a stream of these messages:

 

2013-11-21 16:03:41,669 INFO  [cloud.user.AccountManagerImpl] (catalina-exec-23:null) User signature: XXXXXXXXXXXXXXX/M8+4I= is not equaled to computed signature: YYYYYYYYYYYYYYRnjTp4=

 

 

Meanwhile, catalina.out on the CPBM server says:

 

DEBUG 21 Nov 2013 05:47:02,765:[http-8080-7:CloudStackApiController][] api proxy: json error string: {"listzonesresponse":{"errorcode":401,"errortext":"unable to verify user credentials and\/or request signature"}}
ERROR 21 Nov 2013 05:47:02,878:[http-8080-7:HomeController][] ###Error while setting Service Health: com.vmops.service.exceptions.CloudServiceException: Cloud Account is required to execute cloudstack API.

 

 

Any thoughts on what the issue might be here?

 

Regards,

 

Robert.


Robert Sturrock MEMBERS
2 0
Pankaj Paliwal
Upgrade CCPM 1.4.6 to 2.1
Avatar

Upgrade CCPM 1.4.6 to 2.1

I am running Xenserver 6.1 - CCP 3.0.6 - CPBM 1.4.6, I am willing to upgrade to newer versions as:

Xenserver 6.2
CCP 4.2
CPBM 2.1

what is the best to do so, is it with one shot? or to upgrade portal then platform then xenserver?
if the second, so can I run CPBM (2.1) on CCP 3.0.6 and Xenserver 6.1 for a while before completing the upgrade?

Your advice and recommendation is appreciated.

Tamer

Edited by: tamer@encloud-me.com on Oct 28, 2013 9:53 AM


Tamer Al-Kabani MEMBERS
0 0
Pankaj Paliwal
Launched Vm Password email subject
Avatar

Launched Vm Password email subject

Hello,

I am running CloudPortal 1.4.6, as if I launch more than one VM then I will receive emails of their password with the same number of launched VMs.

The problem is:

the mail subject is the same for all sent emails which is "VM Password Notification", so if I want to change the subject to the "launched VM name" how it could be done.

Note: the portal is running on Linux CentOs.

Attached pic may clear the idea.

Regards,

Attached Files


Tamer Al-Kabani MEMBERS
4 0
Pankaj Paliwal
Tab Title Change
Avatar

Tab Title Change

Hello;

I am running CloudPortal business manager 1.4.6 in Linux Centos.

Problem:

I want to change the browser tab title to something else.

File example is attached.

Direct solution is appreciated (without work around solution).

Many thatnks

Attached Files


Tamer Al-Kabani MEMBERS
2 0
Pankaj Paliwal
CPBM traffic billing
Avatar

CPBM traffic billing

Hi All,

In CPBM we have "Network Bandwidth" as a listed product, this product tracks outgoing traffic from the VR public side interface only?


Edward Valencia MEMBERS
3 0
Pankaj Paliwal
javax.mail.MessagingException: Can't send command to SMTP host; nested exception is:
Avatar

javax.mail.MessagingException: Can't send command to SMTP host; nested exception is:

Hello,

I am not able to send mail to users for account activation etc.

The error message i get is as follows :

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Failed messages: javax.mail.MessagingException: Can't send command to SMTP host;
nested exception is:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Caused by: javax.mail.MessagingException: Can't send command to SMTP host
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

========================
End of log.

Please help .

regards

VincentS


Faustina Glory MEMBERS
1 0
Pankaj Paliwal
Image/User Issues
Avatar

Image/User Issues

Hi guys,

I installed BusinessManager 1.4.6 on one of my servers. So far everything seemed to be working fine. Now I tried to change an image of one of my product bundles. When I try this Google Chrome returns a window with null. Other browsers like safari or IE even don't show an error.

Same thing happened when I tried to register a new user.

Does anyone have an idea what I could have done wrong?

with best regards

Markus


Markus Gabriel MEMBERS
6 0
Pankaj Paliwal
cloud portal 1.4.6 not lauching cloud console
Avatar

cloud portal 1.4.6 not lauching cloud console

Hi all,
I installed cloud portal 1.4.6 and integrated it with cloud stack 3.0.6, but i cannot launch cloud console and I got this error in catalina.out

DEBUG 17 Jul 2013 17:30:33,382:[http-8080-1:DispatcherServlet][] Handler execution resulted in exception - forwarding to resolved error view: ModelAndView: reference to view with name 'errors/error'; model is {errorMessage=java.net.URISyntaxException: Illegal character in scheme name at index 4: http :///client/api?id=2&state=enabled&command=listUsers}
com.vmops.service.exceptions.CloudServiceException: java.net.URISyntaxException: Illegal character in scheme name at index 4: http :///client/api?id=2&state=enabled&command=listUsers
at com.vmops.cloud.client.impl.DefaultCloudServiceImpl.createCloudstackAdminUri(DefaultCloudServiceImpl.java:2478)
at com.vmops.cloud.client.impl.DefaultCloudServiceImpl.executeAsAdmin(DefaultCloudServiceImpl.java:1825)
at com.vmops.cloud.client.impl.DefaultCloudServiceImpl.listUsers(DefaultCloudServiceImpl.java:1179)
at com.vmops.service.impl.CloudManagementServiceImpl.verifyCloudAccount(CloudManagementServiceImpl.java:718)
at com.vmops.service.impl.CloudManagementServiceImpl.verifyAccount(CloudManagementServiceImpl.java:524)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)
at $Proxy120.verifyAccount(Unknown Source)
â¦.
Thanks
Lucas

Attached Files

  • Attached File  cpbm.png   152.02K   1 downloads

Lucas Vinturini MEMBERS
2 0
 

Top Contributors