Skip to Content
1
Jan 24, 2023 at 03:14 PM

The hostname cannot consist of more than 63 characters / Set hostname manually?

353 Views Last edit Jan 24, 2023 at 03:18 PM 4 rev

Hi all,

I deployed a multitenant bookshop application in a provider subaccount and successfully subscribed from a consumer subaccount.

But when setting the route in the provider subaccount, I run into an error.

grafik.png

The reason is our Org Name is 53 characters long.

xxxxxxx-xxxxxxxxxxx-xx-xxxxxxxxxx-xxxxxxxx-xxxxxxxx

The Host Name of the deployed bookshop-srv is even longer (64 characters):

xxxxxxx-xxxxxxxxxxx-xx-xxxxxxxxxx-xxxxxxxx-xxxxxxxx-boo6dfe40d1

When now subscribing from a consumer account, it adds the consumer name in front, which leads to 72 characters.

devcon1-xxxxxxx-xxxxxxxxxxx-xx-xxxxxxxxxx-xxxxxxxx-xxxxxxxx-boo36fb39a7

When I try to set this hostname as route, it leads to the previous shown error.

In the BTP Cockpit, when clicking on "Manage environment instance" and then "Update", I'm not able to change the Instance Name, but at least found this hint via the Info Button.

grafik.png

grafik.png

Seems like, whoever created the Global and Subaccount back then, didn't read this info (or the info did not exist at that point), and now we got a 53 characters long name.

I wonder what are my options? Is it possible to change the Instance Name of a Subaccount? Can I overwrite the hostname in the mta.yaml in someway?
We would like to keep the Subaccount as it already contains some Trust Configurations, destinations, roles etc.

Thankful for any hint!
Regards
Nico

Attachments

grafik.png (41.2 kB)
grafik.png (20.4 kB)
grafik.png (24.1 kB)