Code Monkey home page Code Monkey logo

Comments (8)

ericaguthan avatar ericaguthan commented on August 30, 2024

Hi @lopezleandro03

One reason that the project may not appear on the Dev Portal is if the project is in a failed state. You can check if this is true by selecting either of the missing projects in the Azure Portal and clicking on "JSON view" on its overview page.

from deployment-environments.

lopezleandro03 avatar lopezleandro03 commented on August 30, 2024

Hi @ericaguthan, it's all good in the JSON view.

"provisioningState": "Succeeded"

The same IaC was used to deploy another project that is visible. Same user account with the same RBAC roles applied at the project level. All projects belong to the same DevCenter.

from deployment-environments.

ericaguthan avatar ericaguthan commented on August 30, 2024

Hi @lopezleandro03,

Another reason that projects might not show in this view is if there are no project environment types configured. I recommend validating that the IAC template successfully created Project Environment Types on the missing projects, and opening a support request to investigate further if things look good there.

from deployment-environments.

KarsonAlford avatar KarsonAlford commented on August 30, 2024

This is happening for us also. I think there may be multiple reasons that the DevCenter gets out of synch with the DevPortal. Here is a way that seemed to consistently cause the issue.

  1. Grant access to a user to the Project/EnvironmentType.
  2. Have that user create an environment in the DevPortal.
  3. Remove access to the Project/EnvironmentType for that user.
  4. Have the user log out and log back into the DevPortal.
  5. Grant access to the user to the Project/EnvironmentType.
  6. Have the user log out and log back into the DevPortal.

After step 3 (and you wait a few minutes) the environment disappears from the Project/Environments list in DevCenter.
After step 5 (and you wait a few minutes) the environment reappears in Project/Environments list in DevCenter.
After step 6 (and you wait a few minutes) the user can create new environments but cannot see the environment created in step 2.
Also after step 6, if the user creates another environment then logs out and back in again that environment also doesn't show up.

from deployment-environments.

j-rewerts avatar j-rewerts commented on August 30, 2024

@KarsonAlford Does waiting resolve the issue? The way we check for permissions in our API does involve a cache. This means you can get cached results for a bit after updating permissions.

I've been able to reproduce this, but the issue always goes away after 15-20 minutes.

from deployment-environments.

j-rewerts avatar j-rewerts commented on August 30, 2024

@lopezleandro03 Are you still seeing issues?

from deployment-environments.

KarsonAlford avatar KarsonAlford commented on August 30, 2024

@KarsonAlford Does waiting resolve the issue? The way we check for permissions in our API does involve a cache. This means you can get cached results for a bit after updating permissions.

I've been able to reproduce this, but the issue always goes away after 15-20 minutes.

No waiting did not resolve the issue. However, this was affecting us a month ago and during the troubleshooting DevCenter was getting updates that may affect this behavior. We are no longer using DevCenters so I am not sure it this is still occuring.

from deployment-environments.

j-rewerts avatar j-rewerts commented on August 30, 2024

Closing, but feel free to open again if this issue persists.

from deployment-environments.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.