anyscale 0.26.25__py3-none-any.whl → 0.26.26__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- anyscale/aws_iam_policies.py +1 -0
- anyscale/commands/service_commands.py +8 -1
- anyscale/service/_private/service_sdk.py +12 -1
- anyscale/version.py +1 -1
- {anyscale-0.26.25.dist-info → anyscale-0.26.26.dist-info}/METADATA +1 -1
- {anyscale-0.26.25.dist-info → anyscale-0.26.26.dist-info}/RECORD +11 -11
- {anyscale-0.26.25.dist-info → anyscale-0.26.26.dist-info}/LICENSE +0 -0
- {anyscale-0.26.25.dist-info → anyscale-0.26.26.dist-info}/NOTICE +0 -0
- {anyscale-0.26.25.dist-info → anyscale-0.26.26.dist-info}/WHEEL +0 -0
- {anyscale-0.26.25.dist-info → anyscale-0.26.26.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.25.dist-info → anyscale-0.26.26.dist-info}/top_level.txt +0 -0
anyscale/aws_iam_policies.py
CHANGED
@@ -237,6 +237,7 @@ ANYSCALE_IAM_PERMISSIONS_SERVICE_STEADY_STATE = {
|
|
237
237
|
"elasticloadbalancing:DescribeTargetGroupAttributes",
|
238
238
|
"elasticloadbalancing:DescribeTargetHealth",
|
239
239
|
"elasticloadbalancing:DescribeListenerCertificates",
|
240
|
+
"elasticloadbalancing:DescribeTags",
|
240
241
|
],
|
241
242
|
"Resource": "*",
|
242
243
|
},
|
@@ -974,7 +974,14 @@ def terminate(
|
|
974
974
|
service_config_file=config_file,
|
975
975
|
project_id=project_id,
|
976
976
|
)
|
977
|
-
|
977
|
+
try:
|
978
|
+
anyscale.service.terminate(service_id)
|
979
|
+
log.info(f"Service {service_id} terminate initiated.")
|
980
|
+
log.info(
|
981
|
+
f'View the service in the UI at {get_endpoint(f"/services/{service_id}")}'
|
982
|
+
)
|
983
|
+
except Exception as e: # noqa: BLE001
|
984
|
+
log.error(f"Error terminating service: {e}")
|
978
985
|
|
979
986
|
|
980
987
|
@service_cli.command(
|
@@ -411,7 +411,7 @@ class PrivateServiceSDK(WorkloadSDK):
|
|
411
411
|
tracing_config=tracing_config,
|
412
412
|
)
|
413
413
|
|
414
|
-
def deploy(
|
414
|
+
def deploy( # noqa: PLR0912
|
415
415
|
self,
|
416
416
|
config: ServiceConfig,
|
417
417
|
*,
|
@@ -447,6 +447,17 @@ class PrivateServiceSDK(WorkloadSDK):
|
|
447
447
|
else:
|
448
448
|
self.logger.info(f"Updating existing service '{name}'.")
|
449
449
|
|
450
|
+
# passed canary_percent is ignored when creating or restarting a service
|
451
|
+
is_new_or_restarting = (
|
452
|
+
existing_service is None
|
453
|
+
or existing_service.current_state == ServiceEventCurrentState.TERMINATED
|
454
|
+
)
|
455
|
+
if canary_percent is not None and is_new_or_restarting:
|
456
|
+
canary_percent = None
|
457
|
+
self.logger.warning(
|
458
|
+
"canary_percent is ignored when creating or restarting a service."
|
459
|
+
)
|
460
|
+
|
450
461
|
if in_place:
|
451
462
|
model = self._build_apply_service_model_for_in_place_update(
|
452
463
|
name,
|
anyscale/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.26.
|
1
|
+
__version__ = "0.26.26"
|
@@ -6,7 +6,7 @@ anyscale/anyscale-cloud-setup.yaml,sha256=iXCIL8gydOlRzjG5GPxBx1diLQyAkHVN_fIlSo
|
|
6
6
|
anyscale/anyscale_schema.json,sha256=pQtFMvsYLZF39HcfhFV-ze15W9oELuWHz16PED7sMSQ,193
|
7
7
|
anyscale/api.py,sha256=JrzEdDUAHCBOKQKu6RFEh6WDUGhm7OEiw97PQqmu4T4,7488
|
8
8
|
anyscale/authenticate.py,sha256=4RiJ1Ruu-JKENwuMkWqq1R19DXxucVPS-GoKlii1fLI,12346
|
9
|
-
anyscale/aws_iam_policies.py,sha256=
|
9
|
+
anyscale/aws_iam_policies.py,sha256=umUWSDAb4ygfP2-KxlZV0x17-t7RUkx9gR3eqVQ-5HE,16672
|
10
10
|
anyscale/cli_logger.py,sha256=sw-sjcXPIlRWT6LCC0nhHcr53VEJba579P8mbOFTJ6k,12545
|
11
11
|
anyscale/cloud_resource.py,sha256=3JCiiXxsIeUSsRV45C0QQJzPSE1GgXJN1LElo6DmvrA,40368
|
12
12
|
anyscale/cloud_utils.py,sha256=R12leVFphO_DSCK54ZpDPRIcMSYSeWtCXoJbXwvvcug,8138
|
@@ -27,7 +27,7 @@ anyscale/scripts.py,sha256=2LWIBxPHRhFG8m0La7xJXM2xKOQIG3SvlQobS4op2b0,5624
|
|
27
27
|
anyscale/snapshot.py,sha256=UGJT5C1s_4xmQxjWODK5DFpGxHRBX5jOCdSCqXESH8E,1685
|
28
28
|
anyscale/tables.py,sha256=TV4F2uLnwehvbkAfaP7iuLlT2wLIo6ORH2LVdRGXW5g,2840
|
29
29
|
anyscale/util.py,sha256=14AHIhl4c4hKAW4gLZIvy5w56-zDjcPmrdWqazsvnHU,41860
|
30
|
-
anyscale/version.py,sha256=
|
30
|
+
anyscale/version.py,sha256=EkjncV4_2eJM8hvrMdmNdFRSYuJ5bIYdtou5P0rqEP8,24
|
31
31
|
anyscale/workspace_utils.py,sha256=OViE88CnIF5ruVxd3kazQ0Mf2BxqtMq6wx-XQ5A2cp8,1204
|
32
32
|
anyscale/_private/anyscale_client/README.md,sha256=gk8obk7kqg6VWoUHcqDMwJULh35tYKEZFC0UF_dixGA,718
|
33
33
|
anyscale/_private/anyscale_client/__init__.py,sha256=807Blx3RHQeS8BmKZcsOQQ4dYoKlCnpm6Bdsif2CrHg,337
|
@@ -735,7 +735,7 @@ anyscale/commands/project_commands.py,sha256=xVm-W5kKzgfbQjAiHSRhnyMIlYgGji1TUfY
|
|
735
735
|
anyscale/commands/resource_quota_commands.py,sha256=J6r8b6Bo1wMys5pYWieD6F-VsC2OpQZGVLaNFlvAKmI,8536
|
736
736
|
anyscale/commands/schedule_commands.py,sha256=mdwelVght3HnN5YPjtG4Spn0KiEDWmg-UosfaDkQPKE,14485
|
737
737
|
anyscale/commands/service_account_commands.py,sha256=u45N2akHsZxyu5LK03FGEEnZh4dTt4B2Be-dXgbSg3U,3977
|
738
|
-
anyscale/commands/service_commands.py,sha256=
|
738
|
+
anyscale/commands/service_commands.py,sha256=hpNhlm6oC_It9CgLDFCqC496GVY02HD2-TMa2Ig-I60,33637
|
739
739
|
anyscale/commands/session_commands_hidden.py,sha256=APEypnUB1yV2Rr6wdSFWy1vQbAnn-lOn0rU2enF5JdM,6200
|
740
740
|
anyscale/commands/user_commands.py,sha256=C-i1dGpdhboywN_2XgPS2BekKx2y6LZq8c8gvS0S-tY,1259
|
741
741
|
anyscale/commands/util.py,sha256=N8gkVv9LBr5QypBGm2e_Pw2F2e_tiiR4YNLmn8CtsK0,5124
|
@@ -1006,7 +1006,7 @@ anyscale/sdk/anyscale_client/models/worker_node_type.py,sha256=bI3sPVPA4t4axjdbj
|
|
1006
1006
|
anyscale/service/__init__.py,sha256=aH9NjJgnIXErG0uRvhjDxv0RHi0vLTQdlzAGZBUQJwU,7911
|
1007
1007
|
anyscale/service/commands.py,sha256=kbWkHP3hFo0dtz0AgTkG6koqcvd35rzpmAvLZjKY25M,14232
|
1008
1008
|
anyscale/service/models.py,sha256=In9Nn6xYWSpKwjYaMe1zyRWs1gU-g9J-tNt74BQh0js,25985
|
1009
|
-
anyscale/service/_private/service_sdk.py,sha256=
|
1009
|
+
anyscale/service/_private/service_sdk.py,sha256=z5T0CktOkTndN7VlwHLosA_DOVkgIErCRn-dSEZI_p0,34778
|
1010
1010
|
anyscale/service_account/__init__.py,sha256=jV1OFo_ZTxU3vuPztO1300TuoMz-Ocudm6_84ZtjPQ4,2764
|
1011
1011
|
anyscale/service_account/commands.py,sha256=pkJjZwK8aRKFFVfE5swMTJrm9CTnPcNJETEFdMkPiic,3680
|
1012
1012
|
anyscale/service_account/models.py,sha256=MhY-Fo5AZQ68brqtolTUMW3WQDrkNyL1udtNg70sNAU,2189
|
@@ -1072,10 +1072,10 @@ anyscale/workspace/__init__.py,sha256=Innbm5ZhCyADEVBiYSo_vbpKwUNcMzVSAfxIGKOYe6
|
|
1072
1072
|
anyscale/workspace/commands.py,sha256=b1sqNseoPj-1VXznqQOLe0V_a663bOTvJX-TaOMJa1Y,14590
|
1073
1073
|
anyscale/workspace/models.py,sha256=HBvM9ybOdJjqQeViQ30C36gdKT_AwH_JHPoL-DTkESo,9841
|
1074
1074
|
anyscale/workspace/_private/workspace_sdk.py,sha256=2CMeYfJt0UtIFCocDn1ukw1iI5esKHdopLe6duEs-qE,27599
|
1075
|
-
anyscale-0.26.
|
1076
|
-
anyscale-0.26.
|
1077
|
-
anyscale-0.26.
|
1078
|
-
anyscale-0.26.
|
1079
|
-
anyscale-0.26.
|
1080
|
-
anyscale-0.26.
|
1081
|
-
anyscale-0.26.
|
1075
|
+
anyscale-0.26.26.dist-info/LICENSE,sha256=UOPu974Wzsna6frFv1mu4VrZgNdZT7lbcNPzo5ue3qs,3494
|
1076
|
+
anyscale-0.26.26.dist-info/METADATA,sha256=idCdl7UrE3FwvKtFLInXINbRl1JZW1zZoW0xpiuEs-k,3160
|
1077
|
+
anyscale-0.26.26.dist-info/NOTICE,sha256=gHqDhSnUYlRXX-mDOL5FtE7774oiKyV_HO80qM3r9Xo,196
|
1078
|
+
anyscale-0.26.26.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
1079
|
+
anyscale-0.26.26.dist-info/entry_points.txt,sha256=NqO18sCZn6zG6J0S38itjcN00s7aE3C3v3k5lMAfCLk,51
|
1080
|
+
anyscale-0.26.26.dist-info/top_level.txt,sha256=g3NVNS8Oh0NZwbFFgeX696C5MZZkS5dqV2NqcsbDRJE,9
|
1081
|
+
anyscale-0.26.26.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|