我收到一条奇怪的错误消息
PlatformTaskDefinitionIncompatibilityException:指定的平台不满足任务定义所需的功能
我怀疑这跟这句话有关,虽然还不太确定
file_system_id = aws_efs_file_system.main.id
这是我的剧本:
provider "aws" {
region = "us-east-1"
profile = var.profile
}
### Network
# Fetch AZs in the current region
data "aws_avail
是否需要其他fargate ECS jenkins集群来处理passRole/信任关系?我们通常不会将特殊角色传递给ecs实例,并配置一个通用角色,因为所有实例都有相同的需求。
在升级jenkins,然后升级它的所有插件之后,我开始看到错误。亚马逊弹性集装箱服务插件从1.16升级到1.20。首先,我在jenkins日志中看到了添加iam:PassRole的错误。在添加它之后,我现在到达错误:
com.amazonaws.services.ecs.model.ClientException: ECS was unable to
assume the role 'arn:aws:iam:
使用websphere 8.5.5.9启动我的应用程序时出现以下错误 W com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource org/hibernate/proxy/pojo/javassist/JavassistProxyFactory$2.class in archive WEB-INF/lib/hibernate-core-5.1.0.Final.jar
这个问题与Jetty中的类似问题相同,但是我找不到关于Websphere的文献
以下是众多堆栈跟踪中的一个:
[01/03/18 10.12.14:154 CET] 000003d9 ecs W com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource module-info.class in archive WEB-INF/lib/log4j-api-2.10.0.jar
我的应用程序在运行8.5.5.5的WebSphere应用服务器8.5.5.10上出现了以下错误。
[1/2/17 17:54:20:842 IST] 0000006f ecs W com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource org/reflections/scanners/MemberUsageScanner$1.class in archive WEB-INF/lib/reflections-0.9
我无法将日志文件夹同步到容器中的s3。
我试图得到以下设置:
安装了awscli的码头集装箱
- there are logfiles and other files generated inside the container
有一个cronjob,它通过shell脚本调用"aws s3 sync“命令。
同步工作不正常,我不知道为什么不行。
我试过以下几种方法,效果很好:
在码头容器中提供访问密钥/秘密访问密钥
- this worked locally, with plain ECS and with fargate
- but it
在AWS控制台向导中,使用Fargate任务创建新的AWS ECS服务时,将失败,出现以下错误:
Failed creation of Service
Service creation failed: The specified platform does not satisfy the task definition’s required capabilities.
服务启动类型设置为FARGATE,平台版本设置为LATEST。该任务试图挂载AWS EFS文件系统,以用于持久存储(在平台1.4.0版中引入)。
我需要加入这两个查询....please帮助
SELECT P.EMAIL_ADDRESS, ECS.FST_NAME, ECS.LAST_NAME, ECS.COMPANY_NAME, UPPER(P.URL) AS URL,
ECS.COUNTRY, ECS.PER_REGION, ECS.EEA_EMAILABLE_FLG, ECS.PHONEABLE_FLG, ECS.MAILABLE_FLG--INCLUDING THESE FOR INFO ONLY, NOT REQUESTED
--CAST(P.ACTIVITYDATE AS DA