SuSE Linux 12.4 - cannot re-register in Azure - object has no attribute 'generateRegionSrvArgs'

in flag

My Azure VM running Linux SLES 12.4 got de-reigstered in Azure. When trying to register back, i get:

/etc/zypp/repos.d # /usr/sbin/registercloudguest --force-new

Traceback (most recent call last):
  File "/usr/sbin/registercloudguest", line 279, in <module>
    region_smt_data = utils.fetch_smt_data(cfg, proxies)
  File "/usr/lib/python3.4/site-packages/cloudregister/", line 238, in fetch_smt_data
    api = add_region_server_args_to_URL(api, cfg)
  File "/usr/lib/python3.4/site-packages/cloudregister/", line 87, in add_region_server_args_to_URL
    regionSrvArgs = mod.generateRegionSrvArgs()
AttributeError: 'module' object has no attribute 'generateRegionSrvArgs'

Cleaned repos and other Azure connection data per this KB: but not getting any better

Checked Internets but haven found any clue of similar issue?


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.