Thinks,I referred to the git link you provided and modified the relevant code.
I just solved the problem you mentioned, and I made changes in these places:
cloudbaseinit/metadata/services/baseopenstackservice.py
Before modification
def get_admin_username(self):
return...