File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change 31
31
import six
32
32
from sqlalchemy import func as sqlfunc
33
33
from sqlalchemy import MetaData , Table , and_ , select
34
- from sqlalchemy .sql import false
35
34
36
35
from nova .cmd import common as cmd_common
37
36
import nova .conf
@@ -318,15 +317,6 @@ def _check_ironic_flavor_migration(self):
318
317
# those nodes are already migrated, so there is nothing to do.
319
318
return upgradecheck .Result (upgradecheck .Code .SUCCESS )
320
319
321
- def _get_min_service_version (self , context , binary ):
322
- meta = MetaData (bind = db_session .get_engine (context = context ))
323
- services = Table ('services' , meta , autoload = True )
324
- return select ([sqlfunc .min (services .c .version )]).select_from (
325
- services ).where (and_ (
326
- services .c .binary == binary ,
327
- services .c .deleted == 0 ,
328
- services .c .forced_down == false ())).scalar ()
329
-
330
320
def _check_cinder (self ):
331
321
"""Checks to see that the cinder API is available at a given minimum
332
322
microversion.
You can’t perform that action at this time.
0 commit comments