Few Bugs



  • Hi,

    I do tests for a week now. You'll know some of the bugs I found here but I put them with their error messages when they have
    one.

    There is only few bugs, I'll still do further tests. All tests here are done with Ubuntu 16.04 Server. If I can, I'll test this week a windows release as server, may be in cluster with the the ubuntu one.

    CloneDeploy Bugs:

    [b]-Buildings name :[/b] No space accepted but no error when submit
    [b]-Room Name Edit impossible :[/b]

    [code]Description: HTTP 500.Error processing request.
    Details: Non-web exception. Exception origin (name of application or object): CloneDeploy-Web.
    Exception stack trace:
    at CloneDeploy_Web.views.global.rooms.views_global_rooms_search.gvRooms_OnRowDataBound (System.Object sender, System.Web.UI.WebControls.GridViewRowEventArgs e) [0x00071] in <94184fea75a34047942dfffb6df3fb46>:0
    at System.Web.UI.WebControls.GridView.OnRowDataBound (System.Web.UI.WebControls.GridViewRowEventArgs e) [0x00021] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.WebControls.GridView.CreateChildControls (System.Collections.IEnumerable dataSource, System.Boolean dataBinding) [0x0033f] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding (System.Collections.IEnumerable data) [0x00018] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.WebControls.GridView.PerformDataBinding (System.Collections.IEnumerable data) [0x00000] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.WebControls.DataBoundControl.InternalPerformDataBinding (System.Collections.IEnumerable data) [0x00017] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.WebControls.DataBoundControl.OnSelect (System.Collections.IEnumerable data) [0x00013] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.DataSourceView.Select (System.Web.UI.DataSourceSelectArguments arguments, System.Web.UI.DataSourceViewSelectCallback callback) [0x0001d] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.WebControls.DataBoundControl.PerformSelect () [0x00032] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.WebControls.BaseDataBoundControl.DataBind () [0x00000] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.WebControls.GridView.DataBind () [0x00012] in <851fa7d1819b414bbe4be99a0505328d>:0
    at CloneDeploy_Web.views.global.rooms.views_global_rooms_search.BindGrid () [0x0002b] in <94184fea75a34047942dfffb6df3fb46>:0
    at CloneDeploy_Web.views.global.rooms.views_global_rooms_search.OnRowEditing (System.Object sender, System.Web.UI.WebControls.GridViewEditEventArgs e) [0x00011] in <94184fea75a34047942dfffb6df3fb46>:0
    at System.Web.UI.WebControls.GridView.OnRowEditing (System.Web.UI.WebControls.GridViewEditEventArgs e) [0x00021] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.WebControls.GridView.SetEditRow (System.Int32 rowIndex) [0x00007] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.WebControls.GridView.ProcessEvent (System.String eventName, System.String param, System.Boolean causesValidation) [0x00221] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.WebControls.GridView.OnBubbleEvent (System.Object source, System.EventArgs e) [0x00078] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.Control.RaiseBubbleEvent (System.Object source, System.EventArgs args) [0x00009] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.WebControls.GridViewRow.OnBubbleEvent (System.Object source, System.EventArgs e) [0x00022] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.Control.RaiseBubbleEvent (System.Object source, System.EventArgs args) [0x00009] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.WebControls.LinkButton.OnCommand (System.Web.UI.WebControls.CommandEventArgs e) [0x00021] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent (System.String eventArgument) [0x00048] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (System.String ea) [0x00000] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.Page.RaisePostBackEvent (System.Web.UI.IPostBackEventHandler sourceControl, System.String eventArgument) [0x00000] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.Page.RaisePostBackEvents () [0x000ad] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.Page.ProcessRaiseEvents () [0x00055] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.Page.InternalProcessRequest () [0x001a7] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x0005f] in <851fa7d1819b414bbe4be99a0505328d>:0
    [/code]

    [b]-Can't Delete Munki Template :
    [/b]
    [code]Description: HTTP 500.Error processing request.
    Details: Non-web exception. Exception origin (name of application or object): CloneDeploy-Web.
    Exception stack trace:
    at CloneDeploy_Web.views.global.munki.views_global_munki_manifestsearch.ConfirmButton_OnClick (System.Object sender, System.EventArgs e) [0x00010] in <94184fea75a34047942dfffb6df3fb46>:0
    at System.Web.UI.WebControls.LinkButton.OnClick (System.EventArgs e) [0x00019] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent (System.String eventArgument) [0x0002b] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (System.String ea) [0x00000] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.Page.RaisePostBackEvent (System.Web.UI.IPostBackEventHandler sourceControl, System.String eventArgument) [0x00000] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.Page.RaisePostBackEvents () [0x000ad] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.Page.ProcessRaiseEvents () [0x00055] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.Page.InternalProcessRequest () [0x001a7] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x0005f] in <851fa7d1819b414bbe4be99a0505328d>:0[/code]

    [b]-Can't OnDemand Multicast on Vlan different than default one :[/b] multicast option not considered (ref : https://forum.clonedeploy.org/730-multicast-on-vlans)
    [b]-Group Multicast does not considere Admin Security options.[/b] (ref : https://forum.clonedeploy.org/713-major-some-group-task-issues)
    [b]-Missing documentation for cluster :
    [/b]
    [code]Description: HTTP 404.The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

    Details: Requested URL: /clonedeploy/views/help/admin-cluster.aspx
    Exception stack trace:
    at System.Web.Compilation.BuildManager.AssertVirtualPathExists (System.Web.VirtualPath virtualPath) [0x00069] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.Compilation.BuildManager.Build (System.Web.VirtualPath vp) [0x00000] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.Compilation.BuildManager.GetCompiledType (System.Web.VirtualPath virtualPath) [0x00037] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath (System.Web.VirtualPath virtualPath, System.Type requiredBaseType) [0x0000f] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.PageParser.GetCompiledPageInstance (System.String virtualPath, System.String inputFile, System.Web.HttpContext context) [0x00021] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.UI.PageHandlerFactory.GetHandler (System.Web.HttpContext context, System.String requestType, System.String virtualPath, System.String path) [0x00000] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url, System.Boolean ignoreContextHandler) [0x00059] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url) [0x00000] in <851fa7d1819b414bbe4be99a0505328d>:0
    at System.Web.HttpApplication+<Pipeline>d__225.MoveNext () [0x00564] in <851fa7d1819b414bbe4be99a0505328d>:0
    [/code]



  • All of this should be addressed in 1.3.4.
    Would you like to try it before I release it to the public?
    http://docs.clonedeploy.org/files/1.3.4.zip

    You can follow the same procedure as the 1.3.3 patch.
    I have not created the cluster documentation yet.
    Also, I fixed the munki issue, but I'm planning on removing munki in the future.



  • no worries, I try to test this tomorrow morning...
    I've not been able to wait.

    Install : OK
    Room Edit : OK
    Global Settings >Munki Template Delete : KO (even with cache cleaning with Chrome or Firefox)
    Group Multicast No Login : OK
    OD Multicast in VLANS : OK

    New Bugs :

    -Not a Bug but version indicated as 1.3.3 in Dashboard upper left corner.
    -In computer tabs, when you want to edit computer custom boot menu, it crash your session (with a nice apache error) and you have to login again. (This bug exist in 1.3.3 or 1.3.0 but I forgot to mention)
    -Not sure mail notification is working. I configured it on the server but the test mail never arrive and there is nothing in the server logs. I made a try directly from the server (not through CD) via mailfrom rcptto etc.and it works (via postfix). Which method do you use?
    -A bug that has no solution I guess, image restoration on Dell raid enabled desktop, break the raid. (May be OK via winpe but did not had time to test)
    -Edit a Room with a deleted cluster group give a mono error. But room setup is not the longest thing to do

    Sorry for taking so much time but I have been unable to deploy on a VLAN, and I was not sure if it was a local or a CloneDeploy issue (as ghost multicast works without any problem).

    It works on another VLAN, so I'll check my local settings.



  • So the VLAN bug encountered was a Clonedeploy one I don't know exactly where. I deleted everything related to this VLAN and recreated everything and now it's OK.

    May be I did something wrong but don't know what.

    But the most important : IT'S WORKING!

    Regarding the emails, it works when I set the server itself as smtp relay (As I configured postfix)
    don't know why it's does not work directly but at least I found a way.



  • Back from 2 weeks of holidays 😉
    We will start soon massive deployment with CD.
    May be two new bugs or may be it's working as expected.

    -Defined Computer properties in groups are not echoed in Computer Properties when it's added to a group. It's needed to update group properties to apply change in computer properties.
    -Default Boot Menu changes are applied to computers in groups even with custom Boot Menu. Solution is same as above, go to Groups Menu, update group and custom menu is back.

    One more, not really a bug, more a compatibility problem:

    • Some computers does not support localboot 0 to start from local hard drive. I had this issue on many
      Dell computers (for instance Optiplex 790). I'm already using pxelinux for other purposes and this is how I solved id :
      [code] COM32 chain.c32
      APPEND hd0[/code]

    Not yet tested with CD, I'll give a try this week.

    I hope I'm clear enough, my english skills are not always enough.



  • Good to hear from you.

    For your group computer properties and boot menu, do you have the set as default box checked? That will make it so new group members automatically get assigned those properties or boot menu.

    As far as the pxe boot, yes there are many issues with try to boot to the local drive depending on different models of pc's, efi, etc. There doesn't seem to be a universal way to handle this. Like you said there are work arounds. I don't have any plans to change this functionality. I always advise against setting pxe as the startup device because it is a security concern. Someone could setup a rogue dhcp server or proxy server and have control over what happens during startup. It would be very easy to mass erase all computers.



  • No I did not checked this box, I understood the sentence "Set As Default For New Group" as it would be a template for New groups. Thanks for you help.

    As it's not a bug, it seems there is no major issue with the 1.3.4.

    Right now I have to find a way to attach clone deploy to our storage system which give some headaches.
    This storage is attached to a Windows Imaging Server with iSCSI mounted drive.
    When I share the iSCSI drive with our brand new CD server through NFS, everything seems to be OK till we start imaging and the CD server hang.
    I'm pretty sure It's related with the use of NFS on iSCSI drive but I did not yet found where is my problem. If I don't find a solution, I have t totally reconfigure our storage and will have 34To of data to move.

    It'll may be take me some time ...



  • Hi,

    2 New bugs on 1.3.4 and may be 1.3.3:

    -On group properties, defined multicast options will be wiped if group general tab is updated.
    -I have a PC on a specific vlan. I had to move this PC to another vlan. I deleted the machine in webui. Put the pc on the classroom (and so new vlan) and the machine still wanted to reach the api via the previous IP. The pc was not anymore in any group as it has been deleted. I deleted the group, the alternate server ip , the cluster which it was attached to and the problem remains.
    The only way I found to put it in the new vlan was to put it back in the first vlan, register the machine, put it in the new group and then move it to the new classroom.

    As I already moved PC from 1 room to another, I don't know if I'll able to reproduce this issue.

    Bye



  • Hi,

    I'm still working with 1.3.4 (and few colleagues on mine too).

    We image now between 100 and 150 PCs/week. We are globally happy with it so thank you.

    This week we encountered a strange BUG : One deploy seems to have failed, we don't know why but that's not the point. Now my colleague who had started the multicast session receive about 50 mails every five minute telling that clients have failed (one mail by client)
    The session had failed on friday evening and he opened his mailbox this morning, unfortunately for me I missed his face when he opened his mailbox. The mails keep outgoing all the day.

    I'm on holiday right now and do not have much time, so for now I stopped postfix. I'll see next week what I can do more. May be you have an idea of what could be the problem.

    We also have little issue with centos 7. (I'll go on on an already opened topic.)

    Cheers.



  • That's a strange one. There is nothing on the server that would do this. The client was either stuck in a loop for that task or, the client booted, got an error, sent email, and rebooted in that same cycle over and over.



  • So you mean that's the client that commit the email? That would make a sense, what was still be sent on monday would be only what was blocked in postfix queues.

    I'll purge them first. (next week!)

    Thanks