2 Replies Latest reply on Jan 3, 2013 6:42 PM by komododave

    Best way to re-provision a container

    komododave

      Following a provisioning failure due to e.g. a repository being temporarily down, is there a way to re-provision a container rather than wait for the agent's next attempt? I'm aware that you can stop and start the container, but wonder whether there's a command to do it without taking the container down.

       

      FMC seems to do it, since the provisioning light changes but the container's alive light stays on.

        • 1. Re: Best way to re-provision a container
          stlewis

          Best way is to disassociate the profile from the container and then re-associate it.  For example in FMC I'll usually just delete the profile from the container, then re-add it, which causes any features/bundles/fabs/configs to get removed and then re-installed.  Think it's worth waiting for a couple seconds between removing the profile and re-adding it.

           

          A "profile-touch" command would be a nice improvement though...

          • 2. Re: Best way to re-provision a container
            komododave

            We'll create a Cucumber script that follows what you've advised, thank you Stan.

             

            Perhaps you could create an issue to implement this feature, if not then I will...