Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Citrix AppLayering - Layer Finalize will be run in OS Layer #292

Closed
matthias-schlimm opened this issue Dec 2, 2020 · 17 comments
Closed
Assignees
Labels

Comments

@matthias-schlimm
Copy link
Collaborator

matthias-schlimm commented Dec 2, 2020

@MathiasK-SVA: sag mal, kann es sein dass bisf nicht rafft, wenn du einen os layer erstellst (bevor du den in den ELM importierst) dass der kein shutdown to finalize braucht...
hintergrund: kunde erstellt neuen os layer (= brandneue vm) , installiert updates, die unidesk tools und anschließend bis-f
wenn er jetzt bis-f laufen lässt sagt bis-f am schluss

image

für mein dafürbefinden kann da aber nix finalized werden, weil das ist ja der OS layer (noch) outside des ELM's der wird ja erst importiert

hier mal das ganze logfile

PREP_BISF_WIN-7NS1CJBLHLE_20201030-144639.log

@matthias-schlimm
Copy link
Collaborator Author

matthias-schlimm commented Dec 2, 2020

Kannst bitte mal im Script 99_PrepBISF_POST_BaseImage.ps1 wie folgt ändern:

Zeile 229:
vorher:
IF (!($CTXAppLayerName -eq "No-ELM")) {

nachher:
IF (!($CTXAppLayerName -eq "No-ELM") -or !($CTXAppLayerName -eq "OS-Layer")) {

Zeile 272:
vorher:
IF ($CTXAppLayeringSW) {

nachher:
IF (($CTXAppLayeringSW) -and !($CTXAppLayerName -eq "OS-Layer")) {

@thewitscher
Copy link

Habs gerade mal mit einer neuen Windows 10 VM getestet. Meldung kommt immer noch.
Siehe nachfolgende Logs:

PREP_BISF_WPT_MASTER-W10OS_20210105-142217.log
PREP_BISF_MASTER-W10OS_20210105-142217.log

@EUCweb
Copy link
Owner

EUCweb commented Jan 5, 2021 via email

@thewitscher
Copy link

Ja hab ich, genauso wie oben beschrieben.

@matthias-schlimm
Copy link
Collaborator Author

irgendwas passt da nicht:

bitte mal manuelle Anpassung wie folgt 99_PrepBISF_POST_BaseImage.ps1 und dann nochmal laufen lassen und logs senden

vorher Zeile 228/299

function Start-AppLayeringLayerFinalze {
		IF (!($CTXAppLayerName -eq "No-ELM")) {

nachher:

function Start-AppLayeringLayerFinalze {
	Write-BISFLog -Msg "Layer: $CTXAppLayerName" -ShowConsole -Color DarkCyan -SubMsg
          IF (!($CTXAppLayerName -eq "No-ELM")) {

@thewitscher
Copy link

Hier die neuen Logs mit Deinen Codeanpassungen:

PREP_BISF_WPT_MASTER-W10OS_20210106-083122.log
PREP_BISF_MASTER-W10OS_20210106-083122.log

@EUCweb
Copy link
Owner

EUCweb commented Jan 6, 2021

läuft im Layer: OS-Layer wie erwartet, warum greift dann die folgende Zeile nicht ?

IF (!($CTXAppLayerName -eq "No-ELM") -or !($CTXAppLayerName -eq "OS-Layer")) {

@EUCweb
Copy link
Owner

EUCweb commented Jan 6, 2021

kannst Die Zeile 229 bzw. 230 mal bitte so anpassen

IF ((!($CTXAppLayerName -eq "No-ELM")) -or (!($CTXAppLayerName -eq "OS-Layer"))) {

@thewitscher
Copy link

@thewitscher
Copy link

Diese Änderung ist bei mir noch drin (von Dir oben):

Zeile 272:
vorher:
IF ($CTXAppLayeringSW) {

nachher:
IF (($CTXAppLayeringSW) -and !($CTXAppLayerName -eq "OS-Layer")) {

@EUCweb
Copy link
Owner

EUCweb commented Jan 6, 2021

in meinem letztem Kommentar habe ich aber mehrere Klammern verwendet

@thewitscher
Copy link

Ja, das war abr Zeile 229 / 230 :-).
...
kannst Die Zeile 229 bzw. 230 mal bitte so anpassen

IF ((!($CTXAppLayerName -eq "No-ELM")) -or (!($CTXAppLayerName -eq "OS-Layer"))) {

@EUCweb
Copy link
Owner

EUCweb commented Jan 6, 2021

pass die Zeile mal bitte so an und schick die Logs nochmal.. danke

IF ((!($CTXAppLayerName -eq "No-ELM")) -or (!($CTXAppLayerName -eq "OS-Layer"))) {

@thewitscher
Copy link

Die Zeile 230 hab eich so angepasst, die letzten Logs sind mit den zusätzlichen Klammern.
IF ((!($CTXAppLayerName -eq "No-ELM")) -or (!($CTXAppLayerName -eq "OS-Layer"))) {

Die Zeile 273 sieht bei mir so aus:
IF (($CTXAppLayeringSW) -and !($CTXAppLayerName -eq "OS-Layer")) {

@EUCweb
Copy link
Owner

EUCweb commented Jan 6, 2021

ich glaub ich habs, pass die Zeile 230 mal son an bitte. Dieser Wert wird gesetzt wenn der Application oder Platform Layer erkannt wird:

IF ($CTXAppLayeringPFLayer -eq $true) {

@EUCweb
Copy link
Owner

EUCweb commented Jan 6, 2021

currently the following values are detected

Processing function Test-BISFAppLayeringSoftware
06.01.2021 09:13:21 | Administrator | INFORMATION... | Processing function Test-BISFService
06.01.2021 09:13:21 | Administrator | INFORMATION... | Service UniService exists
06.01.2021 09:13:22 | Administrator | INFORMATION... | Product Citrix AppLayering (Version 20.11.0.12-2df17d2) installed
06.01.2021 09:13:22 | Administrator | INFORMATION... | OverrideRunMode: False
06.01.2021 09:13:22 | Administrator | INFORMATION... | Citrix AppLayering RunMode: 3
06.01.2021 09:13:22 | Administrator | INFORMATION... | Processing function Get-BISFDiskMode
06.01.2021 09:13:22 | Administrator | INFORMATION... | DiskMode is UnmanagedAppLayering
06.01.2021 09:13:22 | Administrator | INFORMATION... | Processing function Test-BISFServiceState
06.01.2021 09:13:22 | Administrator | INFORMATION... | The Service Citrix App Layering Guest Service is successfully in Running state
06.01.2021 09:13:22 | Administrator | INFORMATION... | ServiceStatus Citrix AppLayering: Running
06.01.2021 09:13:22 | Administrator | INFORMATION... | DomainMember: False
06.01.2021 09:13:22 | Administrator | INFORMATION... | UPL:
06.01.2021 09:13:22 | Administrator | INFORMATION... | Citrix AppLayering - OS-Layer detected
06.01.2021 09:13:22 | Administrator | INFORMATION... | Processing function Test-BISFPVSSoftware
06.01.2021 09:13:22 | Administrator | INFORMATION... | Processing function Test-BISFService

https://github.com/EUCweb/BIS-F/blob/develop/Framework/SubCall/Global/BISF.psm1#L2624

@EUCweb
Copy link
Owner

EUCweb commented Jan 6, 2021

@MathiasK-SVA
@thewitscher

es gibt nur einen Workaround, vorher den Uniservice stoppen und dann BIS-F ausführen dann geht es.
Es gibt leider in diesem Zustand keine Möglichkeit den Unterschied seitens BIS-F zuerkennen, da alle Einstellungen
seitens AppLayering gleich sind.

@EUCweb EUCweb closed this as completed Jan 6, 2021
@EUCweb EUCweb added the wontfix This will not be worked on label Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants