Skip to content

Commit

Permalink
fix: openstack: log which server is being provisioned
Browse files Browse the repository at this point in the history
To not see something more useful than:
"""
OpenStack: Creating server
OpenStack: Creating server
"""

Signed-off-by: Petr Vobornik <[email protected]>
  • Loading branch information
pvoborni committed Dec 11, 2020
1 parent 3683d3c commit d89aa5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mrack/providers/openstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,8 @@ async def create_server(self, req):
* 'network': uuid or name of network to use. Will be added to networks
list if present
"""
logger.info(f"{self.dsp_name}: Creating server")
name = req.get("name")
logger.info(f"{self.dsp_name}: Creating server {name}")
specs = deepcopy(req) # work with own copy, do not modify the input

flavor = self._translate_flavor(req)
Expand Down

0 comments on commit d89aa5d

Please sign in to comment.