profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/narrieta/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Norberto Arrieta narrieta Microsoft Corporation Redmond, WA

Azure/WALinuxAgent 423

Microsoft Azure Linux Guest Agent

Azure/azure-extensions-cli 10

This tool is intended only for publishers of Azure VM extensions

PowerShell/cpprestsdk 1

The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.

narrieta/azure-diskinspect-service 0

Inspect Azure IaaS Disks for Windows and Linux

narrieta/azure-extensions-cli 0

This tool is intended only for publishers of Azure VM extensions

narrieta/azure-linux-extensions 0

Linux Virtual Machine Extensions for Azure

narrieta/azure-quickstart-templates 0

Azure Quickstart Templates

narrieta/DscResource.Tests 0

Common meta tests for PowerShell DSC resources repositories.

narrieta/PowerShell-Docs 0

The official PowerShell documentation sources

PR opened Azure/WALinuxAgent

Use handler status if extension status is None when computing the Ext…

If an extension doesn't have runtimeSettings, it's status won't have an extension status. In that case, we use the handler status instead.

+20 -7

0 comment

2 changed files

pr created time in 12 hours

create barnchnarrieta/WALinuxAgent

branch : handler-status

created branch time in 12 hours

issue commentAzure/WALinuxAgent

/var/lib/waagent zip files

No changes in the agent itself, the cleanup is on the back end. We have a cleanup scheduled within the next couple of days.

mabicca

comment created time in 3 days

push eventAzure/WALinuxAgent

Norberto Arrieta

commit sha 66c894ee5a595e1d32b35f999edde780a8eb11a3

Add debug info to unit test (#2354) Co-authored-by: narrieta <narrieta>

view details

push time in 4 days

PR merged Azure/WALinuxAgent

Reviewers
Add debug info to unit test

Add the call arguments to the error message in unit test.

+1 -1

1 comment

1 changed file

narrieta

pr closed time in 4 days

push eventnarrieta/WALinuxAgent

Norberto Arrieta

commit sha 7efcf501787a5a1c01d28d4367d6d47932d2be72

Use Debug conf parameter for agent's CPU quota (#2353) * Use Debug conf parameter for agent's CPU quota * Fix parameter type Co-authored-by: narrieta <narrieta>

view details

Norberto Arrieta

commit sha f957a0d596b53da9d2db3571d607eebf9fd34979

Merge branch 'develop' into add-debug-info

view details

push time in 4 days

PR opened Azure/WALinuxAgent

Add debug info to unit test

Add the call arguments to the error message in unit test.

+1 -1

0 comment

1 changed file

pr created time in 4 days

create barnchnarrieta/WALinuxAgent

branch : add-debug-info

created branch time in 4 days

delete branch narrieta/WALinuxAgent

delete branch : debug-quota

delete time in 4 days

push eventAzure/WALinuxAgent

Norberto Arrieta

commit sha 7efcf501787a5a1c01d28d4367d6d47932d2be72

Use Debug conf parameter for agent's CPU quota (#2353) * Use Debug conf parameter for agent's CPU quota * Fix parameter type Co-authored-by: narrieta <narrieta>

view details

push time in 4 days

PR merged Azure/WALinuxAgent

Reviewers
Use Debug conf parameter for agent's CPU quota

Added Debug.AgentCpuQuota to waagent.conf to set up the value for the agent's CPU quota. Currently it is set to 100% (1 CPU, but automation will change it to 5%)

+14 -4

1 comment

4 changed files

narrieta

pr closed time in 4 days

push eventnarrieta/WALinuxAgent

Norberto Arrieta

commit sha 5ee2b48aa0c1685114a1247720e9558b4a958b14

Change format of debug info for test_run_latest (#2351) * Change format of debug info for test_run_latest * Remove debug code Co-authored-by: narrieta <narrieta>

view details

Alexandr Kravchenko

commit sha d040d21fc6ea1adc4a6de58926cb1267d1221e7b

added cloudlinux support (#2344) Co-authored-by: Aleksandr Kravchenko <akravchenko@cloudlinux.com>

view details

Norberto Arrieta

commit sha 213c05cb2041c480dfede3802be7a5435d0feff2

Merge branch 'develop' into debug-quota

view details

push time in 4 days

PR opened Azure/WALinuxAgent

Use Debug conf parameter for agent's CPU quota

Added Debug.AgentCpuQuota to waagent.conf to set up the value for the agent's CPU quota. Currently it is set to 100% (1 CPU, but automation will change it to 5%)

+14 -4

0 comment

4 changed files

pr created time in 4 days

push eventnarrieta/WALinuxAgent

narrieta

commit sha 391ed1deade0c7f9c8984f6313e8722d784977ec

Fix parameter type

view details

push time in 14 days

delete branch narrieta/WALinuxAgent

delete branch : debug-info

delete time in 14 days

push eventAzure/WALinuxAgent

Norberto Arrieta

commit sha 5ee2b48aa0c1685114a1247720e9558b4a958b14

Change format of debug info for test_run_latest (#2351) * Change format of debug info for test_run_latest * Remove debug code Co-authored-by: narrieta <narrieta>

view details

push time in 14 days

PR merged Azure/WALinuxAgent

Reviewers
Change format of debug info for test_run_latest

The previous formatting does not work on python 2 (formats as "args"). The new format is harder to read, but formats OK on 2 & 3.

+1 -1

1 comment

1 changed file

narrieta

pr closed time in 14 days

push eventnarrieta/WALinuxAgent

narrieta

commit sha cd5109994d8dd7da721409fd79326c57134f9482

Remove debug code

view details

push time in 15 days

push eventnarrieta/WALinuxAgent

Norberto Arrieta

commit sha 8bf754fe7d371950630e75d7a42ce2616690ea1d

Retrieve full goal state explicitly (#2350) Co-authored-by: narrieta <narrieta>

view details

Norberto Arrieta

commit sha 26944c6780e1dc612a091be1fe84d71c18be7ef6

Merge branch 'develop' into debug-info

view details

push time in 15 days

push eventnarrieta/WALinuxAgent

narrieta

commit sha e345ff63b8975767565861d1c26acf46ed8d8238

Use Debug conf parameter for agent's CPU quota

view details

push time in 15 days

create barnchnarrieta/WALinuxAgent

branch : debug-quota

created branch time in 15 days

PR opened Azure/WALinuxAgent

Change format of debug info for test_run_latest

The previous formatting does not work on python 2 (formats as "args"). The new format is harder to read, but formats OK on 2 & 3.

+1 -1

0 comment

1 changed file

pr created time in 16 days

create barnchnarrieta/WALinuxAgent

branch : debug-info

created branch time in 16 days

delete branch narrieta/WALinuxAgent

delete branch : gs-force

delete time in 16 days

push eventAzure/WALinuxAgent

Norberto Arrieta

commit sha 8bf754fe7d371950630e75d7a42ce2616690ea1d

Retrieve full goal state explicitly (#2350) Co-authored-by: narrieta <narrieta>

view details

push time in 16 days

PR merged Azure/WALinuxAgent

Reviewers
Retrieve full goal state explicitly

UpdateHandler.run() always fetches a full goal state, since it makes the first call to update_goal_state in the extension handler process. I made the call to update_goal_state to explicitly request a full goal state.

A couple of unit tests failed since the make multiple calls to run() using the same instance of UpdateHandler, so they were never retrieving the full goal state after the first call. Reusing the same instance of the UpdateHandler would never happen in the actual agent.

+17 -4

1 comment

2 changed files

narrieta

pr closed time in 16 days

Pull request review commentAzure/WALinuxAgent

Retrieve full goal state explicitly

 def test_it_should_recreate_handler_env_on_service_startup(self):             self.assertIn(HandlerEnvironment.eventsFolder, content[0][HandlerEnvironment.handlerEnvironment],                           "{0} not found in HandlerEnv file".format(HandlerEnvironment.eventsFolder)) +    def _add_write_permission_to_goal_state_files(self):+        # UpdateHandler.run() marks some of the files from the goal state as read-only. Those files are overwritten when+        # a new goal state is fetched. This is not a problem for the agent, since it  runs as root, but tests need+        # to make those files writtable before fetching a new goal state. Note that UpdateHandler.run() fetches a new+        # goal state, so tests that make multiple calls to that method need to call this function in-between calls.+        for gb in READONLY_FILE_GLOBS:+            for path in glob.iglob(os.path.join(conf.get_lib_dir(), gb)):+                fileutil.chmod(path, stat.S_IRUSR | stat.S_IWUSR)

Yup, setting the read bit does not affect chmod, so all ok with the tests

narrieta

comment created time in 16 days

PullRequestReviewEvent

PR opened Azure/WALinuxAgent

Retrieve full goal state explicitly

UpdateHandler.run() always fetches a full goal state, since it makes the first call to update_goal_state in the extension handler process. I made the call to update_goal_state to explicitly request a full goal state.

A couple of unit tests failed since the make multiple calls to run() using the same instance of UpdateHandler, so they were never retrieving the full goal state after the first call. Reusing the same instance of the UpdateHandler would never happen in the actual agent.

+17 -4

0 comment

2 changed files

pr created time in 16 days

create barnchnarrieta/WALinuxAgent

branch : gs-force

created branch time in 16 days