text:
fix(tanstack-start): Fix bug for getAuth

Description

Checklist

[ ] npm test runs as expected.
[ ] npm run build runs as expected.
[ ] (If applicable) JSDoc comments have been added or updated for any package exports
[ ] (If applicable) Documentation has been updated

Type of change

[ ] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

!snapshot

Hey @octoper - the snapshot version command generated the following package versions:

Package
Version

@clerk/astro
1.2.1-snapshot.vf6cf34f

@clerk/backend
1.8.1-snapshot.vf6cf34f

@clerk/chrome-extension
1.2.4-snapshot.vf6cf34f

@clerk/clerk-js
5.16.0-snapshot.vf6cf34f

@clerk/elements
0.14.1-snapshot.vf6cf34f

@clerk/clerk-expo
2.2.2-snapshot.vf6cf34f

@clerk/express
0.0.31-snapshot.vf6cf34f

@clerk/fastify
1.0.33-snapshot.vf6cf34f

@clerk/localizations
2.6.2-snapshot.vf6cf34f

@clerk/nextjs
5.3.4-snapshot.vf6cf34f

@clerk/clerk-react
5.4.3-snapshot.vf6cf34f

@clerk/remix
4.2.17-snapshot.vf6cf34f

@clerk/clerk-sdk-node
5.0.30-snapshot.vf6cf34f

@clerk/shared
2.5.3-snapshot.vf6cf34f

@clerk/tanstack-start
0.3.0-snapshot.vf6cf34f

@clerk/testing
1.2.13-snapshot.vf6cf34f

@clerk/themes
2.1.22-snapshot.vf6cf34f

@clerk/types
4.15.0-snapshot.vf6cf34f

Tip: Use the snippet copy button below to quickly install the required packages.
@clerk/astro
npm i @clerk/astro@1.2.1-snapshot.vf6cf34f --save-exact

@clerk/backend
npm i @clerk/backend@1.8.1-snapshot.vf6cf34f --save-exact

@clerk/chrome-extension
npm i @clerk/chrome-extension@1.2.4-snapshot.vf6cf34f --save-exact

@clerk/clerk-js
npm i @clerk/clerk-js@5.16.0-snapshot.vf6cf34f --save-exact

@clerk/elements
npm i @clerk/elements@0.14.1-snapshot.vf6cf34f --save-exact

@clerk/clerk-expo
npm i @clerk/clerk-expo@2.2.2-snapshot.vf6cf34f --save-exact

@clerk/express
npm i @clerk/express@0.0.31-snapshot.vf6cf34f --save-exact

@clerk/fastify
npm i @clerk/fastify@1.0.33-snapshot.vf6cf34f --save-exact

@clerk/localizations
npm i @clerk/localizations@2.6.2-snapshot.vf6cf34f --save-exact

@clerk/nextjs
npm i @clerk/nextjs@5.3.4-snapshot.vf6cf34f --save-exact

@clerk/clerk-react
npm i @clerk/clerk-react@5.4.3-snapshot.vf6cf34f --save-exact

@clerk/remix
npm i @clerk/remix@4.2.17-snapshot.vf6cf34f --save-exact

@clerk/clerk-sdk-node
npm i @clerk/clerk-sdk-node@5.0.30-snapshot.vf6cf34f --save-exact

@clerk/shared
npm i @clerk/shared@2.5.3-snapshot.vf6cf34f --save-exact

@clerk/tanstack-start
npm i @clerk/tanstack-start@0.3.0-snapshot.vf6cf34f --save-exact

@clerk/testing
npm i @clerk/testing@1.2.13-snapshot.vf6cf34f --save-exact

@clerk/themes
npm i @clerk/themes@2.1.22-snapshot.vf6cf34f --save-exact

@clerk/types
npm i @clerk/types@4.15.0-snapshot.vf6cf34f --save-exact

authors: clerk-cookie octoper

repo: clerk/javascript


text:
Implementing closures for large eddy simulation

A high priority on the to-do list right now is writing LES closures. I'd like to discuss the implementation here before we open a PR.
I propose that we view a "closure" as the addition of a viscosity/diffusivity, even a constant isotropic 'molecular' diffusivity. Moving the implementation of viscosity/diffusivity to the closure will make it less painful to write closures that modify boundary conditions, as they sometimes do. In addition, we may need to implement special time-stepping methods that apply both to LES closures and diffusivities (as discussed with @jm-c, @ali-ramadhan and @SandreOuza and in #95).
We may also want/need to implement LES closures that add additional 'tracers' (like subgrid scale turbulent kinetic energy) that have their own evolution equations. We'll do the easy 'eddy diffusivity' closures first, but we must keep in mind that including optional evolution equations for closure-specific tracers requires an implementation of an abstraction for equations (as discussed in #110).
For now, (and for example) we can implement something like
struct TurbulentDiffusivity{P}
    u::Function
    v::Function
    w::Function
    c::Function
    params::P
end

and add a field to Model called closure (perhaps). The fields of TurbulentDiffusivity are functions that compute stress/flux divergence for momentum and tracers at i, j, k (and we need them to have a common function signature to call in the time-stepping loop). In the case of constant but anisotropic diffusivity (which is currently implemented), for example, we could have
@inline function 𝜈∇²u(closure, u, Nx, Ny, Nz, Δx, Δy, Δz, i, j, k)
    (
          closure.params.𝜈h/Δx^2 * δx²_f2c2f(u, Nx, i, j, k)
        + closure.params.𝜈h/Δy^2 * δy²_f2e2f(u, Ny, i, j, k)
        + closure.params.𝜈v/Δz^2 * δz²_f2e2f(u, Nz, i, j, k)
    )
end

params = AnisotropicDiffusion(𝜈h, 𝜈v, ...)
closure = TurbulentDiffusivity(𝜈∇²u, ..., params)

and then, in the time_stepping,
...
# u-momentum equation
@inbounds Gu[i, j, k] = (-u∇u(u, v, w, Nx, Ny, Nz, Δx, Δy, Δz, i, j, k)
                                            + fCor*avg_xy(v, Nx, Ny, i, j, k)
                                            - δx_c2f(pHY′, Nx, i, j, k) / (Δx * ρ₀)
                                            + closure.u(u, 𝜈h, 𝜈v, Nx, Ny, Nz, Δx, Δy, Δz, i, j, k)
                                            + F.u(u, v, w, T, S, Nx, Ny, Nz, Δx, Δy, Δz, i, j, k))

does that make sense? Please criticize. The LES closures will involve much more complicated functions.
LES closures like "Constant Smagorinsky" and "Anisotropic Minimum Dissipation" (AMD) fall into the category of "eddy diffusivity closures", in that the closure is expressed as a locally evaluated nonlinear eddy viscosity and diffusivity (see also the dedaLES documentation for AMD). As discussed long ago with @jm-c, the implementation of an eddy diffusivity closure on a staggered grid requires computing the eddy viscosity at cell centers and on all three faces. In our new notation, these four locations are

(Center, Center, Center)
(Interface, Center, Center)
(Center, Interface, Center)
(Center, Center, Interface)

In order to calculate the stress divergence for eddy viscosities, therefore, we need the eddy viscosity at (Center, Center, Center) . On the other hand, to compute tracer fluxes we need the eddy diffusivity at the three other locations. Something to consider. @jm-c may have more to say on the matter. Looking at the AMD formulas it seems that some averaging/interpolation is necessary to calculate the terms that contribute to the eddy viscosity in the correct locations.

To me this looks like implementing arbitrary functions to replace a specific term in the momentum equations, which is kind of similar to #73 #85.

I propose that we view a "closure" as the addition of a viscosity/diffusivity, even a constant isotropic 'molecular' diffusivity.

Is a closure always meant to replace the viscous dissipation (𝜈∇²u) operators? Will Smag/AMD replace the Laplacian diffusion operators (e.g. κ∇²T) as well?

In addition, we may need to implement special time-stepping methods that apply both to LES closures and diffusivities

Does this apply to constant/dynamic Smagorinsky or AMD?

We may also want/need to implement LES closures that add additional 'tracers' (like subgrid scale turbulent kinetic energy) that have their own evolution equations. We'll do the easy 'eddy diffusivity' closures first, but we must keep in mind that including optional evolution equations for closure-specific tracers requires an implementation of an abstraction for equations (as discussed in #110).

Out of curiousity, can these closures be framed as ODEProblems using DifferentialEquations.jl?

does that make sense?

Makes sense to me! If it's an arbitrary function then we should be able to implement any closure (or no closure which should produce inviscid flow?).

In order to calculate the stress divergence for eddy viscosities, therefore, we need the eddy viscosity at (Center, Center, Center) .

With finite volume the interpolation operators (avgx!, avgy!, avgz!), applied correctly, should allow us to calculate the eddy viscosity at any location.
Sounds like #115 (and https://github.com/climate-machine/Oceananigans.jl/issues/59#issuecomment-471136259) should be resolved before this closure abstraction is merged in?

To me this looks like implementing arbitrary functions to replace a specific term in the momentum equations, which is kind of similar to #73 #85.

I suppose we can interpret every term in the momentum equation as an "arbitrary function". The design I've been using is to define a type that represents part of the governing equation to make the equation modular and changeable by the user. Definitely suggest alternative designs if good alternatives come to mind.

Is a closure always meant to replace the viscous dissipation (𝜈∇²u) operators? Will Smag/AMD replace the Laplacian diffusion operators (e.g. κ∇²T) as well?

I am proposing that we consider using this conceptual model for a "closure". Perhaps a better name than "closure" is Dissipation... ? All of the turbulent closures we are considering introduce a "turbulent" viscosity and diffusivity which is typically much larger than the molecular value. Thus a "molecular" isotropic diffusivity can be interpreted as the limiting case of a turbulent closure. The reason it might be good design is because turbulent closures can modify boundary conditions (which depend on viscosity/diffusivity), and because we may want to use common implicit time-stepping methods for the turbulent diffusivity in addition to a "molecular" diffusivity.

Out of curiousity, can these closures be framed as ODEProblems using DifferentialEquations.jl?

A subgrid turbulent kinetic energy variable in a typical turbulence closure obeys a three-dimensional PDE and is advected, diffused, dissipated, and interacts with terms in the momentum and tracer equation via nonlinear terms. It is a first-class solution variable similar to the velocity field or active tracers. See equation 12 in Moeng 1984.

Sounds like #115 (and #59 (comment)) should be resolved before this closure abstraction is merged in?

I think it makes sense to resolve #107, #115, and #59 before implementing anything; especially #59 because this affects the function signature we use for the closures.

@SandreOuza @christophernhill @jm-c will be good to have your feedback too!

I suppose we can interpret every term in the momentum equation as an "arbitrary function". The design I've been using is to define a type that represents part of the governing equation to make the equation modular and changeable by the user. Definitely suggest alternative designs if good alternatives come to mind.

Oh no I think the design is great, was just saying that it's similar to what we're doing for forcing functions so implementing arbitrary closures should be pretty straightforward (more so than implementing boundary conditions #118). Of course, implementing specific closures may pose a challenge.

I am proposing that we consider using this conceptual model for a "closure". Perhaps a better name than "closure" is Dissipation... ? All of the turbulent closures we are considering introduce a "turbulent" viscosity and diffusivity which is typically much larger than the molecular value.

This makes sense to me. Running without a "closure" should be using a molecular viscosity and diffusivity (which isn't practical so we're always using a closure). I'm not super familiar with the literature but sounds like "turbulent diffusion" is what is being modeled.

See equation 12 in Moeng 1984.

Thanks for the reference, I see what you mean now. I can see how an Equation struct would be beneficial here. I suppose they would fit the form you proposed in #95 (linear + nonlinear) as they wouldn't require a pressure correction presumably.

I think it makes sense to resolve #107, #115, and #59 before implementing anything; especially #59 because this affects the function signature we use for the closures.

Definitely agree on #59 since that will change a lot of function call signatures. #107 and #115 are more backend related and shouldn't change how the functions are called though (although still high priority).

was just saying that it's similar to what we're doing for forcing functions so implementing arbitrary closures should be pretty straightforward (more so than implementing boundary conditions #118)

quite!

Running without a "closure" should be using a molecular viscosity and diffusivity (which isn't practical so we're always using a closure).

Just know that we will want to run some simulations at high resolution without closures in order to test the accuracy of the coarse model + closure.

After thinking about LES closures a bit more, I think your TurbulentDiffusivity struct with functions is really nice.
Just had a quick look at Smagorinsky in the MITgcm manual and I'm pretty sure no intermediate storage is required. Element-wise I think horizontal Smagorinsky for momentum would roughly look like
@inline smagorinsky_νh(grid, u, v) = (νS*Δ)^2 * sqrt((δx_f2c(u)/Δx - δy_f2c(v)/Δy)^2 + (δy_f2e(u)/Δy + δx_f2c(v)/Δx)^2)

I think doing anisotropic minimum dissipation (AMD) would be similar (just more terms), and might make sense to do all the computations on-the-fly with no intermediate computations to reduce memory usage on a GPU.
Not actually working on this issue. Just procrastinating and thinking about it.

@glwagner Do you want to close this issue?

Word.

source: gharchive/issue

authors: ali-ramadhan glwagner

license: MIT

license_type: permissive

license_source: github-api


text:
Test for second-order convergence of pressure solver

This PR adapts the analytical pressure solver test to an explicit test for second-order convergence of the pressure solver in all configurations.
The triply periodic solver currently throws an error if we try to construct it, so I'm skipping that test.

Hmmm, I think the error you hit with the triply periodic pressure solver was a trivial typo but the triply periodic solver doesn't actually work (big constant error).
[18/03/2020 22:54:46] Convergence of L¹-normed error, Float64, (64³ -> 128³), topology=(Periodic, Periodic, Periodic): -0.012063993747747548 ---  Info /Users/travis/build/climate-machine/Oceananigans.jl/test/test_pressure_solvers.jl:189

To be fair, it hasn't been tested and a warning is printed when trying to use it. Although the box pressure solver seems to work and passes the convergence test so I suspect there's a stupid bug somewhere as otherwise we're using the same approach/method for all these solvers.
I tried changing the test thinking it might have had something to do with -Lz < z < 0 vs. 0 < z < Lz but that wasn't it.
I propose we merge this PR skipping the triply periodic Poisson solver convergence test as fixing the triply periodic solver seems to warrant it's own PR.

source: gharchive/pull-request


text:
Fixed wrong gas readings

These changes fix the issue #2.

Actually it fixes #12.

Thanks for your correction.

license: mit

license_source: bigquery


text:
[Ibm-VPC] 테스트 코드의 대한 SystemId 입력

테스트 코드의 대한 SystemId 입력 추가

@innodreamer

Can you review ?

@inno-cloudbarista 위의 드라이버 자체 테스트 설정 코드를 보완해주셔서 감사합니다.환경 Slack에서 말씀드린것처럼, 위

repo: cloud-barista/cb-spider


text:
[+Price] Implement Azure's PriceInfoHandler

Implement all of 2 functions of PriceInfoHandler

ListProductFamily()
GetPriceInfo()

CSP 마다 정보가 다르다 보니 파싱하기가 만만치 않네요.
추후에 조금 더 다듬을 필요는 있어보입니다. 일단 작업한 부분까지 완성하여  풀 리퀘스트 작성드립니다.

Need to update...


text:
Remove duplicated task

Signed-off-by: Raul Sevilla rsevilla@redhat.com

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_kubeburner
Pass
0
00:17:13

repo: cloud-bulldozer/benchmark-operator


text:
[SPIKE] Explore AWS recommendation API

Context
Overview
With our ultimate aim of helping organizations to reduce their carbon impact from the cloud, we would like to begin exploring the different resources available for generating recommendations. The first to explore is the AWS api.
Out of Scope:
Related issues/Dependencies:
Checklist

[x] Test out AWS recommendation api with internal data
[x] What options do we have - can we run it for specific accounts? specific services? regions?
[x] What categories of recommendations will it give us?
[ ] Make a follow up ticket(s) to model the impact and cost savings
[ ] Make a follow up ticket(s) to take tangible actions
[x] Document on how this sort of recommendations API could be used with other cloud providers

Tech Notes
Review Tasks

[x] eg. specific QA details, update methodology, or update microsite

Documentation:
https://docs.google.com/document/d/1gKisxSxrv3zIqczCdPcfvMl4LI3MVQ_ApSill3yEtok/edit#

Further research

[ ] Include savings plan and reserved instances


text:
Add Pages docs with the migration details and FAQ

In order for our customers to begin the transition, we must document the process and publish a customer migration guide on cloud.gov.
Complete #2120 to inform the migration process
Acceptance Criteria

[ ] Outline the process for migrating a customer and their sites (more to come)
[ ] Add page to cloud.gov/pages documentation with user guide
[ ] Email customer POC and add links to guide in app

Security Considerations
Needed to complete SCR

What other information should we add for this beyond https://cloud.gov/pages/federalist-migration/ ?

Shall we add the self migration process with some screen shots?

Onboard with self migration screenshots. Organizations explanation could probably use some visuals as well.

I can pull from this doc (the screenshots and instructions): https://docs.google.com/document/d/1QL_rK41xOA8uh-l9od2H5FwOz1biO82vaCTWwUzPNmY/edit#heading=h.338s9rza40xb
Have we sent that out yet and/or should we include in the next newsletter/direct email?

authors: Ephraim-G apburnes drewbo

repo: cloud-gov/product


text:
Checklist for Onboarding Derrick

New ARP Contractor Onboarding Checklist
Special Notes

Do not create this issue until the System Owner has formally authorized and requested it.. You can get that OK by one of two ways:

A:

[ ] A: System Owner creates this issue

B:

[x] B.1: System owner emails cloud-gov-compliance@gsa.gov and cloud-gov-operations@gsa.gov with their authorization
[x] B.2: An operator adds a link to the Google Group conversation that includes the authorizing email.

https://groups.google.com/a/gsa.gov/g/cloud-gov-compliance/c/jD8H7qcOVUY

Please only use first names.

In order to get New Person productively contributing to the cloud.gov team, Buddy should help New Person complete a prescribed set of tasks that will bring them up to speed and get them setup with cloud.gov.
Role-Specific Onboarding
This onboarding ticket must be completed by all new cloud.gov team members. It must be paired with a role-specific onboarding ticket. Your onboarding buddy will create both.
Instructions
Your onboarding buddy should reach out and introduce themselves to you. If you have not heard from them after a day or two, please let the team know.

Try to go through the checklists in order.
Make sure this issue is assigned you and your buddy in our Github Project Planning Board. We use this board to organize, prioritize, and track our work.
If Buddy cannot complete any of the items on their checklist personally, they are responsible for ensuring that someone with the correct access completes that item.
Take notes on this onboarding process. If you notice a problem, let your buddy know by leaving a comment on this issue, or submit a fix yourself! You can propose a change to any documentation in GitHub using a pull request. The onboarding issue templates, including for this issue, are here.

Pre-requisites

[x] Complete GSA OLU IT Security & Privacy Awareness Training, which includes accepting the GSA IT Rules of Behavior. This is required before we can give you access to any cloud.gov systems. If you joined GSA more than two months ago, you've already completed this task and can check the box.

OLU has sometimes lost course completion data. We recommend downloading the PDF certificate of completion for each training and saving it to your Google Drive.

Fulfill security and compliance requirements - Completed by onboarding buddy

[x] Make sure they're in the Team Roster.
[x] Add their name, whether they're Cloud Operations, and the date they joined the team to the training tracker.

All engineers who are federal employees or staff contractors are part of Cloud Operations. Project contractors are not.
Copy the formulas for the due dates from an existing row (grab the "corner" of the cells and pull down).
As they complete training, fill out their completion dates in the training tracker.

[x] Add them to the @cloud-gov-team in Slack’s Team Directory.
[ ] Add them on GitHub to the cloud-gov-team team, which will automatically invite them to our cloud-gov organization.

Complete cloud.gov trainings
Onboarding buddy: Contact the compliance team in #cg-compliance to schedule training(s).

[ ] Coordinate with your onboarding buddy to schedule nonpublic information training within 60 days of joining the team (and annually after that). This will cover the following documents, which you should also review before or after training:

[ ] Read our sharing secret keys policy.
[ ] Review the TTS requirements for password management.

Getting to know cloud.gov
These items will help you come up to speed on cloud.gov and what it is, how it works, why it exists, etc. While you should take the time to go through them, please do not try and tackle it all in one shot! It can become overwhelming very quickly, so your onboarding buddy will walk through this list with you at a high level with you to help manage the work.

[ ] Read through the Overview section of our site for a broader understanding of cloud.gov, especially how we present it to potential customers and users.
[ ] Read the team onboarding document for more context about cloud.gov.
[ ] Bookmark the pertinent links listed here.

Team resources
You will automatically be added to one or more Google Drives: the Cloud.gov All Staff Drive and, for federal employees, the Cloud.gov Federal Employees Drive. Put all documents related to cloud.gov in the appropriate shared drive so the team can access them and meet federal records requirements. Each drive contains a folder for each squad, and each squad folder contains a "wiki" that explains how the sub-folders are structured.

    Federal employees and staff contractors, expand this section:

[ ] Subscribe to the cloud.gov team calendar (click the + in the bottom right) so you know when assorted team meetings are happening in the various squads. Tip: When you plan Out of Office time, make a calendar event for that on the cloud.gov calendar so that your teammates know you'll be away.

Slack Channels
The following cloud.gov channels are public and all team members are welcome to join:

[ ] #cg-aws-status - bots post announcements about AWS service outages/incidents
[ ] #cg-business - business development (if applicable)
[ ] #cg-compliance - compliance-related information and discussion
[ ] #cg-customer-success - customer success squad channel
[ ] #cg-general - program-level information and discussion
[ ] #cg-offtopic - off-topic team sharing
[ ] #cg-platform-news (🗣) - bots post platform alerts (mostly CI job notifications)
[ ] #cg-platform - platform operations
[ ] #cg-support (🗣) - support requests and assistance within TTS
[ ] #cg-supportstream (🗣) - stream of activity on Zendesk tickets
[ ] #cloud-gov (🗣) - bots post announcements here

Channels marked with (🗣) receive a lot of messages, either from customers or bots, and you may want to mute them.

[ ] Project contractors: Your buddy will add you to the private channel for your project.

For federal employees only:

[ ] #cg-priv-gov - may contain discussion of contracting-related or other private, federal-employee-only comms

Google Groups and Spaces
We manage calendar invites and Google Drive access using Google Groups. Some groups can also receive message from outside emails.

[ ] Project contractors: Add them to the cloud.gov Project Contractors Google Group as the "Member" role. This grants them Commenter access to the All Staff Google Drive. If they are working on a project in a specific folder, you can grant them greater access to that folder.

    Federal employees and staff contractors, expand this section:

Add them to the following Google Groups:

[ ] cloud.gov Team so they can participate in team-wide internal communication.
[ ] Business Unit Only - Add them to the cloud.gov inquiries Google Group so they can keep apprised of prospective new clients.

You will automatically be added to the Google Space CG-PRIV, a fallback team communication channel in the event Slack is down.
They may need added to one or more of these team-specific groups:

[ ] cloud.gov Assurance Team
[ ] cloud.gov Compliance (external email accepted)
[ ] cloud.gov Customer Success Team

Lastly, for federal employees only:

[ ] cloud.gov Federal Employees
[ ] Make them a Space Manager in CG-PRIV.

Switched to newer template James provided.  Thank you!

authors: banesssa cweibel


text:
🛑 cbn.id is down

In 2a128bb, cbn.id (https://cbn.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: cbn.id is back up in 6eeac7a.

repo: cloudbip/upptime


text:
🛑 cbn.id is down

In 2f01aff, cbn.id (https://cbn.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: cbn.id is back up in 4ff131b after 25 minutes.


text:
🛑 melejit.id is down

In 5f8de1c, melejit.id (https://melejit.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: melejit.id is back up in 7c160a7 after 9 minutes.


text:
🛑 connectindo.com is down

In 55793b6, connectindo.com (https://connectindo.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: connectindo.com is back up in bd1a027.


text:
🛑 member.jagoanhosting.com is down

In b14e30f, member.jagoanhosting.com (https://member.jagoanhosting.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: member.jagoanhosting.com is back up in 89eaa1a.


text:
🛑 hostingpas.com is down

In 4054d94, hostingpas.com (https://hostingpas.com) was down:

HTTP code: 403
Response time: 104 ms

Resolved: hostingpas.com is back up in ea3d415.


text:
🛑 cbn.id is down

In 868115b, cbn.id (https://cbn.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: cbn.id is back up in 7ebb5df.


text:
🛑 rackrock.co.id is down

In 0ef2216, rackrock.co.id (https://rackrock.co.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: rackrock.co.id is back up in 51ee9c1.


text:
Feature to support provisioning of Azure Files NFS for CML at runtime

See detailed explanation in README.md
Provisions a storage account with Premium Tier and Disabled Https traffic only. Creates a NFS file share of 100 GB in the storage account Creates a private dns zone of type privatelink.file.core.windows.net Creates a VNET link between CDP workload VNET and private DNS zone Creates a private endpoint for NFS Storage Account (File sub-resource) for one of the subnets in the CDP VNET - this should be extended to all subnets for CML. Creates a public IP , security group allowing port 22 from everywhere Creates a ubuntu VM with public IP, security group in the CDP VNET to which private endpoint was created.

Plan
module.ex01_nfs_filesahre.data.azurerm_virtual_network.nfs_vnet: Reading...
module.ex01_nfs_filesahre.data.azurerm_subnet.nfs_subnet: Reading...
module.ex01_nfs_filesahre.data.azurerm_virtual_network.nfs_vnet: Read complete after 5s [id=/subscriptions/9c0efd86-d1e7-4bfa-a9fd-fa6f36b92458/resourceGroups/e2eazp1-tf-rmgp/providers/Microsoft.Network/virtualNetworks/e2eazp1-tf-net]
module.ex01_nfs_filesahre.data.azurerm_subnet.nfs_subnet: Read complete after 5s [id=/subscriptions/9c0efd86-d1e7-4bfa-a9fd-fa6f36b92458/resourceGroups/e2eazp1-tf-rmgp/providers/Microsoft.Network/virtualNetworks/e2eazp1-tf-net/subnets/e2eazp1-tf-sbnt-02]

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # module.ex01_nfs_filesahre.azurerm_linux_virtual_machine.nfs_vm will be created
  + resource "azurerm_linux_virtual_machine" "nfs_vm" {
      + admin_username                                         = "adminuser"
      + allow_extension_operations                             = true
      + bypass_platform_safety_checks_on_user_schedule_enabled = false
      + computer_name                                          = (known after apply)
      + disable_password_authentication                        = true
      + extensions_time_budget                                 = "PT1H30M"
      + id                                                     = (known after apply)
      + location                                               = "francecentral"
      + max_bid_price                                          = -1
      + name                                                   = "azbnknfsvm"
      + network_interface_ids                                  = (known after apply)
      + patch_assessment_mode                                  = "ImageDefault"
      + patch_mode                                             = "ImageDefault"
      + platform_fault_domain                                  = -1
      + priority                                               = "Regular"
      + private_ip_address                                     = (known after apply)
      + private_ip_addresses                                   = (known after apply)
      + provision_vm_agent                                     = true
      + public_ip_address                                      = (known after apply)
      + public_ip_addresses                                    = (known after apply)
      + resource_group_name                                    = "e2eazp1-tf-rmgp"
      + size                                                   = "Standard_F2"
      + virtual_machine_id                                     = (known after apply)

      + admin_ssh_key {
          + public_key = <<-EOT
                ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDWW7HfwYMrzlWCx6qHzHd42cUr5d6EEdIRB8rNczHE5+AIumGanJcbJnWNjgNNQJjzDramUP0vEMuTer/gQqZhrAvTVVPATh4BGZRpGQYb62VGw/d8N7JGCQJCO73/NC4AnilD+hHpaEgY6v8uK421XN63ZRyWugR+QdwdUCyq2EyOIC6xNSqLPP+6KQscDTEdkva8mPw2c6BARARVZP/Z91KeO8qUA0JEj1bjajF6yRiI38npwDklGlGMdfuUNDGq8bhP3wEQiMHCdPc3R2z5TQ73GMVfxKEZOZSXPHdbnmKqXGQuGmcMYsmEQDJzssmQ+om2Vao2ORFvtimsd7nqAjUnvlV7t6UEdGHTJnq21MoTrWS7LuG55Zg9o8Iy8vpT1PwuzSwJaPn4x976tcSFy4JeIl/Zg1Xqynxm+iUwoD6OEKNPRsidlEAk7QiFsBdFLuv5kmarvaQdJhJ2OH1IvSJOwjttrnihBtMAp6HG8PoOSqhHsvFZT+fqw42Znts= tsharma@MacBook-Pro-2.local
            EOT
          + username   = "adminuser"
        }

      + os_disk {
          + caching                   = "ReadWrite"
          + disk_size_gb              = (known after apply)
          + name                      = (known after apply)
          + storage_account_type      = "Standard_LRS"
          + write_accelerator_enabled = false
        }

      + source_image_reference {
          + offer     = "0001-com-ubuntu-server-focal"
          + publisher = "Canonical"
          + sku       = "20_04-lts"
          + version   = "latest"
        }
    }

  # module.ex01_nfs_filesahre.azurerm_network_interface.nfsvm_nic will be created
  + resource "azurerm_network_interface" "nfsvm_nic" {
      + applied_dns_servers           = (known after apply)
      + dns_servers                   = (known after apply)
      + enable_accelerated_networking = false
      + enable_ip_forwarding          = false
      + id                            = (known after apply)
      + internal_dns_name_label       = (known after apply)
      + internal_domain_name_suffix   = (known after apply)
      + location                      = "francecentral"
      + mac_address                   = (known after apply)
      + name                          = "azbnknfsvm-nic"
      + private_ip_address            = (known after apply)
      + private_ip_addresses          = (known after apply)
      + resource_group_name           = "e2eazp1-tf-rmgp"
      + virtual_machine_id            = (known after apply)

      + ip_configuration {
          + gateway_load_balancer_frontend_ip_configuration_id = (known after apply)
          + name                                               = "internal"
          + primary                                            = (known after apply)
          + private_ip_address                                 = (known after apply)
          + private_ip_address_allocation                      = "Dynamic"
          + private_ip_address_version                         = "IPv4"
          + public_ip_address_id                               = (known after apply)
          + subnet_id                                          = "/subscriptions/9c0efd86-d1e7-4bfa-a9fd-fa6f36b92458/resourceGroups/e2eazp1-tf-rmgp/providers/Microsoft.Network/virtualNetworks/e2eazp1-tf-net/subnets/e2eazp1-tf-sbnt-02"
        }
    }

  # module.ex01_nfs_filesahre.azurerm_network_interface_security_group_association.nfsvm_nic_sg will be created
  + resource "azurerm_network_interface_security_group_association" "nfsvm_nic_sg" {
      + id                        = (known after apply)
      + network_interface_id      = (known after apply)
      + network_security_group_id = (known after apply)
    }

  # module.ex01_nfs_filesahre.azurerm_network_security_group.nfsvm_sg will be created
  + resource "azurerm_network_security_group" "nfsvm_sg" {
      + id                  = (known after apply)
      + location            = "francecentral"
      + name                = "azbnknfsvm-sg"
      + resource_group_name = "e2eazp1-tf-rmgp"
      + security_rule       = [
          + {
              + access                                     = "Allow"
              + description                                = ""
              + destination_address_prefix                 = "*"
              + destination_address_prefixes               = []
              + destination_application_security_group_ids = []
              + destination_port_range                     = "22"
              + destination_port_ranges                    = []
              + direction                                  = "Inbound"
              + name                                       = "allowssh"
              + priority                                   = 100
              + protocol                                   = "Tcp"
              + source_address_prefix                      = "*"
              + source_address_prefixes                    = []
              + source_application_security_group_ids      = []
              + source_port_range                          = "*"
              + source_port_ranges                         = []
            },
        ]
    }

  # module.ex01_nfs_filesahre.azurerm_private_dns_zone.nfs_privatednszone will be created
  + resource "azurerm_private_dns_zone" "nfs_privatednszone" {
      + id                                                    = (known after apply)
      + max_number_of_record_sets                             = (known after apply)
      + max_number_of_virtual_network_links                   = (known after apply)
      + max_number_of_virtual_network_links_with_registration = (known after apply)
      + name                                                  = "privatelink.file.core.windows.net"
      + number_of_record_sets                                 = (known after apply)
      + resource_group_name                                   = "e2eazp1-tf-rmgp"
    }

  # module.ex01_nfs_filesahre.azurerm_private_dns_zone_virtual_network_link.nfs_vnet_link will be created
  + resource "azurerm_private_dns_zone_virtual_network_link" "nfs_vnet_link" {
      + id                    = (known after apply)
      + name                  = "azbnk_vnetlink"
      + private_dns_zone_name = "privatelink.file.core.windows.net"
      + registration_enabled  = false
      + resource_group_name   = "e2eazp1-tf-rmgp"
      + virtual_network_id    = "/subscriptions/9c0efd86-d1e7-4bfa-a9fd-fa6f36b92458/resourceGroups/e2eazp1-tf-rmgp/providers/Microsoft.Network/virtualNetworks/e2eazp1-tf-net"
    }

  # module.ex01_nfs_filesahre.azurerm_private_endpoint.nfs_private_endpoint will be created
  + resource "azurerm_private_endpoint" "nfs_private_endpoint" {
      + custom_dns_configs       = (known after apply)
      + id                       = (known after apply)
      + location                 = "francecentral"
      + name                     = "azbnk_e2eazp1-tf-sbnt-02_nfs_private_endpoint"
      + network_interface        = (known after apply)
      + private_dns_zone_configs = (known after apply)
      + resource_group_name      = "e2eazp1-tf-rmgp"
      + subnet_id                = "/subscriptions/9c0efd86-d1e7-4bfa-a9fd-fa6f36b92458/resourceGroups/e2eazp1-tf-rmgp/providers/Microsoft.Network/virtualNetworks/e2eazp1-tf-net/subnets/e2eazp1-tf-sbnt-02"

      + private_dns_zone_group {
          + id                   = (known after apply)
          + name                 = "nfs-dns-zone-group"
          + private_dns_zone_ids = (known after apply)
        }

      + private_service_connection {
          + is_manual_connection           = false
          + name                           = "nfs-privateserviceconnection"
          + private_connection_resource_id = (known after apply)
          + private_ip_address             = (known after apply)
          + subresource_names              = [
              + "file",
            ]
        }
    }

  # module.ex01_nfs_filesahre.azurerm_public_ip.nfsvm_public_ip will be created
  + resource "azurerm_public_ip" "nfsvm_public_ip" {
      + allocation_method       = "Static"
      + ddos_protection_mode    = "VirtualNetworkInherited"
      + fqdn                    = (known after apply)
      + id                      = (known after apply)
      + idle_timeout_in_minutes = 4
      + ip_address              = (known after apply)
      + ip_version              = "IPv4"
      + location                = "francecentral"
      + name                    = "azbnknfsvm-publicip"
      + resource_group_name     = "e2eazp1-tf-rmgp"
      + sku                     = "Standard"
      + sku_tier                = "Regional"
    }

  # module.ex01_nfs_filesahre.azurerm_storage_account.nfs_storage_account will be created
  + resource "azurerm_storage_account" "nfs_storage_account" {
      + access_tier                       = (known after apply)
      + account_kind                      = "FileStorage"
      + account_replication_type          = "LRS"
      + account_tier                      = "Premium"
      + allow_nested_items_to_be_public   = true
      + cross_tenant_replication_enabled  = true
      + default_to_oauth_authentication   = false
      + enable_https_traffic_only         = false
      + id                                = (known after apply)
      + infrastructure_encryption_enabled = false
      + is_hns_enabled                    = false
      + large_file_share_enabled          = (known after apply)
      + location                          = "francecentral"
      + min_tls_version                   = "TLS1_2"
      + name                              = "nfsvml11sg"
      + nfsv3_enabled                     = false
      + primary_access_key                = (sensitive value)
      + primary_blob_connection_string    = (sensitive value)
      + primary_blob_endpoint             = (known after apply)
      + primary_blob_host                 = (known after apply)
      + primary_connection_string         = (sensitive value)
      + primary_dfs_endpoint              = (known after apply)
      + primary_dfs_host                  = (known after apply)
      + primary_file_endpoint             = (known after apply)
      + primary_file_host                 = (known after apply)
      + primary_location                  = (known after apply)
      + primary_queue_endpoint            = (known after apply)
      + primary_queue_host                = (known after apply)
      + primary_table_endpoint            = (known after apply)
      + primary_table_host                = (known after apply)
      + primary_web_endpoint              = (known after apply)
      + primary_web_host                  = (known after apply)
      + public_network_access_enabled     = true
      + queue_encryption_key_type         = "Service"
      + resource_group_name               = "e2eazp1-tf-rmgp"
      + secondary_access_key              = (sensitive value)
      + secondary_blob_connection_string  = (sensitive value)
      + secondary_blob_endpoint           = (known after apply)
      + secondary_blob_host               = (known after apply)
      + secondary_connection_string       = (sensitive value)
      + secondary_dfs_endpoint            = (known after apply)
      + secondary_dfs_host                = (known after apply)
      + secondary_file_endpoint           = (known after apply)
      + secondary_file_host               = (known after apply)
      + secondary_location                = (known after apply)
      + secondary_queue_endpoint          = (known after apply)
      + secondary_queue_host              = (known after apply)
      + secondary_table_endpoint          = (known after apply)
      + secondary_table_host              = (known after apply)
      + secondary_web_endpoint            = (known after apply)
      + secondary_web_host                = (known after apply)
      + sftp_enabled                      = false
      + shared_access_key_enabled         = true
      + table_encryption_key_type         = "Service"
    }

  # module.ex01_nfs_filesahre.azurerm_storage_share.nfs_storage_share will be created
  + resource "azurerm_storage_share" "nfs_storage_share" {
      + access_tier          = (known after apply)
      + enabled_protocol     = "NFS"
      + id                   = (known after apply)
      + metadata             = (known after apply)
      + name                 = "100"
      + quota                = 100
      + resource_manager_id  = (known after apply)
      + storage_account_name = "nfsvml11sg"
      + url                  = (known after apply)
    }

Plan: 10 to add, 0 to change, 0 to destroy.

─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Note: You didn't use the -out option to save this plan, so Terraform can't guarantee to take exactly these actions if you run "terraform apply" now.

(tfquickstart) tsharma@MacBook-Pro-8 ex01-nfs_fileshare % terraform apply -auto-approve
module.ex01_nfs_fileshare.data.template_file.vm-cloud-init: Reading...
module.ex01_nfs_fileshare.data.template_file.vm-cloud-init: Read complete after 0s [id=95942c33d6c24cf0384b0e3f812ccba4c522be1674076c5d644673a713301cae]
module.ex01_nfs_fileshare.data.azurerm_virtual_network.nfs_vnet: Reading...
module.ex01_nfs_fileshare.data.azurerm_subnet.nfs_subnets["e2eazp1-tf-sbnt-02"]: Reading...
module.ex01_nfs_fileshare.data.azurerm_subnet.nfs_subnets["e2eazp1-tf-sbnt-03"]: Reading...
module.ex01_nfs_fileshare.data.azurerm_subnet.nfs_subnets["e2eazp1-tf-sbnt-03"]: Read complete after 2s [id=/subscriptions/9c0efd86-d1e7-4bfa-a9fd-fa6f36b92458/resourceGroups/e2eazp1-tf-rmgp/providers/Microsoft.Network/virtualNetworks/e2eazp1-tf-net/subnets/e2eazp1-tf-sbnt-03]
module.ex01_nfs_fileshare.data.azurerm_subnet.nfs_subnets["e2eazp1-tf-sbnt-02"]: Read complete after 2s [id=/subscriptions/9c0efd86-d1e7-4bfa-a9fd-fa6f36b92458/resourceGroups/e2eazp1-tf-rmgp/providers/Microsoft.Network/virtualNetworks/e2eazp1-tf-net/subnets/e2eazp1-tf-sbnt-02]
module.ex01_nfs_fileshare.data.azurerm_virtual_network.nfs_vnet: Read complete after 3s [id=/subscriptions/9c0efd86-d1e7-4bfa-a9fd-fa6f36b92458/resourceGroups/e2eazp1-tf-rmgp/providers/Microsoft.Network/virtualNetworks/e2eazp1-tf-net]

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # module.ex01_nfs_fileshare.azurerm_linux_virtual_machine.nfs_vm[0] will be created
  + resource "azurerm_linux_virtual_machine" "nfs_vm" {
      + admin_username                                         = "adminuser"
      + allow_extension_operations                             = true
      + bypass_platform_safety_checks_on_user_schedule_enabled = false
      + computer_name                                          = (known after apply)
      + custom_data                                            = (sensitive value)
      + disable_password_authentication                        = true
      + extensions_time_budget                                 = "PT1H30M"
      + id                                                     = (known after apply)
      + location                                               = "francecentral"
      + max_bid_price                                          = -1
      + name                                                   = "nfsvm1"
      + network_interface_ids                                  = (known after apply)
      + patch_assessment_mode                                  = "ImageDefault"
      + patch_mode                                             = "ImageDefault"
      + platform_fault_domain                                  = -1
      + priority                                               = "Regular"
      + private_ip_address                                     = (known after apply)
      + private_ip_addresses                                   = (known after apply)
      + provision_vm_agent                                     = true
      + public_ip_address                                      = (known after apply)
      + public_ip_addresses                                    = (known after apply)
      + resource_group_name                                    = "e2eazp1-tf-rmgp"
      + size                                                   = "Standard_F2"
      + virtual_machine_id                                     = (known after apply)

      + admin_ssh_key {
          + public_key = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDWW7HfwYMrzlWCx6qHzHd42cUr5d6EEdIRB8rNczHE5+AIumGanJcbJnWNjgNNQJjzDramUP0vEMuTer/gQqZhrAvTVVPATh4BGZRpGQYb62VGw/d8N7JGCQJCO73/NC4AnilD+hHpaEgY6v8uK421XN63ZRyWugR+QdwdUCyq2EyOIC6xNSqLPP+6KQscDTEdkva8mPw2c6BARARVZP/Z91KeO8qUA0JEj1bjajF6yRiI38npwDklGlGMdfuUNDGq8bhP3wEQiMHCdPc3R2z5TQ73GMVfxKEZOZSXPHdbnmKqXGQuGmcMYsmEQDJzssmQ+om2Vao2ORFvtimsd7nqAjUnvlV7t6UEdGHTJnq21MoTrWS7LuG55Zg9o8Iy8vpT1PwuzSwJaPn4x976tcSFy4JeIl/Zg1Xqynxm+iUwoD6OEKNPRsidlEAk7QiFsBdFLuv5kmarvaQdJhJ2OH1IvSJOwjttrnihBtMAp6HG8PoOSqhHsvFZT+fqw42Znts= tsharma@MacBook-Pro-2.local"
          + username   = "adminuser"
        }

      + os_disk {
          + caching                   = "ReadWrite"
          + disk_size_gb              = (known after apply)
          + name                      = (known after apply)
          + storage_account_type      = "Standard_LRS"
          + write_accelerator_enabled = false
        }

      + source_image_reference {
          + offer     = "0001-com-ubuntu-server-focal"
          + publisher = "Canonical"
          + sku       = "20_04-lts"
          + version   = "latest"
        }
    }

  # module.ex01_nfs_fileshare.azurerm_network_interface.nfsvm_nic[0] will be created
  + resource "azurerm_network_interface" "nfsvm_nic" {
      + applied_dns_servers           = (known after apply)
      + dns_servers                   = (known after apply)
      + enable_accelerated_networking = false
      + enable_ip_forwarding          = false
      + id                            = (known after apply)
      + internal_dns_name_label       = (known after apply)
      + internal_domain_name_suffix   = (known after apply)
      + location                      = "francecentral"
      + mac_address                   = (known after apply)
      + name                          = "nfsvimnic"
      + private_ip_address            = (known after apply)
      + private_ip_addresses          = (known after apply)
      + resource_group_name           = "e2eazp1-tf-rmgp"
      + virtual_machine_id            = (known after apply)

      + ip_configuration {
          + gateway_load_balancer_frontend_ip_configuration_id = (known after apply)
          + name                                               = "internal"
          + primary                                            = (known after apply)
          + private_ip_address                                 = (known after apply)
          + private_ip_address_allocation                      = "Dynamic"
          + private_ip_address_version                         = "IPv4"
          + public_ip_address_id                               = (known after apply)
          + subnet_id                                          = "/subscriptions/9c0efd86-d1e7-4bfa-a9fd-fa6f36b92458/resourceGroups/e2eazp1-tf-rmgp/providers/Microsoft.Network/virtualNetworks/e2eazp1-tf-net/subnets/e2eazp1-tf-sbnt-02"
        }
    }

  # module.ex01_nfs_fileshare.azurerm_network_interface_security_group_association.nfsvm_nic_sg[0] will be created
  + resource "azurerm_network_interface_security_group_association" "nfsvm_nic_sg" {
      + id                        = (known after apply)
      + network_interface_id      = (known after apply)
      + network_security_group_id = (known after apply)
    }

  # module.ex01_nfs_fileshare.azurerm_network_security_group.nfsvm_sg[0] will be created
  + resource "azurerm_network_security_group" "nfsvm_sg" {
      + id                  = (known after apply)
      + location            = "francecentral"
      + name                = "nfsvsad12"
      + resource_group_name = "e2eazp1-tf-rmgp"
      + security_rule       = (known after apply)
    }

  # module.ex01_nfs_fileshare.azurerm_network_security_rule.nfsvm_sg_rule[0] will be created
  + resource "azurerm_network_security_rule" "nfsvm_sg_rule" {
      + access                      = "Allow"
      + destination_address_prefix  = "*"
      + destination_port_range      = "22"
      + direction                   = "Inbound"
      + id                          = (known after apply)
      + name                        = "allowssh"
      + network_security_group_name = "nfsvsad12"
      + priority                    = 100
      + protocol                    = "Tcp"
      + resource_group_name         = "e2eazp1-tf-rmgp"
      + source_address_prefixes     = [
          + "0.0.0.0/0",
        ]
      + source_port_range           = "*"
    }

  # module.ex01_nfs_fileshare.azurerm_private_dns_zone.nfs_privatednszone will be created
  + resource "azurerm_private_dns_zone" "nfs_privatednszone" {
      + id                                                    = (known after apply)
      + max_number_of_record_sets                             = (known after apply)
      + max_number_of_virtual_network_links                   = (known after apply)
      + max_number_of_virtual_network_links_with_registration = (known after apply)
      + name                                                  = "privatelink.file.core.windows.net"
      + number_of_record_sets                                 = (known after apply)
      + resource_group_name                                   = "e2eazp1-tf-rmgp"
    }

  # module.ex01_nfs_fileshare.azurerm_private_dns_zone_virtual_network_link.nfs_vnet_link will be created
  + resource "azurerm_private_dns_zone_virtual_network_link" "nfs_vnet_link" {
      + id                    = (known after apply)
      + name                  = "nfsdsvvnet"
      + private_dns_zone_name = "privatelink.file.core.windows.net"
      + registration_enabled  = false
      + resource_group_name   = "e2eazp1-tf-rmgp"
      + virtual_network_id    = "/subscriptions/9c0efd86-d1e7-4bfa-a9fd-fa6f36b92458/resourceGroups/e2eazp1-tf-rmgp/providers/Microsoft.Network/virtualNetworks/e2eazp1-tf-net"
    }

  # module.ex01_nfs_fileshare.azurerm_private_endpoint.nfs_private_endpoint["e2eazp1-tf-sbnt-02"] will be created
  + resource "azurerm_private_endpoint" "nfs_private_endpoint" {
      + custom_dns_configs       = (known after apply)
      + id                       = (known after apply)
      + location                 = "francecentral"
      + name                     = "azbnk_e2eazp1-tf-sbnt-02_nfs_private_endpoint"
      + network_interface        = (known after apply)
      + private_dns_zone_configs = (known after apply)
      + resource_group_name      = "e2eazp1-tf-rmgp"
      + subnet_id                = "/subscriptions/9c0efd86-d1e7-4bfa-a9fd-fa6f36b92458/resourceGroups/e2eazp1-tf-rmgp/providers/Microsoft.Network/virtualNetworks/e2eazp1-tf-net/subnets/e2eazp1-tf-sbnt-02"

      + private_dns_zone_group {
          + id                   = (known after apply)
          + name                 = "nfs-dns-zone-group"
          + private_dns_zone_ids = (known after apply)
        }

      + private_service_connection {
          + is_manual_connection           = false
          + name                           = "nfs-privateserviceconnection"
          + private_connection_resource_id = (known after apply)
          + private_ip_address             = (known after apply)
          + subresource_names              = [
              + "file",
            ]
        }
    }

  # module.ex01_nfs_fileshare.azurerm_private_endpoint.nfs_private_endpoint["e2eazp1-tf-sbnt-03"] will be created
  + resource "azurerm_private_endpoint" "nfs_private_endpoint" {
      + custom_dns_configs       = (known after apply)
      + id                       = (known after apply)
      + location                 = "francecentral"
      + name                     = "azbnk_e2eazp1-tf-sbnt-03_nfs_private_endpoint"
      + network_interface        = (known after apply)
      + private_dns_zone_configs = (known after apply)
      + resource_group_name      = "e2eazp1-tf-rmgp"
      + subnet_id                = "/subscriptions/9c0efd86-d1e7-4bfa-a9fd-fa6f36b92458/resourceGroups/e2eazp1-tf-rmgp/providers/Microsoft.Network/virtualNetworks/e2eazp1-tf-net/subnets/e2eazp1-tf-sbnt-03"

      + private_dns_zone_group {
          + id                   = (known after apply)
          + name                 = "nfs-dns-zone-group"
          + private_dns_zone_ids = (known after apply)
        }

      + private_service_connection {
          + is_manual_connection           = false
          + name                           = "nfs-privateserviceconnection"
          + private_connection_resource_id = (known after apply)
          + private_ip_address             = (known after apply)
          + subresource_names              = [
              + "file",
            ]
        }
    }

  # module.ex01_nfs_fileshare.azurerm_public_ip.nfsvm_public_ip[0] will be created
  + resource "azurerm_public_ip" "nfsvm_public_ip" {
      + allocation_method       = "Static"
      + ddos_protection_mode    = "VirtualNetworkInherited"
      + fqdn                    = (known after apply)
      + id                      = (known after apply)
      + idle_timeout_in_minutes = 4
      + ip_address              = (known after apply)
      + ip_version              = "IPv4"
      + location                = "francecentral"
      + name                    = "nfsvmpub1"
      + resource_group_name     = "e2eazp1-tf-rmgp"
      + sku                     = "Standard"
      + sku_tier                = "Regional"
    }

  # module.ex01_nfs_fileshare.azurerm_storage_account.nfs_storage_account will be created
  + resource "azurerm_storage_account" "nfs_storage_account" {
      + access_tier                       = (known after apply)
      + account_kind                      = "FileStorage"
      + account_replication_type          = "LRS"
      + account_tier                      = "Premium"
      + allow_nested_items_to_be_public   = true
      + cross_tenant_replication_enabled  = true
      + default_to_oauth_authentication   = false
      + enable_https_traffic_only         = false
      + id                                = (known after apply)
      + infrastructure_encryption_enabled = false
      + is_hns_enabled                    = false
      + large_file_share_enabled          = (known after apply)
      + location                          = "francecentral"
      + min_tls_version                   = "TLS1_2"
      + name                              = "nfsvml11sg"
      + nfsv3_enabled                     = false
      + primary_access_key                = (sensitive value)
      + primary_blob_connection_string    = (sensitive value)
      + primary_blob_endpoint             = (known after apply)
      + primary_blob_host                 = (known after apply)
      + primary_connection_string         = (sensitive value)
      + primary_dfs_endpoint              = (known after apply)
      + primary_dfs_host                  = (known after apply)
      + primary_file_endpoint             = (known after apply)
      + primary_file_host                 = (known after apply)
      + primary_location                  = (known after apply)
      + primary_queue_endpoint            = (known after apply)
      + primary_queue_host                = (known after apply)
      + primary_table_endpoint            = (known after apply)
      + primary_table_host                = (known after apply)
      + primary_web_endpoint              = (known after apply)
      + primary_web_host                  = (known after apply)
      + public_network_access_enabled     = true
      + queue_encryption_key_type         = "Service"
      + resource_group_name               = "e2eazp1-tf-rmgp"
      + secondary_access_key              = (sensitive value)
      + secondary_blob_connection_string  = (sensitive value)
      + secondary_blob_endpoint           = (known after apply)
      + secondary_blob_host               = (known after apply)
      + secondary_connection_string       = (sensitive value)
      + secondary_dfs_endpoint            = (known after apply)
      + secondary_dfs_host                = (known after apply)
      + secondary_file_endpoint           = (known after apply)
      + secondary_file_host               = (known after apply)
      + secondary_location                = (known after apply)
      + secondary_queue_endpoint          = (known after apply)
      + secondary_queue_host              = (known after apply)
      + secondary_table_endpoint          = (known after apply)
      + secondary_table_host              = (known after apply)
      + secondary_web_endpoint            = (known after apply)
      + secondary_web_host                = (known after apply)
      + sftp_enabled                      = false
      + shared_access_key_enabled         = true
      + table_encryption_key_type         = "Service"
    }

  # module.ex01_nfs_fileshare.azurerm_storage_share.nfs_storage_share will be created
  + resource "azurerm_storage_share" "nfs_storage_share" {
      + access_tier          = (known after apply)
      + enabled_protocol     = "NFS"
      + id                   = (known after apply)
      + metadata             = (known after apply)
      + name                 = "nfsvml11"
      + quota                = 100
      + resource_manager_id  = (known after apply)
      + storage_account_name = "nfsvml11sg"
      + url                  = (known after apply)
    }

Plan: 12 to add, 0 to change, 0 to destroy.

Changes to Outputs:
  + nfs_file_share_url = (known after apply)
  + nfs_vm_mount_path  = "/mount/nfsvml11sg/nfsvml11"
  + nfs_vm_public_ip   = (known after apply)
  + nfs_vm_username    = "adminuser"
module.ex01_nfs_fileshare.azurerm_network_security_group.nfsvm_sg[0]: Creating...
module.ex01_nfs_fileshare.azurerm_private_dns_zone.nfs_privatednszone: Creating...
module.ex01_nfs_fileshare.azurerm_public_ip.nfsvm_public_ip[0]: Creating...
module.ex01_nfs_fileshare.azurerm_storage_account.nfs_storage_account: Creating...
module.ex01_nfs_fileshare.azurerm_private_dns_zone.nfs_privatednszone: Still creating... [10s elapsed]
module.ex01_nfs_fileshare.azurerm_public_ip.nfsvm_public_ip[0]: Still creating... [10s elapsed]
module.ex01_nfs_fileshare.azurerm_network_security_group.nfsvm_sg[0]: Still creating... [10s elapsed]
module.ex01_nfs_fileshare.azurerm_storage_account.nfs_storage_account: Still creating... [10s elapsed]
module.ex01_nfs_fileshare.azurerm_network_security_group.nfsvm_sg[0]: Creation complete after 11s [id=/subscriptions/9c0efd86-d1e7-4bfa-a9fd-fa6f36b92458/resourceGroups/e2eazp1-tf-rmgp/providers/Microsoft.Network/networkSecurityGroups/nfsvsad12]
module.ex01_nfs_fileshare.azurerm_network_security_rule.nfsvm_sg_rule[0]: Creating...
module.ex01_nfs_fileshare.azurerm_network_security_rule.nfsvm_sg_rule[0]: Creation complete after 4s [id=/subscriptions/9c0efd86-d1e7-4bfa-a9fd-fa6f36b92458/resourceGroups/e2eazp1-tf-rmgp/providers/Microsoft.Network/networkSecurityGroups/nfsvsad12/securityRules/allowssh]
module.ex01_nfs_fileshare.azurerm_public_ip.nfsvm_public_ip[0]: Creation complete after 17s [id=/subscriptions/9c0efd86-d1e7-4bfa-a9fd-fa6f36b92458/resourceGroups/e2eazp1-tf-rmgp/providers/Microsoft.Network/publicIPAddresses/nfsvmpub1]
module.ex01_nfs_fileshare.azurerm_network_interface.nfsvm_nic[0]: Creating...
module.ex01_nfs_fileshare.azurerm_private_dns_zone.nfs_privatednszone: Still creating... [20s elapsed]
module.ex01_nfs_fileshare.azurerm_storage_account.nfs_storage_account: Still creating... [20s elapsed]
module.ex01_nfs_fileshare.azurerm_network_interface.nfsvm_nic[0]: Still creating... [10s elapsed]
module.ex01_nfs_fileshare.azurerm_private_dns_zone.nfs_privatednszone: Still creating... [30s elapsed]
module.ex01_nfs_fileshare.azurerm_storage_account.nfs_storage_account: Still creating... [30s elapsed]
module.ex01_nfs_fileshare.azurerm_network_interface.nfsvm_nic[0]: Creation complete after 14s [id=/subscriptions/9c0efd86-d1e7-4bfa-a9fd-fa6f36b92458/resourceGroups/e2eazp1-tf-rmgp/providers/Microsoft.Network/networkInterfaces/nfsvimnic]
module.ex01_nfs_fileshare.azurerm_network_interface_security_group_association.nfsvm_nic_sg[0]: Creating...
module.ex01_nfs_fileshare.azurerm_linux_virtual_machine.nfs_vm[0]: Creating...
module.ex01_nfs_fileshare.azurerm_network_interface_security_group_association.nfsvm_nic_sg[0]: Creation complete after 5s [id=/subscriptions/9c0efd86-d1e7-4bfa-a9fd-fa6f36b92458/resourceGroups/e2eazp1-tf-rmgp/providers/Microsoft.Network/networkInterfaces/nfsvimnic|/subscriptions/9c0efd86-d1e7-4bfa-a9fd-fa6f36b92458/resourceGroups/e2eazp1-tf-rmgp/providers/Microsoft.Network/networkSecurityGroups/nfsvsad12]
module.ex01_nfs_fileshare.azurerm_private_dns_zone.nfs_privatednszone: Creation complete after 40s [id=/subscriptions/9c0efd86-d1e7-4bfa-a9fd-fa6f36b92458/resourceGroups/e2eazp1-tf-rmgp/providers/Microsoft.Network/privateDnsZones/privatelink.file.core.windows.net]
module.ex01_nfs_fileshare.azurerm_private_dns_zone_virtual_network_link.nfs_vnet_link: Creating...
module.ex01_nfs_fileshare.azurerm_storage_account.nfs_storage_account: Still creating... [40s elapsed]
module.ex01_nfs_fileshare.azurerm_linux_virtual_machine.nfs_vm[0]: Still creating... [10s elapsed]
module.ex01_nfs_fileshare.azurerm_private_dns_zone_virtual_network_link.nfs_vnet_link: Still creating... [10s elapsed]
module.ex01_nfs_fileshare.azurerm_storage_account.nfs_storage_account: Still creating... [50s elapsed]
module.ex01_nfs_fileshare.azurerm_linux_virtual_machine.nfs_vm[0]: Still creating... [20s elapsed]
module.ex01_nfs_fileshare.azurerm_private_dns_zone_virtual_network_link.nfs_vnet_link: Still creating... [20s elapsed]
module.ex01_nfs_fileshare.azurerm_storage_account.nfs_storage_account: Still creating... [1m0s elapsed]
module.ex01_nfs_fileshare.azurerm_linux_virtual_machine.nfs_vm[0]: Still creating... [30s elapsed]
module.ex01_nfs_fileshare.azurerm_private_dns_zone_virtual_network_link.nfs_vnet_link: Still creating... [30s elapsed]
module.ex01_nfs_fileshare.azurerm_storage_account.nfs_storage_account: Still creating... [1m10s elapsed]
module.ex01_nfs_fileshare.azurerm_linux_virtual_machine.nfs_vm[0]: Still creating... [40s elapsed]
module.ex01_nfs_fileshare.azurerm_private_dns_zone_virtual_network_link.nfs_vnet_link: Still creating... [40s elapsed]
module.ex01_nfs_fileshare.azurerm_storage_account.nfs_storage_account: Still creating... [1m20s elapsed]
module.ex01_nfs_fileshare.azurerm_linux_virtual_machine.nfs_vm[0]: Still creating... [50s elapsed]
module.ex01_nfs_fileshare.azurerm_linux_virtual_machine.nfs_vm[0]: Creation complete after 58s [id=/subscriptions/9c0efd86-d1e7-4bfa-a9fd-fa6f36b92458/resourceGroups/e2eazp1-tf-rmgp/providers/Microsoft.Compute/virtualMachines/nfsvm1]
module.ex01_nfs_fileshare.azurerm_private_dns_zone_virtual_network_link.nfs_vnet_link: Still creating... [50s elapsed]
module.ex01_nfs_fileshare.azurerm_storage_account.nfs_storage_account: Still creating... [1m30s elapsed]
module.ex01_nfs_fileshare.azurerm_private_dns_zone_virtual_network_link.nfs_vnet_link: Still creating... [1m0s elapsed]
module.ex01_nfs_fileshare.azurerm_storage_account.nfs_storage_account: Still creating... [1m40s elapsed]
module.ex01_nfs_fileshare.azurerm_private_dns_zone_virtual_network_link.nfs_vnet_link: Still creating... [1m10s elapsed]
module.ex01_nfs_fileshare.azurerm_private_dns_zone_virtual_network_link.nfs_vnet_link: Creation complete after 1m10s [id=/subscriptions/9c0efd86-d1e7-4bfa-a9fd-fa6f36b92458/resourceGroups/e2eazp1-tf-rmgp/providers/Microsoft.Network/privateDnsZones/privatelink.file.core.windows.net/virtualNetworkLinks/nfsdsvvnet]
module.ex01_nfs_fileshare.azurerm_storage_account.nfs_storage_account: Still creating... [1m50s elapsed]
module.ex01_nfs_fileshare.azurerm_storage_account.nfs_storage_account: Still creating... [2m0s elapsed]
module.ex01_nfs_fileshare.azurerm_storage_account.nfs_storage_account: Still creating... [2m10s elapsed]
module.ex01_nfs_fileshare.azurerm_storage_account.nfs_storage_account: Still creating... [2m51s elapsed]
module.ex01_nfs_fileshare.azurerm_storage_account.nfs_storage_account: Still creating... [3m1s elapsed]
module.ex01_nfs_fileshare.azurerm_storage_account.nfs_storage_account: Still creating... [3m11s elapsed]
module.ex01_nfs_fileshare.azurerm_storage_account.nfs_storage_account: Still creating... [3m21s elapsed]
module.ex01_nfs_fileshare.azurerm_storage_account.nfs_storage_account: Still creating... [3m31s elapsed]
module.ex01_nfs_fileshare.azurerm_storage_account.nfs_storage_account: Creation complete after 3m32s [id=/subscriptions/9c0efd86-d1e7-4bfa-a9fd-fa6f36b92458/resourceGroups/e2eazp1-tf-rmgp/providers/Microsoft.Storage/storageAccounts/nfsvml11sg]
module.ex01_nfs_fileshare.azurerm_storage_share.nfs_storage_share: Creating...
module.ex01_nfs_fileshare.azurerm_private_endpoint.nfs_private_endpoint["e2eazp1-tf-sbnt-03"]: Creating...
module.ex01_nfs_fileshare.azurerm_private_endpoint.nfs_private_endpoint["e2eazp1-tf-sbnt-02"]: Creating...
module.ex01_nfs_fileshare.azurerm_storage_share.nfs_storage_share: Creation complete after 2s [id=https://nfsvml11sg.file.core.windows.net/nfsvml11]
module.ex01_nfs_fileshare.azurerm_private_endpoint.nfs_private_endpoint["e2eazp1-tf-sbnt-03"]: Still creating... [10s elapsed]
module.ex01_nfs_fileshare.azurerm_private_endpoint.nfs_private_endpoint["e2eazp1-tf-sbnt-02"]: Still creating... [10s elapsed]
module.ex01_nfs_fileshare.azurerm_private_endpoint.nfs_private_endpoint["e2eazp1-tf-sbnt-02"]: Still creating... [20s elapsed]
module.ex01_nfs_fileshare.azurerm_private_endpoint.nfs_private_endpoint["e2eazp1-tf-sbnt-03"]: Still creating... [20s elapsed]
module.ex01_nfs_fileshare.azurerm_private_endpoint.nfs_private_endpoint["e2eazp1-tf-sbnt-03"]: Still creating... [30s elapsed]
module.ex01_nfs_fileshare.azurerm_private_endpoint.nfs_private_endpoint["e2eazp1-tf-sbnt-02"]: Still creating... [30s elapsed]
module.ex01_nfs_fileshare.azurerm_private_endpoint.nfs_private_endpoint["e2eazp1-tf-sbnt-02"]: Still creating... [40s elapsed]
module.ex01_nfs_fileshare.azurerm_private_endpoint.nfs_private_endpoint["e2eazp1-tf-sbnt-03"]: Still creating... [40s elapsed]
module.ex01_nfs_fileshare.azurerm_private_endpoint.nfs_private_endpoint["e2eazp1-tf-sbnt-03"]: Still creating... [50s elapsed]
module.ex01_nfs_fileshare.azurerm_private_endpoint.nfs_private_endpoint["e2eazp1-tf-sbnt-02"]: Still creating... [50s elapsed]
module.ex01_nfs_fileshare.azurerm_private_endpoint.nfs_private_endpoint["e2eazp1-tf-sbnt-02"]: Still creating... [1m0s elapsed]
module.ex01_nfs_fileshare.azurerm_private_endpoint.nfs_private_endpoint["e2eazp1-tf-sbnt-03"]: Still creating... [1m0s elapsed]
module.ex01_nfs_fileshare.azurerm_private_endpoint.nfs_private_endpoint["e2eazp1-tf-sbnt-03"]: Creation complete after 1m4s [id=/subscriptions/9c0efd86-d1e7-4bfa-a9fd-fa6f36b92458/resourceGroups/e2eazp1-tf-rmgp/providers/Microsoft.Network/privateEndpoints/azbnk_e2eazp1-tf-sbnt-03_nfs_private_endpoint]
module.ex01_nfs_fileshare.azurerm_private_endpoint.nfs_private_endpoint["e2eazp1-tf-sbnt-02"]: Creation complete after 1m7s [id=/subscriptions/9c0efd86-d1e7-4bfa-a9fd-fa6f36b92458/resourceGroups/e2eazp1-tf-rmgp/providers/Microsoft.Network/privateEndpoints/azbnk_e2eazp1-tf-sbnt-02_nfs_private_endpoint]

Apply complete! Resources: 12 added, 0 changed, 0 destroyed.

Outputs:

nfs_file_share_url = "https://nfsvml11sg.file.core.windows.net/nfsvml11"
nfs_vm_mount_path = "/mount/nfsvml11sg/nfsvml11"
nfs_vm_public_ip = "51.103.64.219"
nfs_vm_username = "adminuser"

NFS is mounted on the VM
(tfquickstart) tsharma@MacBook-Pro-8 ex01-nfs_fileshare % ssh adminuser@51.103.64.219
The authenticity of host '51.103.64.219 (51.103.64.219)' can't be established.
ECDSA key fingerprint is SHA256:YyaG0iGiN+XEh8faM5dncdm47x3LVRnAYFc6TbPTGBk.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '51.103.64.219' (ECDSA) to the list of known hosts.
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.15.0-1045-azure x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Wed Oct 25 06:57:09 UTC 2023

  System load:  0.0               Processes:             127
  Usage of /:   5.9% of 28.89GB   Users logged in:       0
  Memory usage: 7%                IPv4 address for eth0: 10.10.32.4
  Swap usage:   0%

Expanded Security Maintenance for Applications is not enabled.

42 updates can be applied immediately.
34 of these updates are standard security updates.
To see these additional updates run: apt list --upgradable

Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

adminuser@nfsvm1:~$ sudo su
root@nfsvm1:/home/adminuser# ls /mount/nfsvml11sg/nfsvml11
root@nfsvm1:/home/adminuser#
root@nfsvm1:/home/adminuser# ls /mount/nfsvml11sg/
nfsvml11
root@nfsvm1:/home/adminuser#
root@nfsvm1:/home/adminuser# df -kh /mount/nfsvml11sg/nfsvml11/
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        29G  1.7G   28G   6% /

repo: cloudera-labs/terraform-cdp-modules


text:
how to limit hive query history records

When you get the Hive query history, all records for a user are found and placed in memory. If a user has a particularly large number of records, the memory can be particularly high. How do I limit the number of history records returned to memory, such as 20 records

Are you sure about this?
The query history should have a limit 50 per default:
Request URL: http://demo.gethue.com/notebook/api/get_history?doc_type=hive&limit=50&page=1&doc_text=&is_notification_manager=false&_=1559319046886

But I have a question, when there are only 10 historical records, hue memory consumes 80MB, and when there are 10,000 records, there is 200 MB of memory, which looks like the more history, the higher the memory footprint, what is the reason of this?

I would recommend to profile Hue to be exactly sure of what is happening, e.g. SQL query generated
http://gethue.com/get-a-mode-to-allow-easy-profiling-of-requests/

I found out the reason, when I commented out the three lines, the memory no longer grew. I use Hue 3.11.0, How do I change the code here?

I add this parameter when query history and the problem resolved.

Hue 3.11 is extremely old, would recommend to use 4.5 instead.
In master the default is not to includd trashed history: https://github.com/cloudera/hue/blob/master/desktop/core/src/desktop/models.py#L989

authors: fsilent romainr

repo: cloudera/hue


text:
🛑 genesis.clouderg.com is down

In 05306c3, genesis.clouderg.com (https://genesis.clouderg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: genesis.clouderg.com is back up in 2e5503a.

Resolved: genesis.clouderg.com is back up in c9454f6.

repo: clouderg-inc/uptime


text:
Confusion around Always Online cache times

Expected Behavior
Expect clarity around the behaviour of this feature: https://github.com/cloudflare/cloudflare-docs/blob/production/products/cache/src/content/about/always-online.md
Actual Behavior
Contradictory passages seem to indicate different caching lengths:

When you enable Always Online with Internet Archive integration, Cloudflare shares your hostname and popular URL paths with the archive so that the Internet Archive’s crawler stores the pages you want archived. When submitting targets to the crawler, Cloudflare identifies the most popular URLs found among GET requests that returned a 200 HTTP status code in the previous 5 hours.

A Cloudflare crawler identifies resources to place in the Always Online cache. When Internet Archive integration is enabled, Cloudflare tells the Internet Archive what pages to crawl and how often. To ensure stability of service, Cloudflare limits the crawling interval. Limits vary by Cloudflare plan, and the Always Online crawler ignores robots.txt. Free customers once every 30 days. Pro customers once every 15 days. Business and Enterprise customers once every 5 days.
It's not clear that these paragraphs are describing different kinds of caching, and yet they have different caching period lengths.
Section that requires update
https://github.com/cloudflare/cloudflare-docs/blob/production/products/cache/src/content/about/always-online.md
Additional information
Any other details or screenshots you think are relevant.

Thanks for letting us know @mattlinares. We're actually in the process of addressing this issue now, and you should see updated content soon!

authors: angelampcosta mattlinares

repo: cloudflare/cloudflare-docs


text:
[Docs site] Added RSS feeds where appropriate

Following up on #7053 and #7217, adding RSS feed links to the other changelog pages in our docs.
@GregBrimble, also think the compatibility dates page makes sense, but let me know if you think otherwise.

Haven't heard any objections from the folks we've reached out to internally, so going to merge in.
If there are any objections later, it's very easy to remove.


text:
Update log values

Firewall Actions:
simulate -> log
drop -> block
Old log is removed.
Firewall Source:
sanityCheck -> validation
IP Class:
whitelist -> allowlist
Deprecates WAFFlags and WAFMatchedVar.

Any changes under products/logs/src/content/log-fields/_partials/ must be done on the internal logshare-api repo, otherwise any change here will be lost (as the contents of these files are based on the templates there).
I think you have updated some there, but make sure all are up-to-date.

authors: migueldemoura soheiokamoto


text:
Error when installing workerd: Expected "2023-08-14" but got "workerd 2023-08-01"

There seems to be something wrong with the last published version of workerd. Right now I can't use C3, I can't update/install wrangler and I can't even install workerd on an empty folder. I used C3 earlier today and everything was fine.
Here is the error I am running into:
❯ npm install workerd
npm ERR! code 1
npm ERR! path /Users/edisonlsm/Developer/test/node_modules/workerd
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! /Users/edisonlsm/Developer/test/node_modules/workerd/install.js:98
npm ERR!     throw new Error(
npm ERR!           ^
npm ERR!
npm ERR! Error: Expected "2023-08-14" but got "workerd 2023-08-01"
npm ERR!     at validateBinaryVersion (/Users/edisonlsm/Developer/test/node_modules/workerd/install.js:98:11)
npm ERR!     at /Users/edisonlsm/Developer/test/node_modules/workerd/install.js:252:5
npm ERR! A complete log of this run can be found in: /Users/edisonlsm/.npm/_logs/2023-08-14T22_17_26_224Z-debug-0.log
❯ code /Users/edisonlsm/.npm/_logs/2023-08-14T22_17_26_224Z-debug-0.log
And here`s the complete npm log:
0 verbose cli /Users/edisonlsm/.nvm/versions/node/v16.18.0/bin/node /Users/edisonlsm/.nvm/versions/node/v16.18.0/bin/npm
1 info using npm@9.8.1
2 info using node@v16.18.0
3 timing npm:load:whichnode Completed in 1ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:/Users/edisonlsm/.nvm/versions/node/v16.18.0/lib/node_modules/npm/npmrc Completed in 0ms
6 timing config:load:builtin Completed in 0ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:/Users/edisonlsm/Developer/test/.npmrc Completed in 0ms
10 timing config:load:project Completed in 2ms
11 timing config:load:file:/Users/edisonlsm/.npmrc Completed in 0ms
12 timing config:load:user Completed in 0ms
13 timing config:load:file:/Users/edisonlsm/.nvm/versions/node/v16.18.0/etc/npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:setEnvs Completed in 1ms
16 timing config:load Completed in 5ms
17 timing npm:load:configload Completed in 5ms
18 timing config:load:flatten Completed in 1ms
19 timing npm:load:mkdirpcache Completed in 0ms
20 timing npm:load:mkdirplogs Completed in 0ms
21 verbose title npm install workerd
22 verbose argv "install" "workerd"
23 timing npm:load:setTitle Completed in 5ms
24 timing npm:load:display Completed in 0ms
25 verbose logfile logs-max:10 dir:/Users/edisonlsm/.npm/_logs/2023-08-14T22_17_26_224Z-
26 verbose logfile /Users/edisonlsm/.npm/_logs/2023-08-14T22_17_26_224Z-debug-0.log
27 timing npm:load:logFile Completed in 4ms
28 timing npm:load:timers Completed in 0ms
29 timing npm:load:configScope Completed in 0ms
30 timing npm:load Completed in 25ms
31 timing config:load:flatten Completed in 0ms
32 timing arborist:ctor Completed in 0ms
33 timing arborist:ctor Completed in 0ms
34 silly logfile start cleaning logs, removing 1 files
35 timing idealTree:init Completed in 6ms
36 timing idealTree:userRequests Completed in 2ms
37 silly idealTree buildDeps
38 silly fetch manifest workerd@*
39 silly logfile done cleaning log files
40 http fetch GET 200 https://registry.npmjs.org/workerd 6ms (cache hit)
41 silly placeDep ROOT workerd@1.20230814.0 OK for:  want: *
42 silly fetch manifest @cloudflare/workerd-darwin-arm64@1.20230814.0
43 silly fetch manifest @cloudflare/workerd-darwin-64@1.20230814.0
44 silly fetch manifest @cloudflare/workerd-linux-arm64@1.20230814.0
45 silly fetch manifest @cloudflare/workerd-linux-64@1.20230814.0
46 silly fetch manifest @cloudflare/workerd-windows-64@1.20230814.0
47 http fetch GET 200 https://registry.npmjs.org/@cloudflare%2fworkerd-darwin-arm64 5ms (cache hit)
48 http fetch GET 200 https://registry.npmjs.org/@cloudflare%2fworkerd-darwin-64 6ms (cache hit)
49 http fetch GET 200 https://registry.npmjs.org/@cloudflare%2fworkerd-linux-64 6ms (cache hit)
50 http fetch GET 200 https://registry.npmjs.org/@cloudflare%2fworkerd-linux-arm64 6ms (cache hit)
51 http fetch GET 200 https://registry.npmjs.org/@cloudflare%2fworkerd-windows-64 6ms (cache hit)
52 timing idealTree:#root Completed in 17ms
53 silly placeDep ROOT @cloudflare/workerd-darwin-64@1.20230814.0 OK for: workerd@1.20230814.0 want: 1.20230814.0
54 silly placeDep ROOT @cloudflare/workerd-darwin-arm64@1.20230814.0 OK for: workerd@1.20230814.0 want: 1.20230814.0
55 silly placeDep ROOT @cloudflare/workerd-linux-64@1.20230814.0 OK for: workerd@1.20230814.0 want: 1.20230814.0
56 silly placeDep ROOT @cloudflare/workerd-linux-arm64@1.20230814.0 OK for: workerd@1.20230814.0 want: 1.20230814.0
57 silly placeDep ROOT @cloudflare/workerd-windows-64@1.20230814.0 OK for: workerd@1.20230814.0 want: 1.20230814.0
58 timing idealTree:node_modules/workerd Completed in 3ms
59 timing idealTree:node_modules/@cloudflare/workerd-darwin-64 Completed in 0ms
60 timing idealTree:node_modules/@cloudflare/workerd-darwin-arm64 Completed in 0ms
61 timing idealTree:node_modules/@cloudflare/workerd-linux-64 Completed in 0ms
62 timing idealTree:node_modules/@cloudflare/workerd-linux-arm64 Completed in 0ms
63 timing idealTree:node_modules/@cloudflare/workerd-windows-64 Completed in 0ms
64 timing idealTree:buildDeps Completed in 21ms
65 timing idealTree:fixDepFlags Completed in 0ms
66 timing idealTree Completed in 30ms
67 timing reify:loadTrees Completed in 30ms
68 timing reify:diffTrees Completed in 0ms
69 silly reify moves {}
70 timing reify:retireShallow Completed in 1ms
71 timing reify:createSparse Completed in 1ms
72 timing reify:loadBundles Completed in 0ms
73 verbose reify failed optional dependency /Users/edisonlsm/Developer/test/node_modules/@cloudflare/workerd-windows-64
74 silly reify mark deleted [
74 silly reify   '/Users/edisonlsm/Developer/test/node_modules/@cloudflare/workerd-windows-64'
74 silly reify ]
75 verbose reify failed optional dependency /Users/edisonlsm/Developer/test/node_modules/@cloudflare/workerd-linux-arm64
76 silly reify mark deleted [
76 silly reify   '/Users/edisonlsm/Developer/test/node_modules/@cloudflare/workerd-linux-arm64'
76 silly reify ]
77 verbose reify failed optional dependency /Users/edisonlsm/Developer/test/node_modules/@cloudflare/workerd-linux-64
78 silly reify mark deleted [
78 silly reify   '/Users/edisonlsm/Developer/test/node_modules/@cloudflare/workerd-linux-64'
78 silly reify ]
79 verbose reify failed optional dependency /Users/edisonlsm/Developer/test/node_modules/@cloudflare/workerd-darwin-64
80 silly reify mark deleted [
80 silly reify   '/Users/edisonlsm/Developer/test/node_modules/@cloudflare/workerd-darwin-64'
80 silly reify ]
81 timing reifyNode:node_modules/@cloudflare/workerd-windows-64 Completed in 2ms
82 timing reifyNode:node_modules/@cloudflare/workerd-linux-arm64 Completed in 2ms
83 timing reifyNode:node_modules/@cloudflare/workerd-linux-64 Completed in 2ms
84 timing reifyNode:node_modules/@cloudflare/workerd-darwin-64 Completed in 2ms
85 timing reifyNode:node_modules/workerd Completed in 279ms
86 timing reifyNode:node_modules/@cloudflare/workerd-darwin-arm64 Completed in 349ms
87 timing reify:unpack Completed in 349ms
88 timing reify:unretire Completed in 0ms
89 timing build:queue Completed in 0ms
90 timing build:link:node_modules/workerd Completed in 1ms
91 timing build:link Completed in 1ms
92 info run workerd@1.20230814.0 postinstall node_modules/workerd node install.js
93 info run workerd@1.20230814.0 postinstall { code: 1, signal: null }
94 timing reify:rollback:createSparse Completed in 4ms
95 timing reify:rollback:retireShallow Completed in 0ms
96 timing command:install Completed in 997ms
97 verbose stack Error: command failed
97 verbose stack     at ChildProcess.<anonymous> (/Users/edisonlsm/.nvm/versions/node/v16.18.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:53:27)
97 verbose stack     at ChildProcess.emit (node:events:513:28)
97 verbose stack     at maybeClose (node:internal/child_process:1100:16)
97 verbose stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
98 verbose pkgid workerd@1.20230814.0
99 verbose cwd /Users/edisonlsm/Developer/test
100 verbose Darwin 22.5.0
101 verbose node v16.18.0
102 verbose npm  v9.8.1
103 error code 1
104 error path /Users/edisonlsm/Developer/test/node_modules/workerd
105 error command failed
106 error command sh -c node install.js
107 error /Users/edisonlsm/Developer/test/node_modules/workerd/install.js:98
107 error     throw new Error(
107 error           ^
107 error
107 error Error: Expected "2023-08-14" but got "workerd 2023-08-01"
107 error     at validateBinaryVersion (/Users/edisonlsm/Developer/test/node_modules/workerd/install.js:98:11)
107 error     at /Users/edisonlsm/Developer/test/node_modules/workerd/install.js:252:5
108 verbose exit 1
109 timing npm Completed in 1090ms
110 verbose unfinished npm timer reify 1692051446317
111 verbose unfinished npm timer reify:build 1692051446700
112 verbose unfinished npm timer build 1692051446700
113 verbose unfinished npm timer build:deps 1692051446700
114 verbose unfinished npm timer build:run:postinstall 1692051446702
115 verbose unfinished npm timer build:run:postinstall:node_modules/workerd 1692051446702
116 verbose code 1
117 error A complete log of this run can be found in: /Users/edisonlsm/.npm/_logs/2023-08-14T22_17_26_224Z-debug-0.log

Can reproduce this, investigating

Can only reproduce when installing Wrangler v3.5.0 (tested v3.4.x) installs clean.
https://github.com/cloudflare/workerd/blob/main/npm/lib/node-install.ts#L59-L66
https://github.com/cloudflare/workerd/blob/14164667dd9fdc29522fc7f392826b5a18f5223a/.github/workflows/npm.yml#L64
Suggests something went awry with release of https://github.com/cloudflare/workerd/releases/tag/v1.20230814.0?

Can't reproduce when installing wrangler within a fresh VM.

It seems that the arm64 variants of workerd version 2023-08-14 were packaged with the 2023-08-01 binary.
On linux-64:
$ ./node_modules/\@cloudflare/workerd-linux-64/bin/workerd --version
workerd 2023-08-14
$ grep version ./node_modules/\@cloudflare/workerd-linux-64/package.json
  "version": "1.20230814.0"
$

On linux-arm64:
$ ./node_modules/\@cloudflare/workerd-linux-arm64/bin/workerd --version
workerd 2023-08-01
$ grep version node_modules/\@cloudflare/workerd-linux-arm64/package.json
  "version": "1.20230814.0"
$

And on darwin-arm64:
$ ./node_modules/\@cloudflare/workerd-darwin-arm64/bin/workerd --version
workerd 2023-08-01
$ grep version node_modules/\@cloudflare/workerd-linux-arm64/package.json
  "version": "1.20230814.0"
$

authors: edisonlsm irvinebroque pfumagalli

repo: cloudflare/workerd


text:
🐛 Bug Report — Runtime APIs, Reflect.set doesn't respect spread operator for functions

const object = {}
const toBeSpread = { spreadConst: "foo", spreadFunc: () => "foo"}
Reflect.set(object, Symbol.for("set"), { ...toBeSpread })
const get = Reflect.get(object, Symbol.for("set"))
console.log(get)

workerd output:
workerd/io/worker.c++:1544: info: console.log(); message() = [{"spreadConst":"foo"}]

node output:
{ spreadConst: 'foo', spreadFunc: [Function: spreadFunc] }
This functionality is used in the Cloudflare Astro Integration to expose the context object of a request.
Without this functionality, I'm struggling to use functions like waitUntil.

Astro Integration
When I try to access the function waitUntil here (via Reflect.get), it is always undefined, do you have any idea why that would be?


text:
Type generating worker

https://github.com/cloudflare/workerd/pull/1959, but just the transition to using a Worker for type generation.

We're doing this differently


text:
🚀 Feature Request: increase client-side gzip compression level

Describe the solution
Hi! Alberto from @prisma here 👋🏻
Currently, wrangler deploy seems to be using gzip with the default compression level (6) for compressing a Workers project bundle. In Edge app development contexts with large-ish bundle sizes, the current compression level used by Wrangler can prevent deployments to free tier Workers instances due to surpassing the 1 MiB bundle size threshold by just ~20 KiB.
Of course, we realise that deploying slightly larger projects can have an impact on the allocation of serverside resources you provide. We're fans of Cloudflare Workers, and we're reaching out to assess whether you'd be inclined in supporting this :)
We're ready to provide PRs on our side to increase the gzip compression level of wrangler to 9.
Please let us know what you think, thanks!

Thanks for the issue and associated PR @jkomyno! Unfortunately I don't think Wrangler is the right place to solve this issue—Wrangler gzips your bundle to report the compressed size to the user, but the actual compression of the bundle happens server-side in the Cloudflare API (and that compression is used to determine the 1MB limit).
If at all possible, I'd definitely encourage trying to slim down the size of your worker, which will improve cold start times and general performance (or to use the paid tier, which allows for workers up to 10MB in size).
cc @admah for visibility

I'm afraid that increasing the compression here in Wrangler will make no difference to the uploaded Worker. In the backend our system computes the size of the Worker using zlib compression at Z_DEFAULT_COMPRESSION level, which according to the docs corresponds to 6.
http://www.zlib.net/manual.html#:~:text=Z_DEFAULT_COMPRESSION requests a default compromise between speed and compression (currently equivalent to level 6).

authors: jkomyno penalosa petebacondarwin

repo: cloudflare/workers-sdk


text:
Automatically run command prior to wrangler publish via toml value

💡 Feature request
Overview and problem statement
I think it'd be helpful for us Workers Sites users if wrangler.toml allowed a "pre-publish" command to be set.
In my case I'm using Jekyll to generate the static files prior to publishing with wrangler. When running jekyll build for production, we'll often include different command line variables or Jekyll config than we do locally/on staging so the output is optimized for production. It'd be great if wrangler allowed a "pre-publish" command to be set so it automatically runs the proper Jekyll build command before publishing.
Basic example
In wrangler.toml, something like this:
[site]
bucket = "./_site"
entry-point = "workers-site"
pre-publish = "jekyll build --config ./jekyll-production-config.yml"

Thanks for your consideration!

Hey @mrw - thanks for the feature request. This is actually something we've been thinking about already and are tracking in this issue. I'm going to close this as a duplicate, and if you want to chime in on that thread with specific ideas/what your use case is, that would be fantastic 😄

authors: EverlastingBugstopper mrw

repo: cloudflare/wrangler


text:
Install fails with code 1603

When trying to install on my private PC, the install fails with exit code: 1603
This is the log file:
WinGet-Cloudflight.DockerInWSL.1.3.119.220810-2022-12-29-10-00-27.727.log.txt
I am running powershell as an administrator

Unable to import WSL distro from 'C:\Program Files\DockerInWSL\image.tar' to  'C:\Users\Krampus\AppData\Local\DockerInWSL\wsl' might hint to a full disk or some other problem with wsl. Anything interesting in C:\Users\Krampus\AppData\Local\Temp\dockerinwsl-install.log?
Can you also please provide some more info on your system? Win Version, Wsl Version, etc.
Thx

WinGet-Cloudflight.DockerInWSL.1.3.119.220810-2023-01-10-20-19-28.656.log
The disk is actually still half empty - 550GB free of 930.
The system is Win 10 Pro, Versin 22H2, on a Ryzen 9 3900X 12-Core 3,8 GHz, 64 GB RAM with a 1080.
It's on an MSI X570-A PRO
I tried to activate SVM for Docker for windows, but that always caused a bluescreen, which is why I'm trying to use WSL.
For WSL:
PS C:\WINDOWS\system32> wsl --version
WSL version: 1.0.3.0
Kernel version: 5.15.79.1
WSLg version: 1.0.47
MSRDC version: 1.2.3575
Direct3D version: 1.606.4
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.19045.2364

K thx ... Can you please also provide this file: C:\Users\Krampus\AppData\Local\Temp\dockerinwsl-install.log

dockerinwsl-install.log
Ah sorry, here you go

Ok not that helpful either xD
Is any other WSL Distro installed and running without problems? If not, please try to install the latest ubuntu in wsl (wsl --install) just to make sure it is working correctly.

Sorry for not answering yet, just installed a new gpu and now I can't even start windows. I'll answer once I can get back into it.

I completely forgot to answer here:
there was a multitude of issues with my setup, ranging from SVM not being enabled in the bios, to my package store being corrupted. Took me a while, but I was able to fix it and now the installation worked. Thanks!

authors: NTrixner mriedmann

repo: cloudflightio/dockerinwsl


text:
cf login fails on cfdev with i/o timeout

PS C:\WINDOWS\system32> cf dev start
Setting up IP aliases for the BOSH Director & CF Router (requires administrator privileges)
Downloading Resources...
Creating the VM...=============>| 100.0%
Starting VPNKit...
Starting the VM...
Waiting for Garden...
Deploying the BOSH Director...
Deploying CF...
  Uploading ReleasesDeploying Mysql...
  Done (7m12s)

          ██████╗███████╗██████╗ ███████╗██╗   ██╗
         ██╔════╝██╔════╝██╔══██╗██╔════╝██║   ██║
         ██║     █████╗  ██║  ██║█████╗  ██║   ██║
         ██║     ██╔══╝  ██║  ██║██╔══╝  ╚██╗ ██╔╝
         ╚██████╗██║     ██████╔╝███████╗ ╚████╔╝
          ╚═════╝╚═╝     ╚═════╝ ╚══════╝  ╚═══╝
                     is now running!

        To begin using CF Dev, please run:
            cf login -a https://api.dev.cfdev.sh --skip-ssl-validation

        Admin user => Email: admin / Password: admin
        Regular user => Email: user / Password: pass
PS C:\WINDOWS\system32> cf login -a https://api.dev.cfdev.sh --skip-ssl-validation
API endpoint: https://api.dev.cfdev.sh
FAILED
Error performing request: Get https://api.dev.cfdev.sh/v2/info: dial tcp 10.144.0.34:443: i/o timeout
TIP: If you are behind a firewall and require an HTTP proxy, verify the https_proxy environment variable is correctly set. Else, check your network connection.
PS C:\WINDOWS\system32> ping 10.144.0.34

Pinging 10.144.0.34 with 32 bytes of data:
Reply from 10.144.0.34: bytes=32 time<1ms TTL=128
Reply from 10.144.0.34: bytes=32 time<1ms TTL=128
Reply from 10.144.0.34: bytes=32 time<1ms TTL=128

Ping statistics for 10.144.0.34:
    Packets: Sent = 3, Received = 3, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
Control-C

Notes:

I am not behind a proxy
This is on Windows 10
Hyper-V console shows the cfdev VM

Closing because of inactivity. Please let us know if you are still facing this issue.

Then, it's a fault on my part- I wasn't aware there was a public slack forum for cfdev

I am facing the same issue

authors: abh1kg aemengo babuz

repo: cloudfoundry-incubator/cfdev


text:
Parameterize the base image for the staging image

by extracting bash functions in a sourceable file and using a build arg for the base image.
Also remove unused stack ARG from Dockerfile.

This change allows us to build a staging image based on a different stack.

@jimmykarily the staging process is updated/changed significantly and now lives in a separate repo here: https://github.com/cloudfoundry-incubator/eirini-staging/
Also, we are no longer building the binaries for builder and launcher in eirini and strictly rely on the binaries shipped in packs/cf. The longer term plan is to have the code for builder and launcher included in staging and remove the dependency to packs/cf.
In the interim, if you want to change the staging stack, you will need to do a deeper surgical change here: https://github.com/eirini-forks/packs and then create your staging images here:  https://github.com/cloudfoundry-incubator/eirini-staging/blob/master/scripts/image.sh

@nimakaviani Thanks for the explanation. Is the old image still being used or was this change already released?

@thardeck the change has not been released yet but we are pulling it into our develop branch. You can track the changes I discussed above in PR https://github.com/cloudfoundry-incubator/eirini/pull/50
The old image is still used in the latest release of eirini if you use native staging.

ok we will look into the new repo first and come back with whatever changes are needed. Thanks. Closing this one.

authors: jimmykarily nimakaviani thardeck

repo: cloudfoundry-incubator/eirini