Hi, after investigating, I solved the problem with the following code: ```diff diff -ru vendor/php-opencloud/openstack/src/Identity/v3/Models/Endpoint.php ../openstack/vendor/php-opencloud/openstack/src/Identity/v3/Models/Endpoint.php --- vendor/php-opencloud/openstack/src/Identity/v3/Models/Endpoint.php 2017-07-14 04:39:28.000000000 -0300 +++ ../openstack/vendor/php-opencloud/openstack/src/Identity/v3/Models/Endpoint.php 2017-09-18 16:37:45.303314819 -0300 @@ -77,6 +77,8 @@ public function regionMatches(string $value): bool { + if($this->region == '*') + return true; return $this->region && $this->region == $value; } diff -ru vendor/php-opencloud/openstack/src/Identity/v3/Models/Service.php ../openstack/vendor/php-opencloud/openstack/src/Identity/v3/Models/Service.php --- vendor/php-opencloud/openstack/src/Identity/v3/Models/Service.php 2017-07-14 04:39:28.000000000 -0300 +++ ../openstack/vendor/php-opencloud/openstack/src/Identity/v3/Models/Service.php 2017-09-18 16:31:53.184373496 -0300 @@ -79,7 +79,7 @@ private function typeMatches(string $value): bool { - return $this->type && $this->type = $value; + return $this->type && $this->type == $value; } /** @@ -94,7 +94,7 @@ */ public function getUrl(string $name, string $type, string $region, string $interface) { - if (!$this->nameMatches($name) || !$this->typeMatches($type)) { + if (!$this->nameMatches($name) && !$this->typeMatches($type)) { return false; } ``` _Originally posted by @thiagodamas in https://github.com/php-opencloud/openstack/issues/91#issuecomment-330338572_
Activity
[-]Identity v2 bugs - not yet fixed[/-][+]Identity v3 bugs - not yet fixed[/+]TheDigitalOrchard commentedon Jul 27, 2019
PR #288