]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
node-proxy: lower verbosity level
authorGuillaume Abrioux <gabrioux@ibm.com>
Wed, 27 Sep 2023 13:00:17 +0000 (13:00 +0000)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 25 Jan 2024 14:55:09 +0000 (14:55 +0000)
This reduces the verbosity level for some messages.
These are generating a lot of messages while they can be needed
only for debugging purposes.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 9fee8362a91fc4c263a69003733d6c1fde37db5e)

src/cephadm/cephadmlib/node_proxy/redfishdellchassis.py
src/cephadm/cephadmlib/node_proxy/redfishdellsystem.py

index 39610dc74456278ec866f6e3205e5d6229f1a3bf..3238f9e8a373fad356c741509e6b157e73a92444 100644 (file)
@@ -35,7 +35,7 @@ class RedfishDellChassis(BaseRedfishSystem):
                 "Status"
             ]
         }
-        self.log.logger.info("Updating powersupplies")
+        self.log.logger.debug("Updating powersupplies")
         self._system['power'] = self.build_chassis_data(fields, 'Power')
 
     def _update_fans(self) -> None:
@@ -46,7 +46,7 @@ class RedfishDellChassis(BaseRedfishSystem):
                 "Status"
             ],
         }
-        self.log.logger.info("Updating fans")
+        self.log.logger.debug("Updating fans")
         self._system['fans'] = self.build_chassis_data(fields, 'Thermal')
 
     def build_chassis_data(self,
index de9756fe79fe8fd304eb04d52e878ceda85b303a..a79a3fcf52be1c9fcfae3464d0690d387124ac39 100644 (file)
@@ -48,7 +48,7 @@ class RedfishDellSystem(BaseRedfishSystem):
 
     def _update_network(self) -> None:
         fields = ['Description', 'Name', 'SpeedMbps', 'Status']
-        self.log.logger.info("Updating network")
+        self.log.logger.debug('Updating network')
         self._system['network'] = self.build_system_data(fields, 'EthernetInterfaces')
 
     def _update_processors(self) -> None:
@@ -59,7 +59,7 @@ class RedfishDellSystem(BaseRedfishSystem):
                   'Model',
                   'Status',
                   'Manufacturer']
-        self.log.logger.info("Updating processors")
+        self.log.logger.debug('Updating processors')
         self._system['processors'] = self.build_system_data(fields, 'Processors')
 
     def _update_storage(self) -> None:
@@ -69,7 +69,7 @@ class RedfishDellSystem(BaseRedfishSystem):
                   'SerialNumber', 'Status',
                   'PhysicalLocation']
         entities = self.get_members('Storage')
-        self.log.logger.info("Updating storage")
+        self.log.logger.debug('Updating storage')
         result: Dict[str, Dict[str, Dict]] = dict()
         for entity in entities:
             for drive in entity['Drives']:
@@ -83,7 +83,7 @@ class RedfishDellSystem(BaseRedfishSystem):
         self._system['storage'] = normalize_dict(result)
 
     def _update_metadata(self) -> None:
-        self.log.logger.info("Updating metadata")
+        self.log.logger.debug('Updating metadata')
         pass
 
     def _update_memory(self) -> None:
@@ -91,5 +91,5 @@ class RedfishDellSystem(BaseRedfishSystem):
                   'MemoryDeviceType',
                   'CapacityMiB',
                   'Status']
-        self.log.logger.info("Updating memory")
+        self.log.logger.debug('Updating memory')
         self._system['memory'] = self.build_system_data(fields, 'Memory')