Displaying 20 results from an estimated 2000 matches similar to: "[libnbd PATCH] nbdsh: Add test of handling globals in -c"
2019 Sep 12
2
[libnbd PATCH] nbdsh: Start adding unit tests
Ultimately, I'd like to add a unit test covering our recent fix for
handling globals from consecutive -c, but let's start with a simple
test that --help output is sane. Sanity includes a mention of the man
page for more details (similar to nbdkit --help, although I couldn't
figure out how to make python's argparse output that sentence last).
---
python/nbdsh.py | 3 ++-
2019 Sep 12
2
[libnbd PATCH] nbdsh: Add -b option to simplify h.block_status
We decided to not request the "base:allocation" context by default (if
a client wants to use block_status on a different context, then they'd
have to get any default request out of the way); however, block status
is useless without at least one meta context. This adds a convenience
knob for requesting that, and has the nice benefit of working with the
--connect command line option
2020 Sep 18
1
[libnbd PATCH] nbdsh: Hide nbd.Error from abrt-python3-handler
When using nbdsh for scripting, it is convenient to let nbdsh fail
with status 1 when encountering an API failure. However, doing so by
letting the nbd.Error exception leak all the way causes ABRT (on
Fedora 32 at least) to assume the program crashed from a programming
error, and needlessly complicates clients to have to add try: blocks.
Better is if nbdsh itself prints the same stack trace that
2019 Sep 12
1
[libnbd PATCH] nbdsh: Support -u as synonym for --connect
Typing nbdsh --con (the minimum to get an unambiguous prefix for
--connect, different from --command) is annoying compared to having a
short option. Since it takes a URI as an argument, using -u seems
like a reasonable mnemonic.
---
sh/nbdsh.pod | 6 ++++--
python/nbdsh.py | 2 +-
sh/test-context.sh | 8 ++++----
sh/test-pattern.sh | 2 +-
4 files changed, 10 insertions(+), 8
2019 Jul 27
2
Problems with replication in the Samba 4
Hi,
I noticed that my Samba 4 DC isn't OK, because the are differences between
the data storaged int he Schema on my Windows Server 2008 (isn't R2) DC and
Samba 4 DC.
This way, I performed several tests on my servers as shown below.
Follow the results of command repadmin in the Windows Server 2008:
C:\Windows\system32>repadmin /showreps /verbose
Default-First-Site-Name\WIN-DC1
2019 Sep 12
1
[libnbd PATCH v2] nbdsh: Prefer --uri over --connect
Typing nbdsh --con (the minimum to get an unambiguous prefix for
--connect, different from --command) is annoying compared to having a
short option. Since it takes a URI as an argument, using -u/--uri is
a nicer mnemonic. We still accept --connect for back-compat, and
document it in the man page, but omit it from --help as the new
spelling is nicer all around.
---
Here's what things evolved
2020 Sep 22
3
[libnbd PATCH v2] nbdsh: Catch nbd.Error from -c arguments
When using nbdsh for scripting, it is convenient to let nbdsh fail
with status 1 when encountering an API failure. However, doing so by
letting the nbd.Error exception leak all the way causes ABRT (at least
on Fedora 32 with abrt-python3-handler installed) to assume the
program crashed from a programming error, and needlessly complicates
clients to have to add try: blocks. Better is if nbdsh
2022 Nov 04
3
[libnbd PATCH v2 0/3] Improve nbdsh -u handling
v1 was here:
https://listman.redhat.com/archives/libguestfs/2022-October/030216.html
Since then, I've incorporated changes based on Rich's feedback:
swap order of patches 2 and 3
less change in patch 1 (including no unsafe eval(%s) for --uri)
in patch 2, include -c in list of snippets to store, and use dict of
lambdas to map back to the desired action
Eric Blake (3):
nbdsh:
2015 May 12
1
FW: ERR_DS_DRA_SCHEMA_MISMATCH after join samba 4.2.1 to existing domain
Hi
I have multi domain environment with root domain and subdomain. Forest and domain level windows 2003 native.
Also forest prep and domain prep did for sccm 2007 ocs 2007 and Exchange 2003.
After join Samba to domain like ad dc I had some problem with replication:
#################################################
[root at dc03 ~]# samba-tool drs replicate dc02 dc03
2012 Dec 15
1
virt-resize Fatal error: exception Guestfs.Error("e2fsck_f
We?ve been seeing this a lot lately on generic CentOS 6 rpm installs:
rpm -qa | grep libguestfs
libguestfs-java-1.16.19-1.el6.x86_64
libguestfs-java-devel-1.16.19-1.el6.x86_64
libguestfs-1.16.19-1.el6.x86_64
libguestfs-tools-1.16.19-1.el6.x86_64
libguestfs-javadoc-1.16.19-1.el6.x86_64
libguestfs-devel-1.16.19-1.el6.x86_64
libguestfs-tools-c-1.16.19-1.el6.x86_64
2023 Jan 31
1
[libnbd PATCH v2 3/3] nbdsh: Improve --help and initial banner contents.
On Tue, Jan 31, 2023 at 01:33:25PM +0200, Nir Soffer wrote:
> On Tue, Jan 31, 2023 at 12:34 AM Richard W.M. Jones <rjones at redhat.com> wrote:
> >
> > On Fri, Nov 04, 2022 at 04:18:31PM -0500, Eric Blake wrote:
> > > Document all options in --help output. If -n is not in use, then
> > > enhance the banner to print the current state of h, and further tailor
2019 Mar 13
4
replication fails
Am 13.03.19 um 18:50 schrieb Rowland Penny via samba:
> Try running 'samba-tool ldapcmp ldap://dc1 ldap://dc2'
thanks!
I get differences, too many to post here, but I assume mostly related to
the drift between the 2 dcs now?
(lastLogonTimestamp seems obvious to me)
What might solve the initial problem *maybe*
* Comparing [DNSFOREST] context...
* Objects to be compared: 19
2023 Jan 31
1
[libnbd PATCH v2 3/3] nbdsh: Improve --help and initial banner contents.
On Tue, Jan 31, 2023 at 11:52:27AM +0000, Richard W.M. Jones wrote:
> On Tue, Jan 31, 2023 at 01:33:25PM +0200, Nir Soffer wrote:
> > On Tue, Jan 31, 2023 at 12:34 AM Richard W.M. Jones <rjones at redhat.com> wrote:
> > >
> > > On Fri, Nov 04, 2022 at 04:18:31PM -0500, Eric Blake wrote:
> > > > Document all options in --help output. If -n is not in
2010 Dec 24
1
builder-ubuntu libguestfs success 3f4dc56a32074a02b1b829bd7a91878f73022d1d
This is an automatic message generated by the builder on
builder-ubuntu for libguestfs. Log files from the build
follow below.
Linux builder-ubuntu 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:45:36 UTC 2010 x86_64 GNU/Linux
Fri Dec 24 23:00:01 GMT 2010
-----
+ git pull --rebase git://git.annexia.org/git/libguestfs.git master
>From git://git.annexia.org/git/libguestfs
* branch
2011 Feb 03
1
builder-debian libguestfs success 8d7d7c4ecfd202e04d18736718e9c5bb125ce4f0
This is an automatic message generated by the builder on
builder-debian for libguestfs. Log files from the build
follow below.
Linux builder-debian.home.annexia.org 2.6.36-trunk-amd64 #1 SMP Wed Oct 27 14:28:29 UTC 2010 x86_64 GNU/Linux
Thu Feb 3 21:04:58 GMT 2011
-----
+ git pull --rebase git://git.annexia.org/git/libguestfs.git master
>From git://git.annexia.org/git/libguestfs
* branch
2011 Feb 03
1
builder-ubuntu libguestfs success 8d7d7c4ecfd202e04d18736718e9c5bb125ce4f0
This is an automatic message generated by the builder on
builder-ubuntu for libguestfs. Log files from the build
follow below.
Linux builder-ubuntu 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:45:36 UTC 2010 x86_64 GNU/Linux
Thu Feb 3 21:17:37 GMT 2011
-----
+ git pull --rebase git://git.annexia.org/git/libguestfs.git master
>From git://git.annexia.org/git/libguestfs
* branch
2019 Aug 05
2
synchronization problem between DC
Hi,
I have noticed that there are problems synchronizing between DC Primary
Samba 4 and DC Secondary Windows Server 2008. I have already fixed the
issue with the ldbedit command and everything was fine. Over time
inconsistencies occur between the DCs again, as shown below:
samba-tool ldapcmp ldap://WIN-DC1 ldap://SAMBA4-DC -UAdministrator
Password for [EMPRESA\Administrator]:
Comparing:
2019 Aug 04
1
DsReplicaGetInfo() failed with status 8453
Hi,
I have started getting the following error message when I run the repadmin
showreps command on the Windows Server 2008 server that is my primary DC:
DsReplicaGetInfo() failed with status 8453 (0x2105):
Replication access has been denied.
DsReplicaGetInfo() failed with status 8453 (0x2105):
Replication access has been denied.
My scenario has a Windows Server 2008 as the primary DC
2011 Feb 08
5
builder-ubuntu libguestfs success f455dc3814bf9f7e7e894ba81360acb0edd92464
This is an automatic message generated by the builder on
builder-ubuntu for libguestfs. Log files from the build
follow below.
Linux builder-ubuntu 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:45:36 UTC 2010 x86_64 GNU/Linux
Tue Feb 8 23:00:01 GMT 2011
-----
+ git pull --rebase git://git.annexia.org/git/libguestfs.git master
>From git://git.annexia.org/git/libguestfs
* branch
2020 Sep 28
2
[libnbd PATCH] nbdsh: Add --opt-mode command line option
Similar to --base-allocation, this is a common enough configuration
that cannot be performed with -c when using --uri, but which makes
life easier in scripting. And like --base-allocation, I'm starting
with only a long option spelling, rather than burning a short option
letter.
---
sh/nbdsh.pod | 21 +++++++++++++++++++--
python/nbdsh.py | 6 ++++++
sh/test-context.sh | 32