Azure Stack TP2 Error Step 60.120.124
1. used windows' account [azurestack\administrator] run script [installazurestackpoc.ps1]
2. used aad user account global administrator rights login in when running installazurestackpoc.ps1 script.
3. command below.
.\installazurestackpoc.ps1 -adminpassword $adminpass -aadadmincredential $aadcred -natipv4subnet 10.10.10.0/24 -natipv4address 10.10.10.3 -natipv4defaultgateway 10.10.10.1
stopped on step 60.120.124 always.
found [todo] comment in file [c:\clouddeployment\configuration\roles\fabric\aad\role.xml]
likes below:
------------------------------
<publicinfo>
<logs>
<filelog location="$env:systemdrive\logs\"/>
</logs>
<!--todo: customer needs change match aad configuration -->
<!--name corresponds domain name in old azure management portal, https://manage.windowsazure.com -->
<!--id corresponds https://login.microsoftonline.com/{id}/federationmetadata/2007-06/federationmetadata.xml -->
<!--the above endpoint can found azure management portal -> directory -> app endpoints -->
<!--note: should optional step once configure azure stack adfs -->
<aadtenant>
<name>[aaddirectorytenantname]</name>
<id>[aaddirectorytenantid]</id>
<subscriptionowner>[aadsubscriptionowner]</subscriptionowner>
<uniquename>[aadsubscriptionowner]</uniquename>
</aadtenant>
</publicinfo>
------------------------------
should change value of <name>/<id>/<subscriptionowner> , <uniquename>?
idea?
log file say:
---------------------------
-<step endtimeutc="2016-10-13t06:48:26.7950891z" status="error" starttimeutc="2016-10-13t06:46:59.0905609z" description="configures azure stack azure ad." name="(katal) azure stack aad configuration." index="124">
-<task endtimeutc="2016-10-13t06:48:26.7950891z" status="error" starttimeutc="2016-10-13t06:46:59.0905609z" rolepath="cloud\fabric\aad" interfacetype="configure">
-<exception>
<message>function 'configureaad' in module 'roles\aad\aad.psd1' raised exception: user_realm_discovery_failed: user realm discovery failed @ <scriptblock>, <no file>: line 280</message>
<stacktrace> @ cloudengine.actions.powershellhost.invoke(interfaceparameters parameters, object legacyconfigurationobject, cancellationtoken token) @ cloudengine.actions.interfacetask.invoke(configuration roleconfiguration, object legacyconfigurationobject, multilevelindexrange indexrange, cancellationtoken token)</stacktrace>
<raw>cloudengine.actions.interfaceinvocationfailedexception: function 'configureaad' in module 'roles\aad\aad.psd1' raised exception: user_realm_discovery_failed: user realm discovery failed @ <scriptblock>, <no file>: line 280 @ cloudengine.actions.powershellhost.invoke(interfaceparameters parameters, object legacyconfigurationobject, cancellationtoken token) @ cloudengine.actions.interfacetask.invoke(configuration roleconfiguration, object legacyconfigurationobject, multilevelindexrange indexrange, cancellationtoken token)</raw>
</exception>
</task>
</step>
---------------------------
2. used aad user account global administrator rights login in when running installazurestackpoc.ps1 script.
3. command below.
.\installazurestackpoc.ps1 -adminpassword $adminpass -aadadmincredential $aadcred -natipv4subnet 10.10.10.0/24 -natipv4address 10.10.10.3 -natipv4defaultgateway 10.10.10.1
stopped on step 60.120.124 always.
found [todo] comment in file [c:\clouddeployment\configuration\roles\fabric\aad\role.xml]
likes below:
------------------------------
<publicinfo>
<logs>
<filelog location="$env:systemdrive\logs\"/>
</logs>
<!--todo: customer needs change match aad configuration -->
<!--name corresponds domain name in old azure management portal, https://manage.windowsazure.com -->
<!--id corresponds https://login.microsoftonline.com/{id}/federationmetadata/2007-06/federationmetadata.xml -->
<!--the above endpoint can found azure management portal -> directory -> app endpoints -->
<!--note: should optional step once configure azure stack adfs -->
<aadtenant>
<name>[aaddirectorytenantname]</name>
<id>[aaddirectorytenantid]</id>
<subscriptionowner>[aadsubscriptionowner]</subscriptionowner>
<uniquename>[aadsubscriptionowner]</uniquename>
</aadtenant>
</publicinfo>
------------------------------
should change value of <name>/<id>/<subscriptionowner> , <uniquename>?
idea?
log file say:
---------------------------
-<step endtimeutc="2016-10-13t06:48:26.7950891z" status="error" starttimeutc="2016-10-13t06:46:59.0905609z" description="configures azure stack azure ad." name="(katal) azure stack aad configuration." index="124">
-<task endtimeutc="2016-10-13t06:48:26.7950891z" status="error" starttimeutc="2016-10-13t06:46:59.0905609z" rolepath="cloud\fabric\aad" interfacetype="configure">
-<exception>
<message>function 'configureaad' in module 'roles\aad\aad.psd1' raised exception: user_realm_discovery_failed: user realm discovery failed @ <scriptblock>, <no file>: line 280</message>
<stacktrace> @ cloudengine.actions.powershellhost.invoke(interfaceparameters parameters, object legacyconfigurationobject, cancellationtoken token) @ cloudengine.actions.interfacetask.invoke(configuration roleconfiguration, object legacyconfigurationobject, multilevelindexrange indexrange, cancellationtoken token)</stacktrace>
<raw>cloudengine.actions.interfaceinvocationfailedexception: function 'configureaad' in module 'roles\aad\aad.psd1' raised exception: user_realm_discovery_failed: user realm discovery failed @ <scriptblock>, <no file>: line 280 @ cloudengine.actions.powershellhost.invoke(interfaceparameters parameters, object legacyconfigurationobject, cancellationtoken token) @ cloudengine.actions.interfacetask.invoke(configuration roleconfiguration, object legacyconfigurationobject, multilevelindexrange indexrange, cancellationtoken token)</raw>
</exception>
</task>
</step>
---------------------------
this issue has been solved.
in case, had never set value of environmentdns parameter.
installation completed when added environmentdns.
command below...
hope can someone.
------------------------------------------------------------------
in case, had never set value of environmentdns parameter.
installation completed when added environmentdns.
command below...
hope can someone.
------------------------------------------------------------------
$adminpass = convertto-securestring "xxxxxx" -asplaintext -force $aadpass = convertto-securestring "aaaaaa" -asplaintext -force $aadcred = new-object system.management.automation.pscredential ("zzzzzzz@xxxxxxx.onmicrosoft.com", $aadpass) .\installazurestackpoc.ps1 -adminpassword $adminpass -aadadmincredential $aadcred -natipv4subnet xxx.xxx.xxx.xxx/xx -natipv4address xxx.xxx.xxx.xxx -natipv4defaultgateway xxx.xxx.xxx.xxx -environmentdns xxx.xxx.xxx.xxx
Microsoft Azure , Development > Azure Stack
Comments
Post a Comment