canonical / jhack

Chock-full of Juju hackery.
Apache License 2.0
48 stars 23 forks source link

jhack edge fails to nuke model #101

Closed gboutry closed 10 months ago

gboutry commented 10 months ago

When on jhack edge, a warning is emitted: something went wrong nuking designate;stdout=stderr=ERROR option provided but not defined: -y

And the model is not deleted.

jhack nuke designate
Are you sure you want to nuke:
    ⚛ app 'designate' (designate)
    ⚛ model 'designate'
Please confirm [Y/n]: Y

                                                                                                                             ____                                                                                                                        
                                                                                                                     __,-~~/~    `---.                                                                                                                   
                                                                                                                   _/_,---(      ,    )                                                                                                                  
                                                                                                               __ /        <    /   )  \___                                                                                                              
                                                                                                - ------===;;;'====------------------===;;;===----- -  -                                                                                                 
                                                                                                                  \/  ~"~"~"~"~"~\~"~)~"/                                                                                                                
                                                                                                                  (_ (   \  (     >    \)                                                                                                                
                                                                                                                   \_( _ <         >_>'                                                                                                                  
                                                                                                                      ~ `-i' ::>|--"                                                                                                                     
                                                                                                                          I;|.|.|                                                                                                                        
                                                                                                                         <|i::|i|`.                                                                                                                      
                                                                                                                        (` ^'"`-' ")                                                                                                                     

                                                                                                            ~]==⚛❯  designate (designate)  ⚛                                                                                                             
                                                                                                                  ~]==⚛❯  designate  ⚛                                                                                                                   
something went wrong nuking designate;stdout=stderr=ERROR option provided but not defined: -y

                                                                                                   ~]==⚛❯ app 'designate' (designate) still in flight                                                                                                    
                                                                                                                         ✞ RIP ✞ 

Version

Version installed: 0.3.19.1.2 2023-09-04 (241) Juju: 3.1.5 (23354)

More details

The operation succeeds on latest/stable

PietroPasotti commented 10 months ago

Hi Guillaume, thanks about this report! It should be fixed by this change. For some reason it stopped working well when I bumped the wrapped juju snap version to 3.3 earlier today. Try refreshing to 244 and it should be gone.

gboutry commented 10 months ago

Thank you very much Pietro! can't live without the nuke...