CloudPortal Business Manager 2.x

 
 
Tom O'Dowd
Connector Development - Replace connector with same version (different code)

We are developing a connector for CPBM 2.6. Our current connector version is 1.1.1. Our version under development is 1.2.0. When version 1.1.1 is installed and configured etc, I can upgrade to version 1.2.0 by simply stopping cpbm, installing the 1.2.0 connector jar, updating the version in the map file and restarting cpbm. However, if I then need to make another code change, I can't simply rewrite the 1.2.0 jar file with a new one and restart. Doing so, it seems that the old connector code is still used (ie - even though the jar is different, older code seems to be used). I don't want to keep incrementing the version numbers as we are still testing and making changes. What are the correct steps to follow to replace a connector jar file with a new version of itself. My goal is to replace the 1.2.0 jar multiple times while testing various changes without having to re-install or use different version numbers. Thanks!

3 0
Atsushi Midorikawa
Can't send email template that is "Orphaned VM Created"

I'm Atsushi Midorikawa for IIJ.

 

I can't send email template that is "Orphaned VM Created".

ROOT USER => Administration => Content Templates => Emails => Orphaned VM Created => gear icon

I tried to use "Send test mail" function, but can't send it.

However, "Send test mail" function of other email templates are available. I can send it!

My environment: CPBM 2.4.x with Patch-G

 

The cpbm error log is as below.

[2017-06-14 10:09:26.411] WARN  QueueListener-1              org.springframework.jms.listener.DefaultMessageListenerContainer  Execution of JMS message listener failed, and no ErrorHandler has been set. org.springframework.jms.listener.adapter.ListenerExecutionFailedException: Listener method 'receive' threw exception; nested exception is java.lang.IllegalArgumentException: No enum constant com.vmops.internal.service.EmailService.EmailTemplate.ORPHANED_VM_CREATED

at org.springframework.jms.listener.adapter.MessageListenerAdapter.invokeListenerMethod(MessageListenerAdapter.java:471)

at org.springframework.jms.listener.adapter.MessageListenerAdapter.onMessage(MessageListenerAdapter.java:355)

at com.citrix.cpbm.jms.listener.adapter.MessageListenerAdapter.onMessage(MessageListenerAdapter.java:59)

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(Unknown Source)

Caused by: java.lang.IllegalArgumentException: No enum constant com.vmops.internal.service.EmailService.EmailTemplate.ORPHANED_VM_CREATED

at java.lang.Enum.valueOf(Unknown Source)

at com.vmops.internal.service.EmailService$EmailTemplate.valueOf(EmailService.java:22)

at com.vmops.internal.service.impl.EmailServiceImpl.sendEmail(EmailServiceImpl.java:573)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)

at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)

at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)

at $Proxy305.sendEmail(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)

at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)

at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)

at $Proxy417.sendEmail(Unknown Source)

at com.vmops.admin.event.listeners.EventListenerJmsConsumer.receive(EventListenerJmsConsumer.java:399)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:273)

at org.springframework.jms.listener.adapter.MessageListenerAdapter.invokeListenerMethod(MessageListenerAdapter.java:463)

... 12 common frames omitted

0 0
Ingo Mohr
CPBM 2.5 - new tiered pricing model

Hi all,

Where can I find information about the new "tiered pricing model" in CPBM 2.5? I can't find anything in the admin guides. What is different to the current possible model and how can i use it?

Thank you for support in advance.

 

Best regards

 

Ingo

1 0
Ingo Mohr
Move an account to another channel possible?

Hi all,

Is it possible to move an account to another channel. E.g. move account "xyz" from channel "abc" to channel "qwert"?

Best regards

Ingo

2 0
Administrator
How to change CPBM root password?
Avatar

How to change CPBM root password?

We are trialling CPBM and installation went fine. We can login to root account using the default password. However, we get an error page when we tried to navigate to the MyProfile page. Can anyone help me with this?

 

ps . We can create new Service Provider users and their profile pages work just fine. The problem only happens with the Root account profile.

 

Much appreciated

 

J


John Yip MEMBERS 18 June 2015 - 03:03 AM
6 0
Administrator
Change Account Type
Avatar

Change Account Type

Hi,

 

is it possible to change the account type on an existing account like from Retail to Corporate? 

 

Thanks

 

René

 


Rene Krische MEMBERS 12 January 2015 - 09:29 AM
7 0
yesid Mora
Sync Channels With Price Catalog

Hello, I have a many Channels with different price, and in the general catalog have other price the products and products bundle, is possible sync channels with the price in catalog.

 


4 0
Administrator
Subscription Activation User Notification
Avatar

Subscription Activation User Notification

Hy,

 

i got a problem with the Email Notifications. When i register a new account, everything seems to work. I recive the Welcome Mail, the user activation mail, the Launch notification mail and many more. But when i buy a subscription/ bundle there comes no mail.

 

Does anybody know how can i fix this?

 

Thanks

 

Rene


Rene Krische MEMBERS 21 October 2014 - 13:34 PM
4 0
Administrator
CPBM Custom Accounttypes
Avatar

CPBM Custom Accounttypes

Hello Citrix community,

 

 

I found my next problem which I can't solve..

 

 

As described in the eDocs I added new account types to the CPBM software. I followed step two and added the required resources into custom application properties.

 

So i did it in the following files:

PortalCustomApplicationResources.properties (citrix.cpbm.custom.portal-2.3.0.jar)

CustomApplicationResources.properties (citrix.cpbm.custom.common-2.3.0.jar)

ApplicationResources.properties (portal.appresources-2.3.0.jar, here are the retail, corporate and trail defined)

 

However, there are no changes after a reboot... It's ignoring the language files (see attached image, yes I'm using the corporate icon)

 

Does anyone know, how to solve this issue?

 

 

 

Thanks

Thomas

 

 

Attached Thumbnails

  • error.png

Thomas Martinovic MEMBERS 20 October 2014 - 08:43 AM
3 0
Administrator
CPBM with LDAP
Avatar

CPBM with LDAP

Hi everyone, it's me again,

 

 
 
The following problem brings me back to you:
 
We wanted to migrate CPBM zu LDAP authentication.
 
After sorting out certificate problems, we are now fighting of not being able to add users to already recorded companies.
 
Our LDAP tree structure looks like:
 
ou=BIS-internal  (our Default Channel is called like that)
ou=AA000081   (CPBM is already able to record that @ our LDAP Server)
cn=GGans        (there the CPBM stops with an error, because it seems to us, as it couldn't recort this argument)
 
To us it seems as we have a missing scheme, which makes it impossible to us to go further steps.
 
 
In detail the errormessage @ CPBM looks like:
 
[2014-10-15 15:34:39.903] ERROR catalina-exec-11             c.c.cpbm.portal.fragment.controllers.AbstractTenantController     com.vmops.service.exceptions.LDAPException: org.springframework.ldap.InvalidAttributeValueException: [LDAP: error code 21 - objectclass: value #1 invalid per syntax]; nested exception is javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 21 - objectclass: value #1 invalid per syntax]; remaining name 'cn=GGans,ou=AA000081,ou=BIS-internal'
 
 
thanks
thomas

 


Thomas Martinovic MEMBERS 15 October 2014 - 14:57 PM
1 0
Administrator
changestate BSS-API
Avatar

changestate BSS-API

Hello,

 

I'm trying to change a state in cpbm over the bss-api, however, I'm not able to get it working.

 

Updating an account, or creating a payment works well.

 

I always receive a '401 (Unauthorized)' error with the root account, and in the /var/log/coud/portal/cpbm-server.log is a AccessDeniedException described...

 

 

This Data I'm sending:

 

URL: http://  10.225.0.61:8080/portal/api/accounts/69c37ae8-f46a-498e-a62b-fb00c5cbf90d/changestate.xml?signature=plfS9Sk9EzuRhbi0kVATGSyxKx8%3D

 

POST: _=1412855096472&apiKey=93GiESfjf2sqJcqVIKsNYH14XEBxkZZgbjQZ9ktP7mpPehoDZQZ611NpNTwG2gALTH72rNyydNOwXsNjTL3f6g&memo=test&newstate=ACTIVE&statechangecause=1

 

 

Any ideas??

 

 

Thanks a lot

Thomas
 

Attached Files


Thomas Martinovic MEMBERS 09 October 2014 - 11:56 AM
2 0
yesid Mora
Create many Subscriptions not use API
Hello, I need Create more to one Subscriptions in the portal CPBM but the option is for customers and do not like use API is possible other option?,thanks
 

 


1 0
Administrator
New Accounttypes - payment_mode
Avatar

New Accounttypes - payment_mode

Hello,

 

we have tried to add new Accounttypes in CPBM. Is there anywhere an extendet discription for every option?

 

I´ll need it for following Points:

 

- instantpay_required

- autopay_required

- extend_credit

- notional_billing

- deposit_required

 

and

 

payment_modes (i´ve found only in the eDocs, that 2 is for Credit Card Payment)

 

Thanks a lot


Rene Krische MEMBERS 24 September 2014 - 15:07 PM
4 0
yesid Mora
Table ACTIVEMQ_LOCK DB cloud_portalmq

Hello, I have a Problem with table ACTIVEMQ_LOCK, because not possible create a dump for the database cloud_portalmq, but i stop the service for Cloud-Portal the database not have problem, additionally when the service is running not possible access a information or see the data in this table, please helpme, because not possible generate backups of database


4 0
Administrator
CPBM BSS API - Payments
Avatar

CPBM BSS API - Payments

Dear everyone

 

I'm trying to create a new payment via the BSS API in CPBM. I followed the tutorial by Tariq Iqbal (Thank you for this nice tutorial!!) and reading the data works well.

 

However, when I try to create a payment, I always receive: [{"message":"User not found","code":400,"args":null}] Even via root, or via account.

 

Trying with root:

POST: /accounts/e64e403b-3341-4220-8fd8-8c8320f889a7/payments.json

DATA: _=1410854194165&apiKey=asdfDerTuasdfQGoTasdfsm3tBcYho1t-adfdjK4VMC2xgsJEKuh-r0xIasdfgfHw3asdfG6adsfjSso1yJkQ&uuid=185a0b85-67fb-4fdd-91af-9283f2e2383c&amount=200&signature=qWmYLztasdf%2BvZj5yjRasdfyXZ4%3D

 

Does the UUID in the post data mean a user uuid?

 

Trying with account:

POST: /account/payments.json

DATA: _=1410854372889&apiKey=anotherapikeyQGoTasdfsm3tBcYho1t-adfdjK4VMC2xgsJEKuh-r0xIasdfgfHw3asdfG6adsfjSso1yJkQ&amount=200&signature=qWmYLztasdf%2BvZj5yjRasdfyXZ4%3D

 

In both cases the log says:

[2014-09-16 10:01:05.272] INFO  catalina-exec-4              com.citrix.cpbm.api.security.APIAuthenticationProcessingFilter    Entering into doFilterInternal()

[2014-09-16 10:01:05.272] INFO  catalina-exec-4              com.citrix.cpbm.api.filters.ApiValidationHelper                   Entering into validateRequest()

[2014-09-16 10:01:05.576] INFO  catalina-exec-4              com.citrix.cpbm.api.security.APIAuthenticationProcessingFilter    exiting from doFilterInternal()

 

Is there a bug in the api or do I need to consider something which is not described in the edocs?

We are using the CPBM v2.3.1

 

 

Thanks!


Thomas Martinovic MEMBERS 16 September 2014 - 08:04 AM
2 0
Administrator
How to delete retire product in cpbm2.3
Avatar

How to delete retire product in cpbm2.3

Dear everyone:

                    Today,I have  retire product the product in cpbm2.3?but when the end user login the cpbm,he can  still find the retire product in the Utility Rates?I want to delete the retire product,who can help me,Thans?


wei sun MEMBERS 12 September 2014 - 02:53 AM
6 0
yesid Mora
Unpublish or delete Product Bundle Catalog

Hello Guys, please help me inform how unpublished or delete the product bundle that the Channel (catalog) specific, I need remove the bundle the one channel catalog, but need that the same bundle is publish in the other channels, thanks 

 


2 0
yesid Mora
Sync With reference catalog

Hello today have a problem when I sync the channel with catalog generate error Failed to sync the channel with the reference price book. And not possible add a new product bundle to catalog channels

 

Error Reference Number:
_________________________
1409154027159
 
Request Information:
___________________
URI: /portal/portal/channels/syncchannel
Method: POST
Authenticated User: User [Email=ymora@o4it.com, firstName=ROOT, lastName=USER, username=root]
 
Params:
______________
channelId : 7
 
Headers:
______________
host : server.2cloudnow.com
accept : text/html, */*; q=0.01
owasp_csrftoken : VFGH-2DWA-LVEV-14BH-L1N1-Q0WJ-7DKX-UCQZ
x-requested-with : XMLHttpRequest, XMLHttpRequest
user-agent : Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36
content-type : application/x-www-form-urlencoded;charset=UTF-8
accept-encoding : gzip,deflate,sdch
accept-language : en-US,en;q=0.8,es;q=0.6
cookie : JSESSIONID=63808E88A9E85E8C4DFEFB9863D267FE
x-forwarded-for : 67.107.120.34
x-forwarded-host : server.2cloudnow.com
x-forwarded-server : NAP571003037.cloudnow.local
connection : Keep-Alive
content-length : 11
 
Cookies:
______________
JSESSIONID : 63808E88A9E85E8C4DFEFB9863D267FE
 
Error details:
______________
 
java.lang.NullPointerException
        at com.vmops.service.impl.ChannelServiceImpl.syncChannel(ChannelServiceImpl.java:688)
        at sun.reflect.GeneratedMethodAccessor972.invoke(Unknown Source)
        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.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:67)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy251.syncChannel(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor972.invoke(Unknown Source)
        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.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
        at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
        at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
        at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy728.syncChannel(Unknown Source)
        at com.citrix.cpbm.portal.fragment.controllers.AbstractChannelController.syncChannel(AbstractChannelController.java:1272)
        at sun.reflect.GeneratedMethodAccessor1118.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
        at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
        at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
        at org.springframework.web.servlet.FrameworkServlet.doPost(Framework

 


2 0
yesid Mora
Create Product Bundle X Hour

Hello Please your collaboration, I need Create a Product Bundle that have charge for Hour, please send me the steps, thanks  the version CPBM is 2.2.1

 


4 0
yesid Mora
differences Entitlements to Provisioning Constraints

Hello, please your collaboration, when I create a new product bundle I select a Provisioning Constraints, but when the product is create I can add the Entitlements, what is the difference between Entitlements and Constraints, thanks 


2 0
yesid Mora
BSS API CPBM

Hello, I need use the API to CPBM, the version is 2.2.1 and I see the information 

 

http://support.citrix.com/proddocs/topic/cpbm-21-map/cpbm-21-bssapi-wrapper-con.html

http://shapeblue.com/citrix/working-with-the-citrix-cloudportal-business-manager-2-1-bss-api/

 

but not understand How  generate the signature, please help me? is necesary create a script?? or for URL generate the signature??

 

thanks 

 


3 0
yesid Mora
Account State Automatically

Hello Guys, I need your collaboration inform where can change the parameter for account.suspension.alert account.termination.alert for the portal automatic suspend or restring the account if not receive the payment the version cpbm is 2.2.1

 

 

 


4 0
Administrator
CloudPortal Business Manager cann't integrating the microsoft Active Directory
Avatar

CloudPortal Business Manager cann't integrating the microsoft Active Directory

HI,all:

       I  user the cpbm   integrating the microsoft Directory Server,but is donn't success.The log is [2014-

 

 

07-22 22:15:00.988] ERROR catalina-exec-10             com.vmops.persistence.ldap                                        error creating user in LDAP org.springframework.ldap.NameAlreadyBoundException: [LDAP: error code 68 - 00000524: UpdErr: DSID-031A1261, problem 6005 (ENTRY_EXISTS), data 0

]; nested exception is javax.naming.NameAlreadyBoundException: [LDAP: error code 68 - 00000524: UpdErr: DSID-031A1261, problem 6005 (ENTRY_EXISTS), data 0
]; remaining name 'cn=chnfuture,ou=AA000011,ou=product'
 
 
the cpbm setting is in the picture.
  
   who can help me? thanks?
 
 

 

 

Attached Thumbnails

  • 1.png
  • 2.png

wei sun MEMBERS 22 July 2014 - 14:40 PM
2 0
Administrator
Determine Tenant UUID using BSS API s
 

Determine Tenant UUID using BSS API

How do I use the BSS API to determine a tenant UUID give the name of a user for the tenant?

Donal Lafferty CITRIX EMPLOYEES 15 July 2014 - 09:28 AM
3 0
yesid Mora
Batch JOB Error

Hello, I have error in the CPBM she execute the JOB, I install service Usage in CCP and the error then he began to present the installation

 

Name: Manager 

State: Partial Error

 

Warning: No usage records collected for service instance : 8572a73a-7db1-4d66-af39-2a28ca6abe2f.[com.vmops.service.exceptions.UsageException: java.lang.NullPointerException at com.citrix.cloudstack.usage.impl.TypeConversionFilter.process(TypeConversionFilter.java:30) at com.citrix.cloudstack.service.impl.UsageCollectorImpl.collect(UsageCollectorImpl.java:112) at com.vmops.billing.job.service.impl.UsageBatchProcessImpl.processUsageBatch(UsageBatchProcessImpl.java:121) 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.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy327.processUsageBatch(Unknown Source) 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.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy498.processUsageBatch(Unknown Source) at com.vmops.admin.jobs.DailyBillingJob.run(DailyBillingJob.java:221) at com.vmops.admin.jobs.AbstractPortalJob.execute(AbstractPortalJob.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) at com.vmops.billing.job.service.impl.UsageBatchProcessImpl.processUsageBatch(UsageBatchProcessImpl.java:157) 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.invokeJoinpoi

 

 


1 0
Administrator
Calculating BSS API TimeStamp on Windows
Avatar

Calculating BSS API TimeStamp on Windows

The BSS API docs explain that REST requests need to include a timestamp.

 

The timestamp is the system clock in milliseconds.  However, the system clock in Windows uses a different epoch than Linux / Unix.

 

Do you have any advice on how to calculate the timestamp from a Windows system clock?


Donal Lafferty CITRIX EMPLOYEES 18 June 2014 - 16:18 PM
2 0
Administrator
Unable to provision VM - primary storage limit exceeded
Avatar

Unable to provision VM - primary storage limit exceeded

For a specific account in CPBM, provisioning a VM fails with an error and the cpbm-server.log shows this message:
"Maximum number of resources of type 'primary_storage' for account name=corp1 in domain id=174 has been exceeded."
But checking the service control limits in CPBM for the account show primary storage count as -1 (for both user and account), which I believe is unlimited. Likewise the service control primary storage limit for the account type is also -1.
 
So why does it think the primary storage limit has been exceeded and where else should I look?
 
Log extract:
 
[2014-06-18 03:27:38.149] INFO  catalina-exec-14             com.vmops.event.listeners.EventListenerJmsProducer                Sending event com.vmops.event.SubscriptionCreation source = Subscription [createdAt=2014-06-18, derivedFrom=null, id=5294, productBundle=173, state=NEW, terminationDate=null, vmId=null]
[2014-06-18 03:27:38.161] INFO  catalina-exec-14             com.vmops.event.listeners.EventListenerJmsProducer                Sending event com.citrix.cpbm.core.workflow.event.TriggerTransaction source = BusinessTransaction [id=560, uuid=340989ab-d873-4726-8dbf-530f36bd7f99, workflowId=null, startDate=Wed Jun 18 03:27:38 COT 2014, endDate=null, state=NEW, scope=USER, tenant=Tenant [accountId=AA002545, name=Corp1name], memo=null] :SubscriptionStateChangeTransaction [subscriptionId=5294, subscriptionIntialState=NEW, subscriptionTargetState=ACTIVE]
[2014-06-18 03:27:38.172] INFO  catalina-exec-14             com.vmops.web.listeners.RequestHandledListener                    Request handled: success... flushing events generated , UserName: root
[2014-06-18 03:27:38.395] INFO  QueueListener-2              com.vmops.admin.event.listeners.EventListenerJmsConsumer          received workflowevent with payloadTriggerTransaction [businessTransactionId=560]
[2014-06-18 03:27:38.945] INFO  QueueListener-2              com.citrix.cpbm.workflow.resolver.impl.WorkflowResolverImpl       Incoming request to resolve WFD for the type : class com.citrix.cpbm.core.workflow.model.SubscriptionActivationTransaction
[2014-06-18 03:27:38.948] INFO  QueueListener-2              c.c.cpbm.workflow.service.impl.BusinessTransactionServiceImpl     #Entered here to complete the transaction : 560 of workflow : null
[2014-06-18 03:27:38.949] INFO  QueueListener-2              com.vmops.internal.service.impl.SubscriptionServiceImpl           ###SPI Calling SubscriptionLifecycleHandler().provision(subscription) for instance:0e4f8f06-a203-11e3-98cc-fe8608d78b16 subscription:db8bc58d-9f14-4b39-821e-3345e1d4a732
[2014-06-18 03:27:39.602] WARN  QueueListener-2              c.c.cpbm.workflow.service.impl.BusinessTransactionServiceImpl     Got Exception while provisioning a resource : com.vmops.service.exceptions.CloudServiceException: Error (535) during launch VM: Maximum number of resources of type 'primary_storage' for account name=corp1 in domain id=174 has been exceeded.
 

Thanks 

Tariq


TARIQ IQBAL MEMBERS 18 June 2014 - 09:14 AM
1 0
Administrator
Master user unable to add simple user
Avatar

Master user unable to add simple user

When i logged with a master user and try to create a account, there is a bug screen.

I can write informations for username,Email, and first name is impossible because there are no scroll bar or anything to click and next.

 

Have you ever seen this before ?

 

Regards

 

Jérôme


Jérôme Meur MEMBERS 05 June 2014 - 15:21 PM
1 0
Administrator
Create a Win 2012 Template wizard.. No OS template , only ISO template
Avatar

Create a Win 2012 Template wizard.. No OS template , only ISO template

In CPBM, under IAAS bundle,  when I want to create a template using the bundle wizard, I choose in the following settings:

Category: Software OS 

Product Details: Running VM

Madiation Rules: In this page, I should choose the OS template that I create in a previous step in CloudPlatform.

... and here the issue... what  I get  as options are the ISO templates and not the OS templates. I attach some screen from CloudPlatform and CPBM

 

How can I troubleshoot this ?

Many thanks for any hint

Attached Thumbnails

  • ISOtemplates-CP.png
  • OS templates-CP.png
  • CPBM-Dropdown.png

Javier Galvez MEMBERS 26 May 2014 - 06:41 AM
2 0
yesid Mora
Profile CPBM

Hello, I have a CPBM 2.2.0 integrate with CCP 4.2.1, I need profile that permit administrate the VM exist in the account but not permite create, change or delete the VM or the other parameter in the account (example acquire IP public create network), I test with the profile "User" but this profile permit create the VM's or change the parameters. exist this profile or  option ? 

 


2 0

Top Contributors