Skip to content

Merge master to feature branch#6397

Closed
LunfanZhang wants to merge 8 commits into
xapi-project:feature/configure-ssh-phase2from
LunfanZhang:private/luzhan/merge-master-to-feature-branch
Closed

Merge master to feature branch#6397
LunfanZhang wants to merge 8 commits into
xapi-project:feature/configure-ssh-phase2from
LunfanZhang:private/luzhan/merge-master-to-feature-branch

Conversation

@LunfanZhang
Copy link
Copy Markdown
Collaborator

No conflict.
Sync change on master to feature branch.

liulinC and others added 8 commits March 24, 2025 11:06
hosts file to avoid DNS lookup

Without adding netbios name into /etc/hosts, a DNS query for
localhost name is performed when talks to Domain Controller.

This waste resources, especially when XenServer is monitorred by
ControllUP, who perform external auth very frequently

Adding netbios name into /etc/hosts to avoid the DNS query and
keep consistent with PBIS

Signed-off-by: Lin Liu <Lin.Liu01@cloud.com>
Signed-off-by: Lin Liu <Lin.Liu01@cloud.com>
add logs dependency, necessary for future versions of logs

Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>
Alcotest changed how match_raises to actually be reasonable instead of failing
when the mathing function returns true (note how is_oob expects a string with
two spaces)

This also highlights why matching strings in exception is a bad idea. Instead
raise a non-stringy exception and use polymorphic compare.

Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>
It's has been replaced by clock

Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>
… file to avoid DNS lookup (xapi-project#6386)

Without adding netbios name into /etc/hosts, a DNS query for localhost
name is performed when talks to Domain Controller.

This waste resources, especially when XenServer is monitorred by
ControllUP, who perform external auth very frequently

Adding netbios name into /etc/hosts to avoid the DNS query and keep
consistent with PBIS
…onfigure

Add new host object fields:
  - ssh_enabled
  - ssh_enabled_timeout
  - ssh_expiry
  - console_idle_timeout
Add new host/pool API to enable to set a temporary enabled SSH service timeout
  - set_ssh_enabled_timeout
Add new host/pool API to enable to set console timeout
  - set_console_idle_timeout

Signed-off-by: Lunfan Zhang <Lunfan.Zhang@cloud.com>
@gangj
Copy link
Copy Markdown
Contributor

gangj commented Apr 2, 2025

It is confusing here, I think the source branch is not correct: in the source branch, I see a commit (7e9bb0d) cherry-picked from the feature branch onto the master branch?

Copy link
Copy Markdown
Contributor

@gangj gangj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is confusing here, I think the source branch is not correct: in the source branch, I see a commit (7e9bb0d) cherry-picked from the feature branch onto the master branch?

@LunfanZhang LunfanZhang closed this Apr 2, 2025
@LunfanZhang
Copy link
Copy Markdown
Collaborator Author

Move to #6398, to keep the original commit history

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants