Menu

#2073 Connect to iTop Hub fails after instance clone

2.7.7
assistance
None
User Interface
Critical
2.6.0
defect
2022-07-26
2022-06-03
No

After cloning itop, hub goes in timeout
https://www.itophub.io/wiki/page?id=itop_hub%3Ainstances_identification did not solve
both priv_db_properties.name and instance.txt were deleted and setup was launched
new ID are available in DB and file

any idea?

Related

Tickets: #2073

Discussion

  • Marco Musolesi

    Marco Musolesi - 2022-06-03

    update: some times itophub.io also got

    500 Internal Server Error

     
  • Pierre Goiffon

    Pierre Goiffon - 2022-06-07

    Hello,
    How did you clone your instance ?
    Check this page : Moving iTop under a different URL [iTop Documentation]

     
    • Marco Musolesi

      Marco Musolesi - 2022-06-07

      Hi Pierre,

      Nice to meet you. I will give you all steps:

      1. Create a new apache virtual host on the same server but different fqdn and web directory
      2. Create a new mysql DB and new username/pwd
      3. Copy all files from existing directory to the new one
      4. Dump and import exiting DB to the new one
      5. Edit itop config /conf/production/config-itop replacing:
        • session_name
        • app_root_url
        • db_name
        • db_user
        • db_pwd
      6. delete /data/instance.txt
      7. delete mysql record database_uuid from priv_db_properties
      8. restart apache
      9. chmod +w sewtup
      10. accessing new fqdn (all data and function are ok)
      11. executing iTop setup fqdn/setup
      12. check new /data/instance.txt and database_uuid (recreated)
      13. trying access iTop Hub (fail)

      Did I make something wrong?

      Kind Regards

      PS: if I skip from point 6 I am able to access hub but the instance is recognized as the old one receiving a warning that suggests https://www.itophub.io/wiki/page?id=itop_hub%3Ainstances_identification
      It seems an identification issue

      Marco Musolesi
      m.musolesi@elogic.it
      Head of Cloud Services
      Cloud Services
      eLogic s.r.l. - Società del Gruppo Maggioli
      Via Paolo Nanni Costa, 30
      40133 - Bologna
      0513145611
      elogic.cloud

      ​The information contained in this e-mail and any attachments are confidential. The contents may not be copied or used by anyone other than the addressee and must not be further disclosed without our permission. If you have received this e-mail by mistake, please notify the sender immediately and delete this e-mail and any attachments.

      Da: tickets@itop.p.re.sourceforge.net tickets@itop.p.re.sourceforge.net Per conto di Pierre Goiffon
      Inviato: martedì 7 giugno 2022 10:27
      A: [itop:tickets] 2073@tickets.itop.p.re.sourceforge.net
      Oggetto: [itop:tickets] #2073 Connect to iTop Hub fails after instance clone

      Hello,
      How did you clone your instance ?
      Check this page : Moving iTop under a different URL [iTop Documentation]https://www.itophub.io/wiki/page?id=latest:install:moving_itop


      [tickets:#2073]https://sourceforge.net/p/itop/tickets/2073/ Connect to iTop Hub fails after instance clone

      Status: new
      Milestone: 2.7.7
      Created: Fri Jun 03, 2022 05:06 PM UTC by Marco Musolesi
      Last Updated: Fri Jun 03, 2022 05:10 PM UTC
      Owner: nobody

      After cloning itop, hub goes in timeout
      https://www.itophub.io/wiki/page?id=itop_hub%3Ainstances_identification did not solve
      both priv_db_properties.name and instance.txt were deleted and setup was launched
      new ID are available in DB and file

      any idea?


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/itop/tickets/2073/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #2073

  • Pierre Goiffon

    Pierre Goiffon - 2022-06-07
    • status: new --> more-info-needed
    • assigned_to: Pierre Goiffon
     
  • Pierre Goiffon

    Pierre Goiffon - 2022-06-07

    Thanks for all the informations !
    I've asked in Combodo

     
  • Pierre Goiffon

    Pierre Goiffon - 2022-06-07

    Hello, could you post your query as a hub request ? That means, connect to https://www.itophub.io/ than click on the balloon icon "contact us" on the middle right.

     
    • Marco Musolesi

      Marco Musolesi - 2022-06-07

      Hi Pierre I am going to move to hub request

      Now I am more confused:
      I tried to clone production instance to 2 other instance: test and staging. Total 3 instance

      Same procedure for both clones

      On Friday both fails...

      Today I tried again and now I can see all of them.

      So I cloned again test instance and I have the same error.... But I did not delete from itop hub the test instance

      So I deleted on itop hub test instance and now it works....

      Finally I think that there was some issue or latency on itop hub the did not detect new and old ID that now works

      Everything is fine now so you can archive this thread

      Thank a lot!!!

      Kind Regards

      Marco Musolesi
      m.musolesi@elogic.it
      Head of Cloud Services
      Cloud Services
      eLogic s.r.l. - Società del Gruppo Maggioli
      Via Paolo Nanni Costa, 30
      40133 - Bologna
      0513145611
      elogic.cloud

      ​The information contained in this e-mail and any attachments are confidential. The contents may not be copied or used by anyone other than the addressee and must not be further disclosed without our permission. If you have received this e-mail by mistake, please notify the sender immediately and delete this e-mail and any attachments.

      Da: tickets@itop.p.re.sourceforge.net tickets@itop.p.re.sourceforge.net Per conto di Pierre Goiffon
      Inviato: martedì 7 giugno 2022 18:10
      A: [itop:tickets] 2073@tickets.itop.p.re.sourceforge.net
      Oggetto: [itop:tickets] #2073 Connect to iTop Hub fails after instance clone

      Hello, could you post your query as a hub request ? That means, connect to https://www.itophub.io/ than click on the balloon icon "contact us" on the middle right.


      [tickets:#2073]https://sourceforge.net/p/itop/tickets/2073/ Connect to iTop Hub fails after instance clone

      Status: more-info-needed
      Milestone: 2.7.7
      Created: Fri Jun 03, 2022 05:06 PM UTC by Marco Musolesi
      Last Updated: Tue Jun 07, 2022 11:59 AM UTC
      Owner: Pierre Goiffon

      After cloning itop, hub goes in timeout
      https://www.itophub.io/wiki/page?id=itop_hub%3Ainstances_identification did not solve
      both priv_db_properties.name and instance.txt were deleted and setup was launched
      new ID are available in DB and file

      any idea?


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/itop/tickets/2073/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #2073

    • Pierre Goiffon

      Pierre Goiffon - 2022-06-10

      Thanks for your feedback !
      Really happy to see your problem solved !
      Indeed there were some alerts this week on the iTop hub infrastructure, this should be fixed by now.

       
      • Marco Musolesi

        Marco Musolesi - 2022-06-10

        Thanks again Pierre
        Have you a Nice weekend!

        Marco Musolesi
        m.musolesi@elogic.it
        Head of Cloud Services
        Cloud Services
        eLogic s.r.l. - Società del Gruppo Maggioli
        Via Paolo Nanni Costa, 30
        40133 - Bologna
        0513145611
        elogic.cloud

        ​The information contained in this e-mail and any attachments are confidential. The contents may not be copied or used by anyone other than the addressee and must not be further disclosed without our permission. If you have received this e-mail by mistake, please notify the sender immediately and delete this e-mail and any attachments.

        Da: tickets@itop.p.re.sourceforge.net tickets@itop.p.re.sourceforge.net Per conto di Pierre Goiffon
        Inviato: venerdì 10 giugno 2022 18:29
        A: [itop:tickets] 2073@tickets.itop.p.re.sourceforge.net
        Oggetto: [itop:tickets] Re: #2073 Connect to iTop Hub fails after instance clone

        Thanks for your feedback !
        Really happy to see your problem solved !
        Indeed there were some alerts this week on the iTop hub infrastructure, this should be fixed by now.


        [tickets:#2073]https://sourceforge.net/p/itop/tickets/2073/ Connect to iTop Hub fails after instance clone

        Status: assistance
        Milestone: 2.7.7
        Created: Fri Jun 03, 2022 05:06 PM UTC by Marco Musolesi
        Last Updated: Tue Jun 07, 2022 04:09 PM UTC
        Owner: Pierre Goiffon

        After cloning itop, hub goes in timeout
        https://www.itophub.io/wiki/page?id=itop_hub%3Ainstances_identification did not solve
        both priv_db_properties.name and instance.txt were deleted and setup was launched
        new ID are available in DB and file

        any idea?


        Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/itop/tickets/2073/

        To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

         

        Related

        Tickets: #2073

  • Pierre Goiffon

    Pierre Goiffon - 2022-06-07
    • status: more-info-needed --> assistance
     
  • Benjamin DALSASS

    • status: assistance --> closed
     
  • Pierre Goiffon

    Pierre Goiffon - 2022-07-26
    • status: closed --> assistance
     
  • Pierre Goiffon

    Pierre Goiffon - 2022-07-26

    Discussed with Benjamin : this ticket status was modified by mistake. I'm restoring the previous status !

     

Log in to post a comment.