커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
aws create myweb 오류
undefined주차
북마크
신*서
댓글
10
추천
0
조회수
65
조회수
65
답변 완료

* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.

* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.


삭제하고 다시 해보기도 하고 여러번 해봤지만 여전히 안돼요..

웹페이지 생성이 안됩니다.

처음엔 환경에서 pending 만 계속 뜨다가 이제는 severe가 떠요.

액세스 삭제도 해봤다가 다시 생성도 하고, 환경에서 삭제했다 다시 강의보고 처음부터 시작해도 계속 오류가 나요.


터미널에서는

$ eb create myweb

Creating application version archive "app-230121_021913712641".

Uploading deploy/app-230121_021913712641.zip to S3. This may take a while.

Upload Complete.

Environment details for: myweb

 Application name: deploy

 Region: ap-northeast-2

 Deployed Version: app-230121_021913712641

 Environment ID: e-bb8ad32p3m

 Platform: arn:aws:elasticbeanstalk:ap-northeast-2::platform/Python 3.8 running on 64bit Amazon Linux 2/3.4.3

 Tier: WebServer-Standard-1.0

 CNAME: UNKNOWN

 Updated: 2023-01-20 17:19:17.035000+00:00

Printing Status:

2023-01-20 17:19:15  INFO  createEnvironment is starting.

2023-01-20 17:19:17  INFO  Using elasticbeanstalk-ap-northeast-2-569489387446 as Amazon S3 storage bucket for environment data.

2023-01-20 17:19:37  INFO  Created security group named: sg-06cfcc8728e5bfd82

2023-01-20 17:19:53  INFO  Created load balancer named: awseb-e-b-AWSEBLoa-1KGMYMLFT259X

2023-01-20 17:19:53  INFO  Created security group named: awseb-e-bb8ad32p3m-stack-AWSEBSecurityGroup-1MNCCI8OY9LLN

2023-01-20 17:19:53  INFO  Created Auto Scaling launch configuration named: awseb-e-bb8ad32p3m-stack-AWSEBAutoScalingLaunchConfiguration-yAyzc1Xn9HCk

2023-01-20 17:20:58  INFO  Created Auto Scaling group named: awseb-e-bb8ad32p3m-stack-AWSEBAutoScalingGroup-12PCSX3I979C9

2023-01-20 17:20:58  INFO  Waiting for EC2 instances to launch. This may take a few minutes.

2023-01-20 17:20:58  INFO  Created Auto Scaling group policy named: arn:aws:autoscaling:ap-northeast-2:569489387446:scalingPolicy:d7749968-0cd6-4ae6-97f6-e093d5b74245:autoScalingGroupName/awseb-e-bb8ad32p3m-stack-AWSEBAutoScalingGroup-12PCSX3I979C9:policyName/awseb-e-bb8ad32p3m-stack-AWSEBAutoScalingScaleDownPolicy-wGERGE9RaPpu

2023-01-20 17:20:58  INFO  Created Auto Scaling group policy named: arn:aws:autoscaling:ap-northeast-2:569489387446:scalingPolicy:3e1dab9a-8ace-4b8c-8b1f-6e572d1d8833:autoScalingGroupName/awseb-e-bb8ad32p3m-stack-AWSEBAutoScalingGroup-12PCSX3I979C9:policyName/awseb-e-bb8ad32p3m-stack-AWSEBAutoScalingScaleUpPolicy-m149Oa8AhcNt

2023-01-20 17:21:13  INFO  Created CloudWatch alarm named: awseb-e-bb8ad32p3m-stack-AWSEBCloudwatchAlarmLow-1KLI01O728MCG

2023-01-20 17:21:13  INFO  Created CloudWatch alarm named: awseb-e-bb8ad32p3m-stack-AWSEBCloudwatchAlarmHigh-MDZMPX4Z4K53

2023-01-20 17:21:23  ERROR  Instance deployment failed to install application dependencies. The deployment failed.

2023-01-20 17:21:23  ERROR  Instance deployment failed. For details, see 'eb-engine.log'.

2023-01-20 17:21:24  ERROR  [Instance: i-0f768ae869fc089a7] Command failed on instance. Return code: 1 Output: Engine execution has encountered an error..

2023-01-20 17:21:25  INFO  Command execution completed on all instances. Summary: [Successful: 0, Failed: 1].

2023-01-20 17:22:27  ERROR  Create environment operation is complete, but with errors. For more information, see troubleshooting documentation.


ERROR: ServiceError - Create environment operation is complete, but with errors. For more information, see troubleshooting documentation.

(venv) 

yss17@DESKTOP-ADHQ5F3 MINGW64 ~/Desktop/스파르타 웹개발/projects/05.fan/deploy

$


이런 오류가 뜨고요.


여러번 따라해봤지만 다 오류가 나고 강의를 다시 보는데 application.py 2번째 줄 application = app = Flask(__name__)에서 강사님은 application이 파란색인데, 저는 그냥 일반 흰색이에요.

색이 다른것에 이유가 있을까요?



다른 즉문즉답에 로그를 올려보라는 답변이 있어서 eb-engine.log 의 로그도 올려요.

2023/01/20 17:28:37.338490 [INFO] Starting...

2023/01/20 17:28:37.338539 [INFO] Starting EBPlatform-PlatformEngine

2023/01/20 17:28:37.338604 [INFO] reading event message file

2023/01/20 17:28:37.338759 [INFO] Engine received EB command userdata-exec


2023/01/20 17:28:37.397577 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:ap-northeast-2:569489387446:stack/awseb-e-bb8ad32p3m-stack/b2d7d530-98e7-11ed-acd8-06ae2a026810 -r AWSEBAutoScalingGroup --region ap-northeast-2

2023/01/20 17:28:38.144566 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:ap-northeast-2:569489387446:stack/awseb-e-bb8ad32p3m-stack/b2d7d530-98e7-11ed-acd8-06ae2a026810 -r AWSEBBeanstalkMetadata --region ap-northeast-2

2023/01/20 17:28:39.096524 [INFO] This is a workflow controlled instance.

2023/01/20 17:28:39.096613 [INFO] Engine command: (env-launch)


2023/01/20 17:28:39.097324 [INFO] Executing instruction: SyncClock

2023/01/20 17:28:39.097331 [INFO] Starting SyncClock

2023/01/20 17:28:39.097344 [INFO] Running command /bin/sh -c /usr/bin/chronyc tracking

2023/01/20 17:28:39.165387 [INFO] Reference ID  : A9FEA97B (169.254.169.123)

Stratum     : 4

Ref time (UTC) : Fri Jan 20 17:28:37 2023

System time   : 0.044009991 seconds slow of NTP time

Last offset   : +0.000214806 seconds

RMS offset   : 0.000214806 seconds

Frequency    : 3.373 ppm slow

Residual freq  : +47.989 ppm

Skew      : 1.316 ppm

Root delay   : 0.001690213 seconds

Root dispersion : 0.000427216 seconds

Update interval : 2.0 seconds

Leap status   : Normal


2023/01/20 17:28:39.165416 [INFO] Running command /bin/sh -c /usr/bin/chronyc -a makestep

2023/01/20 17:28:39.212118 [INFO] 200 OK


2023/01/20 17:28:39.217308 [INFO] Skipping Configure OS

2023/01/20 17:28:39.217323 [INFO] Skipping LockGUID

2023/01/20 17:28:39.217330 [INFO] Skipping GenerateEBBanner

2023/01/20 17:28:39.217336 [INFO] Skipping Install Process Manager

2023/01/20 17:28:39.217342 [INFO] Skipping install proxy

2023/01/20 17:28:39.217348 [INFO] Skipping installhealthd

2023/01/20 17:28:39.217354 [INFO] Skipping Install Log Streaming Manager

2023/01/20 17:28:39.217361 [INFO] Skipping install X-Ray

2023/01/20 17:28:39.217377 [INFO] Skipping install Third Party License

2023/01/20 17:28:39.217383 [INFO] Skipping install httpd

2023/01/20 17:28:39.217391 [INFO] Instance has NOT been bootstrapped

2023/01/20 17:28:39.217396 [INFO] Executing instruction: installSqsd

2023/01/20 17:28:39.217401 [INFO] This is a web server environment instance, skip install sqsd daemon ...

2023/01/20 17:28:39.217407 [INFO] Instance has NOT been bootstrapped

2023/01/20 17:28:39.217412 [INFO] Executing instruction: bootstraphealthd

2023/01/20 17:28:39.217416 [INFO] this is an enhanced health env ...

2023/01/20 17:28:39.217433 [INFO] bootstrap healthd....

2023/01/20 17:28:39.217448 [INFO] Running command /bin/sh -c /usr/bin/id -u healthd || /usr/sbin/useradd --user-group healthd -s /sbin/nologin --create-home

2023/01/20 17:28:39.417356 [INFO] /usr/bin/id: healthd: no such user


2023/01/20 17:28:39.417981 [INFO] bootstrap healthd....

2023/01/20 17:28:39.417999 [INFO] Running command /bin/sh -c /usr/bin/id -u healthd || /usr/sbin/useradd --user-group healthd -s /sbin/nologin --create-home

2023/01/20 17:28:39.426091 [INFO] 1001


2023/01/20 17:28:39.426283 [INFO] configure bundle log for healthd...

2023/01/20 17:28:39.426327 [INFO] Executing instruction: GetSetupProxyLog

2023/01/20 17:28:39.426389 [INFO] Skipping Install yum packages

2023/01/20 17:28:39.426396 [INFO] Skipping Install Python Modules

2023/01/20 17:28:39.426402 [INFO] Skipping MarkBaked

2023/01/20 17:28:39.426409 [INFO] Instance has NOT been bootstrapped

2023/01/20 17:28:39.426413 [INFO] Executing instruction: TuneSystemSettings

2023/01/20 17:28:39.426417 [INFO] Starting TuneSystemSettings

2023/01/20 17:28:39.426422 [INFO] Instance has NOT been bootstrapped

2023/01/20 17:28:39.432550 [INFO] Executing instruction: GetSetupLogRotate

2023/01/20 17:28:39.432557 [INFO] Initialize LogRotate files and directories

2023/01/20 17:28:39.521194 [INFO] Instance has NOT been bootstrapped

2023/01/20 17:28:39.521210 [INFO] Executing instruction: BootstrapCFNHup

2023/01/20 17:28:39.521215 [INFO] Bootstrap cfn-hup

2023/01/20 17:28:39.531561 [INFO] Copying file /opt/elasticbeanstalk/config/private/aws-eb-command-handler.conf to /etc/cfn/hooks.d/aws-eb-command-handler.conf

2023/01/20 17:28:39.541221 [INFO] Executing instruction: StartCFNHup

2023/01/20 17:28:39.541235 [INFO] Start cfn-hup

2023/01/20 17:28:39.541255 [INFO] Running command /bin/sh -c systemctl is-active cfn-hup.service

2023/01/20 17:28:39.551275 [INFO] Running command /bin/sh -c systemctl is-active cfn-hup.service

2023/01/20 17:28:39.559475 [INFO] Running command /bin/sh -c systemctl show -p PartOf cfn-hup.service

2023/01/20 17:28:39.590970 [INFO] Running command /bin/sh -c systemctl daemon-reload

2023/01/20 17:28:39.757422 [INFO] Running command /bin/sh -c systemctl reset-failed

2023/01/20 17:28:39.767122 [INFO] Running command /bin/sh -c systemctl is-enabled aws-eb.target

2023/01/20 17:28:39.776689 [INFO] Running command /bin/sh -c systemctl enable aws-eb.target

2023/01/20 17:28:39.929377 [INFO] Running command /bin/sh -c systemctl start aws-eb.target

2023/01/20 17:28:39.941264 [INFO] Running command /bin/sh -c systemctl enable cfn-hup.service

2023/01/20 17:28:40.109266 [INFO] Created symlink from /etc/systemd/system/multi-user.target.wants/cfn-hup.service to /etc/systemd/system/cfn-hup.service.


2023/01/20 17:28:40.109298 [INFO] Running command /bin/sh -c systemctl show -p PartOf cfn-hup.service

2023/01/20 17:28:40.121708 [INFO] Running command /bin/sh -c systemctl is-active cfn-hup.service

2023/01/20 17:28:40.133979 [INFO] Running command /bin/sh -c systemctl start cfn-hup.service

2023/01/20 17:28:40.212393 [INFO] Instance has NOT been bootstrapped

2023/01/20 17:28:40.212408 [INFO] Executing instruction: SetupPublishLogCronjob

2023/01/20 17:28:40.212413 [INFO] Setup publish logs cron job...

2023/01/20 17:28:40.212419 [INFO] Copying file /opt/elasticbeanstalk/config/private/logtasks/cron/publishlogs to /etc/cron.d/publishlogs

2023/01/20 17:28:40.214277 [INFO] Instance has NOT been bootstrapped

2023/01/20 17:28:40.214295 [INFO] Executing instruction: MarkBootstrapped

2023/01/20 17:28:40.214299 [INFO] Starting MarkBootstrapped

2023/01/20 17:28:40.214305 [INFO] Instance has NOT been bootstrapped

2023/01/20 17:28:40.214369 [INFO] Marked instance as Bootstrapped

2023/01/20 17:28:40.214375 [INFO] Executing instruction: Save CFN Stack Info

2023/01/20 17:28:40.214413 [INFO] Starting SwitchCFNStack

2023/01/20 17:28:40.214418 [INFO] Executing cleanup logic

2023/01/20 17:28:40.214429 [INFO] Platform Engine finished execution on command: env-launch


2023/01/20 17:30:05.369436 [INFO] Starting...

2023/01/20 17:30:05.369478 [INFO] Starting EBPlatform-PlatformEngine

2023/01/20 17:30:05.369496 [INFO] reading event message file

2023/01/20 17:30:05.369630 [INFO] Engine received EB command cfn-hup-exec


2023/01/20 17:30:05.560223 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:ap-northeast-2:569489387446:stack/awseb-e-bb8ad32p3m-stack/b2d7d530-98e7-11ed-acd8-06ae2a026810 -r AWSEBAutoScalingGroup --region ap-northeast-2

2023/01/20 17:30:05.890547 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:ap-northeast-2:569489387446:stack/awseb-e-bb8ad32p3m-stack/b2d7d530-98e7-11ed-acd8-06ae2a026810 -r AWSEBBeanstalkMetadata --region ap-northeast-2

2023/01/20 17:30:06.242598 [INFO] checking whether command app-deploy is applicable to this instance...

2023/01/20 17:30:06.242613 [INFO] this command is applicable to the instance, thus instance should execute command

2023/01/20 17:30:06.242617 [INFO] Engine command: (app-deploy)


2023/01/20 17:30:06.242623 [INFO] Downloading EB Application...

2023/01/20 17:30:06.242627 [INFO] Region: ap-northeast-2

2023/01/20 17:30:06.242631 [INFO] envID: e-bb8ad32p3m

2023/01/20 17:30:06.242634 [INFO] envBucket: elasticbeanstalk-ap-northeast-2-569489387446

2023/01/20 17:30:06.242639 [INFO] Using manifest file name from command request

2023/01/20 17:30:06.242650 [INFO] Unable to get version manifest file.

2023/01/20 17:30:06.242653 [INFO] Downloading latest manifest available.

2023/01/20 17:30:06.242657 [INFO] Download latest app version manifest

2023/01/20 17:30:06.242736 [INFO] resources/environments/e-bb8ad32p3m/_runtime/versions/manifest

2023/01/20 17:30:06.288659 [INFO] latestManifest key *: resources/environments/e-bb8ad32p3m/_runtime/versions/manifest_1674235161134


2023/01/20 17:30:06.288845 [INFO] Downloading: bucket: elasticbeanstalk-ap-northeast-2-569489387446, object: /resources/environments/e-bb8ad32p3m/_runtime/versions/manifest_1674235161134

2023/01/20 17:30:06.308066 [INFO] Download successful139bytes downloaded

2023/01/20 17:30:06.308187 [INFO] Trying to read and parse version manifest...

2023/01/20 17:30:06.308269 [INFO] Downloading: bucket: elasticbeanstalk-ap-northeast-2-569489387446, object: /resources/environments/e-bb8ad32p3m/_runtime/_versions/deploy/app-230121_021913712641

2023/01/20 17:30:06.321133 [INFO] Download successful3297bytes downloaded

2023/01/20 17:30:06.321414 [INFO] Executing instruction: ElectLeader

2023/01/20 17:30:06.321442 [INFO] Running leader election for instance i-085db63861ba339e2...

2023/01/20 17:30:06.321447 [INFO] Calling the cfn-elect-cmd-leader to elect the command leader.

2023/01/20 17:30:06.321462 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-elect-cmd-leader --stack arn:aws:cloudformation:ap-northeast-2:569489387446:stack/awseb-e-bb8ad32p3m-stack/b2d7d530-98e7-11ed-acd8-06ae2a026810 --command-name ElasticBeanstalkCommand-AWSEBAutoScalingGroup --invocation-id 9a969dfa-e149-4f57-a15c-05301fbbd9cc --listener-id i-085db63861ba339e2 --region ap-northeast-2

2023/01/20 17:30:06.649375 [INFO] Instance is Leader.

2023/01/20 17:30:06.649426 [INFO] Executing instruction: stopSqsd

2023/01/20 17:30:06.649432 [INFO] This is a web server environment instance, skip stop sqsd daemon ...

2023/01/20 17:30:06.649437 [INFO] Executing instruction: PreBuildEbExtension

2023/01/20 17:30:06.649441 [INFO] Starting executing the config set Infra-EmbeddedPreBuild.

2023/01/20 17:30:06.649456 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-init -s arn:aws:cloudformation:ap-northeast-2:569489387446:stack/awseb-e-bb8ad32p3m-stack/b2d7d530-98e7-11ed-acd8-06ae2a026810 -r AWSEBAutoScalingGroup --region ap-northeast-2 --configsets Infra-EmbeddedPreBuild

2023/01/20 17:30:07.014465 [INFO] Finished executing the config set Infra-EmbeddedPreBuild.


2023/01/20 17:30:07.014488 [INFO] Executing instruction: StageApplication

2023/01/20 17:30:07.016215 [INFO] extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/

2023/01/20 17:30:07.016231 [INFO] Running command /bin/sh -c /usr/bin/unzip -q -o /opt/elasticbeanstalk/deployment/app_source_bundle -d /var/app/staging/

2023/01/20 17:30:07.020468 [INFO] finished extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/ successfully

2023/01/20 17:30:07.020936 [INFO] Executing instruction: RunAppDeployPreBuildHooks

2023/01/20 17:30:07.020978 [INFO] Executing platform hooks in .platform/hooks/prebuild/

2023/01/20 17:30:07.020996 [INFO] The dir .platform/hooks/prebuild/ does not exist

2023/01/20 17:30:07.021001 [INFO] Finished running scripts in /var/app/staging/.platform/hooks/prebuild

2023/01/20 17:30:07.021007 [INFO] Executing instruction: InstallDependency

2023/01/20 17:30:07.021014 [INFO] checking dependencies file

2023/01/20 17:30:07.021021 [INFO] Installing dependencies with requirements.txt by using Pip

2023/01/20 17:30:07.021029 [INFO] Running command /bin/sh -c /var/app/venv/staging-LQM1lest/bin/pip install -r requirements.txt

2023/01/20 17:30:13.575561 [INFO] Collecting awsebcli==3.20.3

 Downloading awsebcli-3.20.3.tar.gz (259 kB)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 259.2/259.2 kB 20.5 MB/s eta 0:00:00

 Preparing metadata (setup.py): started

 Preparing metadata (setup.py): finished with status 'done'

Collecting botocore==1.23.54

 Downloading botocore-1.23.54-py3-none-any.whl (8.5 MB)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.5/8.5 MB 67.4 MB/s eta 0:00:00

Collecting cement==2.8.2

 Downloading cement-2.8.2.tar.gz (165 kB)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 165.8/165.8 kB 34.9 MB/s eta 0:00:00

 Preparing metadata (setup.py): started

 Preparing metadata (setup.py): finished with status 'done'

Collecting certifi==2022.12.7

 Using cached certifi-2022.12.7-py3-none-any.whl (155 kB)

Collecting charset-normalizer==2.0.12

 Downloading charset_normalizer-2.0.12-py3-none-any.whl (39 kB)

Collecting click==8.1.3

 Downloading click-8.1.3-py3-none-any.whl (96 kB)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 23.0 MB/s eta 0:00:00

Collecting colorama==0.4.3

 Downloading colorama-0.4.3-py2.py3-none-any.whl (15 kB)

Collecting dnspython==2.3.0

 Downloading dnspython-2.3.0-py3-none-any.whl (283 kB)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 283.7/283.7 kB 46.0 MB/s eta 0:00:00

Collecting Flask==2.2.2

 Downloading Flask-2.2.2-py3-none-any.whl (101 kB)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.5/101.5 kB 22.8 MB/s eta 0:00:00

Collecting future==0.16.0

 Downloading future-0.16.0.tar.gz (824 kB)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 824.5/824.5 kB 53.5 MB/s eta 0:00:00

 Preparing metadata (setup.py): started

 Preparing metadata (setup.py): finished with status 'done'

Collecting idna==3.4

 Downloading idna-3.4-py3-none-any.whl (61 kB)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 14.5 MB/s eta 0:00:00

Collecting importlib-metadata==6.0.0

 Downloading importlib_metadata-6.0.0-py3-none-any.whl (21 kB)

Collecting itsdangerous==2.1.2

 Downloading itsdangerous-2.1.2-py3-none-any.whl (15 kB)

Collecting Jinja2==3.1.2

 Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 24.8 MB/s eta 0:00:00

Collecting jmespath==0.10.0

 Downloading jmespath-0.10.0-py2.py3-none-any.whl (24 kB)

Collecting MarkupSafe==2.1.2

 Downloading MarkupSafe-2.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)

Collecting pathspec==0.9.0

 Downloading pathspec-0.9.0-py2.py3-none-any.whl (31 kB)

Collecting pymongo==4.3.3

 Downloading pymongo-4.3.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (501 kB)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 501.4/501.4 kB 49.2 MB/s eta 0:00:00

Collecting pypiwin32==223

 Downloading pypiwin32-223-py3-none-any.whl (1.7 kB)

Collecting python-dateutil==2.8.2

 Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 24.2 MB/s eta 0:00:00


2023/01/20 17:30:13.575596 [INFO] ERROR: Could not find a version that satisfies the requirement pywin32==305 (from versions: none)

ERROR: No matching distribution found for pywin32==305


2023/01/20 17:30:13.575633 [ERROR] An error occurred during execution of command [app-deploy] - [InstallDependency]. Stop running the command. Error: fail to install dependencies with requirements.txt file with error Command /bin/sh -c /var/app/venv/staging-LQM1lest/bin/pip install -r requirements.txt failed with error exit status 1. Stderr:ERROR: Could not find a version that satisfies the requirement pywin32==305 (from versions: none)

ERROR: No matching distribution found for pywin32==305

 


2023/01/20 17:30:13.575640 [INFO] Executing cleanup logic

2023/01/20 17:30:13.575735 [INFO] CommandService Response: {"status":"FAILURE","api_version":"1.0","results":[{"status":"FAILURE","msg":"Engine execution has encountered an error.","returncode":1,"events":[{"msg":"Instance deployment failed to install application dependencies. The deployment failed.","timestamp":1674235813575,"severity":"ERROR"},{"msg":"Instance deployment failed. For details, see 'eb-engine.log'.","timestamp":1674235813575,"severity":"ERROR"}]}]}


2023/01/20 17:30:13.575896 [INFO] Platform Engine finished execution on command: app-deploy


2023/01/20 17:44:34.714827 [INFO] Starting...

2023/01/20 17:44:34.714877 [INFO] Starting EBPlatform-PlatformEngine

2023/01/20 17:44:34.714896 [INFO] reading event message file

2023/01/20 17:44:34.715033 [INFO] Engine received EB command cfn-hup-exec




2023/01/20 17:44:34.769258 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:ap-northeast-2:569489387446:stack/awseb-e-bb8ad32p3m-stack/b2d7d530-98e7-11ed-acd8-06ae2a026810 -r AWSEBAutoScalingGroup --region ap-northeast-2

2023/01/20 17:44:35.093179 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:ap-northeast-2:569489387446:stack/awseb-e-bb8ad32p3m-stack/b2d7d530-98e7-11ed-acd8-06ae2a026810 -r AWSEBBeanstalkMetadata --region ap-northeast-2

2023/01/20 17:44:35.393819 [INFO] checking whether command bundle-log is applicable to this instance...

2023/01/20 17:44:35.393852 [INFO] this command is applicable to the instance, thus instance should execute command

2023/01/20 17:44:35.393857 [INFO] Engine command: (bundle-log)


2023/01/20 17:44:35.393908 [INFO] Executing instruction: GetBundleLogs

2023/01/20 17:44:35.393913 [INFO] Bundle Logs...



보고



계신 화면 전체를 캡처해 주시면, 튜터님들이 빠르게 상황을 이해할 수 있어요.


그리고 이거 오류나서 다시 할 때는 deploy파일삭제하고 Elastic Beanstalk-환경 종료하기만 하면 되는건가요?? 다른건 별도로 필요없나요? 오류나서 다시 할때마다 deploy 파일 삭제하고, 환경종류만 해줬거든요.

취소
 공유
취소
댓글 0
댓글 알림
나의얼굴