instance_id
stringlengths
10
57
file_changes
listlengths
1
15
repo
stringlengths
7
53
base_commit
stringlengths
40
40
problem_statement
stringlengths
11
52.5k
patch
stringlengths
251
7.06M
ApptuitAI__apptuit-py-21
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "apptuit/pyformance/apptuit_reporter.py:ApptuitReporter.__init__", "apptuit/pyformance/apptuit_reporter.py:ApptuitReporter.report_now", "apptuit/pyformance/apptuit_reporter.py:ApptuitRepo...
ApptuitAI/apptuit-py
2b12a363e0db4a39fc2fa786e064429df26884be
Global tags should not over-ride tags from the datapoint If the same tag key-value pair is on the datapoint and in global tags of the reporter, current implementation prefers the global tag: https://github.com/ApptuitAI/apptuit-py/blob/9872766e4838fced1a580f4da3b44acf5fd3ea81/apptuit/pyformance/apptuit_reporter.py#L62...
diff --git a/apptuit/pyformance/apptuit_reporter.py b/apptuit/pyformance/apptuit_reporter.py index a8e2a65..1f6896e 100644 --- a/apptuit/pyformance/apptuit_reporter.py +++ b/apptuit/pyformance/apptuit_reporter.py @@ -10,13 +10,13 @@ class ApptuitReporter(Reporter): def __init__(self, registry=None, reporting_inter...
Arelle__Arelle-1107
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "arelle/ValidateXbrlCalcs.py:insignificantDigits" ], "edited_modules": [ "arelle/ValidateXbrlCalcs.py:insignificantDigits" ] }, "file": "arelle/ValidateXbrlCalcs.py" }...
Arelle/Arelle
aa0c3a3b471580e01a54cf37967a8dad04f7f92d
Update insignificantDigits to handle large numbers ### What should we change and why? Hi, Hope all is well! We ran into a numeric fact value that was too large for ValidateXbrlCalcs.py (388163667900000000000000000). This caused an exception (please see below) in Arelle. This number was proforma and not actual. I r...
diff --git a/arelle/ValidateXbrlCalcs.py b/arelle/ValidateXbrlCalcs.py index 068bcc36..519a150d 100644 --- a/arelle/ValidateXbrlCalcs.py +++ b/arelle/ValidateXbrlCalcs.py @@ -16,9 +16,11 @@ from arelle.XmlValidateConst import UNVALIDATED, VALID if TYPE_CHECKING: from _decimal import Decimal from arelle.Model...
Arelle__Arelle-393
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "arelle/ModelObject.py:init", "arelle/ModelObject.py:ModelObject.resolveUri", "arelle/ModelObject.py:ModelObject.propertyView" ], "edited_modules": [ "arelle/ModelObje...
Arelle/Arelle
63ebccd38bdc54db1143c56f367159e0a6251109
arelle.XbrlConst circular import ### What happened? A circular import was detected while attempting to consume the latest version of Arelle in another service: `arelle.XbrlConst` -> `arelle.ModelValue` -> `arelle.ModelObject` -> `arelle.XmlUtil` -> `arelle.XbrlConst` ``` Traceback (most recent call last): File...
diff --git a/arelle/ModelObject.py b/arelle/ModelObject.py index 302f7b25..a527ac48 100644 --- a/arelle/ModelObject.py +++ b/arelle/ModelObject.py @@ -10,7 +10,6 @@ from typing import TYPE_CHECKING, Any, Generator, Optional, cast from lxml import etree from arelle import Locale from arelle.ModelValue import qname, q...
ArkEcosystem__python-crypto-116
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "crypto/transactions/builder/htlc_lock.py:HtlcLock.__init__" ], "edited_modules": [ "crypto/transactions/builder/htlc_lock.py:HtlcLock" ] }, "file": "crypto/transactions...
ArkEcosystem/python-crypto
1bd016f76b41eba9711be748c1caf20d8042f590
feat: add amount to HTLC Lock constructor A HTLC lock transaction requires an amount, but the current constructor does not allow for passing an amount.
diff --git a/crypto/transactions/builder/htlc_lock.py b/crypto/transactions/builder/htlc_lock.py index baa361d..0ee2c7a 100644 --- a/crypto/transactions/builder/htlc_lock.py +++ b/crypto/transactions/builder/htlc_lock.py @@ -6,11 +6,12 @@ class HtlcLock(BaseTransactionBuilder): transaction_type = TRANSACTION_HTL...
AspenWeb__pando.py-586
[ { "changes": { "added_entities": [ "pando/state_chain.py:render_response" ], "added_modules": [ "pando/state_chain.py:render_response" ], "edited_entities": [ "pando/state_chain.py:render_resource", "pando/state_chain.py:fill_response_with_output", ...
AspenWeb/pando.py
0e0bc40453df28bae014461822fa25daf8263ff8
Requests for static files should return a 405 if method is unsafe Reticketing from <https://github.com/AspenWeb/aspen.py/issues/50>. Any request for a static file with a method other than `GET` or `HEAD` should be rejected with a 405.
diff --git a/pando/state_chain.py b/pando/state_chain.py index 9fb57a43..f7e60513 100644 --- a/pando/state_chain.py +++ b/pando/state_chain.py @@ -27,7 +27,7 @@ import traceback from aspen import resources from aspen.exceptions import NotFound, Redirect, UnindexedDirectory -from aspen.http.resource import Negotiati...
AspenWeb__pando.py-589
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pando/http/request.py:make_franken_uri", "pando/http/request.py:Request.from_wsgi" ], "edited_modules": [ "pando/http/request.py:make_franken_uri", "pando/http/reques...
AspenWeb/pando.py
9882bbd583f24c91a18addd2261e686ca96cf3e1
Handling of non-ASCII URLs is still broken I tried to fix the `make_franken_uri()` function in #585, but it still doesn't handle all cases properly.
diff --git a/pando/http/request.py b/pando/http/request.py index 40e9e1b2..423ec875 100644 --- a/pando/http/request.py +++ b/pando/http/request.py @@ -31,6 +31,7 @@ from __future__ import unicode_literals import re import string import sys +import traceback from six import PY2 @@ -39,7 +40,7 @@ from aspen.http....
AthenaEPI__dmipy-47
[ { "changes": { "added_entities": [ "dmipy/core/modeling_framework.py:MultiCompartmentModelProperties.set_parameter_optimization_bounds" ], "added_modules": null, "edited_entities": null, "edited_modules": [ "dmipy/core/modeling_framework.py:MultiCompartmentModelProp...
AthenaEPI/dmipy
cf885b2ffc03dcfb56ce733cd8aea8a901646f5b
Ability to easily set parameter optimization ranges General function to set ranges without having to separately set internal scales and ranges. Input should be in SI units and internally the range is divided by the max of the ranges and the scale is the max of the input ranges.
diff --git a/dmipy/core/modeling_framework.py b/dmipy/core/modeling_framework.py index e596555..0346c1d 100644 --- a/dmipy/core/modeling_framework.py +++ b/dmipy/core/modeling_framework.py @@ -923,6 +923,45 @@ class MultiCompartmentModelProperties: kernel = np.hstack(kernel) return kernel + d...
Aunsiels__pyformlang-13
[ { "changes": { "added_entities": [ "pyformlang/rsa/recursive_automaton.py:RecursiveAutomaton.from_text" ], "added_modules": null, "edited_entities": [ "pyformlang/rsa/recursive_automaton.py:remove_repetition_of_nonterminals_from_productions", "pyformlang/rsa/recur...
Aunsiels/pyformlang
6594ec8fa2efe9dbbc487285b483f146c1c92ee8
pyformlang.regular_expression.regex_objects.MisformedRegexError: Wrong parenthesis regex Regex Hi, @Aunsiels! Thank you for the awesome library! :clap: Unfortunately, while using your library, I got the error :bug: mentioned in the title. :disappointed: ### Environment * OS: Ubuntu 20.04 * Python: 3.8.10...
diff --git a/pyformlang/rsa/recursive_automaton.py b/pyformlang/rsa/recursive_automaton.py index 747472d..e534cb0 100644 --- a/pyformlang/rsa/recursive_automaton.py +++ b/pyformlang/rsa/recursive_automaton.py @@ -12,30 +12,6 @@ from pyformlang.cfg import CFG, Epsilon from pyformlang.rsa.box import Box -def remove_...
AureumChaos__LEAP-144
[ { "changes": { "added_entities": [ "leap_ec/ops.py:proportional_selection" ], "added_modules": [ "leap_ec/ops.py:proportional_selection" ], "edited_entities": null, "edited_modules": null }, "file": "leap_ec/ops.py" } ]
AureumChaos/LEAP
b304c0b6c843804e7777c4cfbd1299efed152ae1
Add fitness proportional selection Implement fitness proportional selection as: `select_prob(x,t) = fitness(x,t) / population_fitness(t)` where population fitness is the sum of each `fitness(x,t)` in the population. To avoid negative fitness we need to shift the each fitness by the minimum of the population: ...
diff --git a/leap_ec/ops.py b/leap_ec/ops.py index 892ff40..e58a4d4 100644 --- a/leap_ec/ops.py +++ b/leap_ec/ops.py @@ -503,6 +503,69 @@ def n_ary_crossover(next_individual: Iterator, yield child2 +############################## +# Function proportional_selection +############################## +@curr...
AureumChaos__LEAP-147
[ { "changes": { "added_entities": [ "leap_ec/ops.py:sus_selection", "leap_ec/ops.py:compute_population_values" ], "added_modules": [ "leap_ec/ops.py:sus_selection", "leap_ec/ops.py:compute_population_values" ], "edited_entities": [ "leap_ec/op...
AureumChaos/LEAP
c2ebbe880231337abb0b5fb94cb1c341faf72e34
Add stochastic universal sampling (SUS) Implement as: ```python3 @curry @listiter_op def sus_selection(population: List, n=None, shuffle=True, key=lambda x: x.fitness) -> Iterator ``` This will take a `population` of individuals and randomly find `n` evenly spaced points from which to sample the `population`....
diff --git a/leap_ec/ops.py b/leap_ec/ops.py index e58a4d4..e4f4767 100644 --- a/leap_ec/ops.py +++ b/leap_ec/ops.py @@ -543,29 +543,122 @@ def proportional_selection(population: List, offset=0, exponent: int = 1, >>> pop = Individual.evaluate_population(pop) >>> selected = proportional_selection(pop)...
AureumChaos__LEAP-167
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "leap_ec/executable_rep/rules.py:PittRulesDecoder.initializer" ], "edited_modules": [ "leap_ec/executable_rep/rules.py:PittRulesDecoder" ] }, "file": "leap_ec/executable...
AureumChaos/LEAP
0616d364d5deabf34f140fa06b0436043a10c8bc
AttributesCSVProbe converts genome to a string Trying to get individual genome data over a generational EA and the genomes are strings. They should be whatever object the genome is: `list`, `numpy.array`, etc. This is only an issue when using the `do_dataframe=True` option otherwise the data is written to a file stream...
diff --git a/leap_ec/executable_rep/rules.py b/leap_ec/executable_rep/rules.py index 1157078..87aa9da 100644 --- a/leap_ec/executable_rep/rules.py +++ b/leap_ec/executable_rep/rules.py @@ -244,7 +244,8 @@ class PittRulesDecoder(Decoder): return segment - return create_segmented_sequence(...
AureumChaos__LEAP-217
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "leap_ec/executable_rep/rules.py:PittRulesDecoder.initializer" ], "edited_modules": [ "leap_ec/executable_rep/rules.py:PittRulesDecoder" ] }, "file": "leap_ec/executable...
AureumChaos/LEAP
f9141525a291b0f7220d0aef48c5bcd96f5d77c7
`genome_mutate_binomial()` needs to change from returning a function to accepted a genome and an `expected_num_mutations` argument. There is an unwritten standard (which needs to be written) for mutation "helper" functions that they accept an `expected_num_mutations` argument. Another expectation is that calling that ...
diff --git a/leap_ec/executable_rep/rules.py b/leap_ec/executable_rep/rules.py index 87aa9da..1157078 100644 --- a/leap_ec/executable_rep/rules.py +++ b/leap_ec/executable_rep/rules.py @@ -244,8 +244,7 @@ class PittRulesDecoder(Decoder): return segment - rule_set = create_segmented_seque...
AureumChaos__LEAP-322
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "examples/simple/simple_ga.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "leap_ec...
AureumChaos/LEAP
2145ab2fd94f5ffdf0153c22696d56fab642c98a
Boolean representation outputs boolean values instead of binary strings. LEAP binary representation uses a numpy binary vector. (See, binary_rep.initializers.random_bernoulli_vector()). The string representation returns a vector of booleans instead of the expected binary string. E.g., n = np.random.rand(*shape) < ...
diff --git a/.readthedocs.yaml b/.readthedocs.yaml index e875bbf..5549377 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -22,6 +22,7 @@ python: install: - requirements: docs/requirements.txt + build: os: ubuntu-22.04 tools: diff --git a/examples/simple/simple_ga.py b/examples/simple/simple_g...
Axelrod-Python__Axelrod-1458
[ { "changes": { "added_entities": [ "axelrod/history.py:LimitedHistory.extend" ], "added_modules": null, "edited_entities": [ "axelrod/history.py:LimitedHistory.__init__" ], "edited_modules": [ "axelrod/history.py:LimitedHistory" ] }, "fil...
Axelrod-Python/Axelrod
d2184c66a44c2f49a88d356545c72e12f6d9d7bd
LimitedHistory should override extend. [LimitedHistory](https://github.com/Axelrod-Python/Axelrod/blob/dev/axelrod/history.py#L107) inherits extend from [base class](https://github.com/Axelrod-Python/Axelrod/blob/dev/axelrod/history.py#L50). However expected behavior is that LimitedHistory only keeps the last `memory_...
diff --git a/axelrod/history.py b/axelrod/history.py index 12114399..0e914da7 100644 --- a/axelrod/history.py +++ b/axelrod/history.py @@ -117,8 +117,8 @@ class LimitedHistory(History): memory_depth, int: length of history to retain """ - super().__init__(plays=plays, coplays=copla...
Axelrod-Python__Axelrod-587
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": [ "axelrod/strategies/cycler.py:CyclerCCD", "axelrod/strategies/cycler.py:CyclerCCCD", "axelrod/strategies/cycler.py:CyclerCCCCCD" ] }, "file": "...
Axelrod-Python/Axelrod
03dd1a9600965800125eeb8942b6b0a3dfacf29c
Test classification of strategy class as well as strategy player @mojones noticed a bug in the classification of Win Stay Lose Shift: see #506. I fixed it in #511, but really the test I added to #511 should be a test in the player class. I tried that but didn't get a failing test. Needs investigating :)
diff --git a/axelrod/strategies/cycler.py b/axelrod/strategies/cycler.py index 599e97a5..e3dd9c39 100644 --- a/axelrod/strategies/cycler.py +++ b/axelrod/strategies/cycler.py @@ -1,5 +1,6 @@ from axelrod import Actions, Player, init_args +import copy class AntiCycler(Player): """ @@ -74,18 +75,27 @@ class Cy...
Axelrod-Python__Axelrod-603
[ { "changes": { "added_entities": [ "axelrod/result_set.py:update_progress_bar" ], "added_modules": [ "axelrod/result_set.py:update_progress_bar" ], "edited_entities": [ "axelrod/result_set.py:ResultSet.__init__", "axelrod/result_set.py:ResultSet.buil...
Axelrod-Python/Axelrod
c919c39d58552c2db4a2719c817cfa3a3c301f92
Results set processing shouldn't be in the progress bar
diff --git a/axelrod/result_set.py b/axelrod/result_set.py index b2bc1b94..b0a67300 100644 --- a/axelrod/result_set.py +++ b/axelrod/result_set.py @@ -1,5 +1,6 @@ from collections import defaultdict import csv +import tqdm from numpy import mean, nanmedian, std @@ -14,10 +15,25 @@ except ImportError: from i...
Axelrod-Python__Axelrod-638
[ { "changes": { "added_entities": [ "axelrod/strategies/finite_state_machines.py:FSMPlayer.reset" ], "added_modules": null, "edited_entities": [ "axelrod/strategies/finite_state_machines.py:FSMPlayer.__init__" ], "edited_modules": [ "axelrod/strategies/...
Axelrod-Python/Axelrod
89651f45910f4b41a79c58358d9f5beca4197fc1
Finite state machine players don't reset properly ``` >>> import axelrod as axl >>> tft = axl.TitForTat() >>> predator = axl.Predator() >>> predator.fsm.state 1 >>> m = axl.Match((tft, predator), 2) >>> m.play() [('C', 'C'), ('C', 'D')] >>> predator.fsm.state 2 >>> predator.reset() >>> predator.fsm.state ...
diff --git a/axelrod/strategies/finite_state_machines.py b/axelrod/strategies/finite_state_machines.py index defc4770..1c231d43 100644 --- a/axelrod/strategies/finite_state_machines.py +++ b/axelrod/strategies/finite_state_machines.py @@ -54,6 +54,7 @@ class FSMPlayer(Player): initial_state = 1 ...
Axelrod-Python__Axelrod-671
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "axelrod/result_set.py:ResultSet.build_payoff_diffs_means" ], "edited_modules": [ "axelrod/result_set.py:ResultSet" ] }, "file": "axelrod/result_set.py" } ]
Axelrod-Python/Axelrod
46ad8990affd6b9a792c84af4cc0987670cd515a
Error in payoff_diffs_means? I think there's a bug for self interactions for the payoff_diffs_means (this only affects stochastic strategies): ``` >>> import axelrod as axl >>> from numpy import mean >>> axl.seed(0) >>> players = [s() for s in axl.demo_strategies] >>> tournament = axl.Tournament(players, repeti...
diff --git a/axelrod/result_set.py b/axelrod/result_set.py index 6ec59ae6..0a8b4fb2 100644 --- a/axelrod/result_set.py +++ b/axelrod/result_set.py @@ -464,28 +464,8 @@ class ResultSet(object): Where pij is the mean difference of the scores per turn between player i and j in repetition m. ...
AzureAD__microsoft-authentication-library-for-python-104
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "msal/authority.py:Authority.__init__", "msal/authority.py:Authority.user_realm_discovery", "msal/authority.py:canonicalize", "msal/authority.py:instance_discovery" ], ...
AzureAD/microsoft-authentication-library-for-python
45507939078915f70dfe35b5ad58bf0f2fba41ef
Support Azure AD B2C Support [Azure AD B2C](https://azure.microsoft.com/en-us/services/active-directory-b2c/)
diff --git a/msal/authority.py b/msal/authority.py index 2e3a818..56b3d4c 100644 --- a/msal/authority.py +++ b/msal/authority.py @@ -1,4 +1,7 @@ -import re +try: + from urllib.parse import urlparse +except ImportError: # Fall back to Python 2 + from urlparse import urlparse import logging import requests @@ ...
AzureAD__microsoft-authentication-library-for-python-186
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "msal/application.py:ClientApplication._acquire_token_silent_by_finding_rt_belongs_to_me_or_my_family" ], "edited_modules": [ "msal/application.py:ClientApplication" ] }, ...
AzureAD/microsoft-authentication-library-for-python
c235d4e9dea9e4954cf0699bd46bb57ddce959be
Refresh token errors are discarded `acquire_token_silent_with_error` appears to be intended to return the last error response received from AAD, and the documentation implies it does so, but there are cases in which it does not. For example, if AAD rejects a refresh token, its error response is discarded (`at` is th...
diff --git a/msal/application.py b/msal/application.py index a17d359..66d9b43 100644 --- a/msal/application.py +++ b/msal/application.py @@ -633,8 +633,9 @@ class ClientApplication(object): **kwargs) if at and "error" not in at: return at + last_resp = None ...
AzureAD__microsoft-authentication-library-for-python-205
[ { "changes": { "added_entities": [ "msal/application.py:ClientApplication._get_client" ], "added_modules": null, "edited_entities": [ "msal/application.py:ClientApplication.__init__", "msal/application.py:ClientApplication.get_authorization_request_url", "...
AzureAD/microsoft-authentication-library-for-python
97c7114a25043de600599843e3251dc46e46ef43
ClientApplication initializer sends HTTP requests Constructing `ClientApplication` entails at least one HTTP request, for tenant discovery. This adds all the costs and failure modes associated with the network to constructing the class. In my own code I therefore defer constructing (subclasses of) `ClientApplication` u...
diff --git a/msal/application.py b/msal/application.py index 096ee24..85cd609 100644 --- a/msal/application.py +++ b/msal/application.py @@ -198,8 +198,9 @@ class ClientApplication(object): authority or "https://login.microsoftonline.com/common/", self.http_client, validate_authority=v...
AzureAD__microsoft-authentication-library-for-python-236
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "msal/application.py:ClientApplication.acquire_token_silent_with_error" ], "edited_modules": [ "msal/application.py:ClientApplication" ] }, "file": "msal/application.py"...
AzureAD/microsoft-authentication-library-for-python
283bdd8c40037f752a69c9bb93a3067126dd53e9
MSAL python 1.4.2 is no longer able to read from other MSAL caches **Describe the bug** MSAL.NET maintains cache consistency tests between libraries. It looks like MSAL.py 1.4.2 update brakes the tests which ensure MSAL .py is able to read the token cache produced by .NET and Java. After downgrading to MSAL py 1.4...
diff --git a/msal/application.py b/msal/application.py index 0d38a1a..f5c8d01 100644 --- a/msal/application.py +++ b/msal/application.py @@ -21,7 +21,7 @@ from .token_cache import TokenCache # The __init__.py will import this. Not the other way around. -__version__ = "1.4.2" +__version__ = "1.4.1" logger = logg...
AzureAD__microsoft-authentication-library-for-python-395
[ { "changes": { "added_entities": [ "msal/application.py:_ClientWithCcsRoutingInfo.initiate_auth_code_flow", "msal/application.py:_ClientWithCcsRoutingInfo.obtain_token_by_auth_code_flow", "msal/application.py:_ClientWithCcsRoutingInfo.obtain_token_by_username_password" ], ...
AzureAD/microsoft-authentication-library-for-python
b446a5e86377168b2fa342ed0738a9f7a95eb612
MSAL libraries provide routing information to CCS Internal workitem [here](https://identitydivision.visualstudio.com/Engineering/_workitems/edit/1333551?src=WorkItemMention&src-action=artifact_link).
diff --git a/msal/application.py b/msal/application.py index c7a3471..d7c4c14 100644 --- a/msal/application.py +++ b/msal/application.py @@ -14,6 +14,7 @@ import os import requests from .oauth2cli import Client, JwtAssertionCreator +from .oauth2cli.oidc import decode_part from .authority import Authority from .me...
AzureAD__microsoft-authentication-library-for-python-433
[ { "changes": { "added_entities": [ "msal/authority.py:AuthorityBuilder.__init__", "msal/authority.py:AuthorityBuilder.__str__" ], "added_modules": [ "msal/authority.py:AuthorityBuilder" ], "edited_entities": [ "msal/authority.py:Authority.__init__" ...
AzureAD/microsoft-authentication-library-for-python
23e5341acf2118686fd95c11e81d7ffbbde9f367
Add public convenience string constants for endpoints of each cloud (sovereign and public) **Context** Customers have had difficulty finding the right documentation pages: https://docs.microsoft.com/en-us/azure/azure-government/documentation-government-developer-guide#endpoint-mapping https://docs.microsoft.com/en-u...
diff --git a/msal/application.py b/msal/application.py index 05b77fc..04ad5fd 100644 --- a/msal/application.py +++ b/msal/application.py @@ -231,8 +231,23 @@ class ClientApplication(object): :param str authority: A URL that identifies a token authority. It should be of the format - ht...
AzureAD__microsoft-authentication-library-for-python-530
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "msal/application.py:ClientApplication._decorate_scope" ], "edited_modules": [ "msal/application.py:ClientApplication" ] }, "file": "msal/application.py" } ]
AzureAD/microsoft-authentication-library-for-python
48954fcbc16272566cbedbaf48ffbae4acf7d5db
Cannot put client id into scopes, therefore cannot get access_token for Azure B2C According to [Azure B2C documentation](https://learn.microsoft.com/en-us/azure/active-directory-b2c/access-tokens#openid-connect-scopes), to get an access_token, client id must be added to scopes, i.e. `scopes=['openid', 'offline_access',...
diff --git a/msal/application.py b/msal/application.py index 7e3ec16..62ba4b5 100644 --- a/msal/application.py +++ b/msal/application.py @@ -588,18 +588,9 @@ class ClientApplication(object): raise ValueError( "API does not accept {} value as user-provided scopes".format( ...
AzureAD__microsoft-authentication-library-for-python-62
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "msal/authority.py:Authority.__init__", "msal/authority.py:instance_discovery" ], "edited_modules": [ "msal/authority.py:Authority", "msal/authority.py:instance_discov...
AzureAD/microsoft-authentication-library-for-python
4c5245836452bc9331b1a992ebe70ecdf9afd737
support: sovereign cloud [This line](https://github.com/AzureAD/microsoft-authentication-library-for-python/blob/dev/msal/authority.py#L41) by hard coding to public azure blocks authentication in sovereign clouds. Please fix it soon //CC @marstr @rayluo
diff --git a/msal/authority.py b/msal/authority.py index 689ea8c..51289d2 100644 --- a/msal/authority.py +++ b/msal/authority.py @@ -1,10 +1,12 @@ import re +import logging import requests from .exceptions import MsalServiceError +logger = logging.getLogger(__name__) WORLD_WIDE = 'login.microsoftonline.com'...
AzureAD__microsoft-authentication-library-for-python-723
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "msal/application.py:_clean_up", "msal/application.py:ClientApplication._acquire_token_silent_from_cache_and_possibly_refresh_it" ], "edited_modules": [ "msal/application.py:_...
AzureAD/microsoft-authentication-library-for-python
57dce47ae3495e546a0913c961c149734566da3a
[Feature Request] Expose `refresh_on` when retrieving token from cache ### MSAL client type Public, Confidential ### Problem Statement Similar to https://github.com/AzureAD/microsoft-authentication-library-for-java/issues/822, in our Azure SDKs for Python, one of the primary pipeline policies our SDK clients use is ...
diff --git a/msal/application.py b/msal/application.py index ba10cd3..8f30eb1 100644 --- a/msal/application.py +++ b/msal/application.py @@ -104,11 +104,14 @@ def _clean_up(result): "msalruntime_telemetry": result.get("_msalruntime_telemetry"), "msal_python_telemetry": result.get("_msa...
AzureAD__microsoft-authentication-library-for-python-730
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "msal/managed_identity.py:ManagedIdentityClient.acquire_token_for_client" ], "edited_modules": [ "msal/managed_identity.py:ManagedIdentityClient" ] }, "file": "msal/mana...
AzureAD/microsoft-authentication-library-for-python
fe8f7583a539f9a5c232df31c916368bc12057f7
[Engineering task] Implement Claims API to Bypass Cache When Claims are Present in MSAL with Managed Identity ### MSAL client type Confidential ### Problem Statement **Task type** Development **Description** Currently, MSAL with Managed Identity does not expose any API claims API. With CAE (Continuous Acc...
diff --git a/msal/application.py b/msal/application.py index b3c07a4..75ca6c8 100644 --- a/msal/application.py +++ b/msal/application.py @@ -411,9 +411,11 @@ class ClientApplication(object): (STS) what this client is capable for, so STS can decide to turn on certain features. For ...
AzureAD__microsoft-authentication-library-for-python-795
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "msal/managed_identity.py:_obtain_token_on_azure_vm" ], "edited_modules": [ "msal/managed_identity.py:_obtain_token_on_azure_vm" ] }, "file": "msal/managed_identity.py" ...
AzureAD/microsoft-authentication-library-for-python
fb3e21cf501587dccb71676a3d06f9ea24476102
[Bug] Msal does not honor environment variable `AZURE_POD_IDENTITY_AUTHORITY_HOST` in IMDS We used to honor environment variable `AZURE_POD_IDENTITY_AUTHORITY_HOST` in IMDS https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/identity/azure-identity/azure/identity/_credentials/imds.py#L36 Seems like MSAL chang...
diff --git a/msal/managed_identity.py b/msal/managed_identity.py index ec032ca..6f85571 100644 --- a/msal/managed_identity.py +++ b/msal/managed_identity.py @@ -448,7 +448,9 @@ def _obtain_token_on_azure_vm(http_client, managed_identity, resource): } _adjust_param(params, managed_identity) resp = htt...
Azure__WALinuxAgent-1039
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "azurelinuxagent/common/event.py:elapsed_milliseconds" ], "edited_modules": [ "azurelinuxagent/common/event.py:elapsed_milliseconds" ] }, "file": "azurelinuxagent/common...
Azure/WALinuxAgent
53a429b06b67031d30351b45e798ec204484b8ef
The ProcessGoalState Duration is Too Large The Duration telemetry value exceeds the size of an Int64, which does not make sense. This has been seen in at least two different agent versions (2.1.3 and 2.2.21).
diff --git a/azurelinuxagent/common/event.py b/azurelinuxagent/common/event.py index 84a439f5..7fc084d9 100644 --- a/azurelinuxagent/common/event.py +++ b/azurelinuxagent/common/event.py @@ -254,7 +254,11 @@ __event_logger__ = EventLogger() def elapsed_milliseconds(utc_start): - d = datetime.utcnow() - utc_star...
Azure__WALinuxAgent-1043
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "azurelinuxagent/common/utils/restutil.py:_http_request" ], "edited_modules": [ "azurelinuxagent/common/utils/restutil.py:_http_request" ] }, "file": "azurelinuxagent/co...
Azure/WALinuxAgent
b526b7ada84dfbf21bed8a3e7092ec23447fe14e
Ensure the Monitor Thead does not Die The monitoring thread is not (ironically) not monitored. There have been cases where VMs stop sending telemetry data, which is the responsibility of the monitoring thread. The working theory is the thread died, and was not automatically restarted.
diff --git a/azurelinuxagent/common/utils/restutil.py b/azurelinuxagent/common/utils/restutil.py index c521f63a..807be29c 100644 --- a/azurelinuxagent/common/utils/restutil.py +++ b/azurelinuxagent/common/utils/restutil.py @@ -28,7 +28,8 @@ import azurelinuxagent.common.utils.textutil as textutil from azurelinuxagen...
Azure__WALinuxAgent-1105
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "azurelinuxagent/pa/provision/cloudinit.py:CloudInitProvisionHandler.run" ], "edited_modules": [ "azurelinuxagent/pa/provision/cloudinit.py:CloudInitProvisionHandler" ] }, ...
Azure/WALinuxAgent
fb7d6c51dac236538a8c9eb8e752159d5e3f54b8
Track Boot Time in Provision Event To better understand and break down the provision process please include the boot time in the provision event, or emit a boot event with an appropriate duration.
diff --git a/azurelinuxagent/pa/provision/cloudinit.py b/azurelinuxagent/pa/provision/cloudinit.py index 60d42fd2..de07ea93 100644 --- a/azurelinuxagent/pa/provision/cloudinit.py +++ b/azurelinuxagent/pa/provision/cloudinit.py @@ -64,7 +64,7 @@ class CloudInitProvisionHandler(ProvisionHandler): logger.info...
Azure__WALinuxAgent-1120
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "azurelinuxagent/common/protocol/wire.py:WireClient.get_artifacts_profile" ], "edited_modules": [ "azurelinuxagent/common/protocol/wire.py:WireClient" ] }, "file": "azur...
Azure/WALinuxAgent
dc6db7594f3c0ee24e69fb63b3ad05a7ac3c035d
Exception retrieving artifacts profile: TypeError: decoding str is not supported I am tracking a annoying issue in the BVTs with the following signature. ```text Exception retrieving artifacts profile: TypeError: decoding str is not supported ``` I increased debugging, and found this call stack. ```text 201...
diff --git a/azurelinuxagent/common/protocol/wire.py b/azurelinuxagent/common/protocol/wire.py index 67a55203..5df35a98 100644 --- a/azurelinuxagent/common/protocol/wire.py +++ b/azurelinuxagent/common/protocol/wire.py @@ -1129,8 +1129,7 @@ class WireClient(object): host = self.get_host_plugi...
Azure__WALinuxAgent-1127
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "azurelinuxagent/ga/exthandlers.py:parse_ext_status" ], "edited_modules": [ "azurelinuxagent/ga/exthandlers.py:parse_ext_status" ] }, "file": "azurelinuxagent/ga/exthand...
Azure/WALinuxAgent
d1f9e05b9eaa63997108ebf3de261bf9dca7a25d
Extension install failures timeout The Windows GA reports a status which allows a fast failure, however the Linux GA just reports 'Not ready' which essentially waits for a CRP timeout. We should investigate if there is a substatus we are missing to allow a fast failure.
diff --git a/azurelinuxagent/ga/exthandlers.py b/azurelinuxagent/ga/exthandlers.py index 91285cf9..024c7f55 100644 --- a/azurelinuxagent/ga/exthandlers.py +++ b/azurelinuxagent/ga/exthandlers.py @@ -56,6 +56,7 @@ from azurelinuxagent.common.version import AGENT_NAME, CURRENT_VERSION # HandlerEnvironment.json schema ve...
Azure__WALinuxAgent-1148
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "azurelinuxagent/common/protocol/wire.py:WireClient.fetch_manifest" ], "edited_modules": [ "azurelinuxagent/common/protocol/wire.py:WireClient" ] }, "file": "azurelinuxa...
Azure/WALinuxAgent
423dc18485e4c8d506bd07f77f7612b17bda27eb
ExtensionsConfig May Not Contain a failoverLocation Attribute The agent expects ExtensionsConfig to have a location and failoverLocation for each plugin. This has been proven to not be true for all regions. I consider this to be a bug upstream, but the agent should be robust enough to handle this case.
diff --git a/azurelinuxagent/common/protocol/wire.py b/azurelinuxagent/common/protocol/wire.py index 841f9b72..265b1f6f 100644 --- a/azurelinuxagent/common/protocol/wire.py +++ b/azurelinuxagent/common/protocol/wire.py @@ -600,6 +600,12 @@ class WireClient(object): random.shuffle(version_uris_shuffled) ...
Azure__WALinuxAgent-1183
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "azurelinuxagent/common/protocol/imds.py:ComputeInfo.image_info", "azurelinuxagent/common/protocol/imds.py:ComputeInfo.__init__" ], "edited_modules": [ "azurelinuxagent/common...
Azure/WALinuxAgent
ad18ce33f467f5eeb4ac4afadb7f46d6c7444307
Telemetry Should Include Additional IMDS Metadata The latest version of IMDS includes the following fields that should be considered for inclusion: 1. zone 1. vmScaleSetName https://docs.microsoft.com/en-us/azure/virtual-machines/windows/instance-metadata-service#instance-metadata-data-categories
diff --git a/azurelinuxagent/common/protocol/imds.py b/azurelinuxagent/common/protocol/imds.py index 1748bd91..c0deb358 100644 --- a/azurelinuxagent/common/protocol/imds.py +++ b/azurelinuxagent/common/protocol/imds.py @@ -17,6 +17,10 @@ def get_imds_client(): class ComputeInfo(DataContract): + @property + d...
Azure__WALinuxAgent-1273
[ { "changes": { "added_entities": [ "azurelinuxagent/common/utils/processutil.py:capture_from_process_poll" ], "added_modules": [ "azurelinuxagent/common/utils/processutil.py:capture_from_process_poll" ], "edited_entities": [ "azurelinuxagent/common/utils/pro...
Azure/WALinuxAgent
066d711c4dd3f5a166a19da1910ee92b35cd3cbb
Agent Prematurely Terminates Long Running Extensions A user opened an issue against [Azure/custom-script-extension-linux #139](https://github.com/Azure/custom-script-extension-linux/issues/139) about the extension prematurely timing out. I have verified this issue against 2.2.29. ```sh az vm extension set -g my-re...
diff --git a/azurelinuxagent/common/utils/processutil.py b/azurelinuxagent/common/utils/processutil.py index fe9dd4a5..9c0eb24b 100644 --- a/azurelinuxagent/common/utils/processutil.py +++ b/azurelinuxagent/common/utils/processutil.py @@ -16,7 +16,7 @@ # # Requires Python 2.6+ and Openssl 1.0+ # - +import multiproce...
Azure__WALinuxAgent-1302
[ { "changes": { "added_entities": [ "azurelinuxagent/common/errorstate.py:ErrorState.fail_time" ], "added_modules": null, "edited_entities": null, "edited_modules": [ "azurelinuxagent/common/errorstate.py:ErrorState" ] }, "file": "azurelinuxagent/common...
Azure/WALinuxAgent
dd3daa66040258a22b994d8f139a0d9c9bab3e6a
Waagent deprovision should not be messing with the cloudinit directories Deleting and changing the files under /var/lib/cloud upon deprovision fundamentally breaks how per-once and per-instance works. You also lose the ability to track instances created from the original image. At the minimum, there should be a flag...
diff --git a/azurelinuxagent/common/errorstate.py b/azurelinuxagent/common/errorstate.py index 38aaa1f9..052db075 100644 --- a/azurelinuxagent/common/errorstate.py +++ b/azurelinuxagent/common/errorstate.py @@ -31,3 +31,15 @@ class ErrorState(object): return True return False + + @property + ...
Azure__WALinuxAgent-1304
[ { "changes": { "added_entities": [ "azurelinuxagent/common/errorstate.py:ErrorState.fail_time" ], "added_modules": null, "edited_entities": null, "edited_modules": [ "azurelinuxagent/common/errorstate.py:ErrorState" ] }, "file": "azurelinuxagent/common...
Azure/WALinuxAgent
dd3daa66040258a22b994d8f139a0d9c9bab3e6a
InitializeHostPlugin This event is useful, but we should also have an extended version, like we do for ReportStatus. There is a good location for this in the [monitor thread](https://github.com/Azure/WALinuxAgent/blob/master/azurelinuxagent/ga/monitor.py#L335)
diff --git a/azurelinuxagent/common/errorstate.py b/azurelinuxagent/common/errorstate.py index 38aaa1f9..052db075 100644 --- a/azurelinuxagent/common/errorstate.py +++ b/azurelinuxagent/common/errorstate.py @@ -31,3 +31,15 @@ class ErrorState(object): return True return False + + @property + ...
Azure__WALinuxAgent-1317
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "azurelinuxagent/ga/monitor.py:MonitorHandler.init_cgroups", "azurelinuxagent/ga/monitor.py:MonitorHandler.send_cgroup_telemetry" ], "edited_modules": [ "azurelinuxagent/ga/mo...
Azure/WALinuxAgent
ae2aec6fc31a4742c139d93cfc5e571e7afc741b
CGroups error in Ubuntu 14.04 ``` 2018/07/31 11:41:06.400633 ERROR ExtHandler monitor: Exception tracking wrapper and agent: 'Hierarchy memory is not mounted' [Traceback (most recent call last): File "bin/WALinuxAgent-2.2.30-py2.7.egg/azurelinuxagent/ga/monitor.py", line 397, in init_cgroups CGroupsTelemetry.t...
diff --git a/azurelinuxagent/ga/monitor.py b/azurelinuxagent/ga/monitor.py index c1215806..d6b66921 100644 --- a/azurelinuxagent/ga/monitor.py +++ b/azurelinuxagent/ga/monitor.py @@ -406,7 +406,11 @@ class MonitorHandler(object): CGroupsTelemetry.track_cgroup(CGroups.for_extension("")) CGroups...
Azure__WALinuxAgent-1318
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "azurelinuxagent/pa/provision/cloudinit.py:CloudInitProvisionHandler.run" ], "edited_modules": [ "azurelinuxagent/pa/provision/cloudinit.py:CloudInitProvisionHandler" ] }, ...
Azure/WALinuxAgent
ae2aec6fc31a4742c139d93cfc5e571e7afc741b
Record OS boot time for Failed Provisions Too The OS boot time is recorded in the Provision event **only** in the case of a successful provision. The OS boot time should be recorded in the case of a failed provision too.
diff --git a/azurelinuxagent/pa/provision/cloudinit.py b/azurelinuxagent/pa/provision/cloudinit.py index 9609d7da..3f3cdb04 100644 --- a/azurelinuxagent/pa/provision/cloudinit.py +++ b/azurelinuxagent/pa/provision/cloudinit.py @@ -69,9 +69,10 @@ class CloudInitProvisionHandler(ProvisionHandler): durati...
Azure__WALinuxAgent-1865
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "azurelinuxagent/common/osutil/factory.py:_get_osutil" ], "edited_modules": [ "azurelinuxagent/common/osutil/factory.py:_get_osutil" ] }, "file": "azurelinuxagent/common...
Azure/WALinuxAgent
ed5cb578f3ee4e765f7211919a1ffebb504e0c24
[BUG] 'WARNING Dhcp client is not running' on Ubuntu 19.10 ## Description On Ubuntu 19.10 **WALinuxAgent** keeps reporting that the DHCP client is not running: ``` WARNING ExtHandler Dhcp client is not running. WARNING ExtHandler Dhcp client is not running. WARNING ExtHandler Dhcp client is not running. ``` ...
diff --git a/azurelinuxagent/common/osutil/factory.py b/azurelinuxagent/common/osutil/factory.py index 56515ede..5baa9ebb 100644 --- a/azurelinuxagent/common/osutil/factory.py +++ b/azurelinuxagent/common/osutil/factory.py @@ -65,7 +65,9 @@ def _get_osutil(distro_name, distro_code_name, distro_version, distro_full_name...
Azure__WALinuxAgent-2633
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "azurelinuxagent/common/protocol/goal_state.py:GoalState._fetch_full_wire_server_goal_state", "azurelinuxagent/common/protocol/goal_state.py:Certificates.__init__" ], "edited_modules"...
Azure/WALinuxAgent
672dbf32f565a14632bcfd081c3c553c821fca77
[BUG] Waagent history files consuming all inodes I'm running a number of Azure VMs with Centos linux servers and noticed this issue permeating across a number of them. It seems the inodes have been consumed entirely, although memory usage is relatively low. ``` $ df -H Filesystem Size Used Avail Use% Mounted...
diff --git a/azurelinuxagent/common/protocol/goal_state.py b/azurelinuxagent/common/protocol/goal_state.py index 8b508f61..4d354e56 100644 --- a/azurelinuxagent/common/protocol/goal_state.py +++ b/azurelinuxagent/common/protocol/goal_state.py @@ -352,12 +352,12 @@ class GoalState(object): certs_uri = findt...
Azure__WALinuxAgent-304
[ { "changes": { "added_entities": [ "azurelinuxagent/common/rdma.py:setup_rdma_device" ], "added_modules": [ "azurelinuxagent/common/rdma.py:setup_rdma_device" ], "edited_entities": null, "edited_modules": null }, "file": "azurelinuxagent/common/rdma.py...
Azure/WALinuxAgent
807e22c6ca5b75b8c19fe27eefd9b8f830e8b367
`systemctl stop waagent` hangs Reproes on Ubuntu 16.04 as well as CentOS 7. `systemctl stop walinuxagent` command hangs for a long time, although it eventually succeeds like after maybe 30-40 seconds. It used to be instant. I think it's related to the signal handling behavior that has been recently changed.
diff --git a/azurelinuxagent/common/rdma.py b/azurelinuxagent/common/rdma.py index 3ba332d3..c9451a21 100644 --- a/azurelinuxagent/common/rdma.py +++ b/azurelinuxagent/common/rdma.py @@ -21,15 +21,56 @@ Handle packages and modules to enable RDMA for IB networking import os import re -import threading import time +...
Azure__WALinuxAgent-308
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "azurelinuxagent/ga/update.py:UpdateHandler.run_latest", "azurelinuxagent/ga/update.py:UpdateHandler._ensure_latest_agent" ], "edited_modules": [ "azurelinuxagent/ga/update.py...
Azure/WALinuxAgent
92091140c2a7378c1a01fe8526800af912d93c49
[2.1-selfupdate] launched .egg exits The launched update (.egg package) discovers an update and exits with exitcode=0. This keeps going on forever When I run it manually: ``` $ python -u bin/WALinuxAgent-2.1.5.rc3-py2.7.egg -run-exthandlers 2016/07/08 21:53:58.005925 INFO Agent WALinuxAgent-2.1.5.3 is running as...
diff --git a/azurelinuxagent/ga/update.py b/azurelinuxagent/ga/update.py index 635f7e98..1c7d13a9 100644 --- a/azurelinuxagent/ga/update.py +++ b/azurelinuxagent/ga/update.py @@ -115,6 +115,7 @@ class UpdateHandler(object): cmds = shlex.split(agent_cmd) if cmds[0].lower() == "python": ...
Azure__WALinuxAgent-317
[ { "changes": { "added_entities": [ "azurelinuxagent/common/version.py:is_current_agent_installed" ], "added_modules": [ "azurelinuxagent/common/version.py:is_current_agent_installed" ], "edited_entities": null, "edited_modules": null }, "file": "azurel...
Azure/WALinuxAgent
2455e86bc0dc4f5349370c58fd5a4516c83a2b2e
`systemctl stop waagent` hangs Reproes on Ubuntu 16.04 as well as CentOS 7. `systemctl stop walinuxagent` command hangs for a long time, although it eventually succeeds like after maybe 30-40 seconds. It used to be instant. I think it's related to the signal handling behavior that has been recently changed.
diff --git a/azurelinuxagent/common/version.py b/azurelinuxagent/common/version.py index 4f3e5972..d529bb86 100644 --- a/azurelinuxagent/common/version.py +++ b/azurelinuxagent/common/version.py @@ -66,6 +66,9 @@ AGENT_NAME_PATTERN = re.compile(AGENT_PATTERN) AGENT_DIR_PATTERN = re.compile(".*/{0}".format(AGENT_PATTER...
Azure__WALinuxAgent-321
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "azurelinuxagent/common/version.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "az...
Azure/WALinuxAgent
9930df6600a061bcc5618b427ffa23cff5943f46
[2.1.5.rc6] recycles indefinitely when child process crashes When I use 2.1.5rc6 code (9930df6600a061bcc5618b427ffa23cff5943f46) and pull in update for 2.1.5rc6 , it starts just fine and stops just fine. (so #297 is resolved) However when I kill the child process with SIGSEGV signal (pid 9215 below) ``` # pstree...
diff --git a/azurelinuxagent/common/version.py b/azurelinuxagent/common/version.py index 222a7208..357d30ff 100644 --- a/azurelinuxagent/common/version.py +++ b/azurelinuxagent/common/version.py @@ -50,7 +50,7 @@ def get_distro(): AGENT_NAME = "WALinuxAgent" AGENT_LONG_NAME = "Azure Linux Agent" -AGENT_VERSION = '2...
Azure__WALinuxAgent-352
[ { "changes": { "added_entities": [ "azurelinuxagent/pa/deprovision/default.py:DeprovisionHandler.del_resolv" ], "added_modules": null, "edited_entities": [ "azurelinuxagent/pa/deprovision/default.py:DeprovisionHandler.setup" ], "edited_modules": [ "azu...
Azure/WALinuxAgent
2de3f63e6f35e3c9ed51efae4949b3ccd0d2156c
[2.1.5]waagent doesn't delete /etc/resolv.conf during deprovisioning Description of problem: After deprovisioning, the /etc/resolv.conf is not deleted. Version-Release number of selected component (if applicable): WALinuxAgent-2.1.5 RHEL Version: RHEL-7.3 internal build How reproducible: 100% Steps to R...
diff --git a/azurelinuxagent/pa/deprovision/default.py b/azurelinuxagent/pa/deprovision/default.py index b570c318..3a916e21 100644 --- a/azurelinuxagent/pa/deprovision/default.py +++ b/azurelinuxagent/pa/deprovision/default.py @@ -74,6 +74,11 @@ class DeprovisionHandler(object): files_to_del = ['/root/.bash_hi...
Azure__WALinuxAgent-403
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "azurelinuxagent/common/protocol/wire.py:ext_status_to_v1" ], "edited_modules": [ "azurelinuxagent/common/protocol/wire.py:ext_status_to_v1" ] }, "file": "azurelinuxagen...
Azure/WALinuxAgent
d0392908c8a8c66f41183696c0dbe5dfc3d34acc
[2.1.5] AutoUpdate WALA error on RHEL-6.8 Description of problem: waagent fails to run the AutoUpdated WALA process. Version-Release number of selected component (if applicable): WALinuxAgent-2.1.5 RHEL Version: RHEL-6.8 Python Version: 2.6.6 How reproducible: 100% Steps to Reproduce: 1. Prepare a RHEL...
diff --git a/azurelinuxagent/common/protocol/wire.py b/azurelinuxagent/common/protocol/wire.py index 287da33c..29a1663f 100644 --- a/azurelinuxagent/common/protocol/wire.py +++ b/azurelinuxagent/common/protocol/wire.py @@ -269,7 +269,7 @@ def ext_status_to_v1(ext_name, ext_status): "timestampUTC": timestamp ...
Azure__WALinuxAgent-542
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "azurelinuxagent/common/osutil/redhat.py:Redhat6xOSUtil.set_dhcp_hostname", "azurelinuxagent/common/osutil/redhat.py:RedhatOSUtil.get_dhcp_lease_endpoint" ], "edited_modules": [ ...
Azure/WALinuxAgent
960d64ae448a12075307e0ea2d3c38cb2124fc13
[2.2.0+]Fail to send hostname to DHCP server during provisioning in RHEL-7 Description of problem: In RHEL-7, if NetworkManager is enabled, the hostname is not sent to DHCP server during provisioning, so that the VM internal DNS is not set to the DNS server. Version-Release number of selected component (if applicab...
diff --git a/azurelinuxagent/common/osutil/redhat.py b/azurelinuxagent/common/osutil/redhat.py index 8e86f6ec..fef9e152 100644 --- a/azurelinuxagent/common/osutil/redhat.py +++ b/azurelinuxagent/common/osutil/redhat.py @@ -84,7 +84,8 @@ class Redhat6xOSUtil(DefaultOSUtil): def set_dhcp_hostname(self, hostname): ...
Azure__WALinuxAgent-602
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "azurelinuxagent/common/protocol/hostplugin.py:HostPluginProtocol.get_artifact_request" ], "edited_modules": [ "azurelinuxagent/common/protocol/hostplugin.py:HostPluginProtocol" ...
Azure/WALinuxAgent
d3a25f6cba37f8f18330d1a55500a4648d22dc49
Unhandled error ``` 2017/02/06 19:09:15.537324 ERROR get API versions failed with [(000009)HTTP GET failed] 2017/02/06 19:09:15.537516 ERROR Event: name=WALA, op=InitializeHostPlugin, message= 2017/02/06 19:09:15.538399 ERROR host plugin channel is not available 2017/02/06 19:09:15.545516 WARNING Agent WALinuxAgent...
diff --git a/azurelinuxagent/common/protocol/hostplugin.py b/azurelinuxagent/common/protocol/hostplugin.py index 4c4c2290..bdae56e2 100644 --- a/azurelinuxagent/common/protocol/hostplugin.py +++ b/azurelinuxagent/common/protocol/hostplugin.py @@ -80,10 +80,10 @@ class HostPluginProtocol(object): def get_artifact_r...
Azure__WALinuxAgent-603
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "azurelinuxagent/common/protocol/hostplugin.py:HostPluginProtocol.get_artifact_request" ], "edited_modules": [ "azurelinuxagent/common/protocol/hostplugin.py:HostPluginProtocol" ...
Azure/WALinuxAgent
d3a25f6cba37f8f18330d1a55500a4648d22dc49
Timing Issue with cloud-init and host keys Under some circumstances, provisioning can fail waiting for cloud-init to regenerate SSH host keys: ``` 2017/02/08 23:03:23.712479 INFO Wait for ssh host key to be generated. 2017/02/08 23:03:23.756726 ERROR run cmd 'ssh-keygen -lf /etc/ssh/ssh_host_rsa_key.pub' failed 201...
diff --git a/azurelinuxagent/common/protocol/hostplugin.py b/azurelinuxagent/common/protocol/hostplugin.py index 4c4c2290..bdae56e2 100644 --- a/azurelinuxagent/common/protocol/hostplugin.py +++ b/azurelinuxagent/common/protocol/hostplugin.py @@ -80,10 +80,10 @@ class HostPluginProtocol(object): def get_artifact_r...
Azure__WALinuxAgent-638
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "azurelinuxagent/common/osutil/factory.py:get_osutil" ], "edited_modules": [ "azurelinuxagent/common/osutil/factory.py:get_osutil" ] }, "file": "azurelinuxagent/common/o...
Azure/WALinuxAgent
7676bf85131673d4a02dcc43b18cdf24bb3a36ab
Host plugin fallback should be sticky If we detect the connection to storage is not available, we should keep this state and continue using the host plugin.
diff --git a/azurelinuxagent/common/osutil/factory.py b/azurelinuxagent/common/osutil/factory.py index acd7f6ed..eee9f97a 100644 --- a/azurelinuxagent/common/osutil/factory.py +++ b/azurelinuxagent/common/osutil/factory.py @@ -76,6 +76,9 @@ def get_osutil(distro_name=DISTRO_NAME, else: return Redh...
Azure__WALinuxAgent-642
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "azurelinuxagent/common/event.py:EventLogger.save_event" ], "edited_modules": [ "azurelinuxagent/common/event.py:EventLogger" ] }, "file": "azurelinuxagent/common/event....
Azure/WALinuxAgent
c6704cbad83b93763cf2403a77197559a67b9dca
Agent crash should log traceback When the extension handler crashes we get a generic 'agent crashed', we should log a traceback here.
diff --git a/azurelinuxagent/common/event.py b/azurelinuxagent/common/event.py index 9265820a..fb2c97c7 100644 --- a/azurelinuxagent/common/event.py +++ b/azurelinuxagent/common/event.py @@ -65,8 +65,17 @@ class EventLogger(object): if not os.path.exists(self.event_dir): os.mkdir(self.event_dir) ...
Azure__WALinuxAgent-748
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "azurelinuxagent/common/protocol/hostplugin.py:HostPluginProtocol.read_response_error" ], "edited_modules": [ "azurelinuxagent/common/protocol/hostplugin.py:HostPluginProtocol" ...
Azure/WALinuxAgent
9bed39863b187154afbb805b74f647a484603f81
2.2.11 on CentOS 6.9 - HostGAPlugin: Exception Put VM status: 'ascii' codec can't encode characters in position 83-85: ordinal not in range(128) Hi Guys, I have not been able to reproduce this issue myself but customer tried multiple times reinstalling the waagent and we are seeing these ascii codec errors in the lo...
diff --git a/azurelinuxagent/common/protocol/hostplugin.py b/azurelinuxagent/common/protocol/hostplugin.py index 464fd354..bf62cb54 100644 --- a/azurelinuxagent/common/protocol/hostplugin.py +++ b/azurelinuxagent/common/protocol/hostplugin.py @@ -288,12 +288,23 @@ class HostPluginProtocol(object): @staticmet...
Azure__WALinuxAgent-951
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "azurelinuxagent/agent.py:main", "azurelinuxagent/agent.py:usage" ], "edited_modules": [ "azurelinuxagent/agent.py:main", "azurelinuxagent/agent.py:usage" ] ...
Azure/WALinuxAgent
ab261b5f2ed0dfce4dd94adf924e68e0aaff5e7b
WALA usage prompt lacks of " waagent -show-configuration" We can perform "waagent -show-configuration" to get current WALA configuration,but "waagent -help"lacks of this usage prompt.
diff --git a/azurelinuxagent/agent.py b/azurelinuxagent/agent.py index e99f7bed..87ab3c14 100644 --- a/azurelinuxagent/agent.py +++ b/azurelinuxagent/agent.py @@ -144,7 +144,7 @@ def main(args=[]): if command == "version": version() elif command == "help": - usage() + print(usage()) ...
Azure__WALinuxAgent-954
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": [ "azurelinuxagent/common/event.py:WALAEventOperation" ] }, "file": "azurelinuxagent/common/event.py" }, { "changes": { "added_entities": null, ...
Azure/WALinuxAgent
b943cbc7067fbb8500a6a2ca1c7588f803ff7c81
Telemetry Event to Report Detected CPU and Memory There are cases where customers are paying for X CPUs and Y Memory, but they are not actually getting it. This is due to their kernel being improperly configured, or just being too old. The telemetry we have reports what Hyper-V gave the customer, which only tells half ...
diff --git a/azurelinuxagent/common/event.py b/azurelinuxagent/common/event.py index 108cf009..af4dee6c 100644 --- a/azurelinuxagent/common/event.py +++ b/azurelinuxagent/common/event.py @@ -63,6 +63,7 @@ class WALAEventOperation: Partition = "Partition" ProcessGoalState = "ProcessGoalState" Provision = ...
Azure__WALinuxAgent-986
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "azurelinuxagent/ga/env.py:EnvHandler.monitor" ], "edited_modules": [ "azurelinuxagent/ga/env.py:EnvHandler" ] }, "file": "azurelinuxagent/ga/env.py" }, { "chang...
Azure/WALinuxAgent
30e638ddab04bd4ec473fe8369a86f64e717776e
Update provisioning signal We use the same signal today to indicate provision success/failure between cloud-init and agent based provisioning. We should clarify how to distinguish these.
diff --git a/azurelinuxagent/ga/env.py b/azurelinuxagent/ga/env.py index 0456cb06..26487818 100644 --- a/azurelinuxagent/ga/env.py +++ b/azurelinuxagent/ga/env.py @@ -86,7 +86,7 @@ class EnvHandler(object): version=CURRENT_VERSION, op=WALAEventOperation.Firewall, ...
Azure__WALinuxAgent-987
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "azurelinuxagent/common/protocol/restapi.py:Protocol.download_ext_handler_pkg" ], "edited_modules": [ "azurelinuxagent/common/protocol/restapi.py:Protocol" ] }, "file": ...
Azure/WALinuxAgent
30e638ddab04bd4ec473fe8369a86f64e717776e
[2.2.14] HostGAPlugin still use proxy while auto-updating Hi there, I saw there was an issue #769 "HostGAPlugin requests should never go through proxy". But currently it seems that only the blob status upload traffic can ignore the proxy when proxy is misconfigured. For the auto-update feature, only the manifest fil...
diff --git a/azurelinuxagent/common/protocol/restapi.py b/azurelinuxagent/common/protocol/restapi.py index 275cedb0..540ec5d9 100644 --- a/azurelinuxagent/common/protocol/restapi.py +++ b/azurelinuxagent/common/protocol/restapi.py @@ -321,9 +321,9 @@ class Protocol(DataContract): def get_artifacts_profile(self): ...
Azure__WALinuxAgent-988
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "azurelinuxagent/common/protocol/restapi.py:Protocol.download_ext_handler_pkg" ], "edited_modules": [ "azurelinuxagent/common/protocol/restapi.py:Protocol" ] }, "file": ...
Azure/WALinuxAgent
30e638ddab04bd4ec473fe8369a86f64e717776e
Socket timeout causes blacklist Found in logs, we need to handle this case more gracefully: ``` 2017/11/17 11:47:16.626326 WARNING Agent WALinuxAgent-2.2.18 failed with exception: The read operation timed out 2017/11/17 11:47:16.705491 WARNING Traceback (most recent call last): File "bin/WALinuxAgent-2.2.18-py2.7...
diff --git a/azurelinuxagent/common/protocol/restapi.py b/azurelinuxagent/common/protocol/restapi.py index 275cedb0..540ec5d9 100644 --- a/azurelinuxagent/common/protocol/restapi.py +++ b/azurelinuxagent/common/protocol/restapi.py @@ -321,9 +321,9 @@ class Protocol(DataContract): def get_artifacts_profile(self): ...
Azure__autorest.python-475
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "autorest/codegen/models/parameter_list.py:ParameterList.method" ], "edited_modules": [ "autorest/codegen/models/parameter_list.py:ParameterList" ] }, "file": "autorest/...
Azure/autorest.python
4793bd7b9ddc25a241cd54538b4c5750f915b3d2
argument order syntax error Using > AutoRest code generation utility [cli version: 3.0.6187; node: v10.13.0, max-memory: 8192 gb] With: Autorest for Python v5.0.0 - 20200228.1 And Swagger: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/search/data-plane/Microsoft.Azure...
diff --git a/autorest/codegen/models/parameter_list.py b/autorest/codegen/models/parameter_list.py index 5f1c8b94f..500a776b3 100644 --- a/autorest/codegen/models/parameter_list.py +++ b/autorest/codegen/models/parameter_list.py @@ -115,16 +115,17 @@ class ParameterList(MutableSequence): or parameter.i...
Azure__autorest.python-545
[ { "changes": { "added_entities": [ "autorest/codegen/models/parameter.py:Parameter.default_value" ], "added_modules": null, "edited_entities": [ "autorest/codegen/models/parameter.py:Parameter.__init__", "autorest/codegen/models/parameter.py:Parameter._default_val...
Azure/autorest.python
3322ab3a1c793c8fdaf2dc7d391c3c1e2eca2852
default value followed by non default value in operation signature if you change cost management service swagger like this <img width="770" alt="Screen Shot 2020-04-03 at 10 40 18 AM" src="https://user-images.githubusercontent.com/43154838/78372652-8760c900-7597-11ea-957f-8abf14e4582c.png"> code gen generates: <img ...
diff --git a/ChangeLog.md b/ChangeLog.md index cb8b2555c..0c66ad340 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,11 @@ # Change Log +### Current + +**Bug Fixes** + +- Fixes parameter ordering so parameters with default values are all ordered at the end #545 + ### 2020-04-01 - 5.0.0-dev.20200401.1 Model...
Azure__azure-cli-1423
[ { "changes": { "added_entities": [ "src/azure-cli-core/azure/cli/core/application.py:Application._maybe_load_file" ], "added_modules": null, "edited_entities": [ "src/azure-cli-core/azure/cli/core/application.py:Application._expand_file_prefixed_files" ], "edi...
Azure/azure-cli
c56c791d01985f1209d30849b55922d1adac85b5
CLI inconsistency -- to specify a parameters file, one must not use equal sign If you use an equal sign between --parameters and the actual file path, you end up with the following: ``` az resource group deployment create --resource-group=jmsdcosrg --template-file=./output/azuredeploy.json --parameters="@./output/a...
diff --git a/src/azure-cli-core/azure/cli/core/application.py b/src/azure-cli-core/azure/cli/core/application.py index 0bc115f74..caab463a1 100644 --- a/src/azure-cli-core/azure/cli/core/application.py +++ b/src/azure-cli-core/azure/cli/core/application.py @@ -6,6 +6,7 @@ from collections import defaultdict import sy...
Azure__azure-cli-15184
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/azure-cli-core/azure/cli/core/_profile.py:Profile.get_login_credentials", "src/azure-cli-core/azure/cli/core/_profile.py:Profile.get_raw_token" ], "edited_modules": [ "sr...
Azure/azure-cli
00cf5e3b3ecadfa43d4b1bee8c5c2d352626d227
{Core} AdalAuthentication doesn't honor `scopes` for Track 2 SDK **Describe the bug** In Track 2 SDK, `scopes` (`resource`) is managed by SDK, instead of Azure CLI. For example, in [`AzureAppConfigurationClient`](https://github.com/Azure/azure-sdk-for-python/blob/022bc80f2bc645d8d82d647620376fcea2229522/sdk/appconfi...
diff --git a/src/azure-cli-core/azure/cli/core/_profile.py b/src/azure-cli-core/azure/cli/core/_profile.py index 3dee2b626..79e08e5c9 100644 --- a/src/azure-cli-core/azure/cli/core/_profile.py +++ b/src/azure-cli-core/azure/cli/core/_profile.py @@ -559,26 +559,35 @@ class Profile: external_tenants_...
Azure__azure-cli-1876
[ { "changes": { "added_entities": [ "src/azure-cli-core/azure/cli/core/_util.py:read_file_content" ], "added_modules": [ "src/azure-cli-core/azure/cli/core/_util.py:read_file_content" ], "edited_entities": [ "src/azure-cli-core/azure/cli/core/_util.py:get_fil...
Azure/azure-cli
62dab24154f910ff7f3ef2b6b3783945b58e9098
"@file support": should handle the BOM on file loading Otherwise, using `@<parameter-file>` will return an invalid json string for the command to use. Since json file is the main file type, so the core layer should handle it. CLI already have [the logic](https://github.com/Azure/azure-cli/blob/master/src/azure-cli-cor...
diff --git a/src/azure-cli-core/azure/cli/core/_util.py b/src/azure-cli-core/azure/cli/core/_util.py index c194599bc..379152887 100644 --- a/src/azure-cli-core/azure/cli/core/_util.py +++ b/src/azure-cli-core/azure/cli/core/_util.py @@ -94,21 +94,27 @@ def get_json_object(json_string): def get_file_json(file_path,...
Azure__azure-cli-2053
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_help.py" }, { "changes": { "added_entities": null, "added_modules": null, ...
Azure/azure-cli
27816f4891c85592ad6f06bcc94008fa7d144b69
VM Access: command renaming This is polishing like change regarding 4 existing commands under `vm access`, including `delete-linux-user`, `reset-linux-ssh`, `reset-windows-admin`, `set-linux-user`. The naming oddness reflects the service function difference between windows and linux vm, particularly on windows vm, you ...
diff --git a/src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_help.py b/src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_help.py index 8f73d9966..540d6aab1 100644 --- a/src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_help.py +++ b/src/command_modules/azure-cli-vm/azure/cli/com...
Azure__azure-cli-2112
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "src/azure-cli/setup.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/command_m...
Azure/azure-cli
2a8d8fca411fe8422c7cee557943ae4c9f256bfc
[DNS] Change 'az network dns record update-soa' to 'az network dns record soa update' Under 'az network dns record', we have a bunch of subgroups (one for each record type) followed by a one-off command 'update-soa'. The SOA record set is a bit of a special case, in that it can be edited but doesn't support add/remo...
diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index d6bb60adc..a400fd7f7 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -44,20 +44,25 @@ CLASSIFIERS = [ ] DEPENDENCIES = [ - 'azure-cli-acr', 'azure-cli-acs', 'azure-cli-appservice', - 'azure-cli-core', - 'azure-...
Azure__azure-cli-2214
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "src/command_modules/azure-cli-network/azure/cli/command_modules/network/commands.py" } ]
Azure/azure-cli
01bbaf048c7669c024ece5e84c9360d829624574
[DNS] Deleting a record requires a confirmation prompt Deleting a record set is a potentially catastrophic operation. For this reason, in the Portal, PowerShell, and CLI1.0, the operation has a confirmation prompt. We need to add a similar confirmation prompt in CLI2.0. This applies to both `az network dns record...
diff --git a/src/command_modules/azure-cli-network/azure/cli/command_modules/network/commands.py b/src/command_modules/azure-cli-network/azure/cli/command_modules/network/commands.py index 0e5118830..3b6e72876 100644 --- a/src/command_modules/azure-cli-network/azure/cli/command_modules/network/commands.py +++ b/src/com...
Azure__azure-cli-2345
[ { "changes": { "added_entities": [ "src/command_modules/azure-cli-network/azure/cli/command_modules/network/custom.py:_get_nic_ip_config" ], "added_modules": [ "src/command_modules/azure-cli-network/azure/cli/command_modules/network/custom.py:_get_nic_ip_config" ], ...
Azure/azure-cli
23b3145b4623edf2648ee28a101175199d92cb1c
az network nic ip-config address-pool add command fails Using the cli 2.0 to bind a nic to an address pool with the following command produces this error: command: az network nic ip-config address-pool add \ --resource-group ${resource_group} \ --nic-name ${nic_name} \ --lb-name ${lb_name} \ -...
diff --git a/azure-cli.pyproj b/azure-cli.pyproj index 6a88538e3..c714d3247 100644 --- a/azure-cli.pyproj +++ b/azure-cli.pyproj @@ -333,6 +333,9 @@ <Compile Include="command_modules\azure-cli-network\azure\cli\command_modules\network\mgmt_vnet_gateway\lib\version.py" /> <Compile Include="command_modules\azur...
Azure__azure-cli-2346
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/azure-cli-core/azure/cli/core/_profile.py:Profile.find_subscriptions_on_login", "src/azure-cli-core/azure/cli/core/_profile.py:Profile.load_cached_subscriptions" ], "edited_modul...
Azure/azure-cli
23b3145b4623edf2648ee28a101175199d92cb1c
extension hack not working ### **This is autogenerated. Please review and update as needed.** ## Describe the bug **Command Name** `az hack` **Errors:** ``` libffi.so.6: cannot open shared object file: No such file or directory Traceback (most recent call last): python3.8/site-packages/knack/cli.py, ln...
diff --git a/azure-cli.pyproj b/azure-cli.pyproj index 6a88538e3..c714d3247 100644 --- a/azure-cli.pyproj +++ b/azure-cli.pyproj @@ -333,6 +333,9 @@ <Compile Include="command_modules\azure-cli-network\azure\cli\command_modules\network\mgmt_vnet_gateway\lib\version.py" /> <Compile Include="command_modules\azur...
Azure__azure-cli-2467
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "src/command_modules/azure-cli-resource/azure/cli/command_modules/resource/_help.py" }, { "changes": { "added_entities": null, "added_modul...
Azure/azure-cli
d79710730933432d2c8ccd722d31fbbf75845ce0
az vmss get-instance-view returns model view when specifying all VMs If you run the following to get the instance view for all VMs in a scale set: ``` az vmss get-instance-view -g rgname -n vmssname --instance-id \* ``` CLI does: ``` requests.packages.urllib3.connectionpool : https://management.azure.com:443 "GET...
diff --git a/src/command_modules/azure-cli-resource/azure/cli/command_modules/resource/_help.py b/src/command_modules/azure-cli-resource/azure/cli/command_modules/resource/_help.py index 3df308105..bcff81d87 100644 --- a/src/command_modules/azure-cli-resource/azure/cli/command_modules/resource/_help.py +++ b/src/comman...
Azure__azure-cli-2575
[ { "changes": { "added_entities": [ "src/azure-cli-core/azure/cli/core/_profile.py:Profile._pick_working_subscription" ], "added_modules": null, "edited_entities": [ "src/azure-cli-core/azure/cli/core/_profile.py:Profile._set_subscriptions" ], "edited_modules":...
Azure/azure-cli
3b6324d00353405e547723056bb324fe3667731c
Login: do not set default on disabled subscriptions
diff --git a/src/azure-cli-core/azure/cli/core/_profile.py b/src/azure-cli-core/azure/cli/core/_profile.py index 2312aa240..6c68bddcb 100644 --- a/src/azure-cli-core/azure/cli/core/_profile.py +++ b/src/azure-cli-core/azure/cli/core/_profile.py @@ -182,16 +182,22 @@ class Profile(object): s[_IS_DEFAULT...
Azure__azure-cli-2624
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_params.py" }, { "changes": { "added_entities": [ "src/command_modules/azu...
Azure/azure-cli
29d8a30bfb42784c61c0c28e7515937272d276bc
`az vm extension set` crashes ``` az vm extension set -n IaaSAntimalware --publisher Microsoft.Azure.Security -g TestDesktop_RG --vm-name vmAWB10Test09 Traceback (most recent call last): File "/usr/local/Cellar/python3/3.6.0_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/azure/cli/main.py...
diff --git a/azure-cli.pyproj b/azure-cli.pyproj index 40fc0e2dc..1b3a00234 100644 --- a/azure-cli.pyproj +++ b/azure-cli.pyproj @@ -587,6 +587,8 @@ <Folder Include="command_modules\azure-cli-network\azure\cli\command_modules\network\mgmt_app_gateway\lib\" /> <Folder Include="command_modules\azure-cli-network...
Azure__azure-cli-2751
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "src/command_modules/azure-cli-network/azure/cli/command_modules/network/_help.py" }, { "changes": { "added_entities": null, "added_modules...
Azure/azure-cli
678b940f29230f53fd7cbec7211842e99658ed3d
[Network] VNET gateway should support configuration of active-active gateways This is a new feature which was also announced in Ignite last year. Please refer to the Powershell cmdlet documentation or get in touch with me. - [x] Active-Active Cross Premise - [x] Active-Active VNet-to-VNet - [x] Active-Standby to A...
diff --git a/src/command_modules/azure-cli-network/HISTORY.rst b/src/command_modules/azure-cli-network/HISTORY.rst index ab972d502..b7c518c89 100644 --- a/src/command_modules/azure-cli-network/HISTORY.rst +++ b/src/command_modules/azure-cli-network/HISTORY.rst @@ -5,7 +5,7 @@ Release History unreleased ++++++++++++...
Azure__azure-cli-2773
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/custom.py:update_acs" ], "edited_modules": [ "src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/custom.p...
Azure/azure-cli
6186044564dc3436b7551c58eda07db4412a49f8
az vmss update fails when trying to update image url for VM scale set I am trying to update os image used in my VMSS, and ran following command but it fails: az vmss update -g myrg -n myvmss --set virtualMachineProfile.storageProfile.osDisk.image.uri=https://mystorage.blob.core.windows.net/system/Microsoft.Compute/Ima...
diff --git a/azure-cli.pyproj b/azure-cli.pyproj index bea939442..329dab752 100644 --- a/azure-cli.pyproj +++ b/azure-cli.pyproj @@ -600,6 +600,7 @@ <Folder Include="azure-cli-core\azure\cli\core\test_utils\" /> <Folder Include="azure-cli-core\tests\" /> <Folder Include="azure-cli-core\tests\__pycache__\...
Azure__azure-cli-2844
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "src/command_modules/azure-cli-network/azure/cli/command_modules/network/_params.py" }, { "changes": { "added_entities": null, "added_modul...
Azure/azure-cli
a8395ea70322dbf535d474d52ebf3d625a6cbdf0
traffic-manager command failed to update endpoint ### Environment summary **Install Method:** How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly) apt-get **CLI Version:** What version of the CLI and modules are installed? (Use `az --version`) azure-cli (2.0.0) network...
diff --git a/src/command_modules/azure-cli-network/HISTORY.rst b/src/command_modules/azure-cli-network/HISTORY.rst index 93cd59cca..3be0480e2 100644 --- a/src/command_modules/azure-cli-network/HISTORY.rst +++ b/src/command_modules/azure-cli-network/HISTORY.rst @@ -10,6 +10,7 @@ unreleased * BC: Fix bug in the output o...
Azure__azure-cli-2943
[ { "changes": { "added_entities": [ "src/azure-cli-core/azure/cli/core/_profile.py:Profile._build_tenant_level_accounts" ], "added_modules": null, "edited_entities": [ "src/azure-cli-core/azure/cli/core/_profile.py:Profile.find_subscriptions_on_login", "src/azure-c...
Azure/azure-cli
fe509f803d562c48b3c1d936f59d4b7b6f698136
Azure CLI Feature: Use default location and sku when specifying a resource group ### Environment summary **Install Method:** How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly) Answer here: pip **CLI Version:** What version of the CLI and modules are installed? (Use `az -...
diff --git a/src/azure-cli-core/azure/cli/core/_profile.py b/src/azure-cli-core/azure/cli/core/_profile.py index e0d45196a..9788066e4 100644 --- a/src/azure-cli-core/azure/cli/core/_profile.py +++ b/src/azure-cli-core/azure/cli/core/_profile.py @@ -106,6 +106,7 @@ class Profile(object): ...
Azure__azure-cli-3164
[ { "changes": { "added_entities": [ "src/azure-cli-core/azure/cli/core/_profile.py:CredsCache.flush_to_disk" ], "added_modules": null, "edited_entities": [ "src/azure-cli-core/azure/cli/core/_profile.py:Profile.__init__", "src/azure-cli-core/azure/cli/core/_profile...
Azure/azure-cli
0c5e91ca52cf0ed5f9284968dd3272275020ce89
auth: cache adal token cache in memory The goal is to use a single copy of token cache across the same process, rather dump it after getting a token. Building up a token cache is non trivial involving reading and writing the ~/.azure/accesstoken.json. For some commands which involves 1000+ rest call, like datalake, the...
diff --git a/src/azure-cli-core/HISTORY.rst b/src/azure-cli-core/HISTORY.rst index 0db20c494..49f585169 100644 --- a/src/azure-cli-core/HISTORY.rst +++ b/src/azure-cli-core/HISTORY.rst @@ -6,6 +6,7 @@ Release History ^^^^^^^^^^^^^^^^^^ * core: capture exceptions caused by unregistered provider and auto-register it ...
Azure__azure-cli-3354
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/custom.py:vm_open_port" ], "edited_modules": [ "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/custom.py:...
Azure/azure-cli
4417fb03c91b0caa5f88a72ca0372d5931c072d9
az vm open-port returns error but executes successfully ### Description az vm open-port returns an error but executes successfully Example: PS C:\Users\larry> az vm open-port -g JUMPBOXRG -n jumpbox --port 80 --priority 500 Operation failed with status: 'Not Found'. Details: 404 Client Error: Not Found for url: ...
diff --git a/appveyor.yml b/appveyor.yml index a3b8e2a82..23c0de8d3 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -13,7 +13,7 @@ environment: install: - SET PATH=%PYTHON%;%PYTHON%\Scripts;%PATH% - python scripts/dev_setup.py - - python -m pip install sphinx + - python -m pip install sphinx==1.5.6 build_sc...
Azure__azure-cli-3409
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "src/azure-cli/setup.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/command_m...
Azure/azure-cli
40c111b3daa79c4cc326f09d47e60be5826ecccc
[Lock] az create lock Fails ### Description Creating locks fails with: ``` az lock create: error: 'Namespace' object has no attribute 'get' ``` --- ### Environment summary **Install Method:** How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly) Answer here: `pip3` ...
diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index 331db8c41..6a59bb8be 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -54,11 +54,13 @@ DEPENDENCIES = [ 'azure-cli-acs', 'azure-cli-appservice', 'azure-cli-batch', + 'azure-cli-billing', 'azure-cli-cdn', 'a...
Azure__azure-cli-3415
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/azure-cli-core/azure/cli/core/_profile.py:_authentication_context_factory", "src/azure-cli-core/azure/cli/core/_profile.py:get_authority_url", "src/azure-cli-core/azure/cli/core/_pro...
Azure/azure-cli
46d5382995c2740df260704f270df0e5cac965a5
login: expose ADFS flow for azure stack env
diff --git a/src/azure-cli-core/HISTORY.rst b/src/azure-cli-core/HISTORY.rst index 103f25a5c..867cd36a3 100644 --- a/src/azure-cli-core/HISTORY.rst +++ b/src/azure-cli-core/HISTORY.rst @@ -7,6 +7,7 @@ unreleased ^^^^^^^^^^^^^^^^^^ * Command paths are no longer case sensitive. * Certain boolean-type parameters are no...
Azure__azure-cli-3441
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/azure-cli-core/azure/cli/core/_profile.py:SubscriptionFinder._find_using_common_tenant", "src/azure-cli-core/azure/cli/core/_profile.py:SubscriptionFinder._find_using_specific_tenant" ...
Azure/azure-cli
2e672ea8757dd37052fb8131852eda28cd573cb2
az vm list-usages needs table/tsv work Currently outputs like: ``` $ az vm list-usage --location westus Limit CurrentValue ------- -------------- 2000 100 4 10000 4 2000 100 4 100 100 100 100 100 100 100 1...
diff --git a/src/azure-cli-core/azure/cli/core/_profile.py b/src/azure-cli-core/azure/cli/core/_profile.py index 113eac669..17763237a 100644 --- a/src/azure-cli-core/azure/cli/core/_profile.py +++ b/src/azure-cli-core/azure/cli/core/_profile.py @@ -471,7 +471,6 @@ class SubscriptionFinder(object): temp...
Azure__azure-cli-3643
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_validators.py:_validate_admin_password" ], "edited_modules": [ "src/command_modules/azure-cli-vm/azure/cli/command_modu...
Azure/azure-cli
c024331912bbf467725d76d437557ebc6e4aba17
The error message for too short/long password for VM is spelled incorrectly (pssword) We even have a test that verifies that it is incorrectly spelled :)
diff --git a/doc/configuring_your_machine.md b/doc/configuring_your_machine.md index 7af498348..a4cbd442c 100644 --- a/doc/configuring_your_machine.md +++ b/doc/configuring_your_machine.md @@ -72,7 +72,7 @@ The repo has a launch.json file that will launch the version of Python that is f #### OSX/Ubuntu (bash): ...
Azure__azure-cli-3645
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/command_modules/azure-cli-interactive/azclishell/app.py:Shell._special_cases" ], "edited_modules": [ "src/command_modules/azure-cli-interactive/azclishell/app.py:Shell" ] ...
Azure/azure-cli
fb9f2e795d88105549c8552dd7a38136a3fdfda0
Public IP creation with --version parameter ### Description When I run the following command it should create IPv4 IP address but as an output I get versions of each Azure CLI modules **Command** network public-ip create --name linuxvm --resource-group clivm --allocation-method Dynamic --location southeastasia --...
diff --git a/azure-cli.pyproj b/azure-cli.pyproj index 3fdf7cd0a..ea34c0dd2 100644 --- a/azure-cli.pyproj +++ b/azure-cli.pyproj @@ -592,6 +592,8 @@ </Compile> <Compile Include="command_modules\azure-cli-resource\azure_bdist_wheel.py" /> <Compile Include="command_modules\azure-cli-resource\tests\test_api...
Azure__azure-cli-3743
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/command_modules/azure-cli-resource/azure/cli/command_modules/resource/_validators.py:validate_deployment_parameters" ], "edited_modules": [ "src/command_modules/azure-cli-resourc...
Azure/azure-cli
e80e204a01bf4f32c17d8f89a955c3dd49eaa7ec
Parameters file values not being read during deployment create ### Description When using `az group deployment create` with the newest version of the Azure CLI it no longer respects the `--parameters @<file>` contents and prompts me to type out each value in the command line. Tested same template/parameters JSON f...
diff --git a/azure-cli.pyproj b/azure-cli.pyproj index ea34c0dd2..842d462d2 100644 --- a/azure-cli.pyproj +++ b/azure-cli.pyproj @@ -616,8 +616,6 @@ <Compile Include="command_modules\azure-cli-sf\azure\cli\command_modules\sf\_params.py" /> <Compile Include="command_modules\azure-cli-sf\azure\cli\command_modul...
Azure__azure-cli-3754
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/azure-cli-core/azure/cli/core/cloud.py:CloudEndpoints.__init__" ], "edited_modules": [ "src/azure-cli-core/azure/cli/core/cloud.py:CloudEndpoints" ] }, "file": "src...
Azure/azure-cli
0e10f6fee8807cda08afd61f60fe8e7d7508156e
AzureStack: images aliases is not applicable for azurestack ### Description CLI has a set of aliases for the images referred from the following location https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/quickstart-templates/aliases.json These aliases makes the assumption that these im...
diff --git a/src/azure-cli-core/azure/cli/core/cloud.py b/src/azure-cli-core/azure/cli/core/cloud.py index 5fb720abd..21eefe782 100644 --- a/src/azure-cli-core/azure/cli/core/cloud.py +++ b/src/azure-cli-core/azure/cli/core/cloud.py @@ -58,7 +58,8 @@ class CloudEndpoints(object): # pylint: disable=too-few-public-metho...
Azure__azure-cli-4047
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/custom.py:_get_extension_instance_name" ], "edited_modules": [ "src/command_modules/azure-cli-vm/azure/cli/command_modul...
Azure/azure-cli
dd91433b36f95e9c849cbbcecccb0f610a8f0a3c
Misleading error message when resetting SSH key on a VM ### Description The following command works on all my VMs except for one particular one show below. NOTE: `az` is an alias to `docker run --rm -v /Users/$(whoami):/root -it azuresdk/azure-cli-python az` ```sh $ az vm user update -u moody -g myGroup -n myVM...
diff --git a/src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/custom.py b/src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/custom.py index a0e2fe027..4f08c5271 100644 --- a/src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/custom.py +++ b/src/command_modules/azure-cli-vm/azure/cli/...
Azure__azure-cli-4091
[ { "changes": { "added_entities": [ "src/azure-cli-core/azure/cli/core/_profile.py:Profile.refresh_accounts" ], "added_modules": null, "edited_entities": [ "src/azure-cli-core/azure/cli/core/_profile.py:Profile._build_tenant_level_accounts", "src/azure-cli-core/azu...
Azure/azure-cli
24667566ff4732ad325da0ddcf0eb143f0650c84
Proposal: az account refresh Sometimes I have new subscriptions associated to my account that did not exist when I did `azure login` so I have to do `azure login` again and go through the interactive login flow to get the new subscriptions I have show up on my local CLI. Since CLI already has my working credentials, p...
diff --git a/src/azure-cli-core/azure/cli/core/_profile.py b/src/azure-cli-core/azure/cli/core/_profile.py index 1d12fd835..7200ab600 100644 --- a/src/azure-cli-core/azure/cli/core/_profile.py +++ b/src/azure-cli-core/azure/cli/core/_profile.py @@ -57,6 +57,7 @@ _CLIENT_ID = '04b07795-8ddb-461a-bbee-02f9e1bf7b46' _COM...
Azure__azure-cli-4265
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "scripts/releaser/release.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/comm...
Azure/azure-cli
85c0e4c8fb21e26a4984cad3b21a5e22a6a8b92b
vm/vmss create: don't throw when tries to retrieve image to extract the plan information The context is some images are still being staged and not yet published, hence image API won't go through. Instead of fail (therefore block the create), the suggested change is to warn. I am fine with it, as using market place imag...
diff --git a/packaged_releases/debian/debian_build.sh b/packaged_releases/debian/debian_build.sh index cac900add..1d59a1ffd 100644 --- a/packaged_releases/debian/debian_build.sh +++ b/packaged_releases/debian/debian_build.sh @@ -55,6 +55,9 @@ $source_dir/python_env/bin/pip3 install wheel for d in $source_dir/src/azure...
Azure__azure-cli-4272
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/_params.py:register_common_storage_account_options" ], "edited_modules": [ "src/command_modules/azure-cli-stor...
Azure/azure-cli
966cbaa94a8eba13f89a220fb1fe73bed3e2244b
az storage account update encryption - syntax mismatch? ### Description `az storage account update \ --name ${storageacct} --resource-group ${res_group} \ --encryption queue table blob file` based on this in usage: `[--encryption {queue,table,blob,file} [{queue,table,blob,file} ...]]` results in `az...
diff --git a/src/command_modules/azure-cli-storage/HISTORY.rst b/src/command_modules/azure-cli-storage/HISTORY.rst index 3a69e8aa3..51989b349 100644 --- a/src/command_modules/azure-cli-storage/HISTORY.rst +++ b/src/command_modules/azure-cli-storage/HISTORY.rst @@ -3,6 +3,12 @@ Release History =============== +unrel...
Azure__azure-data-lake-store-python-76
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "adlfs/cli.py:AzureDataLakeFSCommand.do_get", "adlfs/cli.py:AzureDataLakeFSCommand.do_put" ], "edited_modules": [ "adlfs/cli.py:AzureDataLakeFSCommand" ] }, "fil...
Azure/azure-data-lake-store-python
46645c61e903d76585c410baadb1f49885fdbb2e
PRI 0: Use the Offset parameter in append to ensure we are always appending at the offset we expect The append API allows for a query parameter called offset, which allows you to specify where you think the end of the file is to append data to. This is very useful for us, since it allows us to submit an append call whe...
diff --git a/adlfs/cli.py b/adlfs/cli.py index 0c6c2ca..f8d2a1f 100644 --- a/adlfs/cli.py +++ b/adlfs/cli.py @@ -179,7 +179,7 @@ class AzureDataLakeFSCommand(cmd.Cmd, object): parser = argparse.ArgumentParser(prog="get", add_help=False) parser.add_argument('remote_path', type=str) parser.add_...
Azure__azure-data-lake-store-python-83
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "adlfs/cli.py:AzureDataLakeFSCommand._parse_ownership", "adlfs/cli.py:AzureDataLakeFSCommand.do_chown" ], "edited_modules": [ "adlfs/cli.py:AzureDataLakeFSCommand" ] ...
Azure/azure-data-lake-store-python
9143406b26b3dc695c325b4fbf563c2093e9982f
SetOwner and SetPermission are now supported, need tests Please add tests and recordings for these two APIs now that they are supported
diff --git a/adlfs/cli.py b/adlfs/cli.py index f8d2a1f..320033f 100644 --- a/adlfs/cli.py +++ b/adlfs/cli.py @@ -91,13 +91,13 @@ class AzureDataLakeFSCommand(cmd.Cmd, object): def _parse_ownership(self, ownership): if ':' in ownership: - user, group = ownership.split(':') - if not ...
Azure__azure-functions-durable-python-494
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "azure/durable_functions/models/DurableOrchestrationContext.py:DurableOrchestrationContext.call_http" ], "edited_modules": [ "azure/durable_functions/models/DurableOrchestrationContex...
Azure/azure-functions-durable-python
354ace05d704ae63f9a6488bd6a228adb949e2b2
`call_http` json serializes regular `str` content. <!-- Please read. Before posting, please be sure to review whether your issue matches the description of a known regression by using [this](https://github.com/Azure/azure-functions-durable-python/issues?q=is%3Aissue+is%3Aopen+label%3Aknown-regression) query. If...
diff --git a/azure/durable_functions/models/DurableOrchestrationContext.py b/azure/durable_functions/models/DurableOrchestrationContext.py index df10100..01ec900 100644 --- a/azure/durable_functions/models/DurableOrchestrationContext.py +++ b/azure/durable_functions/models/DurableOrchestrationContext.py @@ -214,7 +214,...
Azure__azure-functions-python-library-172
[ { "changes": { "added_entities": [ "azure/functions/decorators/function_app.py:TriggerApi.timer_trigger" ], "added_modules": null, "edited_entities": [ "azure/functions/decorators/function_app.py:TriggerApi.schedule" ], "edited_modules": [ "azure/funct...
Azure/azure-functions-python-library
fa064842f214f962612fccb9a5bcee502eac6c55
[FeatureRequest] Add timer trigger for Python Programming Model V2 Add an alias for schedule.
diff --git a/azure/functions/decorators/function_app.py b/azure/functions/decorators/function_app.py index ac06b36..deb9054 100644 --- a/azure/functions/decorators/function_app.py +++ b/azure/functions/decorators/function_app.py @@ -399,14 +399,14 @@ class TriggerApi(DecoratorApi, ABC): return wrap - de...
Azure__azure-functions-python-worker-1166
[ { "changes": { "added_entities": [ "azure_functions_worker/dispatcher.py:Dispatcher.get_worker_metadata" ], "added_modules": null, "edited_entities": [ "azure_functions_worker/dispatcher.py:Dispatcher._handle__worker_init_request", "azure_functions_worker/dispatch...
Azure/azure-functions-python-worker
d7e5c84ca57d4dd35c03efb611044c46a68137d7
Populate WorkerMetadata in WorkerInitResponse message The protobuf has been updated to include a `WorkerMetadata` property within the `WorkerInitResponse` message. The worker should include `WorkerMetadata` when sending the `WorkerInitResponse` to the host. [PR](https://github.com/Azure/azure-functions-language-work...
diff --git a/azure_functions_worker/dispatcher.py b/azure_functions_worker/dispatcher.py index 24c25ec..1e60917 100644 --- a/azure_functions_worker/dispatcher.py +++ b/azure_functions_worker/dispatcher.py @@ -9,6 +9,7 @@ import asyncio import concurrent.futures import logging import os +import platform import queue...
Azure__azure-functions-python-worker-1318
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "azure_functions_worker/main.py:parse_args" ], "edited_modules": [ "azure_functions_worker/main.py:parse_args" ] }, "file": "azure_functions_worker/main.py" } ]
Azure/azure-functions-python-worker
d0135b091e8df03f8ac131894e0ec66f780de049
Update python language worker to support handling new command line arguments with functions- prefix The command-line arguments that the language worker receives from the Functions Host have generic names (such as 'host' and 'port'). This can cause conflicts with other environment variables in certain environments. To a...
diff --git a/azure_functions_worker/main.py b/azure_functions_worker/main.py index 3edf284..4e1f70a 100644 --- a/azure_functions_worker/main.py +++ b/azure_functions_worker/main.py @@ -2,7 +2,6 @@ # Licensed under the MIT License. """Main entrypoint.""" - import argparse @@ -26,6 +25,18 @@ def parse_args(): ...
Azure__azure-functions-python-worker-1378
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "azure_functions_worker/dispatcher.py:Dispatcher._handle__invocation_request" ], "edited_modules": [ "azure_functions_worker/dispatcher.py:Dispatcher" ] }, "file": "azur...
Azure/azure-functions-python-worker
f269c09764da25e70cad4c6f4bd785cd86221c12
[FeatureRequest] Add timestamp in the received invocation logs **Describe the request: A clear and concise description.** Adding a utcnow time stamp that is added to the ReceivedInvocationRequest
diff --git a/azure_functions_worker/dispatcher.py b/azure_functions_worker/dispatcher.py index 625397f..a0ac974 100644 --- a/azure_functions_worker/dispatcher.py +++ b/azure_functions_worker/dispatcher.py @@ -16,6 +16,7 @@ import threading from asyncio import BaseEventLoop from logging import LogRecord from typing i...
Azure__azure-functions-python-worker-875
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "azure_functions_worker/constants.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "...
Azure/azure-functions-python-worker
e4adb351e5454c093fcefbf0fb84f200af32f386
Allow specifying PYTHON_THREADPOOL_THREAD_COUNT larger than 32 Currently, the worker limits the maximum value of `PYTHON_THREADPOOL_THREAD_COUNT` to 32. Any value larger than that is ignored. There is no good reason for this in general case: if someone/something decided a larger number works better for a specific use c...
diff --git a/azure_functions_worker/constants.py b/azure_functions_worker/constants.py index b64b70e..08f464e 100644 --- a/azure_functions_worker/constants.py +++ b/azure_functions_worker/constants.py @@ -1,6 +1,8 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. +impo...
Azure__iotedgedev-173
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "iotedgedev/azurecli.py:AzureCli.apply_configuration" ], "edited_modules": [ "iotedgedev/azurecli.py:AzureCli" ] }, "file": "iotedgedev/azurecli.py" }, { "change...
Azure/iotedgedev
ce59bad1286bf650d442b2b7fbe16a3db676a497
AZ IOT HUB apply-configuration needs hubname. If user has old version of az cli iot extension installed they get this: `az iot hub apply-configuration: error: argument --hub-name/-n is required ` - add the -n parameter to the apply-configuration call. you can get it in IOTHUB_CONNECTION_INFO.HostName apply-...
diff --git a/iotedgedev/azurecli.py b/iotedgedev/azurecli.py index c5bce70..6bce331 100644 --- a/iotedgedev/azurecli.py +++ b/iotedgedev/azurecli.py @@ -226,10 +226,10 @@ class AzureCli: return result - def apply_configuration(self, deviceId, connection_string, config): - self.output.status(f("De...
Azure__iotedgedev-211
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "iotedgedev/modules.py:Modules.build_push" ], "edited_modules": [ "iotedgedev/modules.py:Modules" ] }, "file": "iotedgedev/modules.py" }, { "changes": { "a...
Azure/iotedgedev
31d6219f41caf9401f5c49263a963e3a748e69bf
Image placeholder is not expanded when the module is in BYPASS_MODULES
diff --git a/iotedgedev/modules.py b/iotedgedev/modules.py index d36367e..8b058ba 100644 --- a/iotedgedev/modules.py +++ b/iotedgedev/modules.py @@ -84,31 +84,30 @@ class Modules: tags_to_build = set() for module in os.listdir(self.envvars.MODULES_PATH): - if module not in bypass_modules:...