Page MenuHomeDevCentral

Reprovision dwellers
Closed, ResolvedPublic

Description

Create a dev Docker machine called Dwellers on hyper-001, then migrate Dwellers data on it.

When we recreate Dwellers, it seems more convenient:

  • to use CentOS Stream, as planned, before Rocky Linux test migration
  • to use overlay2 as storage for Docker, instead of LVM

IP stays the same (IPFO migrated there), as documented on 🔒 https://netbox.nasqueron.org/virtualization/virtual-machines/5/interfaces/

Afterwards, we can clean LVM configuration from paas-docker role, as not used anymore.

Related Objects

StatusSubtypeAssignedTask
ResolvedDorianWinty

Event Timeline

dereckson triaged this task as High priority.Feb 8 2023, 17:31
dereckson created this task.

@DorianWinty Can you check if all looks good on Dwellers?

salt dwellers state.sls roles/core  

Summary for dwellers                                                                                                                                                                           
-------------                                                                                                                                                                                  
Succeeded: 50 (changed=2)                                                                                                                                                                      
Failed:     0                                                                                                                                                                                  
-------------
salt dwellers state.sls roles/paas-docker  

Summary for dwellers
-------------
Succeeded: 80 (changed=26)
Failed:     1
-------------
Total states run:     81

Everything is okey,
Just removing Mastodon of config, if we don't use it anymore

----------                    
          ID: provision_clear_video_queue_mastodon_sidekiq_1
    Function: cmd.run                                                                          
        Name: docker cp /srv/mastodon/extra_utilities/clear-video-queue mastodon_sidekiq_1:/usr/bin/clear-video-queue                                                                          
      Result: False                                                                                                                                                                            
     Comment: Command "docker cp /srv/mastodon/extra_utilities/clear-video-queue mastodon_sidekiq_1:/usr/bin/clear-video-queue" run
     Started: 21:56:27.931116                                                                  
    Duration: 163.709 ms                                                                       
     Changes:                                                                                                                                                                                  
              ----------                                                                       
              pid:                                                                                                                                                                             
                  552412                                                                       
              retcode:                                                                         
                  1                                                                            
              stderr:                                                                          
                  Error response from daemon: No such container: mastodon_sidekiq_1            
              stdout:

For Mastodon cleanup (or move if we'll use it), see T1786.