在运行boot.sh命令时,我有以下错误消息列表。最后,我看到了这条信息。
**************************************************************
Management Console : https://something.private.paas:9443/console
**************************************************************
boot.sh: WSO2 Private PaaS installation completed successfully!但是,我甚至无法登录到控制台。如何避免错误消息并获得成功安装?
注意,在运行boot.sh时,我会得到一个Enter EC2 credentials :提示,我认为它是AWS密钥(因为要键入的字段是一个密码字段)。但是,文档这里指的是输入访问密钥和秘密密钥。这会是一个原因吗?
Deploying partition at /home/ubuntu/private-paas/resources/json/ec2/partition.json
{"Error":{ "errorCode": " 400", "errorMessage": " Invalid Partition Detected : P1. Cause: POST https://ec2.us-east-1.amazonaws.com/ HTTP/1.1 -> HTTP/1.1 401 Unauthorized"}}Deploying autoscale policy at /home/ubuntu/private-paas/resources/json/ec2/autoscale-policy.json
{"stratosAdminResponse":{"message":"Successfully deployed autoscaling policy definition with id economy"}}Deploying deployment policy at /home/ubuntu/private-paas/resources/json/ec2/deployment-policy.json
{"Error":{ "errorCode": " 400", "errorMessage": " Deployment policy is invalid: [id] deployp"}}Deploying deployment policy at /home/ubuntu/private-paas/resources/json/ec2/deployment-flat.json
{"Error":{ "errorCode": " 400", "errorMessage": " Deployment policy is invalid: [id] deployf"}}Deploying LB cartridge at /home/ubuntu/private-paas/resources/json/ec2/lb-cart.json
{"Error":{ "errorCode": " 400", "errorMessage": " Unable to build the jclouds object for iaas of type: ec2"}}Deploying Aplication Server (AS) Manager cartridge at /home/ubuntu/private-paas/resources/json/ec2/appserver-cart-mgt.json
{"Error":{ "errorCode": " 400", "errorMessage": " Unable to build the jclouds object for iaas of type: ec2"}}Deploying Application Service Manager service
{"Error":{ "errorCode": " 400", "errorMessage": " Failed to deploy the Service [Cartridge type] appservermgt [alias] f579b9c2-7315-4c2b-ab04-9f6cc4c101a3 . Cause: appservermgt is not a valid cartridgeSubscription type. Please try again with a valid cartridgeSubscription type."}}Deploying Aplication Server (AS) Worker cartridge at /home/ubuntu/private-paas/resources/json/ec2/appserver-cart-worker.json
{"Error":{ "errorCode": " 400", "errorMessage": " Unable to build the jclouds object for iaas of type: ec2"}}Deploying Application Service Worker service
{"Error":{ "errorCode": " 400", "errorMessage": " Failed to deploy the Service [Cartridge type] appserverworker [alias] 42174455-c01f-4b2a-a9ae-d40694768697 . Cause: appserverworker is not a valid cartridgeSubscription type. Please try again with a valid cartridgeSubscription type."}}Deploying API Manager (AM) - Gateway cartridge at /home/ubuntu/private-paas/resources/json/ec2/gateway.json
{"Error":{ "errorCode": " 400", "errorMessage": " Unable to build the jclouds object for iaas of type: ec2"}}Deploying API Manager - Gateway service
{"Error":{ "errorCode": " 400", "errorMessage": " Failed to deploy the Service [Cartridge type] gateway [alias] f55ef728-405e-44de-8dac-6990fe65983c . Cause: gateway is not a valid cartridgeSubscription type. Please try again with a valid cartridgeSubscription type."}}Deploying API Manager (AM) - Gateway manager cartridge at /home/ubuntu/private-paas/resources/json/ec2/gatewaymgt.json
{"Error":{ "errorCode": " 400", "errorMessage": " Unable to build the jclouds object for iaas of type: ec2"}}Deploying API Manager - Gateway manager service
{"Error":{ "errorCode": " 400", "errorMessage": " Failed to deploy the Service [Cartridge type] gatewaymgt [alias] 08381456-b720-4280-8904-1a8fa294901b . Cause: gatewaymgt is not a valid cartridgeSubscription type. Please try again with a valid cartridgeSubscription type."}}Deploying API Manager (AM) - Keymanager cartridge at /home/ubuntu/private-paas/resources/json/ec2/keymanager.json
{"Error":{ "errorCode": " 400", "errorMessage": " Unable to build the jclouds object for iaas of type: ec2"}}Deploying API Manager (AM) - Keymanager service
{"Error":{ "errorCode": " 400", "errorMessage": " Failed to deploy the Service [Cartridge type] keymanager [alias] 93e67ddb-86f2-416b-8feb-b1a4e4bc6d82 . Cause: keymanager is not a valid cartridgeSubscription type. Please try again with a valid cartridgeSubscription type."}}Deploying API Manager (AM) - Publisher cartridge at /home/ubuntu/private-paas/resources/json/ec2/publisher.json
{"Error":{ "errorCode": " 400", "errorMessage": " Unable to build the jclouds object for iaas of type: ec2"}}Deploying API Manager (AM) - Publisher service
{"Error":{ "errorCode": " 400", "errorMessage": " Failed to deploy the Service [Cartridge type] publisher [alias] 95de5e64-7169-49d1-a4d8-c582980c0d38 . Cause: publisher is not a valid cartridgeSubscription type. Please try again with a valid cartridgeSubscription type."}}Deploying API Manager (AM) - Store cartridge at /home/ubuntu/private-paas/resources/json/ec2/store.json
{"Error":{ "errorCode": " 400", "errorMessage": " Unable to build the jclouds object for iaas of type: ec2"}}Deploying API Manager (AM) - Store service
{"Error":{ "errorCode": " 400", "errorMessage": " Failed to deploy the Service [Cartridge type] apistore [alias] 2a46279f-8ffa-4ab0-88df-28591053e9f6 . Cause: apistore is not a valid cartridgeSubscription type. Please try again with a valid cartridgeSubscription type."}}Deploying Enterprise Service Bus (ESB) Manager cartridge at /home/ubuntu/private-paas/resources/json/ec2/esb-cart-mgt.json
{"Error":{ "errorCode": " 400", "errorMessage": " Unable to build the jclouds object for iaas of type: ec2"}}Deploying Enterprise Service Bus (ESB) Manager service
{"Error":{ "errorCode": " 400", "errorMessage": " Failed to deploy the Service [Cartridge type] esbmgt [alias] 63e7e8c0-04f5-4486-af48-b171f1e52688 . Cause: esbmgt is not a valid cartridgeSubscription type. Please try again with a valid cartridgeSubscription type."}}Deploying Enterprise Service Bus (ESB) Worker cartridge at /home/ubuntu/private-paas/resources/json/ec2/esb-cart-worker.json
{"Error":{ "errorCode": " 400", "errorMessage": " Unable to build the jclouds object for iaas of type: ec2"}}Deploying Enterprise Service Bus (ESB) Worker service
{"Error":{ "errorCode": " 400", "errorMessage": " Failed to deploy the Service [Cartridge type] esbworker [alias] d940f54c-98fc-4c21-aafa-b31488b9616d . Cause: esbworker is not a valid cartridgeSubscription type. Please try again with a valid cartridgeSubscription type."}}Deploying Business Process Server (BPS) Manager cartridge at /home/ubuntu/private-paas/resources/json/ec2/bps-cart-mgt.json
{"Error":{ "errorCode": " 400", "errorMessage": " Unable to build the jclouds object for iaas of type: ec2"}}Deploying Business Process Server (BPS) Manager service
{"Error":{ "errorCode": " 400", "errorMessage": " Failed to deploy the Service [Cartridge type] bpsmgt [alias] 779291a8-a4f2-4ef7-9815-43675749a881 . Cause: bpsmgt is not a valid cartridgeSubscription type. Please try again with a valid cartridgeSubscription type."}}Deploying Business Process Server (BPS) Worker cartridge at /home/ubuntu/private-paas/resources/json/ec2/bps-cart-worker.json
{"Error":{ "errorCode": " 400", "errorMessage": " Unable to build the jclouds object for iaas of type: ec2"}}Deploying Business Process Server (BPS) Worker service
{"Error":{ "errorCode": " 400", "errorMessage": " Failed to deploy the Service [Cartridge type] bpsworker [alias] 4aa5efa2-5b63-49aa-ada5-765bbf409a9d . Cause: bpsworker is not a valid cartridgeSubscription type. Please try again with a valid cartridgeSubscription type."}}
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "agent.py", line 33, in getLBIp
lb_ip=cluster['cluster'][0]['member'][0]['memberPublicIp']
IndexError: list index out of range发布于 2015-07-18 13:24:56
WSO2 P.PaaS安装过程中的几件事。
安装期间使用的用户ID应该具有完全的管理权限,因为它将调用某些AWS命令。请参阅这里
conf.sh文件夹中的private-paas文件应该类似于IaaS部分。
export iaas="ec2"
export region="ap-southeast-1"
export cartridge_base_img_id="ami-e6bd9eb4"EC2部分也是这样。
export ec2_vpc="this-was-y-for-me"
export ec2_identity="AWS ACCESS KEY"
export ec2_credentials="AWS SECRET KEY"
export ec2_owner_id="num-owner-id"
export ec2_keypair_name="as-applicable-to-you"
export ec2_security_groups="as-applicable-to-you"
export ec2_availability_zone="ap-southeast-1a"
export ec2_security_group_ids="as-applicable-to-you"
export ec2_subnet_id="as-applicable-to-you"
export ec2_associate_public_ip_address="as-applicable-to-you"通过在命令行aws ec2 describe-instances上运行该命令行,可以获得上面列出的“作为适用的-to-you”。请参阅这里以了解如何安装和使用AWS EC2 CLI。
ec2_availability_zone设置为ap-southeast-1a,因为基本图像位于亚太地区。这与region部分中的IaaS设置同步。参见这里 for EC2 AMIs for P.PaaS。
https://stackoverflow.com/questions/31471179
复制相似问题